First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 192895
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Embedded Gentoo Team <embedded@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marek Bartosiewicz <ambaras@tlen.pl>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 192895 depends on: Show dependency tree
Bug 192895 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-18 07:07 0000
I did a new bootstrap from stage 1 under amd64. Then I tried to emerge -e
system and it failed on busybox. Error message was:
  CC      libbb/copy_file.o
  CC      libbb/copyfd.o
  CC      loginutils/login.o
loginutils/login.c:22:31: error: security/pam_appl.h: No such file or directory
loginutils/login.c:23:31: error: security/pam_misc.h: No such file or directory
loginutils/login.c:24: error: variable 'conv' has initializer but incomplete
type
loginutils/login.c:25: error: 'misc_conv' undeclared here (not in a function)
loginutils/login.c:25: warning: excess elements in struct initializer
loginutils/login.c:25: warning: (near initialization for 'conv')
loginutils/login.c:27: warning: excess elements in struct initializer
loginutils/login.c:27: warning: (near initialization for 'conv')
loginutils/login.c: In function 'login_main':
loginutils/login.c:242: error: 'pam_handle_t' undeclared (first use in this
function)
loginutils/login.c:242: error: (Each undeclared identifier is reported only
once
loginutils/login.c:242: error: for each function it appears in.)
loginutils/login.c:242: error: 'pamh' undeclared (first use in this function)
loginutils/login.c:243: warning: ISO C90 forbids mixed declarations and code
loginutils/login.c:298: warning: implicit declaration of function 'pam_start'
loginutils/login.c:299: error: 'PAM_SUCCESS' undeclared (first use in this
function)
loginutils/login.c:304: warning: implicit declaration of function
'pam_set_item'
loginutils/login.c:304: error: 'PAM_TTY' undeclared (first use in this
function)
loginutils/login.c:309: warning: implicit declaration of function
'pam_authenticate'
loginutils/login.c:313: warning: implicit declaration of function
'pam_acct_mgmt'
loginutils/login.c:321: warning: implicit declaration of function
'pam_get_item'
loginutils/login.c:321: error: 'PAM_USER' undeclared (first use in this
function)
loginutils/login.c:334: warning: implicit declaration of function
'pam_strerror'
loginutils/login.c:334: warning: format '%s' expects type 'char *', but
argument 3 has type 'int'
make[1]: *** [loginutils/login.o] Error 1
make: *** [loginutils] Error 2
make: *** Waiting for unfinished jobs....
  CC      libbb/correct_password.o
  CC      libbb/crc32.o
  CC      libbb/create_icmp6_socket.o

Seems that emerge -e system wanted to emerge busybox before pam, even though
busybox has IUSE=pam. Emerging pam then emerging busybox solved this error, but
maybe portage couldn't do it on its own?

Emerge info:
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0,
2.6.22-kamikaze9 x86_64)
=================================================================
System uname: 2.6.22-kamikaze9 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Mon, 17 Sep 2007 08:00:01 +0000
app-shells/bash:     3.1_p17
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18.50.0.1
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch prelink sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.po.opole.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,-s -Wl,--hash-style=gnu"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi amd64 async atm bitmap-fonts bzip2 cairo cdr cgi cli cpufreq
cracklib crosscompile crypt cups dbus dhcp dri dvd dvdr dvdread emerald evo fam
fbcon fftw firefox foomaticdb ftp gd geoip gif glibc-omitfp glitz gpm graphlcd
gtk gtk2 hal hashstyle hddtemp iconv isdnlog ithreads jpeg lm_sensors mad
madwifi midi mmx moznopango mp3 mpeg mysql ncurses nls nptl nptlonly offensive
opengl pam pcre pdf perl php pic png ppds pppd pppoa python qt3support readline
reflection samba server session snmp sockets spell spl sse sse2 ssl svg symlink
tcl tcpd threads tiff tk transparent-proxy truetype truetype-fonts type1-fonts
udev unicode usb userlocales wifi xml xml2 xorg zip zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938
es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU"
VIDEO_CARDS="vesa radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Actual Results:  
emerge -e system failed on busybox because pam was not emerged before.

Expected Results:  
emerge -e system goes well :)

------- Comment #1 From Marek Bartosiewicz 2007-09-18 10:38:04 0000 -------
I think there should be the following added to the busybox ebuild:

DEPEND="pam? ( sys-libs/pam )"

------- Comment #2 From SpanKY 2007-09-20 07:39:01 0000 -------
fixed in cvs, cheers

First Last Prev Next    No search results available      Search page      Enter new bug