Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 212784
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Paul Goldbaum (AMD64 Arch Tester) <togashi.gentoo@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libxslt.build.log Build log text/plain Paul Goldbaum (AMD64 Arch Tester) 2008-03-09 03:08 0000 79.98 KB Details
libxslt-1.1.22-parallel-install.patch libxslt-1.1.22-parallel-install.patch patch Gilles Dartiguelongue 2008-03-30 14:02 0000 1.52 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212784 depends on: Show dependency tree
Bug 212784 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-09 03:01 0000
I was doing a fresh install of gentoo 2007.0 amd64. When it reached libxslt I
got the following error:

mkdir: cannot create directory
`/var/tmp/portage/dev-libs/libxslt-1.1.22/image//usr/lib64/python2.4/site-packages':
File exists.

and the build fails.

Reproducible: Always

Steps to Reproduce:
1. Install fresh copy of Gentoo 2007.0 on amd64, desktop profile
2. Install kde, libxslt is a dependancy
3. Watch it fail

------- Comment #1 From Paul Goldbaum (AMD64 Arch Tester) 2008-03-09 03:06:58 0000 -------
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24.3 x86_64)
=================================================================
System uname: 2.6.24.3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Sat, 08 Mar 2008 21:17:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
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-r1
sys-devel/automake:  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.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -m3dnow -mmmx -msse -msse2 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -m3dnow -mmmx -msse -msse2 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo "
LINGUAS="es_ES es"
MAKEOPTS="-j3"
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.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr apache2 bash-completition
berkdb cairo cdr cli cracklib crypt css cups dbus dri dv dvd dvdr dvdread eds
emboss encode esd evo extrafilters fam fame ffmpeg firefox flac gif glitz gpm
gstreamer hal iconv imagemagick ipv6 isdnlog jack jingle jpeg jpeg2k kde
kerberos ldap lzo mad midi mikmod mjpeg mmx mmxext mp3 mp3rtp mp4 mpeg mudflap
ncurses network nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png
pppd python qt3 qt3support qt4 quicktime readline reflection sdl session speex
spell spl sse sse2 sse3 ssl svg tcpd theora threads tiff truetype unicode
userlocales utempter v4l v4l2 vcd vorbis vorbis-psy wifi xcomposite xinerama
xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0"
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" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="es_ES es" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #2 From Paul Goldbaum (AMD64 Arch Tester) 2008-03-09 03:08:17 0000 -------
Created an attachment (id=145620) [details]
Build log

------- Comment #3 From Mart Raudsepp 2008-03-09 08:11:35 0000 -------
What does the following command report to you after it fails and therefore the
build dir isn't cleaned up:

file
/var/tmp/portage/dev-libs/libxslt-1.1.22/image//usr/lib64/python2.4/site-packages

------- Comment #4 From Gilles Dartiguelongue 2008-03-09 11:34:22 0000 -------
I think this is a parallel build failure very much in the same way gedit did.
I'll have a look at http://bugzilla.gnome.org/show_bug.cgi?id=508512 (too lazy
to find the gentoo bug now).

------- Comment #5 From Mart Raudsepp 2008-03-09 13:51:55 0000 -------
At least there are no instances of install-exec-local in libxslt Makefiles, so
not so sure about that... I agree that it is very likely a parallel build issue

------- Comment #6 From Paul Goldbaum (AMD64 Arch Tester) 2008-03-09 14:02:01 0000 -------
file says:
/var/tmp/portage/dev-libs/libxslt-1.1.22/image/usr/lib64/python2.4/site-packages/:
directory

ls says: libxsltmod.a  libxsltmod.la  libxsltmod.so

------- Comment #7 From Paul Goldbaum (AMD64 Arch Tester) 2008-03-09 14:09:43 0000 -------
Well, I just tried to install it again and this time it finished correctly.
I have made no changes to the system, just a reboot.

------- Comment #8 From Gilles Dartiguelongue 2008-03-09 14:31:04 0000 -------
(In reply to comment #7)
> Well, I just tried to install it again and this time it finished correctly.
> I have made no changes to the system, just a reboot.
> 

yeah definitely sounds like a parallel install problem. You might try
rebuilding it in a loop to check and I'm pretty sure it'll fail at some point.

------- Comment #9 From Mart Raudsepp 2008-03-09 15:07:15 0000 -------
So it is already a directory, so mkdir -p isn't supposed to fail at that point:

  -p, --parents     no error if existing, make parent directories as needed

So not sure what failed. I can't reproduce with MAKEOPTS="-j" either (running
rm .../.installed;ebuild ... install in a loop) in 15 tries or so...

------- Comment #10 From Paul Goldbaum (AMD64 Arch Tester) 2008-03-09 15:54:49 0000 -------
It took 6 attempts to make it fail. Without changing my env variables( still
running with MAKEOPTS="-j3") I ran the following in a loop:

ebuild /usr/portage/dev-libs/libxslt/libxslt-1.1.22.ebuild clean
ebuild /usr/portage/dev-libs/libxslt/libxslt-1.1.22.ebuild install

------- Comment #11 From Kevin Bowling 2008-03-22 16:52:39 0000 -------
Just hit this on a rebuild.  Running emerge again fixed it, definantly a
parellel failure.

------- Comment #12 From Gilles Dartiguelongue 2008-03-30 14:02:53 0000 -------
Created an attachment (id=147691) [details]
libxslt-1.1.22-parallel-install.patch

Could you guys please try this patch. It seems to fix it for me.

------- Comment #13 From Arun Raghavan 2008-03-31 14:44:06 0000 -------
(In reply to comment #12)
> Created an attachment (id=147691) [edit] [details]
> libxslt-1.1.22-parallel-install.patch
> 
> Could you guys please try this patch. It seems to fix it for me.

It's still seems to be reproducible here, but it took 5 builds. Will give it
another spin-in-a-loop.

------- Comment #14 From Paul Goldbaum (AMD64 Arch Tester) 2008-04-04 21:09:56 0000 -------
Still happens here after patching(In reply to comment #12)
> Created an attachment (id=147691) [edit] [details]
> libxslt-1.1.22-parallel-install.patch
> 
> Could you guys please try this patch. It seems to fix it for me.
> 

Still happening here

------- Comment #15 From Piotr Koz&#322;owski 2008-04-08 10:27:58 0000 -------
Same / very similar thing happend on my i386 (1 core p4). Running emerge once
more solved the problem.

------- Comment #16 From Gilles Dartiguelongue 2008-04-20 11:21:31 0000 -------
the fix should be in 1.1.23 that I just commited to the tree. Please reopen if
it's not the case.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug