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

Bug 230738

Summary: Unmerging sys-apps/xinetd-2.3.14 failed
Product: Gentoo Linux Reporter: Florian Philipp <f_philipp>
Component: [OLD] ServerAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: major CC: jer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 216231    
Attachments: unzipped version of /var/db/pkg/sys-apps/xinetd-2.3.14/environment.bz2

Description Florian Philipp 2008-07-04 14:45:06 UTC
emerge -avC xinetd fails with
"/usr/lib/portage/bin/ebuild.sh: line 1492: /bin/touch: Argument list too long"

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-apps/xinetd-2.3.14
2. emerge -C =sys-apps/xinetd-2.3.14
Comment 1 Florian Philipp 2008-07-04 14:45:57 UTC
Complete log:

emerge -avC xinetd

>>> These are the packages that would be unmerged:

 sys-apps/xinetd
    selected: 2.3.14 
   protected: none 
     omitted: none 

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No] y
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1 
>>> Unmerging sys-apps/xinetd-2.3.14...
No package files given... Grabbing a set.
--- !found   obj /usr/share/man/man8/xinetd.log.8.bz2
--- !found   obj /usr/share/man/man8/xinetd.8.bz2
--- !found   obj /usr/share/man/man8/xconv.pl.8.bz2
--- !found   obj /usr/share/man/man8/itox.8.bz2
--- !found   obj /usr/share/man/man5/xinetd.conf.5.bz2
--- !found   obj /usr/share/doc/xinetd-2.3.14/xinetd.conf.dist.sample.bz2
--- !found   obj /usr/share/doc/xinetd-2.3.14/TODO.bz2
--- !found   obj /usr/share/doc/xinetd-2.3.14/README.bz2
--- !found   obj /usr/share/doc/xinetd-2.3.14/INSTALL.bz2
--- !found   obj /usr/share/doc/xinetd-2.3.14/CHANGELOG.bz2
--- !found   obj /usr/share/doc/xinetd-2.3.14/AUDIT.bz2
--- !found   dir /usr/share/doc/xinetd-2.3.14
--- !found   obj /usr/sbin/xinetd
--- !found   obj /usr/sbin/xconv.pl
--- !found   obj /usr/sbin/itox
--- !found   obj /etc/xinetd.d/time-stream
--- !found   obj /etc/xinetd.d/time-dgram
--- !found   obj /etc/xinetd.d/tcpmux-server
--- !found   obj /etc/xinetd.d/ftp-sensor
--- !found   obj /etc/xinetd.d/echo-stream
--- !found   obj /etc/xinetd.d/echo-dgram
--- !found   obj /etc/xinetd.d/discard-stream
--- !found   obj /etc/xinetd.d/discard-dgram
--- !found   obj /etc/xinetd.d/daytime-stream
--- !found   obj /etc/xinetd.d/daytime-dgram
--- !found   obj /etc/xinetd.d/chargen-stream
--- !found   obj /etc/xinetd.d/chargen-dgram
--- !found   obj /etc/xinetd.conf
--- !found   obj /etc/init.d/xinetd
--- !found   obj /etc/conf.d/xinetd
--- !empty   dir /usr/share/man/man8
--- !empty   dir /usr/share/man/man5
--- !empty   dir /usr/share/man
--- !empty   dir /usr/share/doc
--- !empty   dir /usr/share
--- !empty   dir /usr/sbin
--- !empty   dir /usr
--- !empty   dir /etc/xinetd.d
--- !empty   dir /etc/init.d
--- !empty   dir /etc/conf.d
--- !empty   dir /etc
/usr/lib/portage/bin/ebuild.sh: line 1492: /bin/touch: Argument list too long
 * 
 * ERROR: sys-apps/xinetd-2.3.14 failed.
 * Call stack:
 *               ebuild.sh, line 1641:  Called die
 * The specific snippet of code:
 *   	preprocess_ebuild_env || \
 *   		die "error processing environment"
 *  The die message:
 *   error processing environment
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-apps:xinetd-2.3.14:20080704-143851.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/sys-apps/xinetd-2.3.14/temp/environment'.
 * 
!!! FAILED postrm: 1
 * The 'postrm' phase of the 'sys-apps/xinetd-2.3.14' package has failed
 * with exit value 1. The problem occurred while executing the ebuild
 * located at '/var/db/pkg/sys-apps/xinetd-2.3.14/xinetd-2.3.14.ebuild'. If
 * necessary, manually remove the ebuild in order to skip the execution of
 * removal phases.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-04 15:25:45 UTC
Please post your `emerge --info' too. Also, please compare this problem with bug #222091.
Comment 3 Florian Philipp 2008-07-04 15:41:58 UTC
emerge --info

Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r9 x86_64)
=================================================================
System uname: 2.6.24-tuxonice-r9 x86_64 Intel(R) Celeron(R) M CPU 530 @ 1.73GHz
Timestamp of tree: Fri, 04 Jul 2008 09:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/src/portage/distfiles/"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/src/portage/packages/"
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="/srv/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bash-completion battery berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli clisp cracklib crypt cscope cups dar64 dbus dell dillo disk-partition divx dri dts dvd dvdr dvdread eds emacs emboss encode evo fam fat fuse gcc-bibffi gcj gd gdbm gif gimp gmedia gnome-keyring gnutls gpm gsf gtk hddtemp hpn iconv idn imap ipw3945 irda isdnlog java javascript jpeg keyring kqemu libnotify lm_sensors logrotate mad mailwrapper matroska midi mikmod mmx mmxext mp3 mpeg mudflap multilib music ncurses nls nolvm1 nomirrors nonfsv4 nptl nptlonly nsplugin ntfs objc objc-gc offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline realmedia reflection reiserfs rtc rtsp sdl session socks5 spell spl sse sse2 ssl ssse3 startup-notification suid svg symlink tcpd tetex theora tiff toolbar tordns tracker truetype unicode v4l v4l2 vim-with-x vorbis wifi wmp wxwindows x264 xforms xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-04 15:59:37 UTC
Did you install recently? Did you emerge xinetd while you were still working in a chroot while you had booted the system from a Gentoo boot CD/DVD?
Comment 5 Florian Philipp 2008-07-04 16:02:57 UTC
Nope, this is a 1 year old system. I emerged xinetd just to have a look at it and now wanted to unmerge it again without having it in use for a single minute.

The change to the 2008-profile was a long time ago, as well.
Comment 6 Florian Philipp 2008-07-04 16:32:15 UTC
Both bugs Jeroen Roovers pointed to mention >bash-3.2_p20 so I switched to 3.2_p17 with no success.
On bug 222091 there is pam_mount mentioned as a possible correlation between two affected machines. I'm using pam_mount-0.41.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-05 15:21:59 UTC
Please attach /var/db/pkg/sys-apps/xinetd-2.3.14/environment.bz2 to this bug too.
Comment 8 Florian Philipp 2008-07-05 16:50:35 UTC
Created attachment 159642 [details]
unzipped version of /var/db/pkg/sys-apps/xinetd-2.3.14/environment.bz2
Comment 9 Florian Philipp 2008-07-05 16:53:22 UTC
Comment on attachment 159642 [details]
unzipped version of /var/db/pkg/sys-apps/xinetd-2.3.14/environment.bz2

less showed KRB5CCNAME as KRB5CCNAME=$'/\001\001\001\001\001\001\001\001 [...]001\177+'
Comment 10 Zac Medico gentoo-dev 2008-07-05 23:04:21 UTC
This might be a variant of bug 211833, but it also might be a bug in portage-2.1.4.4 environment handling. Could you test with >=portage-2.1.5.6 to see if
the problem is reproducible? If you remove the /var/db/pkg/sys-apps/xinetd-2.3.14/environment.bz2 then does the uninstall then complete successfully? Is the problem still reproducible if you reinstall the package and uninstall it again with >=portage-2.1.5.6?
Comment 11 Florian Philipp 2008-07-06 09:47:08 UTC
After removing /var/db/pkg/sys-apps/xinetd-2.3.14/environment.bz2 I can unmerge it successfully.

The bug is _not_ reproducible with =portage-2.1.5.6

Thanks!
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-07 18:23:03 UTC
*** Bug 234197 has been marked as a duplicate of this bug. ***