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

Bug 242940

Summary: x11-misc/mkxf86config-0.9.10 ebuild phase 'preinst' exits unexpectedly
Product: Gentoo Linux Reporter: James Penketh <james.penketh>
Component: New packagesAssignee: Gentoo LiveCD Package Maintainers <livecd>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Penketh 2008-10-20 21:43:05 UTC
Emerging mkxf86config-0.9.10 fails at "Merging x11-misc/mkxf86config-0.9.10 to /", reporting that the preinst phase has exited unexpectedly
" This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313)."

Reproducible: Always

Steps to Reproduce:
1. emerge -av livecd-tools


Actual Results:  
deamon / # PORT_LOGDIR=/var/log/portage emerge -av livecd-tools

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-misc/mkxf86config-0.9.10  0 kB 
[ebuild  N    ] app-misc/livecd-tools-1.0.40  USE="X opengl" 0 kB 

Total: 2 packages (2 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild Manifests...
>>> starting parallel fetching pid 14949

>>> Emerging (1 of 2) x11-misc/mkxf86config-0.9.10 to /
 * mkxf86config-0.9.10.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                   [ ok ]
 * checking mkxf86config-0.9.10.tar.bz2 ;-) ...                                                                                          [ ok ]
 * This package is designed for use on the LiveCD only and will do 
 * unspeakably horrible and unexpected things on a normal system.
 * YOU HAVE BEEN WARNED!!!
>>> Unpacking source...
>>> Unpacking mkxf86config-0.9.10.tar.bz2 to /var/tmp/portage/x11-misc/mkxf86config-0.9.10/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-misc/mkxf86config-0.9.10/work/mkxf86config-0.9.10 ...
>>> Source compiled.
>>> Test phase [not enabled]: x11-misc/mkxf86config-0.9.10

>>> Install mkxf86config-0.9.10 into /var/tmp/portage/x11-misc/mkxf86config-0.9.10/image/ category x11-misc
>>> Completed installing mkxf86config-0.9.10 into /var/tmp/portage/x11-misc/mkxf86config-0.9.10/image/

* checking 3 files for package collisions
>>> Merging x11-misc/mkxf86config-0.9.10 to /
 * The ebuild phase 'preinst' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313).
!!! FAILED preinst: 1

 * Messages for package x11-misc/mkxf86config-0.9.10:

 * This package is designed for use on the LiveCD only and will do 
 * unspeakably horrible and unexpected things on a normal system.
 * YOU HAVE BEEN WARNED!!!
 * The ebuild phase 'preinst' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313).


Expected Results:  
mkxf86config should have emerged.

Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Mon, 20 Oct 2008 03:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -mtune=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -mtune=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.qubenet.net/mirror/gentoo/ ftp://gentoo.virginmedia.com/sites/gentoo "
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-lz"
LINGUAS="en en_GB sv sv_SE"
MAKEOPTS="-j2"
PKGDIR="/usr/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="/usr/portage"
SYNC="rsync://192.168.1.10/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb bzip2 cdr clamav cli cracklib crypt ctype cups curl cxx dbus dga directfb dri dvd dvdr encode enscript esd exif fbcon ffmpeg flac fontconfig fortran ftp gd gdbm gif gnome gpm gtk hal hardened hddtemp iconv imagemagick innodb ipv6 isdnlog java javascript jpeg kde lame latex libcaca livecd lm_sensors lzo mad maildir matroska memlimit midi mime mmap mmx mng modplug mp3 mpeg mplayer msn mudflap mysql ncurses networkmanager nls nptl nptlonly offensive ogg openal opengl openmp osc pam pcntl pcre pda pdf perl png posix pppd python qt3 qt4 raw readline reflection rss sasl sdl session sockets speex spell spl sqlite sqlite3 sse sse2 ssl svg svga symlink sysfs syslog szip taglib tcpd theora threads tidy tiff tk truetype unicode usb vim-syntax vorbis win32codecs wmf wxwindows x264 x86 xattr xcb xcomposite xine xml xorg xosd xpm xscreensaver xulrunner 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="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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv sv_SE" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 James Penketh 2008-10-21 15:04:46 UTC
Tried again, it now works perfectly.

Am not assuming it is either a phase-of-the-moon issue, or a Layer 8 fault.