Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08
@ 2009-09-30  9:18 bugzilla at busybox.net
  2009-09-30 10:05 ` [Buildroot] [Bug 635] " bugzilla at busybox.net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2009-09-30  9:18 UTC (permalink / raw)
  To: buildroot

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


-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
@ 2009-09-30 10:05 ` bugzilla at busybox.net
  2009-11-29 21:08 ` bugzilla at busybox.net
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2009-09-30 10:05 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635





--- Comment #1 from igor <igor47@moomers.org>  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'


-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
  2009-09-30 10:05 ` [Buildroot] [Bug 635] " bugzilla at busybox.net
@ 2009-11-29 21:08 ` bugzilla at busybox.net
  2010-02-21 18:51 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2009-11-29 21:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635


Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #2 from Peter Korsgaard <jacmet@uclibc.org>  2009-11-29 21:08:56 UTC ---
(In reply to comment #0)

> 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.


-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
  2009-09-30 10:05 ` [Buildroot] [Bug 635] " bugzilla at busybox.net
  2009-11-29 21:08 ` bugzilla at busybox.net
@ 2010-02-21 18:51 ` bugzilla at busybox.net
  2010-03-23  9:12 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-02-21 18:51 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635


Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2010.02




-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2010-02-21 18:51 ` bugzilla at busybox.net
@ 2010-03-23  9:12 ` bugzilla at busybox.net
  2010-07-27 15:30 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-03-23  9:12 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635


Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org>  2010-03-23 09:12:14 UTC ---
Still unable to reproduce, so closing.


-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2010-03-23  9:12 ` bugzilla at busybox.net
@ 2010-07-27 15:30 ` bugzilla at busybox.net
  2010-07-27 15:43 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-07-27 15:30 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635

S?rgio <sergio@sergiomb.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #4 from S?rgio <sergio@sergiomb.no-ip.org>  ---
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 directory
more.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.

-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2010-07-27 15:30 ` bugzilla at busybox.net
@ 2010-07-27 15:43 ` bugzilla at busybox.net
  2010-07-28 19:14 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-07-27 15:43 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635

--- Comment #5 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Please provide your Buildroot .config to allow us to reproduce the issue.

-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2010-07-27 15:43 ` bugzilla at busybox.net
@ 2010-07-28 19:14 ` bugzilla at busybox.net
  2010-07-29  7:08 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-07-28 19:14 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635

--- Comment #6 from S?rgio <sergio@sergiomb.no-ip.org>  ---
Created attachment 2269
  --> https://bugs.busybox.net/attachment.cgi?id=2269
last .config

(In reply to comment #5)
> 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

-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2010-07-28 19:14 ` bugzilla at busybox.net
@ 2010-07-29  7:08 ` bugzilla at busybox.net
  2010-08-10 17:25 ` bugzilla at busybox.net
  2010-08-11 19:17 ` bugzilla at busybox.net
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-07-29  7:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635

--- Comment #7 from Peter Korsgaard <jacmet@uclibc.org>  ---
(In reply to comment #6)
> Created attachment 2269 [details]
> last .config
> 
> (In reply to comment #5)
> > 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. 

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.6
arch/alpha/include/asm/a.out.h  arch/m68k/include/asm/a.out.h
arch/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.

-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2010-07-29  7:08 ` bugzilla at busybox.net
@ 2010-08-10 17:25 ` bugzilla at busybox.net
  2010-08-11 19:17 ` bugzilla at busybox.net
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-08-10 17:25 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
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.

-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 635] util-linux fails to build in 2009.08
  2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
                   ` (8 preceding siblings ...)
  2010-08-10 17:25 ` bugzilla at busybox.net
@ 2010-08-11 19:17 ` bugzilla at busybox.net
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-08-11 19:17 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=635

S?rgio <sergio@sergiomb.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

-- 
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-08-11 19:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30  9:18 [Buildroot] [Bug 635] New: util-linux fails to build in 2009.08 bugzilla at busybox.net
2009-09-30 10:05 ` [Buildroot] [Bug 635] " bugzilla at busybox.net
2009-11-29 21:08 ` bugzilla at busybox.net
2010-02-21 18:51 ` bugzilla at busybox.net
2010-03-23  9:12 ` bugzilla at busybox.net
2010-07-27 15:30 ` bugzilla at busybox.net
2010-07-27 15:43 ` bugzilla at busybox.net
2010-07-28 19:14 ` bugzilla at busybox.net
2010-07-29  7:08 ` bugzilla at busybox.net
2010-08-10 17:25 ` bugzilla at busybox.net
2010-08-11 19:17 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox