Skip to contentSkip to conversation

make clean problem and patch

Buildroot Arndt Kritzner 4 participants 6 messages Mar 27, 2008

lore
Share & tools
lore
#0 lore raw

"make clean" fails after incomplete build attempts because of missing files or directories. The attached patch precedes the clean actions with a "-" to ignore these errors. With atstk1002_defconfig the packages avahi, dropbear, file, lzo, ncftp and strace caused this sort of aborts. The attached patch concerns these packages.

Signature · 14 lines
--
###############################################################
Dipl. Ing Arndt Kritzner    Tel:    (0385) 3993 448
Logic Way GmbH              Fax:    (0385) 3993 458
Hagenower Strasse 73        HTTP:   http://www.logicway.de
19061 Schwerin              email:  mailto:kritzner at logicway.de
###############################################################
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot-make_clean.diff
Type: text/x-patch
Size: 2330 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080327/2d3fbc8a/attachment-0001.bin 
#1 lore raw
Quoted 5 lines · Arndt Kritzner

"make clean" fails after incomplete build attempts because of missing files or directories. The attached patch precedes the clean actions with a "-" to ignore these errors. With atstk1002_defconfig the packages avahi, dropbear, file, lzo, ncftp and strace caused this sort of aborts. The attached patch concerns these packages.

Unfortunately your list was incomplete.
Fixed in my tree, thanks for mentioning this!

PS:
http://repo.or.cz/w/buildroot.git?a=commit;h=4c0e0b63bdc1fd65889bbaeb3d6ad8eb4d0fe22f

cheers,
Bernhard

#2 lore raw

Bernhard,

You are also missing dropbear, which does not have an uninstall
target and causes make clean to fail.

Cheers,
Thiago A. Correa

Quoted 20 lines · Bernhard Fischer
Quoted 5 lines · Arndt Kritzner

"make clean" fails after incomplete build attempts because of missing files or directories. The attached patch precedes the clean actions with a "-" to ignore these errors. With atstk1002_defconfig the packages avahi, dropbear, file, lzo, ncftp and strace caused this sort of aborts. The attached patch concerns these packages.

Unfortunately your list was incomplete.
Fixed in my tree, thanks for mentioning this!

PS:
http://repo.or.cz/w/buildroot.git?a=commit;h=4c0e0b63bdc1fd65889bbaeb3d6ad8eb4d0fe22f

cheers,
Bernhard
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thiago" == Thiago A Corr?a <[email protected]> writes:

Thiago> Bernhard,
Thiago> You are also missing dropbear, which does not have an uninstall
Thiago> target and causes make clean to fail.

Thanks - fixed in r21516.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw
In reply to Bernhard Fischer
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernhard" == Bernhard Fischer <[email protected]> writes:

Quoted 5 lines · Arndt Kritzner
Quoted 5 lines

"make clean" fails after incomplete build attempts because of missing files or directories. The attached patch precedes the clean actions with a "-" to ignore these errors. With atstk1002_defconfig the packages avahi, dropbear, file, lzo, ncftp and strace caused this sort of aborts. The attached patch concerns these packages.

Bernhard> Unfortunately your list was incomplete. Bernhard> Fixed in my tree, thanks for mentioning this!

Nice sed oneliner, but it doesn't handle the cases where the package tests for the existance of the Makefile first.

I've checked in a more complete fix (including missing/wrong rm lines) as r21516.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw
In reply to Arndt Kritzner
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arndt" == Arndt Kritzner <[email protected]> writes:

Hi,

Arndt> "make clean" fails after incomplete build attempts because of Arndt> missing files or directories. The attached patch precedes the Arndt> clean actions with a "-" to ignore these errors. With Arndt> atstk1002_defconfig the packages avahi, dropbear, file, lzo, Arndt> ncftp and strace caused this sort of aborts. The attached Arndt> patch concerns these packages.

Thanks - I've checked in an extended version of this as r21516.

Signature · 1 line
Bye, Peter Korsgaard