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
Please paste the output of emerge --info and please also attach the full build.log. Thanks
Created attachment 149216 [details] output of emerge --info
Created attachment 149218 [details] build.log
Found a workaround: MAKEOPTS="-j1" makes it compile. Both "-j2" and "-j3" (which is my default setting) didn't work.
Confirmed here too.
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.
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?
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
Sorry, had a mistype, gdm version is 2.20.7 in comment #8
hopefully fixed in 2.20.9. Please reopen if it's not the case.
I had the same error for gdm-2.20.11 even with the parallel-make patch. It compiles with -j1, fails with -j3.
Created attachment 267063 [details] Build log for gdm-2.20.11
Created attachment 267065 [details] emerge --info
Your bug is different than the one that was closed. Please open a new report with the information you provided here. Thanks.
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.