I try to emerge library gdal with USE="debug" Reproducible: Always Steps to Reproduce: 1.USE="debug" emerge -av sci-libs/gdal 2. 3. Actual Results: make -C xlsx i486-pc-linux-gnu-g++ -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/gcore -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/alg -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts -march=pentium4 -fomit-frame-pointer -fPIC -g -DDEBUG -Wall -I/usr/include/postgresql-9.5 -I/usr/include/postgresql-9.5/server -DPG_HAS_PQESCAPESTRINGCONN -I../pgdump -DOGR_ENABLED -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/usr/ -I/usr//include -DGDAL_COMPILATION -c -o ../o/ogrpgresultlayer.o ogrpgresultlayer.cpp i486-pc-linux-gnu-g++ -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/gcore -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/alg -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts -march=pentium4 -fomit-frame-pointer -fPIC -g -DDEBUG -Wall -I.. -I../.. -I../mem -I/usr/include -DOGR_ENABLED -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/usr/ -I/usr//include -DGDAL_COMPILATION -DHAVE_EXPAT -c -o ../o/ods_formula.o ods_formula.cpp make[3]: Entering directory /var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts/xlsx i486-pc-linux-gnu-g++ -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/gcore -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/alg -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts -march=pentium4 -fomit-frame-pointer -fPIC -g -DDEBUG -Wall -I.. -I../.. -I../mem -I/usr/include -DOGR_ENABLED -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/usr/ -I/usr//include -DGDAL_COMPILATION -DHAVE_EXPAT -c -o ../o/ogrxlsxdriver.o ogrxlsxdriver.cpp i486-pc-linux-gnu-g++ -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/gcore -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/alg -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts -march=pentium4 -fomit-frame-pointer -fPIC -g -DDEBUG -Wall -I/usr/include/postgresql-9.5 -I/usr/include/postgresql-9.5/server -DPG_HAS_PQESCAPESTRINGCONN -I../pgdump -DOGR_ENABLED -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/usr/ -I/usr//include -DGDAL_COMPILATION -c -o ../o/ogrpgutility.o ogrpgutility.cpp make[3]: Leaving directory /var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts/jml i486-pc-linux-gnu-g++ -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/gcore -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/alg -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts -march=pentium4 -fomit-frame-pointer -fPIC -g -DDEBUG -Wall -I.. -I../.. -I../mem -I/usr/include -DOGR_ENABLED -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/usr/ -I/usr//include -DGDAL_COMPILATION -DHAVE_EXPAT -c -o ../o/ogrxlsxdatasource.o ogrxlsxdatasource.cpp i486-pc-linux-gnu-g++ -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/gcore -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/alg -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts -march=pentium4 -fomit-frame-pointer -fPIC -g -DDEBUG -Wall -I.. -I../.. -I../mem -I/usr/include -DOGR_ENABLED -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/usr/ -I/usr//include -DGDAL_COMPILATION -DHAVE_EXPAT -c -o ../o/ods_formula_parser.o ods_formula_parser.cpp i486-pc-linux-gnu-g++ -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/gcore -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/alg -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts -march=pentium4 -fomit-frame-pointer -fPIC -g -DDEBUG -Wall -I.. -I../.. -I../mem -I/usr/include -DOGR_ENABLED -I/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/port -I/usr/ -I/usr//include -DGDAL_COMPILATION -DHAVE_EXPAT -c -o ../o/ods_formula_node.o ods_formula_node.cpp make[3]: Leaving directory /var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts/pg make[3]: Leaving directory /var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts/ods make[3]: Leaving directory /var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts/xlsx make[2]: Leaving directory /var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr/ogrsf_frmts make[1]: Leaving directory /var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3/ogr [31;01m*[0m ERROR: sci-libs/gdal-2.0.3::gentoo failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=sci-libs/gdal-2.0.3::gentoo'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=sci-libs/gdal-2.0.3::gentoo'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/sci-libs/gdal-2.0.3/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sci-libs/gdal-2.0.3/temp/environment'. Working directory: '/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3' '/var/tmp/portage/sci-libs/gdal-2.0.3/work/gdal-2.0.3' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =gdal-2.0.3 Expected Results: Successful compilation. emerge --info Portage 2.3.3 (python 2.7.12-final-0, default/linux/x86/13.0, gcc-4.9.4, glibc-2.22-r4, 4.4.39-gentoo i686) ================================================================= System uname: Linux-4.4.39-gentoo-i686-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.3 KiB Mem: 4135604 total, 687208 free KiB Swap: 8393924 total, 8115208 free Timestamp of repository gentoo: Thu, 02 Feb 2017 00:45:01 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 i486-pc-linux-gnu [disabled] app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.3_rc4::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.22.4::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 x-portage location: /usr/local/portage masters: gentoo priority: 0 pg_overlay location: /var/lib/layman/pg_overlay masters: gentoo priority: 50 qt location: /var/lib/layman/qt masters: gentoo priority: 50 science location: /var/lib/layman/science masters: gentoo priority: 50 vmware location: /var/lib/layman/vmware masters: gentoo priority: 50 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 50 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i486-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i486-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -march=i686 -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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://gentoo.bloodhost.ru/ http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.aiya.ru/pub/gentoo/ ftp://ftp.citkit.ru/pub/Linux/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl aim alsa berkdb bzip2 cli cracklib crypt cxx dri dvdr esd ffmpeg firefox fortran gdbm gnome-keyring iconv icq ipv6 jabber kde modules ncurses nls nptl opengl openmp pam pcre pulseaudio qt readline samba seccomp session ssl tcpd udev unicode x86 xattr yahoo zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="directory" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="coreboot pc" INITNG_PLUGINS="alsa bash_launcher chdir chroot conflict cpout critical cron daemon dev dllaunch envparser find fstat history idleprobe initctl interactive iparser last limit logfile netprobe ngc4 pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded provide" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB ru fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau" XFCE_PLUGINS="trash" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Could you please attach the full build log? It looks like the root error is higher up.
Created attachment 463600 [details] Full compilation log
(In reply to Yuriy Rusinov from comment #2) > Created attachment 463600 [details] > Full compilation log Unfortunately non-english messages. Possible duplicate of bug 602348?
(In reply to Andreas Sturmlechner from comment #3) > (In reply to Yuriy Rusinov from comment #2) > > Created attachment 463600 [details] > > Full compilation log > > Unfortunately non-english messages. Possible duplicate of bug 602348? No, I have read its log, but this is another bug. I tried to compile this in locale LANG=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES=POSIX LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL= Sometimes before all messages were in English, but now some of them are became Russian.
Created attachment 468732 [details] English only comilation log Compilation log with LANG=C
The version of gdal is not in tree anymore. If the bug still remains with the new versions please reopen.