Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88439 - sys-libs/pam-0.78-r2 fails with USE=pam_console due to libtool/tag probs in bundled glib
Summary: sys-libs/pam-0.78-r2 fails with USE=pam_console due to libtool/tag probs in b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 91042 92470 92528 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-09 01:45 UTC by Alexey Maximov
Modified: 2005-07-04 15:09 UTC (History)
5 users (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 Alexey Maximov 2005-04-09 01:45:31 UTC
config.status: executing default-1 commands
config.status: executing glibconfig.h commands
config.status: executing chmod-scripts commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/pam-0.78-r2/work/glib-2.6.3/glib'
Making all in libcharset
make[2]: Entering directory `/var/tmp/portage/pam-0.78-r2/work/glib-2.6.3/glib/libcharset'
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DLIBDIR=\"/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/lib\" -I../..    -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math  -fPIC -Wall -MT localcharset.lo -MD -MP -MF ".deps/localcharset.Tpo" \
  -c -o localcharset.lo `test -f 'localcharset.c' || echo './'`localcharset.c; \
then mv -f ".deps/localcharset.Tpo" ".deps/localcharset.Plo"; \
else rm -f ".deps/localcharset.Tpo"; exit 1; \
fi
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[2]: *** [localcharset.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/pam-0.78-r2/work/glib-2.6.3/glib/libcharset'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pam-0.78-r2/work/glib-2.6.3/glib'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




amazing / # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11.4-cko2 i686)
=================================================================
System uname: 2.6.11.4-cko2 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 17 2005, 16:36:13)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.9.5, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS=" -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="  -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math 
-fvisibility-inlines-hidden "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg distlocks prelink sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.CP1251"
LDFLAGS=" -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed "
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi acpi4linux activefilter alsa apm
artswrappersuid audiofile avi bash-completion bitmap-fonts bluetooth bonobo caps
cdda cddb cdio cdparanoia cdr crypt cscope cups curl dga directfb dpms dts dv
dvb dvd dvdr dvdread eds emboss encode exif fam fbcon ffmpeg fftw flac
foomaticdb freetype ftp gd ggi gif gimp glitz gnokii gnutls gphoto2 gpm
gstreamer gtk2 guile hal howl iconv icq icu ieee1394 imagemagick imap imlib
innodb irmc jack jack-tmpfs joystick jpeg jpeg2k kerberos ladcca ladspa lcd lcms
ldap libcaca libg++ libgda libvisual libwww lirc live lm_sensors lmtp
logitech-mouse lua lufsusermount lzo mad maildir mailwrapper matroska mbox
mikmod mjpeg mmx mng mono mozdevelop mozilla mozsvg mp3 mpeg mppe-mppc msn
mythtv nas ncurses network nntp no-old-linux nptl nptlonly ntlm oav odbc ogg
oggvorbis openal opie pam pcmcia pcre pda pdflib pic plotutils png portaudio
povray pvm pwdb qt quicktime quotas rdesktop readline real rtc samba sasl sblive
scanner silc skey slang slp smartcard sndfile socks5 soundtouch speex spell ssl
stream svg svga svgz symlink sysfs tcltk tcpd tetex theora threads tidy tiff
transcode truetype truetype-fonts unicode usb utf8 v4l v4l2 vcd vcdimager vidix
vlm wifi winbind wmf wxwindows xanim xine xml xml2 xrandr xv xvid yv12 zeroconf
zlib linguas_ru linguas_uk"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Alexey Maximov 2005-04-09 01:51:00 UTC
if I try
CC=gcc CXX=g++ emerge pam 

all works ok

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-04-09 02:00:42 UTC
See Bug 67692 and Bug 77921. Probably strikes back again. :/
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-09 02:34:24 UTC
If you aren't going to use pam_console, build without it as this error should be related to pam_console's need for a static glib.
Comment 4 SpanKY gentoo-dev 2005-04-09 11:45:24 UTC
re-emerge libtool and try again
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-05-01 05:29:09 UTC
*** Bug 91042 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-05-12 22:17:25 UTC
*** Bug 92470 has been marked as a duplicate of this bug. ***
Comment 7 Csaba Tóth 2005-05-12 22:25:52 UTC
No, it doesn't work for me!

I do this:

uncomment the masks in the /etc/portage/package.mask file
emerge libtool
emerge pam

Comment 8 Csaba Tóth 2005-05-12 22:32:42 UTC
Oh, i forgot to tell that last weekend i made a fresh install, and to finish the install i must mask some packages:

>=sys-libs/pam-0.78
>=net-misc/openssh-4.0_p1-r1
>=app-admin/sudo-1.6.7_p5-r3




and my emerge info:

-(root@minerva:1)-(6 files:32K@ssl)-(0 jobs)-(07:32)-
-(/etc/ssl:#)-> emerge info
Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r8-minerva-04 i686)
=================================================================
System uname: 2.6.11-gentoo-r8-minerva-04 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.7
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -pipe -fPIC -msse -mmmx -mfpmath=sse -m3dnow -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mtune=athlon-xp -pipe -fPIC -msse -mmmx -mfpmath=sse -m3dnow -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg digest distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="hu_HU.UTF8"
LC_ALL="hu_HU.UTF8"
LDFLAGS="-Wl,-z,now -Wl,-z,relro"
LINGUAS="hu en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts caps cdr crypt ctype cups curl curlwrappers dbm directfb dvdr emboss encode esd ethereal exif fam fastcgi flac foomaticdb fortran ftp gd gdbm gif gmp gphoto2 gpm gtk gtk2 guile iconv imagemagick imap imlib inifile innodb ipv6 jack java jpeg junit kde ldap libg++ libwww mad mhash mikmod mime mmx mmx2 motif mp3 mpeg mpi mysql ncurses nls nptl ogg oggvorbis opengl oss pam pcntl pcre pdflib perl php png pnp posix postgres python qt quicktime readline recode samba sasl scanner sdl shared slang snmp sockets speex spell sse ssl svg svga symlink sysvipc tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis xine xinerama xml xml2 xmlrpc xmms xsl xv zlib linguas_hu linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET

Comment 9 Csaba Tóth 2005-05-13 13:58:04 UTC
Oh, there are news.

I probe a lot, and when i run that command it compile cleanly:

emerge =sys-libs/pam-0.78-r2 berkdb -debug -nis pam_chroot -pam_console pam_timestamp -pwdb -selinux

and the emphasis is in the -pam_console. if i enable it the error is showing up.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 15:06:23 UTC
*** Bug 92528 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 15:09:34 UTC
Reopening, USE="pam_console" breaks this (two bugs today), also can reproduce this here.
Comment 12 Ed Catmur 2005-05-13 16:15:13 UTC
Confirmed here.
Comment 13 Nathaniel McCallum (RETIRED) gentoo-dev 2005-05-13 16:43:37 UTC
I also get the breakage with pam_console, but exporting CC=gcc and CXX=g++ worked for me.
Comment 14 Csaba Tóth 2005-05-13 17:51:44 UTC
Yes, i can verify this, when i run that it works for me:

# USE="-debug -nis pam_chroot pam_console pam_timestamp -pwdb -selinux" CC=gcc CXX=g++ emerge "=sys-libs/pam-0.78-r2"
Comment 15 Triffid Hunter 2005-05-22 12:42:14 UTC
I had this bug crop up on one of three servers (identical use flags, but 
different cflags) - coincidentally, the only intel-chipped server. both amd 
servers compiled no worries, with pam_console enabled.

adding CC="gcc" and CXX="g++" into my /etc/make.conf fixed it :)
Comment 16 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-04 15:09:24 UTC
Need to pass --host to configure (thanks Mike) .. fixed in cvs.