Emerging Spectemu fails Reproducible: Always Steps to Reproduce: 1. emerge spectemu 2. 3. Actual Results: Emerge fails Expected Results: Should emerge November spectemu # emerge spectemu Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-emulation/spectemu-0.99.3 * spectemu-0.99.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking spectemu-0.99.3.tar.gz to /var/tmp/portage/app-emulation/spectemu-0.99.3/work * Applying spectemu-0.99.3-qa.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-emulation/spectemu-0.99.3/work/spectemu-0.99.3 ... * econf: updating spectemu-0.99.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating spectemu-0.99.3/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-readline --with-x --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu creating cache ./config.cache checking host system type... x86_64-pc-linux-gnu checking if configuration is valid... valid checking for gcc... gcc checking whether the C compiler (gcc -march=athlon64 -O2 -pipe -ggdb -Wl,-O1) works... yes checking whether the C compiler (gcc -march=athlon64 -O2 -pipe -ggdb -Wl,-O1) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for inline... inline checking for X... libraries /usr/lib64, headers checking for XOpenDisplay in -lX11... yes checking for XShmCreateImage in -lXext... yes checking for XShmQueryExtension... yes checking for XF86VidModeQueryExtension in -lXxf86vm... yes checking for vga_setmode in -lvga... no checking for tgetent in -ltermcap... no checking for tgetent in -lncurses... yes checking for readline in -lreadline... yes checking for readline/readline.h... yes checking whether compiling with intel x86 assembly... no checking for sys/soundcard.h... yes checking for sys/audioio.h... no checking for dmedia/audio.h... no checking for asm/io.h... no checking for linux/joystick.h... yes checking whether byte ordering is bigendian... no checking for working const... yes checking for ANSI C header files... yes checking for size_t... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h make -j3 CC=x86_64-pc-linux-gnu-gcc CPP=x86_64-pc-linux-gnu-cpp x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. xspect.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. xscr.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. xutils.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. xkey.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. ax.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. bin_to_c.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. xdispkb.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. spmain.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. spscr.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. spkey.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. spsound.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. sptape.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. tapefile.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. snapshot.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. compr.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. sptiming.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. interf.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. misc.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. spconf.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. keynames.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. spjoy.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. memdmps.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. scrshot.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. z80.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. z80optab.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. z80_step.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. spperif.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. spect.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. z80_op1.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. z80_op2.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. z80_op3.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. z80_op4.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. z80_op5.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. z80_op6.c x86_64-pc-linux-gnu-gcc -o bin_to_c -Wl,-O1 -L/usr/lib64 bin_to_c.o ./bin_to_c spectkey.bin ./bin_to_c load_z80.bin ./bin_to_c rom48.bin x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. spectkey.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. load_z80.c x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ggdb -DHAVE_CONFIG_H -I. rom48.c x86_64-pc-linux-gnu-gcc -o xspect -Wl,-O1 -L/usr/lib64 xspect.o xscr.o xutils.o xkey.o ax.o spectkey.o xdispkb.o spmain.o spscr.o spkey.o spsound.o sptape.o tapefile.o snapshot.o compr.o sptiming.o interf.o misc.o spconf.o load_z80.o keynames.o spjoy.o memdmps.o scrshot.o z80.o z80optab.o z80_step.o spperif.o spect.o rom48.o z80_op1.o z80_op2.o z80_op3.o z80_op4.o z80_op5.o z80_op6.o -lXxf86vm -lXext -lX11 -lreadline -lncurses >>> Source compiled. >>> Test phase [not enabled]: app-emulation/spectemu-0.99.3 >>> Install spectemu-0.99.3 into /var/tmp/portage/app-emulation/spectemu-0.99.3/image/ category app-emulation make -j3 install_root=/var/tmp/portage/app-emulation/spectemu-0.99.3/image/ install ./mkinstalldirs /var/tmp/portage/app-emulation/spectemu-0.99.3/image//usr/bin /var/tmp/portage/app-emulation/spectemu-0.99.3/image//usr/share/man/man1 if test -f xspect; then \ /usr/bin/install -c -m 755 xspect /var/tmp/portage/app-emulation/spectemu-0.99.3/image//usr/bin; fi mkdir /var/tmp/portage/app-emulation/spectemu-0.99.3/image/usr mkdir /var/tmp/portage/app-emulation/spectemu-0.99.3/image/usr/bin /usr/bin/install -c -m 644 ./xspect.1 /var/tmp/portage/app-emulation/spectemu-0.99.3/image//usr/share/man/man1 /usr/bin/install: cannot create regular file `/var/tmp/portage/app-emulation/spectemu-0.99.3/image//usr/share/man/man1': No such file or directory if test -f vgaspect; then \ /usr/bin/install -c -m 4755 vgaspect /var/tmp/portage/app-emulation/spectemu-0.99.3/image//usr/bin; fi make: *** [install_man] Error 1 make: *** Waiting for unfinished jobs.... mkdir /var/tmp/portage/app-emulation/spectemu-0.99.3/image/usr/share mkdir /var/tmp/portage/app-emulation/spectemu-0.99.3/image/usr/share/man mkdir /var/tmp/portage/app-emulation/spectemu-0.99.3/image/usr/share/man/man1 make: *** [installdirs] Error 1 * * ERROR: app-emulation/spectemu-0.99.3 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2128: Called die * The specific snippet of code: * emake install_root="${D}" install || die "emake install failed" * The die message: * emake install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/spectemu-0.99.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/spectemu-0.99.3/temp/environment'. * >>> Failed to emerge app-emulation/spectemu-0.99.3, Log file: >>> '/var/tmp/portage/app-emulation/spectemu-0.99.3/temp/build.log' * Messages for package app-emulation/spectemu-0.99.3: * * ERROR: app-emulation/spectemu-0.99.3 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2128: Called die * The specific snippet of code: * emake install_root="${D}" install || die "emake install failed" * The die message: * emake install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/spectemu-0.99.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/spectemu-0.99.3/temp/environment'.
Created attachment 179193 [details] Build Log
Snowdrops temp # emerge --info Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6400+-with-glibc2.2.5 Timestamp of tree: Wed, 21 Jan 2009 06:05:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-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.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 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.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" 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="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="/ X a52 aac acl alsa amd64 berkdb bidi bzip2 cdda cdio cli cracklib crypt cups dbus dri dts dvd ffmpeg flac fortran freetype gdbm gnutls gpm gstreamer gtk hal httpd iconv ipv6 isdnlog java jpeg live mad matroska midi mmx mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl startup-notification stream symlink sysfs tcpd theora tiff tk unicode vcd vlm wxwindows xorg xv 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel 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
Created attachment 179304 [details] Environment file Tried this on a second machine and still same error. Both machines amd64
I get the same on amd64 if I have MAKEOPTS="-j2". However, MAKEOPTS="-j1" passes with flying colours.
Thanks Arttu. Have changed /etc/make.conf from MAKEOPTS="-j3" to MAKEOPTS="-j1" and Spectemu now installs. Thanks for your help, certainly cures the problem.
(In reply to comment #5) > Have changed /etc/make.conf from MAKEOPTS="-j3" to MAKEOPTS="-j1" and Spectemu > now installs. Thanks for your help, certainly cures the problem. That's still just a temporary work-around. What we'd need is some friendly gentoo dev to add "-j1" into the ebuild's src_install's emake line (or however they want to fix this more permanently). Unfortunately, this package has been marked as an orphan and I ain't no dev, so it might take a while.
Created attachment 240825 [details, diff] tries to patch away the spectemu parallel install problem
Created attachment 240827 [details, diff] tries to bump the ebuild to match modern days and uses the patch
Created attachment 326854 [details, diff] spectemu-0.99.3-r1.patch Updated ebuild with some more QA fixes. svgalib is x86 only so needs testing on there still to verify automagicness is fixed.
Created attachment 326856 [details, diff] spectemu-0.99.3-automagic.patch
Created attachment 326858 [details, diff] spectemu-0.99.3-build.patch
I have applied all kensington patches and tested the package. amd64 : ok (builds, runs) ppc : ok (builds, runs) x86 : ok (builds, runs)
Thanks, this is now fixed in CVS. + 06 Nov 2012; Michael Palimaka <kensington@gentoo.org> + +files/spectemu-0.99.3-automagic.patch, +files/spectemu-0.99.3-build.patch, + +spectemu-0.99.3-r1.ebuild: + Fix parallel install wrt bug #255777. Fix automagic dependency on media- + libs/svgalib. Migrate to EAPI 4.