make -j5 so all make so-subtarget BUILDDIRPREFIX=so x86_64-pc-linux-gnu-gcc -fPIC -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -march=corei7-avx -fomit-frame-pointer -O2 -pipe -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib64/ghostscript/9.15\" -DOPJ_STATIC -I./obj/ -I./openjpeg/src/lib/openjp2 -I./openjpeg/src/lib/openjp2/.. -DUSE_JPIP -DUSE_OPENJPEG_JP2 -DOPJ_HAVE_STDINT_H=1 -DOPJ_HAVE_INTTYPES_H=1 -DOPJ_HAVE_FSEEKO=1 -o ./obj/opj_bio.o -c ./openjpeg/src/lib/openjp2/bio.c x86_64-pc-linux-gnu-gcc -fPIC -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -march=corei7-avx -fomit-frame-pointer -O2 -pipe -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib64/ghostscript/9.15\" -DOPJ_STATIC -I./obj/ -I./openjpeg/src/lib/openjp2 -I./openjpeg/src/lib/openjp2/.. -DUSE_JPIP -DUSE_OPENJPEG_JP2 -DOPJ_HAVE_STDINT_H=1 -DOPJ_HAVE_INTTYPES_H=1 -DOPJ_HAVE_FSEEKO=1 -o ./obj/opj_cidx_manager.o -c ./openjpeg/src/lib/openjp2/cidx_manager.c x86_64-pc-linux-gnu-gcc -fPIC -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -march=corei7-avx -fomit-frame-pointer -O2 -pipe -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib64/ghostscript/9.15\" -DOPJ_STATIC -I./obj/ -I./openjpeg/src/lib/openjp2 -I./openjpeg/src/lib/openjp2/.. -DUSE_JPIP -DUSE_OPENJPEG_JP2 -DOPJ_HAVE_STDINT_H=1 -DOPJ_HAVE_INTTYPES_H=1 -DOPJ_HAVE_FSEEKO=1 -o ./obj/opj_cio.o -c ./openjpeg/src/lib/openjp2/cio.c Assembler messages: Assembler messages: Fatal error: can't create ./obj/opj_cio.o: No such file or directory Fatal error: can't create ./obj/opj_bio.o: No such file or directory Assembler messages: Fatal error: can't create ./obj/opj_cidx_manager.o: No such file or directory x86_64-pc-linux-gnu-gcc -fPIC -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -march=corei7-avx -fomit-frame-pointer -O2 -pipe -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib64/ghostscript/9.15\" -DOPJ_STATIC -I./obj/ -I./openjpeg/src/lib/openjp2 -I./openjpeg/src/lib/openjp2/.. -DUSE_JPIP -DUSE_OPENJPEG_JP2 -DOPJ_HAVE_STDINT_H=1 -DOPJ_HAVE_INTTYPES_H=1 -DOPJ_HAVE_FSEEKO=1 -o ./obj/opj_dwt.o -c ./openjpeg/src/lib/openjp2/dwt.c In file included from ./openjpeg/src/lib/openjp2/cio.c:40:0: ./openjpeg/src/lib/openjp2/opj_includes.h:112:6: warning: "__STDC_VERSION__" is not defined [-Wundef] #if (__STDC_VERSION__ != 199901L) ^ In file included from ./openjpeg/src/lib/openjp2/bio.c:38:0: ./openjpeg/src/lib/openjp2/opj_includes.h:112:6: warning: "__STDC_VERSION__" is not defined [-Wundef] #if (__STDC_VERSION__ != 199901L) ^ In file included from ./openjpeg/src/lib/openjp2/dwt.c:44:0: ./openjpeg/src/lib/openjp2/opj_includes.h:112:6: warning: "__STDC_VERSION__" is not defined [-Wundef] #if (__STDC_VERSION__ != 199901L) ^ In file included from ./openjpeg/src/lib/openjp2/cidx_manager.c:32:0: ./openjpeg/src/lib/openjp2/opj_includes.h:112:6: warning: "__STDC_VERSION__" is not defined [-Wundef] #if (__STDC_VERSION__ != 199901L) ^ base/openjpeg.mak:125: recipe for target 'obj/opj_cio.o' failed make: *** [obj/opj_cio.o] Error 2 make: *** Waiting for unfinished jobs.... base/openjpeg.mak:122: recipe for target 'obj/opj_bio.o' failed make: *** [obj/opj_bio.o] Error 2 base/openjpeg.mak:179: recipe for target 'obj/opj_cidx_manager.o' failed make: *** [obj/opj_cidx_manager.o] Error 2 (full build.log will be attached) Reproducible: Always # emerge --info Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r2, 3.18.9-gentoo x86_64) ================================================================= System uname: Linux-3.18.9-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E31220_@_3.10GHz-with-gentoo-2.2 KiB Mem: 32965800 total, 1039372 free KiB Swap: 16776116 total, 16222680 free Timestamp of repository gentoo: Mon, 01 Jun 2015 07:30:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.2.5-r6::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo dev-util/cmake: 2.8.12.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.11::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 barzog-overlay location: /var/lib/layman/barzog-overlay masters: gentoo priority: 0 science location: /var/lib/layman/science masters: gentoo priority: 1 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 2 x-portage location: /usr/local/portage masters: gentoo priority: 3 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA @FREE Intel-SDP" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7-avx -fomit-frame-pointer -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=corei7-avx -fomit-frame-pointer -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X509 aac aacplus aalib accounting acl adns aim amd64 ansi apache2 audit automount autotrace bacula-console bash-completion bcmath bidi bind-mysql bittorrent bzip2 cairo calendar caps ccache cdb cgi chipcard chroot command-args corefonts cpudetection cpulimit cracklib cramfs crypt cscope css csv ctype curl curlwrappers customlog cvsgraph cxx cyrus dba dbi dbm dbx device-mapper devmap dhcp djvu dlopen dnsdb ecc emf encode enscript exif expat fam fastcgi ffmpeg fftw fits flac flash flatfile fontconfig fpm fpx ftp gd gdal gdbm geoip geos gif gmp graphviz gs gssapi gzip hardened hardenedphp hdf5 hdri hpn http i18n iconv icq icu idea idled idn imagemagick imap imlib imlib2 inifile innodb ipalias ipv6 jabber jbig jpeg jpeg2k json lapack lcms ldap less libwww lm_sensors lmtp logrotate logwatch lzma lzo mbox mcal memlimit mgetty mhash milter mime mimencode ming mmap mmx mp3 mpeg mpm-prefork mppe-mppc multilib mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses netboot netcdf netifrc network nfs nis nls nntp nptl nptlonly oav odbc ogg oggvorbis opencl openexr openmp openrc openssh openssl pam pam_chroot pam_timestamp pango parse-clocks pcntl pcre pdf pdfkit pdflib perl php pic plotutils png posix postfix postgis postgres postscript procmail proj pwdb python qdbm qemu quotas radius raw readline recode reiserfs rmtp rrdtool rss sample sasl screen sendfile sensord session sftp sftplogging shaper shared sharedext sieve simplexml slang slp smartcard smime smp sms smtp snmp snortsam soap sockets socks5 spamassassin spell spl sql sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 ssl ssse3 stream subversion svg sysfs syslog sysvipc szip tcpd theora tidy tiff tls tokenizer transparent-proxy truetype truetype-fonts type1-fonts udev unicode userlocales utf8 uuid vhosts vim-syntax virtual-users virus-scan vorbis vpx wddx webp withsamplescripts wmf x264 xattr xfs xinetd xls xml xml2 xmlrpc xpm xsl xslt xvid yahoo yaz zlib" ABI_X86="64" APACHE2_MODULES="access auth auth_basic authn_dbm dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile authn_alias authn_anon authz_dbm authz_owner authz_default authz_user auth_digest authz_host alias file_cache echo charset_lite cache disk_cache mem_cache ext_filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires headers usertrack proxy proxy_connect proxy_ftp proxy_http info include cgi cgid dav dav_lock dav_fs vhost_alias speling rewrite log_config logio env setenvif mime status substitute autoindex asis negotiation dir imap actions userdir so unique_id" APACHE2_MPMS="prefork" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="cws2fws qt-faststart aviocat ismindex" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="vga" USE_PYTHON="2.7 3.2 3.3" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 404408 [details] /var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/temp/build.log
Created attachment 404418 [details] emerge --info '=app-text/ghostscript-gpl-9.15-r1' Hello, I confirm I got the same bug in march, and I didn't bother looking further at this time. Since this ebuild became stable yesterday, I met more or less a same bug (different, but irrelevant I paste my other log). Anyway, I am here to say it's a parallel bug: use MAKEOPTS="--jobs 1", and it will compile fine. But still, I confirm this bug.
(In reply to Thibaud "thican" CANALE from comment #2) [...] > Anyway, I am here to say it's a parallel bug: > use MAKEOPTS="--jobs 1", and it will compile fine. i can confirm this, but... > But still, I confirm this bug. ... IMHO this should be handled by the ebuild.
(In reply to Thomas Beutin from comment #3) > (In reply to Thibaud "thican" CANALE from comment #2) […] > > But still, I confirm this bug. > > ... IMHO this should be handled by the ebuild. Exactly. (I notice I forgot some words in my sentence: "But still, I confirm this _is_a_ bug." My bad)
Yes, I got it, too and yes the ebuild should take care of it.
+ 02 Jun 2015; Pacho Ramos <pacho@gentoo.org> ghostscript-gpl-9.15-r1.ebuild: + -j1 needed because of bug #550926 +
older bug 430946 looks related ...
(In reply to SpanKY from comment #7) > older bug 430946 looks related ... Looks even related to the primary bug 234378. See bug 234378 comment 12 for the reason why this bug came back.
There have been quite some fixes and 9.20 seems to build fine in parallel, so I'm re-enabling the parallel build in app-text/ghostscript-gpl-9.20-r2 (~arch).