Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217037 - gnome-base/gdm-2.20.3 fails to build in parallel
Summary: gnome-base/gdm-2.20.3 fails to build in parallel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-09 17:07 UTC by Thomas Pani
Modified: 2011-03-24 11:49 UTC (History)
2 users (show)

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


Attachments
output of emerge --info (emerge_info.txt,3.54 KB, text/plain)
2008-04-09 18:10 UTC, Thomas Pani
Details
build.log (build.log,229.57 KB, text/plain)
2008-04-09 18:11 UTC, Thomas Pani
Details
Build log for 2.20.4(doc building crash) (build.log,150.68 KB, text/plain)
2008-10-15 09:14 UTC, Kolbjørn Fredheim
Details
Build log for gdm-2.20.11 (build.log,335.75 KB, text/plain)
2011-03-24 10:45 UTC, Göktürk Yüksek
Details
emerge --info (emerge.info,4.02 KB, text/plain)
2011-03-24 10:49 UTC, Göktürk Yüksek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pani 2008-04-09 17:07:32 UTC
building gdm 2.20.3 fails with error:

test -z "/var/tmp/portage/gnome-base/gdm-2.20.3/image//usr/bin/gdmXnest" || rm -f /var/tmp/portage/gnome-base/gdm-2.20.3/image//usr/bin/gdmXnest
ln -s -f gdmXnestchooser /var/tmp/portage/gnome-base/gdm-2.20.3/image//usr/bin/gdmXnest
ln: creating symbolic link `/var/tmp/portage/gnome-base/gdm-2.20.3/image//usr/bin/gdmXnest': No such file or directory
make[3]: *** [install-data-local] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/bin/install -c -m 644 'gdmflexiserver.desktop' '/var/tmp/portage/gnome-base/gdm-2.20.3/image//usr/share/gdm/applications/gdmflexiserver.desktop'
/usr/bin/install -c -m 644 'gdmflexiserver-xnest.desktop' '/var/tmp/portage/gnome-base/gdm-2.20.3/image//usr/share/gdm/applications/gdmflexiserver-xnest.desktop'
mv -f .deps/gdmsetup-gdmsetup.Tpo .deps/gdmsetup-gdmsetup.Po
make[3]: Leaving directory `/var/tmp/portage/gnome-base/gdm-2.20.3/work/gdm-2.20.3/gui'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gdm-2.20.3/work/gdm-2.20.3/gui'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gdm-2.20.3/work/gdm-2.20.3/gui'
make: *** [install-recursive] Error 1

ERROR: install
 
ERROR: gnome-base/gdm-2.20.3 failed.
Call stack:
              ebuild.sh, line   49:  Called src_install
            environment, line 2906:  Called gnome2_src_install
            environment, line 2183:  Called die
The specific snippet of code:
          emake DESTDIR="${D}" "scrollkeeper_localstate_dir=${D}${sk_tmp_dir} " "$@" install || die "install failed";
 The die message:
  install failed


cause: the bin/ directory in /var/tmp/portage/gnome-base/gdm-2.20.3/image//usr/ isn't created
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-04-09 17:21:22 UTC
Please paste the output of emerge --info and please also attach the full build.log.

Thanks
Comment 2 Thomas Pani 2008-04-09 18:10:51 UTC
Created attachment 149216 [details]
output of emerge --info
Comment 3 Thomas Pani 2008-04-09 18:11:29 UTC
Created attachment 149218 [details]
build.log
Comment 4 Thomas Pani 2008-04-09 19:40:25 UTC
Found a workaround: MAKEOPTS="-j1" makes it compile.
Both "-j2" and "-j3" (which is my default setting) didn't work.
Comment 5 Brian Johnson 2008-05-01 19:05:53 UTC
Confirmed here too.
Comment 6 James Gilliland 2008-08-28 14:55:40 UTC
Mine broke in a completely different place(building the docs folder) but this fixed it as well. Can attach emerge --info or build log if still needed to fix.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2008-09-24 10:16:46 UTC
Ok, well the first bug should be easy enough to fix: gui/Makefile.am creates the symlinks using "install-data-local" when it should be using "install-exec-hook". Since I can't reproduce, I can only assume it'll work properly since it's the correct way to do these kinds of things...

As for the doc building bug, a build.log would indeed help to figure out.

However, I'm just tempted to force "emake -j1" in the ebuild since we are likely to phase out gdm 2.20 at some point.

@Team, what say you?
Comment 8 Kolbjørn Fredheim 2008-10-15 09:14:07 UTC
Created attachment 168544 [details]
Build log for 2.20.4(doc building crash)

Same issue here, gdm will not compile with -j4, tried -j1 and it went through.

Emerge --info:
hightower ~ # emerge --info
Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7-x86-64 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7-x86-64 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Wed, 15 Oct 2008 00:18: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.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
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.5, 1.7.9-r1, 1.8.5-r3, 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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://coolserver/ http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://172.16.0.1/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac accessibility acl alsa amd64 amr berkdb branding bzip2 cairo cjk cli cracklib crypt css cups cupsddk curl dbus divx dri dts dv dvdr dvdread emacs encode engode exif ffmpeg flac fontconfig fortran ftp gdbm gif gimp gpm gtk hal iconv id3tag imagemagick imlib ipv6 isdnlog java jpeg kde lcms libsamplerate mad md5sum midi mjpeg mmx mmxext mng mp3 mp4 mpeg mudflap multilib mysql ncurses network nptl nptlonly offensive ogg opengl openmp pcre pdf perl png ppds pppd pulseaudio python qt3 qt4 quicktime readline realmedia reflection rtc samba sdl session slang smp snmp spl srt sse sse2 ssl svg sysfs tcpd tga threads tiff truetype unicode v4l v4l2 vcd vorbis wmf wmp x264 xcb xcomposite xinerama xorg xulrunner xvid xvmc yv12 zlib" ALSA_CARDS="usb-audio virtuoso intel8x0" 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Kolbjørn Fredheim 2008-10-15 09:16:25 UTC
Sorry, had a mistype, gdm version is 2.20.7 in comment #8
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-05 23:32:51 UTC
hopefully fixed in 2.20.9. Please reopen if it's not the case.
Comment 11 Göktürk Yüksek archtester gentoo-dev 2011-03-24 10:43:51 UTC
I had the same error for gdm-2.20.11 even with the parallel-make patch. It compiles with -j1, fails with -j3.
Comment 12 Göktürk Yüksek archtester gentoo-dev 2011-03-24 10:45:43 UTC
Created attachment 267063 [details]
Build log for gdm-2.20.11
Comment 13 Göktürk Yüksek archtester gentoo-dev 2011-03-24 10:49:11 UTC
Created attachment 267065 [details]
emerge --info
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-03-24 11:09:43 UTC
Your bug is different than the one that was closed. Please open a new report with the information you provided here. Thanks.
Comment 15 Göktürk Yüksek archtester gentoo-dev 2011-03-24 11:49:38 UTC
I don't see how my problem is any different than the one presented by Thomas Pani. Both builds fail at the same step with the same error and using -j1 works in both cases. I created the entry #360257 as you requested anyway.