Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656314 - sci-libs/gdal-2.2.3-r1 fails when building in a parallel make
Summary: sci-libs/gdal-2.2.3-r1 fails when building in a parallel make
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-23 07:43 UTC by Thomas Beutin
Modified: 2018-06-28 20:02 UTC (History)
4 users (show)

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


Attachments
build.log (gzipped) (build.log.gz,176.62 KB, application/gzip)
2018-05-23 07:44 UTC, Thomas Beutin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Beutin 2018-05-23 07:43:46 UTC
x86_64-pc-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,--as-needed -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -march=knl -fomit-fram
e-pointer -O2 -pipe -std=c++14 -fvisibility=hidden -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wsha
dow -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Ws
uggest-override build/temp.linux-x86_64-3.5/extensions/osr_wrap.o -L../../.libs -L../../ -L/usr/lib64 -L/var/tmp/portage/sci-libs/gdal-2.2.3-r1/work/gdal-2.2.3/lib -lpyth
on3.5m -lgdal -o build/lib.linux-x86_64-3.5/osgeo/_osr.cpython-35m-x86_64-linux-gnu.so
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgdal
collect2: error: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1
make[2]: *** [GNUmakefile:108: install] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-libs/gdal-2.2.3-r1/work/gdal-2.2.3/swig/python'
make[1]: *** [GNUmakefile:33: install] Error 2
make[1]: Leaving directory '/var/tmp/portage/sci-libs/gdal-2.2.3-r1/work/gdal-2.2.3/swig'
make: *** [GNUmakefile:206: install-actions] Error 2
make: *** Waiting for unfinished jobs....
libtool: link: (cd ".libs" && rm -f "libgdal.so.20" && ln -s "libgdal.so.20.3.2" "libgdal.so.20")
libtool: link: (cd ".libs" && rm -f "libgdal.so" && ln -s "libgdal.so.20.3.2" "libgdal.so")
libtool: link: ( cd ".libs" && rm -f "libgdal.la" && ln -s "../libgdal.la" "libgdal.la" )
make[1]: Leaving directory '/var/tmp/portage/sci-libs/gdal-2.2.3-r1/work/gdal-2.2.3'
# emerge --info =gdal-2.2.3
Portage 2.3.24 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r11, 4.9.95-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.95-gentoo-x86_64-Intel-R-_Xeon-R-_Gold_6134_CPU_@_3.20GHz-with-gentoo-2.4.1
KiB Mem:   196820836 total, 189107204 free
KiB Swap:  268435452 total, 268435452 free
Timestamp of repository gentoo: Wed, 23 May 2018 02:00:01 +0000
Head commit of repository gentoo: c6910c36d7091cc975b48006b7e43b259331d697
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=knl -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
"
CXXFLAGS="-march=knl -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 multilib-strict news parallel-fetch preserve-libs protect-own
ed sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_IE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j38"
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 --ex
clude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X509 aac aacplus aalib accounting acl adns aim amd64 ansi apache2 audit automount autotrace bacula-console bash-completion bcmath berkdb bidi bind-mysql bittorrent b
zip2 cairo calendar caps ccache cdb cgi chipcard chroot cli command-args corefonts cpudetection cpulimit cracklib cramfs cron crypt cscope css csv ctype curl curlwrappers
 customlog cvsgraph cxx cyrus dba dbi dbm dbus dbx device-mapper devmap dhcp djvu dlopen dnsdb dri ecc emf encode enscript exif expat fam fastcgi ffmpeg fftw fits flac fl
ash flatfile fontconfig fortran fpm fpx ftp gd gdal gdbm geoip geos gif git gmp graphviz gs 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 lz4 lzma lzo mbox 
mcal memlimit mgetty mhash milter mime mimencode ming mmap modules mp3 mpeg mpm-prefork mppe-mppc multilib mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagi
os-ssh ncurses netboot netcdf netifrc network nfs nls nntp nptl nptlonly oav odbc ogg oggvorbis opencl openexr openmp openrc openssh openssl pam pam_chroot pam_console pa
m_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 quota
s radius raw readline recode reiserfs rmtp rpc rrdtool rss sample sasl screen seccomp sendfile sensord session sftp sftplogging shaper shared sharedext sieve simplexml sl
ang slp smartcard smime smp sms smtp snmp snortsam soap sockets socks5 spamassassin spell spl sql sqlite sqlite3 ssl stream subversion svg sysfs syslog sysvipc szip tcpd 
theora threads 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" ALSA_CARDS="ali5451 als4000 atiixp at
iixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_
MODULES="access auth auth_basic auth_digest authn_default authn_core authn_file authz_core authz_groupfile authz_host authz_user authn_dbm authn_dbd authz_dbd dbd ident i
magemap 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_fil
ter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires http2 headers usertrack proxy proxy_html xml2enc proxy_connect proxy_f
tp 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 im
ap actions userdir so unique_id version dumpio log_forensic reqtimeout socache_shmcb unixd proxy_fcgi slotmem_shm ratelimit remoteip lbmethod_bybusyness lbmethod_byreques
ts lbmethod_bytraffic lbmethod_heartbeat proxy_wstunnel macro" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq
 load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 s
sse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver o
ldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" 
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" OFFI
CE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_6" QEMU_SO
FTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="vga dummy fbdev mga" XTABLES_ADDONS="quota2 psd pknock lscan
 length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_E
XTRA_OPTS

After installing it one time using MAKEOPTS="-j1" this problem disappears.

IMHO it's a dupe of bug 331349, but to reproduce it one needs to uninstall it first.
Comment 1 Thomas Beutin 2018-05-23 07:44:45 UTC
Created attachment 532660 [details]
build.log (gzipped)
Comment 2 ad PC 2018-06-14 06:17:46 UTC
I can confirm this bug.
Comment 3 Larry the Git Cow gentoo-dev 2018-06-28 20:02:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5325276b91d66c0bfffc48330aae12033e5d8c38

commit 5325276b91d66c0bfffc48330aae12033e5d8c38
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-06-28 19:53:06 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-06-28 20:02:13 +0000

    sci-libs/gdal: version bump 2.3.0
    
    Closes: https://bugs.gentoo.org/654590
    Closes: https://bugs.gentoo.org/644882
    Closes: https://bugs.gentoo.org/654702
    Closes: https://bugs.gentoo.org/656314
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-libs/gdal/Manifest          |   1 +
 sci-libs/gdal/gdal-2.3.0.ebuild | 289 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 290 insertions(+)