Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 403529

Summary: lxde-base/lxdm-0.4.1-r3 USE=-pam - configure: error: "PAM support requested, but pam_open_session not found."
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: Current packagesAssignee: LXDE team (DEFUNCT) <lxde+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: configuration log

Description ta2002 2012-02-14 06:57:18 UTC
lxde-base/lxdm-0.4.1-r3 fails to compile

Reproducible: Always

Steps to Reproduce:
# emerge lxdm
Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] lxde-base/lxdm-0.4.1-r3  USE="nls -debug -gtk3 -pam" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) lxde-base/lxdm-0.4.1-r3
 * lxdm-0.4.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking lxdm-0.4.1.tar.gz to /var/tmp/portage/lxde-base/lxdm-0.4.1-r3/work
>>> Source unpacked in /var/tmp/portage/lxde-base/lxdm-0.4.1-r3/work
>>> Preparing source in /var/tmp/portage/lxde-base/lxdm-0.4.1-r3/work/lxdm-0.4.1 ...
 * Applying lxdm-0.4.1-pam_console-disable.patch ...                                                                                                                         [ ok ]
 * Applying lxdm-0.4.1-git-fix-null-pointer-deref.patch ...                                                                                                                  [ ok ]
 * Applying lxdm-0.4.1-configure-add-pam.patch ...                                                                                                                           [ ok ]
 * Running eautoreconf in '/var/tmp/portage/lxde-base/lxdm-0.4.1-r3/work/lxdm-0.4.1' ...
 * Running aclocal ...                                                                                                                                                       [ ok ]
 * Running autoconf ...                                                                                                                                                      [ ok ]
 * Running autoheader ...                                                                                                                                                    [ ok ]
 * Running automake --add-missing --copy ...                                                                                                                                 [ ok ]
 * Running elibtoolize in: lxdm-0.4.1/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running intltoolize ...
 * Sorry, but lxdm does not support the LINGUAS: en
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/lxde-base/lxdm-0.4.1-r3/work/lxdm-0.4.1 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-password --with-x --with-xconn=xcb --disable-gtk3 --enable-nls --disable-debug
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking for crypt in -lcrypt... yes
checking for library containing pam_open_session... no
checking for pam_open_session... no
configure: error: "PAM support requested, but pam_open_session not found."

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/lxde-base/lxdm-0.4.1-r3/work/lxdm-0.4.1/config.log
 * ERROR: lxde-base/lxdm-0.4.1-r3 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   85:  Called src_configure
 *        environment, line 2705:  Called econf '--enable-password' '--with-x' '--with-xconn=xcb' '--disable-gtk3' '--enable-nls' '--disable-debug'
 *   phase-helpers.sh, line  467:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =lxde-base/lxdm-0.4.1-r3',
 * the complete build log and the output of 'emerge -pqv =lxde-base/lxdm-0.4.1-r3'.
 * The complete build log is located at '/var/log/portage/lxde-base:lxdm-0.4.1-r3:20120214-064606.log'.
 * The ebuild environment file is located at '/var/tmp/portage/lxde-base/lxdm-0.4.1-r3/temp/environment'.
 * S: '/var/tmp/portage/lxde-base/lxdm-0.4.1-r3/work/lxdm-0.4.1'

Expected Results:  
Build without errors.

Pam support is most certainly NOT requested (I do not have pam installed in any way, shape, or form).
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-14 18:48:38 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/lxde-base/lxdm-0.4.1-r3/work/lxdm-0.4.1/config.log

Well?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-15 13:23:55 UTC
And please post your `emerge --info' output in a comment.
Comment 3 ta2002 2012-02-16 05:00:47 UTC
Created attachment 302107 [details]
configuration log
Comment 4 ta2002 2012-02-16 05:07:37 UTC
$ emerge --info

Portage 2.1.10.44 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.1.10-gentoo-r1 i686)
=================================================================
System uname: Linux-3.1.10-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 15 Feb 2012 09:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -mfpmath=sse -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -mfpmath=sse -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="R X a52 aac aalib accessibility acpi additions alsa aspell ass audio audiofile bookmarks bwscheduler bzip2 cairo caps cdda cdio cdr chm client consolekit cracklib crypt css cups cxx dbus device-mapper dga directfb djvu downloadorder dri dvd dvdnav dvdr ebook encode exceptions exif expat fam fbcon ffmpeg flac fluidsynth fontconfig fortran gallium gcj gecko ggi gif glib glibc-omitfp gmp gphoto2 gpm gsm gtk handbook hardcoded-tables hddtemp holidays hpn iconv idea imap infowidget iostats ipc ipfilter ipv6 jabber javascript jbig jit joystick jpeg lame lcms less libkms libwww live llvm lm_sensors logviewer lxde lzma mad matroska mbox mdns-bundled memlimit midi mmx mmxext mp3 mpeg mta mudflap nas ncurses net netapi network nls no-old-linux nodrm nptl nptlonly ntp ocamlopt offlinehelp ofx ogg opengl openmedia openmp oscar osdmenu pcre pdf perl pm-utils png policykit portmon ps qt3support quotes raptor readline recursion-limit redland rss rtc rtmp samba scanfolder scanner sdl search secure-delete sensord server shared-glapi shm silc smbclient smtp sndfile sound speex spell sse sse2 ssl ssse3 stats subversion svg sysfs tcpd theora threads threadsafe tiff tremor truetype udev unicode upnp urandom usb userlocales utils video vorbis wav webdav-neon webinterface wifi wps x86 xcb xinerama xklavier xml xorg xpdf-headers xv xvid yahoo zlib zrtp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-16 05:21:09 UTC
Looks like econf is missing a switch.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2012-02-16 08:35:32 UTC
Seems duplicate of bug

*** This bug has been marked as a duplicate of bug 403999 ***