Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285849 (Pam1.1.0-emerge) - sys-libs/pam-1.1.0 - ./config.status[2359]: shift: nothing to shift
Summary: sys-libs/pam-1.1.0 - ./config.status[2359]: shift: nothing to shift
Status: RESOLVED FIXED
Alias: Pam1.1.0-emerge
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 16:41 UTC by oriol.morell@urv.cat
Modified: 2010-06-11 05:32 UTC (History)
0 users

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


Attachments
This is the config.log (config.log,168.59 KB, text/plain)
2009-09-21 16:42 UTC, oriol.morell@urv.cat
Details
Please find the "emerge --info" in the file attached called typescript (typescript,3.56 KB, text/plain)
2009-09-22 08:01 UTC, oriol.morell@urv.cat
Details
Pam failed again (errorAgain.txt,26.00 KB, text/plain)
2009-09-25 11:55 UTC, oriol.morell@urv.cat
Details
Please find the config.log from emerge pam (config.log,168.59 KB, text/plain)
2009-09-25 11:57 UTC, oriol.morell@urv.cat
Details
Please find now the build.log of pam (build.log,16.18 KB, text/plain)
2009-09-25 11:58 UTC, oriol.morell@urv.cat
Details
Please, find attahced the config.status (config.status,76.24 KB, text/plain)
2009-10-01 05:57 UTC, oriol.morell@urv.cat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description oriol.morell@urv.cat 2009-09-21 16:41:25 UTC
config.status: executing depfiles commands
./config.status[2359]: shift: nothing to shift

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/pam-1.1.0/work/Linux-PAM-1.1.0/config.log
 * 
 * ERROR: sys-libs/pam-1.1.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3173:  Called econf '--libdir=/usr/lib' '--docdir=/usr/share/doc/pam-1.1.0' '--htmldir=/usr/share/doc/pam-1.1.0/html' '--enable-securedir=/lib/security' '--enable-isadir=/lib/security' '--enable-nls' '--disable-selinux' '--enable-cracklib' '--disable-audit' '--disable-debug' '--disable-db' '--disable-dependency-tracking' '--disable-prelude'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf 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/sys-libs/pam-1.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/pam-1.1.0/temp/environment'.
 * 

>>> Failed to emerge sys-libs/pam-1.1.0, Log file:
Comment 1 oriol.morell@urv.cat 2009-09-21 16:42:14 UTC
Created attachment 204841 [details]
This is the config.log
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-09-21 18:04:23 UTC
Please choose "Gentoo Linux" as Product and not "Bugzilla"...

Furthermore please add the output of "emerge --info" to this bug.
Comment 3 oriol.morell@urv.cat 2009-09-22 08:01:21 UTC
Created attachment 204887 [details]
Please find the "emerge --info" in the file attached called typescript

Excuse me, but I could not choose "Gentoo Linux" as Product and not "Bugzilla"; probably my fault.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-24 22:13:43 UTC
Your emerge --info lists two versions of libtool, one of which is _not_ in portage. Please fix your system.
Comment 5 oriol.morell@urv.cat 2009-09-25 11:55:08 UTC
Created attachment 205199 [details]
Pam failed again 

Ok, libtool is fixed now. Many thanks. Next, we have run revdep-rebuild. Then we did: emerge -vuNDt pam, and the same situation appears.

Please find in the attachment the following outputs: 1) emerge --info ; 2) emerge -vpuNDt pam; and e) emerge -vuNDt pam.
Comment 6 oriol.morell@urv.cat 2009-09-25 11:57:39 UTC
Created attachment 205200 [details]
Please find the config.log from emerge pam
Comment 7 oriol.morell@urv.cat 2009-09-25 11:58:46 UTC
Created attachment 205201 [details]
Please find now the build.log of pam
Comment 8 oriol.morell@urv.cat 2009-09-28 09:51:48 UTC
It looks like the situation persists, even if the emerge is fixed.
Comment 9 Wormo (RETIRED) gentoo-dev 2009-09-30 02:46:02 UTC
Please attach the config.status file from the failed build -- it should provide more clues on what is going wrong.
Comment 10 oriol.morell@urv.cat 2009-10-01 05:57:05 UTC
Created attachment 205749 [details]
Please, find attahced the config.status

The file attached is: /var/tmp/portage/sys-libs/pam-1.1.0/work/Linux-PAM-1.1.0/config.status
Comment 11 oriol.morell@urv.cat 2009-10-12 08:41:26 UTC
Please, let us know what we could try to probe/check/study to get along with this bug. Many thanks.
Comment 12 oriol.morell@urv.cat 2009-11-03 08:17:59 UTC
If we try to use the ebuild /usr/portage/sys-libs/pam/disable-prelude directly it does not compiled. But, if we comment two lines of the ebuild, then it compiles:

127     econf \
128         --libdir=/usr/$(get_libdir) \
129         --docdir=/usr/share/doc/${PF} \
130         --htmldir=/usr/share/doc/${PF}/html \
131         --enable-securedir=/$(get_libdir)/security \
132         --enable-isadir=/$(get_libdir)/security \
133         $(use_enable nls) \
134         $(use_enable selinux) \
135         $(use_enable cracklib) \
136         $(use_enable audit) \
137         $(use_enable debug) \
138         --disable-db \
139 #       --disable-dependency-tracking \
140 #       --disable-prelude \
141         ${myconf} || die "econf failed"
142     emake sepermitlockdir="/var/run/sepermit" || die "emake failed"

Is it a proper solution to comment  "--disable-dependency-tracking \" and 
"--disable-prelude \" ?? thanks.
Comment 13 oriol.morell@urv.cat 2010-05-24 07:32:13 UTC
So, removing "--disable-dependency-tracking" from the ebuild, pam gets installed. Is "--disable-dependency-tracking" important?
Comment 14 oriol.morell@urv.cat 2010-05-24 07:33:56 UTC
disable-dependency-tracking looks like is just to speed compile time, doesn't it¿?
Comment 15 oriol.morell@urv.cat 2010-06-11 05:32:49 UTC
Solved:
 ~ # cd /bin
 bin # ls -la /bin/sh
lrwxrwxrwx 1 root root 3 May 24 10:04 /bin/sh -> ksh
 bin # mv /bin/sh /root/bin-sh
 bin # ln -s bash sh ; ls -la sh
lrwxrwxrwx 1 root root 4 Jun 11 09:27 sh -> bash