Summary: | emerge sys-libs/pam-0.99.8.1-r1 fails with RLIMIT_NICE undeclared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark L Pappin <mlp> |
Component: | New packages | Assignee: | PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alpha, art, christian.korff, ia64, m68k, ppc64, ppc, tech31842, troworld |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | Alpha | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to stop building xtests directory |
Description
Mark L Pappin
2007-09-30 13:12:38 UTC
Can you reproduce this with ccache disabled? I'm getting the same problem with ccache disabled: Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.3.6-r5, 2.6.22-gentoo-r1 i686) ================================================================= System uname: 2.6.22-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ Timestamp of tree: Thu, 27 Sep 2007 22:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.1.3-r1, 2.3.6-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" 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/portage/local/layman/sunrise /usr/poverlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi adns aim akode alsa amr amuled arts artswrappersuid async audiofile authdaemond automount avantgo berkdb bitmap-fonts browserplugin bzip2 cairo cdr cgi chroot cli cluster cracklib crypt css ctype curl dba dbus distribution dnd dri dv dvd dvdr dvdread eds emacs emboss encode evo exif fam ffmpeg firefox flac font-server fortran fping gd gdbm geoip gif gimp gnutls gpgme gphoto2 gpm gstreamer gtk gtkhtml hal iconv icq idea imagemagick imap ipv6 isdnlog jabber java javascript jikes jp2 jpeg kde kerberos lcms ldap logrotate lzo mad maildir mailwrapper mbox md5sum midi mikmod mng mp3 mpeg mplayer msn mudflap musepack musicbrainz mysql nas ncurses nls nntp nptl nptlonly nsplugin nvidia nxclient odbc offensive ogg opengl openmp oscar oss pam pcre pda pdf perl php png povray ppds pppd prelude python qt3 qt3support qt4 quicktime rar rdesktop readline real reflection remote samba sasl sdl server session silc sndfile speedo spell spl sqlite sse ssl stats stroke subtitles subversion svg svga swat syslog tcpd tetex threads tidy tiff tokenizer transcode truetype truetype-fonts type1 type1-fonts unicode usb utf8 v4l v4l2 vhosts visualization vnc vorbis win32codecs wmf wxwindows x86 xcomposite xine xml xmlrpc xorg xprint xscreensaver xv xvid yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" USERLAND="GNU" VIDEO_CARDS="nvidia vga nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > Can you reproduce this with ccache disabled?
Yes. And with distcc (which was, in the first place, using all of 'localhost') disabled too:
# emerge --info
Portage 2.1.3.11 (default-linux/alpha/2006.1/server, gcc-4.1.2, glibc-2.3.6-r5, 2.6.22-gentoo-r6 alpha)
=================================================================
System uname: 2.6.22-gentoo-r6 alpha EV56
Timestamp of tree: Sun, 30 Sep 2007 12:50:01 +0000
distcc 2.18.3 alpha-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
...
This seems to me related to the an old glibc version. @Mark: please, update your profile and glibc and see if this happends again. Thanks. Not so hot. # emerge -puvDN world These are the packages that would be merged, in order: Calculating world dependencies... done! [ebuild U ] sys-boot/aboot-1.0_pre20040408-r2 [1.0_pre20040408] 0 kB [ebuild NS ] sys-devel/binutils-2.18 USE="multislot multitarget nls -test -vanilla" 0 kB [ebuild U ] sys-libs/pam-0.99.8.1-r1 [0.99.7.1] USE="cracklib%* nls (-audit) (-selinux) -vim-syntax" 0 kB [ebuild U ] sys-libs/glibc-2.6.1 [2.3.6-r5] USE="glibc-omitfp nls -debug% -glibc-compat20 (-hardened) (-multilib) -profile (-selinux) (-build%) (-erandom%) (-nptl%*) (-nptlonly%*)" 0 kB (note that the 3 I'm having trouble with, that I continue to be told "glibc will fix it" [see bug 194241 and bug 166782], want to be built before glibc) # emerge sys-libs/glibc Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) sys-libs/glibc-2.6.1 to / [time passes] * ERROR: sys-libs/glibc-2.6.1 failed. However, the following appears to have worked: # emerge --unmerge =binutils-2.17 # emerge sys-libs/glibc # emerge -uND world So: - profile 2006.1 culminates in a broken set of binutils/glibc/aboot/pam - profile 2007.0 gets fixed versions - but you need to leap the hurdle of a binutils/glibc argument Dear pam team, can we please add a versioned glibc dependency to the pam-0.99 ebuilds? Reassigning... If you have any clue which version should we depend on, surely... The non-working build was on glibc 2.3, the working one on 2.6, I'd rather not push it all the way up to 2.6, so maybe 2.4? *** Bug 198080 has been marked as a duplicate of this bug. *** So to fix the deps here... I'd be breaking a few profiles: RDEPEND.bad 9 sys-libs/pam/pam-0.99.8.1-r1.ebuild: ~alpha(default-linux/alpha/2006.1) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.8.1-r1.ebuild: ~alpha(default-linux/alpha/2006.1/desktop) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.8.1-r1.ebuild: hppa(default-linux/hppa/2006.1) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.8.1-r1.ebuild: ia64(default-linux/ia64/2006.0) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.8.1-r1.ebuild: ppc64(default-linux/ppc/ppc64/2006.1/64bit-userland) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.9.0.ebuild: ~alpha(default-linux/alpha/2006.1) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.9.0.ebuild: ~alpha(default-linux/alpha/2006.1/desktop) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.9.0.ebuild: ~hppa(default-linux/hppa/2006.1) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.9.0.ebuild: ~ppc64(default-linux/ppc/ppc64/2006.1/64bit-userland) ['>=sys-libs/glibc-2.4'] RDEPEND.badindev 10 sys-libs/pam/pam-0.99.8.1-r1.ebuild: ~alpha(default-linux/alpha/no-nptl) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.8.1-r1.ebuild: ~alpha(default-linux/alpha/no-nptl/2.4) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.8.1-r1.ebuild: m68k(default-linux/m68k) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.8.1-r1.ebuild: ppc(hardened/ppc) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.8.1-r1.ebuild: ppc64(hardened/ppc64) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.9.0.ebuild: ~alpha(default-linux/alpha/no-nptl) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.9.0.ebuild: ~alpha(default-linux/alpha/no-nptl/2.4) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.9.0.ebuild: ~m68k(default-linux/m68k) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.9.0.ebuild: ~ppc(hardened/ppc) ['>=sys-libs/glibc-2.4'] sys-libs/pam/pam-0.99.9.0.ebuild: ~ppc64(hardened/ppc64) ['>=sys-libs/glibc-2.4'] flameeyes: uhm.. could you please recheck? ppc64/ppc definetly has >=glibc-2.4 stable. (In reply to comment #11) > flameeyes: uhm.. could you please recheck? ppc64/ppc definetly has >=glibc-2.4 > stable. > But not hardened ppc/ppc64. for ia64 you can safely p.mask >pam-0.78 on those profiles. For alpha...thoughts? sys-libs/pam/pam-0.99.8.1-r1.ebuild: hppa(default-linux/hppa/2006.1) ['>=sys-libs/glibc-2.4'] hppa/2006.1 requires 2.3 and hppa/2007.0 requires 2.5. It's time to deprecate hppa/2006.1, I guess, but that would take a month or more to accomplish. For profiles that are going to be deprecated soon, feel free to mask the 0.99 series of PAM, as 0.78 will have to stay until mips decides to keyword 0.99. For hardened, as they are stuck with 2.3 for longer time, I'll see if I can get a chroot or a vm to work on a fix. (In reply to comment #13) > sys-libs/pam/pam-0.99.8.1-r1.ebuild: hppa(default-linux/hppa/2006.1) > ['>=sys-libs/glibc-2.4'] >=sys-libs/pam-0.99 is now masked for default-linux/hppa/2006.1. Okay fixed for all the architectures now: I depend on glibc 2.4 only when tests are requested (test useflag enabled), and package.use.masked the test USE flag on all the relevant profiles. (Diego: I'm the one who PM'd you on Freenode today. It looks like our schedules crossed...) I'm getting this error even with the modified ebuild with the new deps. I have USE=-test generally, so this "xtest" directory is evidently unrelated to it. Created attachment 135711 [details, diff]
Patch to stop building xtests directory
It compiles for me with the patch I just uploaded, though it's probably evil and rude. I haven't gone so far as to test it on my system yet--I'll likely do that in a few days. I'm hoping saner heads will have come up with an actual fix before I have to resort to that. ;) Stupid me to assume that something in PAM worked out of the box for once, fixing the tests handling now. This should be fixed now with the patch I applied: xtests are built only during make check phase (src_test). Works for me! |