Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345887 - sys-libs/pam-1.1.3 - /usr/bin: file not recognized: Is a directory
Summary: sys-libs/pam-1.1.3 - /usr/bin: file not recognized: Is a directory
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 14:48 UTC by Vikraman (RETIRED)
Modified: 2012-05-13 22:28 UTC (History)
1 user (show)

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


Attachments
build.log (pam-build.log,63.75 KB, text/plain)
2010-11-17 14:49 UTC, Vikraman (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vikraman (RETIRED) gentoo-dev 2010-11-17 14:48:45 UTC
sys-libs/pam-1.1.3 fails to build due to bad arguments to gcc

Reproducible: Always

Steps to Reproduce:
1. emerge -v1 =sys-libs/pam-1.1.3

Actual Results:  
Failed to emerge sys-libs/pam-1.1.3

Expected Results:  
sys-libs/pam-1.1.3 emerges successfully

Portage 2.2.0_alpha4 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.1, glibc-2.12.1-r3, 2.6.35-zen2 x86_64)
=================================================================
System uname: Linux-2.6.35-zen2-x86_64-Intel-R-_Core-TM-_i3_CPU_M_330_@_2.13GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 16 Nov 2010 20:30:23 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.4
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2, 4.5.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo kde sunrise mpd proaudio vh4x0r
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -frename-registers -fweb -ftree-vectorize -fivopts -fmodulo-sched -fgcse-after-reload -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -frename-registers -fweb -ftree-vectorize -fivopts -fmodulo-sched -fgcse-after-reload -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fail-clean fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.leaseweb.com/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now -Wl,--hash-style=gnu"
MAKEOPTS="-j6"
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="/var/lib/layman/kde /var/lib/layman/sunrise /var/lib/layman/mpd /var/lib/layman/pro-audio /usr/local/portage/vh4x0r"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 64bit X a52 aac aalib acl acpi alsa amd64 amr bash-completion bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl custom-cflags custom-cpuopts custom-optimization cxx dbus djvu dri dts dvd dvdr emacs emboss enca encode exif extras fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran gdbm gif gnome gnome-keyring gnome-print gpm gstreamer gtk hal iconv jack jackmidi java java6 jpeg jpeg2k kde kvm lame laptop latex lcms ldap libcaca libnotify libsamplerate libv4l libv4l2 lm_sensors lzma lzo mad midi mikmod mmx mmxext mng modules mp3 mp4 mpd mpeg mplayer mudflap multilib nano-syntax ncurses network network-cron nfs nls nptl nptlonly nsplugin ntp offensive ogg opengl openmp pam pango pcre pdf perl plasma png ppds pppd private-headers python qt3support qt4 readline samba sdl semantic-desktop session sndfile spell sse sse2 sse3 ssh ssl ssse3 startup-notification svg sysfs system-sqlite tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vim-syntax vorbis wavpack wifi x264 xcb xcomposite xft xml xorg xrender xscreensaver xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="hda-intel" 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 auth_digest authn_file authz_groupfile dav dav_fs" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy harness ide identity java mobility nb php profiler ruby websvccommon" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="arm i386 mips ppc sparc x86_64" QEMU_USER_TARGETS="alpha arm i386 mips ppc sparc x86_64" RUBY_TARGETS="jruby ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vikraman (RETIRED) gentoo-dev 2010-11-17 14:49:34 UTC
Created attachment 254639 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-17 15:30:50 UTC
Please attach the environment file the build log mentions:

 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/pam-1.1.3/temp/environment'.
Comment 3 Rafał Mużyło 2010-11-17 16:48:31 UTC
The answer is likely 'unset path'.
Comment 4 Vikraman (RETIRED) gentoo-dev 2010-11-17 17:48:03 UTC
I just downgraded sys-auth/pambase from 20101024 to 20100925 and it compiles fine.
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2012-03-12 08:23:35 UTC
Had the same problem today with pam-1.1.5 on an installation from stage3 using sysresccd-2.5.0 which had the $path variable set and it (partially) leaked into the chroot environment.
The main cause of the problem might be if someone is using a zsh (which is the default shell in sysresccd) which sets $path to $PATH with s/:/ /
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-03-12 18:52:48 UTC
Use `chroot /mnt/gentoo /bin/su -` to chroot from sysrescuecd.
Comment 7 Martijn Schmidt 2012-05-12 19:36:31 UTC
(In reply to comment #6)
> Use `chroot /mnt/gentoo /bin/su -` to chroot from sysrescuecd.

This worked for me using SysRescueCD 2.6.0 and =sys-libs/pam-1.1.5

Thank you!
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-05-13 22:28:09 UTC
If the env is not sanitized I'm afraid there is nothing more I can do.