Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160088 - sys-apps/busybox-1.3.1 fails to compile libpwdgrp/pwd_grp.c
Summary: sys-apps/busybox-1.3.1 fails to compile libpwdgrp/pwd_grp.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-04 14:31 UTC by Martin von Gagern
Modified: 2007-01-05 00:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Full emerge log (sys-apps:busybox-1.3.1:20070104-222718.log,14.36 KB, text/plain)
2007-01-04 14:32 UTC, Martin von Gagern
Details
emerge --info (emerge_info,3.70 KB, text/plain)
2007-01-04 14:33 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2007-01-04 14:31:40 UTC
Reproduced twice with -j3 and once with -j1:

  AR      libbb/lib.a
  LD      libpwdgrp/built-in.o
  CC      libpwdgrp/pwd_grp.o
libpwdgrp/pwd_grp.c:108: warning: 'struct spwd' declared inside parameter list
libpwdgrp/pwd_grp.c:108: warning: its scope is only this definition or declaration, which is probably not what you want
libpwdgrp/pwd_grp.c:149: warning: 'struct spwd' declared inside parameter list
libpwdgrp/pwd_grp.c:149: error: conflicting types for 'fgetspent_r'
...
libpwdgrp/pwd_grp.c:858: error: invalid use of undefined type 'struct spwd'
libpwdgrp/pwd_grp.c:859: error: initializer element is not constant
libpwdgrp/pwd_grp.c:859: error: (near initialization for 'sp_off[8]')
make[1]: *** [libpwdgrp/pwd_grp.o] Error 1
make: *** [libpwdgrp] Error 2
Comment 1 Martin von Gagern 2007-01-04 14:32:53 UTC
Created attachment 105425 [details]
Full emerge log

This comes from my run with MAKEOPTS=-j1.
Comment 2 Martin von Gagern 2007-01-04 14:33:37 UTC
Created attachment 105426 [details]
emerge --info
Comment 3 Martin von Gagern 2007-01-04 14:45:28 UTC
This is a savedconfig issue; I just managed to build with USE=-savedconfig.
However it is not a broken config file, as I removed /etc/busybox after my first build failure.
Comment 4 SpanKY gentoo-dev 2007-01-04 19:13:14 UTC
pretty sure this has been fixed upstream already:
http://busybox.net/downloads/fixes-1.3.1/busybox-1.3.1.shadow.patch
Comment 5 SpanKY gentoo-dev 2007-01-05 00:23:41 UTC
added upstream patch to cvs