Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236686 - sys-apps/kbd-1.14.1-r1 fails to install "cannot create regular file: file exists"
Summary: sys-apps/kbd-1.14.1-r1 fails to install "cannot create regular file: file exi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 12:02 UTC by Christohper Harrington
Modified: 2008-12-01 22:35 UTC (History)
1 user (show)

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


Attachments
Build log (sys-apps.kbd-1.14.1-r1.build.log,18.58 KB, text/plain)
2008-09-04 12:03 UTC, Christohper Harrington
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christohper Harrington 2008-09-04 12:02:01 UTC
Did an overnight emerge -e world after compiler updates. I believe I've successfully done this before on this box, but I'm not sure since the machine is reasonably new.

Reproducible: Couldn't Reproduce

Steps to Reproduce:
1. emerge -e world

Actual Results:  
2. <<ACTUALRESULTS
install -d -m 755 /var/tmp/portage/sys-apps/kbd-1.14.1-r1/image//usr/share/consolefonts/partialfonts
install -d -m 755 /var/tmp/portage/sys-apps/kbd-1.14.1-r1/image//usr/share/consolefonts/partialfonts
install -m 644 partialfonts_Z/* /var/tmp/portage/sys-apps/kbd-1.14.1-r1/image//usr/share/consolefonts/partialfonts
install -m 644 partialfonts_Z/* /var/tmp/portage/sys-apps/kbd-1.14.1-r1/image//usr/share/consolefonts/partialfonts
install: cannot create regular file `/var/tmp/portage/sys-apps/kbd-1.14.1-r1/image//usr/share/consolefonts/partialfonts/8859-1.a0-ff.08.gz': File exists
install -d -m 755 /var/tmp/portage/sys-apps/kbd-1.14.1-r1/image//usr/share/consoletrans
install -m 644 consoletrans/* /var/tmp/portage/sys-apps/kbd-1.14.1-r1/image//usr/share/consoletrans
make[1]: *** [install] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/kbd-1.14.1-r1/work/kbd-1.14.1/data'
make: *** [install-data] Error 2
make: *** Waiting for unfinished jobs....
ACTUALRESULTS

Expected Results:  
2. Install completed successfully.

Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-glibc2.0
Timestamp of tree: Wed, 03 Sep 2008 18:15:03 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.62-r1
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:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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://rsync.namerica.gentoo.org/gentoo-portage"
USE="apache2 bzip2 cdparanoia cli crypt ctype curl ffmpeg flac ftp gd gnutls jpeg ldap mp4 mysql mysqli ogg ogg123 pcre php png posix postgres samba session simplexml socks5 speex sse sse2 sse3 ssl syslog truetype unicode urandom v4l v4l2 vorbis x264 x86 xvid zip 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 dir mime" 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="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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Christohper Harrington 2008-09-04 12:03:11 UTC
Created attachment 164558 [details]
Build log

sys-apps/kbd-1.14.1-r1 build.log
Comment 2 Christohper Harrington 2008-09-04 12:06:55 UTC
And sorry for the spam, but I should make clear (in case it wasn't obvious by the "Couldn't reproduce" line) that emerge --resume took off just fine, and without issue.

It seems like threading might somehow be the culprit here. But I'm not a portage hacker. :)
Comment 3 Jonathan Callen (RETIRED) gentoo-dev 2008-10-22 20:00:42 UTC
I just got the same error - it looks like the problem is due to a badly written makefile - if the first line in src_install is changed to include the '-j1' option, then this error doesn't occur.
Comment 4 SpanKY gentoo-dev 2008-12-01 22:35:09 UTC
should be fixed with kbd-1.15