Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202722 - www-servers/apache-2.2.6-r5 parallel install fails
Summary: www-servers/apache-2.2.6-r5 parallel install fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-18 20:05 UTC by Neil Katin
Modified: 2008-01-11 20:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Katin 2007-12-18 20:05:47 UTC
I was doing an emerge update to my system, and apache-2.2.6-r5 failed to install.
The problem was completely repeatable.

My default MAKEOPTS is set to "-j9".  Emerging with a clear MAKEOPTS "fixed"
the problem.

The ebuild fails during the install phase, with mkdir errors saying several
directories already exist (log snippet below...).

This may well be an upstream error, but I thought I would submit it just
in case its a gentoo issue...

---- from the emerge log ----

make[2]: Entering directory `/var/tmp/portage/www-servers/apache-2.2.6-r5/work/httpd-2.2.6/os'
Installing header files
Installing CGIs
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www
mkdir: cannot create directory `/var/tmp/portage/www-servers/apache-2.2.6-r5/image/var': File exists
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost
mkdir: cannot create directory `/var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www': File exists
Installing man pages and online manual
mkdir: cannot create directory `/var/tmp/portage/www-servers/apache-2.2.6-r5/image/var': File existsmkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost
mkdir: cannot create directory `/var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www': File exists
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost

mkdir: cannot create directory `/var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost': File exists
mkdir: mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost/error
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/imcannot create directory `/var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost': File exists
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/log
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost/icons
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost/htdocs
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost/cgi-bin
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/usr/include/apache2
mkdir /var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/log/apache2
make[1]: *** [install-other] Error 1
make[1]: *** Waiting for unfinished jobs....
age/usr/include
cannot create directory `/var/tmp/portage/www-servers/apache-2.2.6-r5/image/var/www/localhost': File exists


----------- emerge --info output (CONFIG_PROTECT removed to shorten output...)

Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r9 x86_64 Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
Timestamp of tree: Tue, 18 Dec 2007 18:30:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/xen /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl alsa amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 cgi cli cpudetection cracklib crypt cups curl dlz doc dri encode examples filepicker flac gd gdbm gif gpm iconv iproute2 isdnlog ithreads java javamail javascript jms jmx jpeg jpeg2k ldap libtommath logitec-mouse mad mhash midi mmx modperl mpm-worker mudflap mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls no-htdocs no-suexec nptl nptlonly ogg openmp openntpd pam pcre perl png pppd python qt3 readline reflection resolvconf ruby samba sasl screen session sndfile snmp speex spl sse sse2 ssl tcpd threads tiff truetype-fonts type1-fonts unicode usb xforms xml xml2 xorg xprint zip 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jason Waldhelm 2007-12-26 16:08:31 UTC
same here.

Portage 2.1.4_rc11 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r3 x86_64)
=================================================================
System uname: 2.6.23-hardened-r3 x86_64 Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
Timestamp of tree: Wed, 26 Dec 2007 15:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 bash-completion berkdb bzip2 clamav cli cracklib crypt ctype curl dba exiscan-acl fastcgi ftp gd gdbm hardened hub iconv imap justify logrotate maildir mcal midi mime mpm-prefork multilib ncurses nls nptl nptlonly pam pcre pear perl pic postgres pri readline rtc session simplexml slang snmp spell spf srs ssl tcpd tidy truetype urandom xml xml2 xmlrpc xorg zaptel 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2007-12-31 23:46:52 UTC
fixed
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-01-11 20:52:15 UTC
`emake -j1` would be better.