Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566788 - net-fs/samba-3.6.25 can't find libpam (abi_x86_32) when sys-libs/pam is compiled with "-fuse-linker-plugin -fuse-ld=gold"
Summary: net-fs/samba-3.6.25 can't find libpam (abi_x86_32) when sys-libs/pam is compi...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-25 10:07 UTC by Marcin Mirosław
Modified: 2020-01-07 22:25 UTC (History)
3 users (show)

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


Attachments
build-abi_x86_32.x86.log (build-abi_x86_32.x86.log,46.85 KB, text/plain)
2015-11-25 10:11 UTC, Marcin Mirosław
Details
compressed config.log (config.log.xz,42.46 KB, application/x-xz)
2015-11-25 10:15 UTC, Marcin Mirosław
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2015-11-25 10:07:17 UTC
When sys-libs/pam is compiled using -fuse-ld=bfd then configure from net-fs/samba detects libpam correctly. It's no matter if net-fs/samba is compiled with or without gold, it depends on compiling sys-libs/pam with or without gold linker.

Reproducible: Always




# emerge --info
Portage 2.2.25 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.22-r1, 4.2.6-gentoo x86_64)
=================================================================
System uname: Linux-4.2.6-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
Timestamp of repository gentoo: Wed, 25 Nov 2015 06:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10-r3::gentoo, 3.4.3-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.0-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://192.168.138.254/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: -O

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O0 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O0 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O0 -march=native -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup collision-protect compressdebug config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O0 -march=native -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aio alsa amd64 apm async bash-completion bittorrent branding bzip2 cairo caps cdda cdr chroot cli consolekit crypt cups cxx dbus declarative dmx dri dvd dvdr emboss encode exif fam firefox ftp gif glamor glibc-omitfp gpl gpm graphite gstreamer iconv idn iproute2 ipv6 ithreads jpeg kde kipi laptop lcms libnotify lightning logrotate mad mmap mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses network-cron nls nptl nsplugin nspluginwrapper objc ogg opengl openmp openssl optimization optimized-qmake pam pango pcre pdf phonon plasma png policykit ppds python3 qt3support qt4 readline samba sdl seccomp semantic-desktop session sharedmem smp spell sse sse2 ssl startup-notification svg threads threadsafe tiff tools truetype udev udisks unicode unwind upower urandom usb vim vim-pager vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zip zlib" ABI_X86="32 64" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cgid dav dbd deflate dir env expires ext_filter filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" DRACUT_MODULES="caps lvm mdraid" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en es es_ES" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Marcin Mirosław 2015-11-25 10:11:58 UTC
Created attachment 417824 [details]
build-abi_x86_32.x86.log

checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking for pam_get_data in -lpam... no
configure: error: --with-pam=yes but libpam not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-fs/samba-3.6.25/work/samba-3.6.25-abi_x86_32.x86/source3/config.log
 * ERROR: net-fs/samba-3.6.25::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  133:  Called src_configure
 *             environment, line 3329:  Called multilib-minimal_src_configure
 *             environment, line 2172:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2379:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 2103:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 2101:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  455:  Called multilib-minimal_abi_src_configure
 *             environment, line 2166:  Called multilib_src_configure
 *             environment, line 2643:  Called econf 'ac_cv_header_sys_capability_h=yes' '--with-piddir=/var/run/samba' '--sysconfdir=/etc/samba' '--localstatedir=/var' '--disable-developer' '--enable-largefile' '--enable-socket-wrapper' '--enable-nss-wrapper' '--disable-swat' '--disable-dmalloc' '--disable-cups' '--disable-iprint' '--enable-fam' '--enable-shared-libs' '--disable-dnssd' '--disable-avahi' '--with-fhs' '--with-privatedir=/var/lib/samba/private' '--with-rootsbindir=/var/cache/samba' '--with-lockdir=/var/cache/samba' '--with-swatdir=/usr/share/doc/samba-3.6.25/swat' '--with-configdir=/etc/samba' '--with-logfilebase=/var/log/samba' '--with-pammodulesdir=/lib32/security' '--without-dmapi' '--without-afs' '--without-fake-kaserver' '--without-vfs-afsacl' '--without-ldap' '--without-ads' '--without-krb5' '--without-dnsupdate' '--without-automount' '--with-pam' '--with-pam_smbpass' '--without-syslog' '--without-quotas' '--without-sys-quotas' '--without-utmp' '--without-libtalloc' '--without-libtdb' '--with-libnetapi' '--with-libsmbclient' '--without-libsmbsharemodes' '--without-libaddns' '--without-ctdb' '--without-cluster-support' '--without-acl-support' '--with-aio-support' '--with-sendfile-support' '--with-winbind' '--with-shared-modules=idmap_rid,idmap_hash' '--without-included-popt' '--without-included-iniparser'
 *        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=net-fs/samba-3.6.25::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-fs/samba-3.6.25::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-fs/samba-3.6.25/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.6.25/temp/environment'.
 * Working directory: '/var/tmp/portage/net-fs/samba-3.6.25/work/samba-3.6.25-abi_x86_32.x86/source3'
 * S: '/var/tmp/portage/net-fs/samba-3.6.25/work/samba-3.6.25'

>>> Failed to emerge net-fs/samba-3.6.25, Log file:
Comment 2 Marcin Mirosław 2015-11-25 10:15:09 UTC
Created attachment 417826 [details]
compressed config.log
Comment 3 Ben Kohler gentoo-dev 2019-07-10 18:39:37 UTC
Does this still affect samba-4.x?