Closed GoogleCodeExporter closed 9 years ago
1-wiki now fixed
2-fixed by SVN commit 2055
3-fixed by SVN commit 2056
4- this is easy :-)
make O=... menuconfig, Build Options, Mirrors and Download locations,
Sourceforge mirror site, set your preferred sourceforge mirror. I'm currently
using "switch".
I'm afraid that '2' will be present in other packages as well, and it is a
daunting job to check all packages config.log for 'configure' incorrect
detection.
If I was starting this project again I would use a virtual machine instead, to
avoid cross compilation issues and to avoid 'configure' leaking into the host
environment.
The worse is when leaking happens at configure time, and reveal as incorrect
behavior or bugs at run time.
Imagine what happens when 'configure' detects and sets a system include file
from a package version different than the one used by the target...
Thanks
Original comment by whoami.j...@gmail.com
on 21 Jan 2013 at 5:25
Thanks a lot for the quick response.
After checking out the latest changes and switching to "switch" the alt-f build
succeeded.
I run into the next problem when using mkpkg.sh to build packages. mkpkg.sh
failed with options -clean and -cleanroot with a rmdir error message. Checking
the script I realized that the awk statements for both options relies on the
error message of the rm statement in the previous line. Unfortunately I am
running a german localization of linux, so neither the message matched, nor
(after replacing the match string with the german on) the subsequent awk
statement to extract the directory name worked, as the german localization also
uses different characters that double quotes to frame the directory name, and
so also the arguments passed via xarg to rmdir were invalid.
The workaround I applied here was simply repeating the find command a second
time, now with rmdir.
So instead of
"awk '/Is a directory/{print substr($4,2,length($4)-3)}' $tf | sort -r | xargs
rmdir"
I use
"find . | cat $ROOTFSFILES - | sort | uniq -u | xargs rmdir"
Not sure if this fully equivalent - in case you have additional errors in $tf
that are no directories you would not run into rmdir errors. But as you anyway
would not handle those cases, it should not make a difference. At least it
worked for me and I wanted to let you know.
Thanks for providing and maintaining Alt-F.
Original comment by garband...@googlemail.com
on 22 Jan 2013 at 8:41
just realized that my proposal did not work for nested directory structures.
by reverting the sort order subdirectories get deleted too; so
"find . | cat $ROOTFSFILES - | sort -r | uniq -u | xargs rmdir"
should do the job better
Original comment by garband...@googlemail.com
on 22 Jan 2013 at 9:58
Reopening, as parsing the command error output depends on localization.
Thanks
Original comment by whoami.j...@gmail.com
on 25 Jan 2013 at 3:36
This issue was closed by revision r2090.
Original comment by whoami.j...@gmail.com
on 11 Feb 2013 at 5:10
Closed by commit 2090: mkpkgs.sh: make -clean and -cleanroot immune to
localization. Closes issue 130. Thanks to garbandi66
I endup using your suggestion, thanks
Original comment by whoami.j...@gmail.com
on 11 Feb 2013 at 5:11
Original issue reported on code.google.com by
garband...@googlemail.com
on 21 Jan 2013 at 8:51