New package util-linux-ng
Hi,
I was trying to fix bug2254 by adding util-linux-ng to buildroot. And just before adding it to the bugtracker today I read that Makefile.autotoools.in should be used.
Long story short, the attached patch has some issues:
- util-linux still wants to compile even though it was not selected and removed from Config.in
- with util-linux-ng.mk, the are no errors, the package is simply ignored
- with util-linux-ng.mk.old, the packet works. But the staging_dir misses a file <linux/a.out.h> which is included in <a.out.h>. I think this is a bug in some other packet?
Any comments on my fixes in #4274, #4284 and #4294?
/steffen
Signature · 11 lines
,''`, : :' : +49/1781384223 `. `' gpg --recv-key A04D7875 `- www.debian.org mailto: pepe at cbg.dyndns.org -------------- next part -------------- A non-text attachment was scrubbed... Name: util-linux-ng.patch Type: text/x-diff Size: 19895 bytes Desc: not available Url : http://busybox.net/lists/buildroot/attachments/20080810/c9d8eb94/attachment.patch
Quoted 3 lines · Steffen Schulz
- util-linux still wants to compile even though it was not selected and removed from Config.in
- with util-linux-ng.mk, the are no errors, the package is simply ignored
Maybe I should have phrased that more like a question. I have a similar problem now with a strongSwan package I need in buildroot.
I created a .mk that uses makefile.autotools.in. I select the new packet in menuconfig and type make, but the package is simply ignored. No errors.
If I use .mk files without Makefile.autotools.in, both packages are correctly processed. Is there any magic thuss missing in my patch? I also didn't find any cache files that could be responsible for this.
Using most recent svn trunks here.
Any help appreciated,
/Steffen
Signature · 2 lines
Hi, I'm a unix-virus. Please copy me into your .signature to help me spread!
Quoted 11 lines · Steffen Schulz
Quoted 3 lines · Steffen Schulz
- util-linux still wants to compile even though it was not selected and removed from Config.in
- with util-linux-ng.mk, the are no errors, the package is simply ignoredMaybe I should have phrased that more like a question. I have a similar problem now with a strongSwan package I need in buildroot.
I created a .mk that uses makefile.autotools.in. I select the new packet in menuconfig and type make, but the package is simply ignored.
Make sure to run 'make oldconfig' or menuconfig so the package shows up in .config ?
Quoted 1 line
No errors.
Quoted 6 lines · Bernhard Fischer
Quoted 5 lines · Steffen Schulz
Quoted 3 lines · Steffen Schulz
- util-linux still wants to compile even though it was not selected and removed from Config.in
- with util-linux-ng.mk, the are no errors, the package is simply ignored
Quoted 8 lines
Quoted 5 lines
Maybe I should have phrased that more like a question. I have a similar problem now with a strongSwan package I need in buildroot.
I created a .mk that uses makefile.autotools.in. I select the new packet in menuconfig and type make, but the package is simply ignored.
Make sure to run 'make oldconfig' or menuconfig so the package shows up in .config ?
I did a menuconfig and selected the packages. And indeed .config says:
BR2_PACKAGE_strongSwan=y
BR2_PACKAGE_UTIL-LINUX-NG=y
But they are still ignored when typing 'make'. No directories in /build_i686/ and no errors.
Most notably, when I replace the .mk files with equivalents that don't use Makefile.autotools.in, both packages are processed. So I guess I miss some magic in my .mk files?
/steffen
Quoted 13 lines · Steffen Schulz
Quoted 12 lines · Bernhard Fischer
Quoted 10 lines · Steffen Schulz
Quoted 3 lines · Steffen Schulz
- util-linux still wants to compile even though it was not selected and removed from Config.in
- with util-linux-ng.mk, the are no errors, the package is simply ignoredMaybe I should have phrased that more like a question. I have a similar problem now with a strongSwan package I need in buildroot.
I created a .mk that uses makefile.autotools.in. I select the new packet in menuconfig and type make, but the package is simply ignored.
Quoted 7 lines
Quoted 2 lines
Make sure to run 'make oldconfig' or menuconfig so the package shows up in .config ?
I did a menuconfig and selected the packages. And indeed .config says:
BR2_PACKAGE_strongSwan=y
BR2_PACKAGE_UTIL-LINUX-NG=y
Alright, that'd be it.
First, package names are supposed to be in caps and second, i don't think '-' will do any good, use '_' instead.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Steffen" == Steffen Schulz <[email protected]> writes:
Hi,
Steffen> misses a file <linux/a.out.h> which is included in
Steffen> <a.out.h>. I think this is a bug in some other packet?
What kernel headers version are you using? There used to be a bug where linux/a.out.h wasn't exported. I reported it and dwmw fixed it for 2.6.26:
I've backported the fix to 2.6.25, so either of those should work.
Steffen> Any comments on my fixes in #4274, #4284 and #4294?
Sorry, haven't looked at those yet, I'll take a look today.
Signature · 1 line
Bye, Peter Korsgaard
Hi,
Quoted 6 lines · Peter Korsgaard
Steffen> misses a file <
linux/a.out.h> which is included in
Steffen> <a.out.h>. I think this is a bug in some other packet?What kernel headers version are you using? There used to be a bug where
linux/a.out.hwasn't exported. I reported it and dwmw fixed it for 2.6.26:
That was indeed the problem. Attached is an update to the patch posted in
http://bugs.uclibc.org/view.php?id=2254
/steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: util-linux-ng.patch
Type: text/x-diff
Size: 26502 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080825/b51b5e48/attachment.patch