Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318261 - sys-process/psmisc-22.10: config.status: shift: nothing to shift when /bin/sh is dash
Summary: sys-process/psmisc-22.10: config.status: shift: nothing to shift when /bin/sh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 11:13 UTC by oriol.morell@urv.cat
Modified: 2010-06-22 10:24 UTC (History)
0 users

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


Attachments
Please find attached the config.log of the emerge. (config.log,72.71 KB, text/plain)
2010-05-03 11:14 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 2010-05-03 11:13:08 UTC
Hello,
we have upgrade the system, but psmisc does not get emerged:

config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
./config.status[1378]: shift: nothing to shift

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-process/psmisc-22.10/work/psmisc-22.10/config.log
 * ERROR: sys-process/psmisc-22.10 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2812:  Called econf '--disable-dependency-tracking' '--disable-selinux' '--disable-ipv6' '--enable-nls'
 *     ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-process/psmisc-22.10',
 * the complete build log and the output of 'emerge -pqv =sys-process/psmisc-22.10'.
 * The complete build log is located at '/var/tmp/portage/sys-process/psmisc-22.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-process/psmisc-22.10/temp/environment'.
 * S: '/var/tmp/portage/sys-process/psmisc-22.10/work/psmisc-22.10'


Reproducible: Always
Comment 1 oriol.morell@urv.cat 2010-05-03 11:14:52 UTC
Created attachment 230125 [details]
Please find attached the config.log of the emerge.
Comment 2 oriol.morell@urv.cat 2010-05-03 11:16:05 UTC
emerge --info


Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Xeon-TM-_CPU_3.06GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 03 May 2010 08:45:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.3.5-r1, 4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA sun-bcla-java-vm dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe -I/usr/include/libxml2 -I/usr/include/freetype2"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv loop-aes md5sum modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="authz_host usertrack unique_id access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in mime-magic cern-meta expires headers  proxy proxy-connect proxy-ftp proxy-http ssl info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vga vesa fbdev mach64" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Rafał Mużyło 2010-05-04 14:36:47 UTC
Could you explain why is '-I/usr/include/libxml2 -I/usr/include/freetype2'
in you global CFLAGS ?
Comment 4 oriol.morell@urv.cat 2010-05-04 17:00:38 UTC
Time ago, when we compiled some stuff, the freetype/config/ftheader.h  was missing and these two parametres were needed for emerge "emerge =freetype-1*". We can remove them if you suggest so.
Comment 5 oriol.morell@urv.cat 2010-05-04 17:09:25 UTC
We have tried to emerge psmisc without '-I/usr/include/libxml2 -I/usr/include/freetype2', but it does not get better.
Comment 6 SpanKY gentoo-dev 2010-05-08 17:07:19 UTC
is your /bin/sh dash ?

if you go into the build dir and run `./config.status`, does it error out too ?
Comment 7 oriol.morell@urv.cat 2010-06-11 07:55:16 UTC
Correct. The link /bin/sh was not pointing to bash, but other.
Solved.
Comment 8 SpanKY gentoo-dev 2010-06-20 00:58:25 UTC
does it still fail with app-shells/dash-0.5.5.1.2 ?
Comment 9 oriol.morell@urv.cat 2010-06-22 10:16:28 UTC
Completely solved linking /bin/sh to /bin/bash.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-06-22 10:24:52 UTC
(In reply to comment #9)
> Completely solved linking /bin/sh to /bin/bash.
> 

you are missing the point, psmisc should emerge fine if /bin/sh is symlink to /bin/dash. so what Mike was asking is:

a) what was it pointed to when it failed?
b) if it was dash, does 0.5.5.1.2 solve the problem?