Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256812 - pam-1.0.1 explicitly removes static linker files but neon wants them.
Summary: pam-1.0.1 explicitly removes static linker files but neon wants them.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 17:48 UTC by Matthew Gregory Sr.
Modified: 2009-01-29 18:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Gregory Sr. 2009-01-29 17:48:34 UTC
During emerge of neon-0.28.3 (amd64):
/bin/sh ../libtool --quiet --mode=link x86_64-pc-linux-gnu-gcc -no-undefined -Wl,-O1 -rpath /usr/lib64 -version-info 28:3:1 -export-symbols-regex '^ne_[^_]' -o libneon.la ne_request.lo ne_session.lo ne_basic.lo  ne_string.lo ne_uri.lo ne_dates.lo ne_alloc.lo ne_md5.lo ne_utils.lo ne_socket.lo ne_auth.lo ne_redirect.lo ne_compress.lo ne_i18n.lo ne_pkcs11.lo ne_207.lo ne_xml.lo ne_props.lo ne_locks.lo ne_xmlreq.lo  ne_acl.lo ne_gnutls.lo -lz -L/usr/lib64 -lgnutls -L/usr/lib64 -ltasn1 -L/usr/lib64 -lgcrypt -lgpg-error -lsocks -L/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -march=k8 -O2 -pipe -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lxml2 -lz -lm 
grep: /usr/lib64/libpam.la: No such file or directory
/bin/sed: can't read /usr/lib64/libpam.la: No such file or directory
libtool: link: `/usr/lib64/libpam.la' is not a valid libtool archive
make[1]: *** [libneon.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/neon-0.28.3/work/neon-0.28.3/src'
make: *** [subdirs] Error 2
 * 
 * ERROR: net-misc/neon-0.28.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2890:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/neon-0.28.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/neon-0.28.3/temp/environment'.
 * 

snippet from pam-1.0.1.ebuild lines 172-175
==================/usr/portage/sys-libs/pam/pam-1.0.1.ebuild ===============
	# Get rid of the .la files. We certainly don't need them for PAM
	# modules, and libpam is installed as a shared object only, so we
	# don't ned them for static linking either.
	find "${D}" -name '*.la' -delete
============================================================================

emerge info:
mythtv gkrellm-countdown # emerge --info
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-gentoo-matt-amd64-mythtv x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-matt-amd64-mythtv-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.2.5
Timestamp of tree: Wed, 07 Jan 2009 20:20:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages notitles parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_US.UTF8 en_US.utf-8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext R X X509 a52 aac aalib acl acpi activefilter ads alsa amd64 amr animgif ao apache2 arts artworkextra async asyncns atm audacious autoipd automount avahi bash-completion bashlogger bcmath beagle berkdb blender-game bluetooth bookmarks branding bsf bzip2 cairo calendar caps ccache cdda cddb cdio cdparanoia cdr cgraph chicken cli cmdctrl cmdsubmenu cpudetection cracklib crypt cscope cups curl curlwrappers custom-optimization cutterlimit cutterqueue cuttime daap dbus ddepgentry default device-mapper dhcp dia disk-partition divx djvu dmx dolbyinrec dri dtaus dv dvb dvd dvdarchive dvdchapjump dvdr dvdread dvi dvlfriendlyfnames dvlrecscriptaddon dvlvidprefer eap-tls eds elf emboss encode epiphany escreen esd etwin evo examples extra extras fam fastbuild fat ffmpeg fftw firefox flac flatfile fltk flup fluxbox fontconfig fortran fpx freetds ftp fuse gadu galago gcj gcrypt gd gdbm gedit geldkarte ggi gif glib glitz gmedia gmp gnome gnome-keyring gnome-print gnutls gphoto2 gpm graphtft graphviz gs gstreamer gtk gtk2 gtkhtml guile hal hardlinkcutter hash hbci hddtemp hdri hfs howl-compat hpn iconv icu ieee1394 imagemagick imap imlib immqt inkjar ipod iptv ipv6 isdnlog ithreds jabber jack java javamail jbig jfs jms jmx jpeg jpeg2k jumpplay justify kde kerberos ladspa lapack latex lcms ldap libcaca libffi libnotify libsamplerate libssh2 libwww liemikuutio lircsettings livebuffer lm_sensors logitech-mouse logrotate lua mad mailwrapper mainmenuhooks mbox md5sum mdnsresponder-compat menuorg mhash midi mikmod mime mmap mmx mmxext mng mod_python modperl modplug mono motif mozdom mp2 mp3 mp4 mpeg mplayer mppe-mppc mssql mudflap multilib musepack musicbrainz mysql mzscheme nas nautilus ncurses netbeans network network-cron networking networkmanager nextaw nls nntp nodrm noepg nptl nptlonly nsplugin ntfs ntlm_unsupported_patch nvtv objc objc++ objc-gc ocaml octave odbc offensive ofx ogg openal openexr opengl openid openmp openntpd osdmaxitems overlays pam parse-clocks passwdqc pch pcre pdf perl pgsql php pic pike pinplugin plotutils plugins png portaudio postgres postscript povray ppds pppd proxy_http pulseaudio pyste python q32 qt3 qt3support qt4 quicktime quotas quotes radius rar readline realmedia redland reflection reiser4 reiserfs remote replytolist restrict-javascript rle samba sasl scanner script sdl seamonkey sendmail sensord session settime sftp slang slp smi smp smux sndfile sni snmp soap socks5 sortrecords speex spell spl sqlite srp sse sse2 ssl startup-notification subtitles suid svg swat switchtimer sysfs syslog t1lib tcl tcpd tga theora threads tiff timercmd timerinfo timidity tk tls toolbar tools tordns tracker truetype unicode urandom usb utempter validinput vcd vhosts vim vim-pager vim-sintax vim-syntax vim-with-x visualization volctrl vorbis wareagleicon wavpack webdav webdav-serf winbind wma wmf wmp wxwindows x264 xattr xcb xcomposite xfce xfs xft xine xinetd xml xmldoclet xmlreader xmlrpc xmlwriter xorg xpm xprint xsl xulrunner xv xvid xvmc yaepg yaz ziffy zip zlib" ALSA_CARDS="intel8x0 intel8x0m" 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" APACHE2_MODULES="cern_meta imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http substitute version mime mime_magic mem_cache log_config status speling setenvif rewrite include headers filter file_cache ext_filter expires env disk_cache dir deflate dav_lock dav_fs dav cache autoindex authz_user authz_owner authz_host alias actions auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile info logio negotiation unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_US.UTF8 en_US.utf-8" USERLAND="GNU" VIDEO_CARDS="nv nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

for my own system I will be removing that line from the pam ebuild in my local overlay, but I'm not sure what the proper solution to this is.  I would think the static linker files should remain so that the 'static' use flag can be used for things that link against libpam (quite a lot afaict).

Reproducible: Always

Steps to Reproduce:
1. on an amd64 system attempt to emerge neon (or anything requiring neon)
2. wait for it...
3. oops... ebuild done broked
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-29 18:02:13 UTC
Install gentoolkit and run:
revdep-rebuild -i -- -a
And you should be good. The comment from the pam ebuild you quoted is quite accurate.