New: util-linux fails to build in 2009.08
https://bugs.busybox.net/show_bug.cgi?id=635
Summary: util-linux fails to build in 2009.08
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: igor47 at moomers.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created an attachment (id=677)
--> (https://bugs.busybox.net/attachment.cgi?id=677)
all my .config files from 'make saveconfig'
this is absolutely a showstopper for me. i seem to have continuous problems building util-linux with several of the past buildroot releases - if nobody else is having these problems, maybe it's something about my build environment?
a google search shows that these errors might result from large file support not being turned on, but it definitely is.
/provisioning/buildroot/buildroot-2009.08/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc
-g -O2 -o pivot_root pivot_root.o
swapon.c:86: error: expected declaration specifiers or '...' before 'swapon' swapon.c:86: error: expected declaration specifiers or '...' before 'path' swapon.c:86: error: expected declaration specifiers or '...' before 'flags' swapon.c:88: error: expected declaration specifiers or '...' before 'swapoff' swapon.c:88: error: expected declaration specifiers or '...' before 'path' swapon.c: In function 'swapon_all':
swapon.c:328: error: 'R_OK' undeclared (first use in this function) swapon.c:328: error: (Each undeclared identifier is reported only once swapon.c:328: error: for each function it appears in.)
make[3]: *** [swapon.o] Error 1
make[3]: Leaving directory `/provisioning/buildroot/buildroot-2009.08/build_i686/util-linux-2.13-pre7/mount' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/provisioning/buildroot/buildroot-2009.08/build_i686/util-linux-2.13-pre7' make[1]: *** [all] Error 2
make[1]: Leaving directory `/provisioning/buildroot/buildroot-2009.08/build_i686/util-linux-2.13-pre7'
make: *** [/provisioning/buildroot/buildroot-2009.08/build_i686/util-linux-2.13-pre7/misc-utils/chkdupexe] Error 2
please let me know if there's anything else i can supply to help troubleshoot this
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
https://bugs.busybox.net/show_bug.cgi?id=635
--- Comment #1 from igor <[email protected]> 2009-09-30 10:05:48 UTC --- according to a conversation @
http://ibot.rikers.org/%23uclibc/20031113.html.gz, adding
#include <fcntl.h>
to swapon.c seems to fix half the problem - the part about R_OK undeclared. This still leaves the other half:
swapon.c:86: error: expected declaration specifiers or '...' before 'swapon' swapon.c:86: error: expected declaration specifiers or '...' before 'path' swapon.c:86: error: expected declaration specifiers or '...' before 'flags' swapon.c:88: error: expected declaration specifiers or '...' before 'swapoff' swapon.c:88: error: expected declaration specifiers or '...' before 'path'
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=635
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #2 from Peter Korsgaard <[email protected]> 2009-11-29 21:08:56 UTC --- (In reply to comment #0)
Quoted 3 lines
this is absolutely a showstopper for me. i seem to have continuous problems building util-linux with several of the past buildroot releases - if nobody else is having these problems, maybe it's something about my build environment?
I haven't been able to reproduce it here atleast.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=635
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2010.02
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=635
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WORKSFORME--- Comment #3 from Peter Korsgaard <[email protected]> 2010-03-23 09:12:14 UTC --- Still unable to reproduce, so closing.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=635
S?rgio <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |--- Comment #4 from S?rgio <[email protected]> --- Have have this show stopper also , with from today buildroot git version.
Making all in text-utils
(...)
In file included from more.c:56:buildroot/output/staging/usr/include/a.out.h:1:25: error: linux/a.out.h: No such file or directorymore.c: In function 'magic':
more.c:507: error: 'OMAGIC' undeclared (first use in this function) more.c:507: error: (Each undeclared identifier is reported only once more.c:507: error: for each function it appears in.)
more.c:508: error: 'NMAGIC' undeclared (first use in this function) more.c:509: error: 'ZMAGIC' undeclared (first use in this function) make[3]: *** [more.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `buildroot/output/build/util-linux-2.13-pre7/text-utils' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `buildroot/output/build/util-linux-2.13-pre7' make[1]: *** [all] Error 2
make[1]: Leaving directory `buildroot/output/build/util-linux-2.13-pre7'
make: *** [buildroot/output/build/util-linux-2.13-pre7/misc-utils/chkdupexe] Error 2
furthermore I do a couple of commands like cd .. , cd - (or I wait sometime ?!), do a make , and make forget this package and go to the finish , but never built the more binary and others.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=635
--- Comment #5 from Thomas Petazzoni <[email protected]> --- Please provide your Buildroot .config to allow us to reproduce the issue.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=635
--- Comment #6 from S?rgio <[email protected]> --- Created attachment 2269
--> https://bugs.busybox.net/attachment.cgi?id=2269
last .config
(In reply to comment #5)
Quoted 1 line
Please provide your Buildroot .config to allow us to reproduce the issue.
linux/a.out.h seems to belongs to kernel headers and I don't have a kernel cross-compiled. which make more.c depends on kernel-headers, because needs 3 constants ?! OMAGIC NMAGIC ZMAGIC.
I got a CPU "core i5", which I can compile this in more or less one hour , I need do 2 or 3 times :
make flush
make
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=635
--- Comment #7 from Peter Korsgaard <[email protected]> --- (In reply to comment #6)
Quoted 9 lines
Created attachment 2269 [details]
last .config(In reply to comment #5)
Quoted 1 line
Please provide your Buildroot .config to allow us to reproduce the issue.
linux/a.out.hseems to belongs to kernel headers and I don't have a kernel cross-compiled. which makemore.cdepends on kernel-headers, because needs 3 constants ?! OMAGIC NMAGIC ZMAGIC.
Yes, kernel headers are seperate from building a kernel for your target.
linux/a.out.h is a legacy header (for the a.out format), which is only available on the following archs:
ls arch/*/include/asm/a.out.h ~/source/linux-2.6arch/alpha/include/asm/a.out.h arch/m68k/include/asm/a.out.harch/arm/include/asm/a.out.h arch/x86/include/asm/a.out.h
So that won't work on mipsel.
I'll see what we can do about it.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=635
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED--- Comment #8 from Thomas Petazzoni <[email protected]> --- I have added a fix for the util-linux build failure on MIPS reported in this bug to my for-2010.08 branch. See
http://git.buildroot.net/~tpetazzoni/git/buildroot/commit/?h=for-2010.08&id=55f70939b839cd5ad826ea01fcb6d363d63ee15d.
This branch will be pushed to Peter before the 2010.08 release.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 635] util-linux fails to build in 2009.08
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=635
S?rgio <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.