* Package: media-libs/giblib-1.2.4-r1  * Repository: gentoo  * Maintainer: graphics@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pie ssp userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking giblib-1.2.4.tar.gz to /var/tmp/portage/media-libs/giblib-1.2.4-r1/work >>> Source unpacked in /var/tmp/portage/media-libs/giblib-1.2.4-r1/work >>> Preparing source in /var/tmp/portage/media-libs/giblib-1.2.4-r1/work/giblib-1.2.4 ... * Removing useless C++ checks ...  [ ok ] * Running elibtoolize in: giblib-1.2.4/ * Applying install-sh/1.5 patch ... * Applying portage/1.5.10 patch ... * Applying max_cmd_len/1.5.20 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/1.5 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/giblib-1.2.4-r1/work/giblib-1.2.4 ... * econf: updating giblib-1.2.4/config.sub with /usr/share/gnuconfig/config.sub * econf: updating giblib-1.2.4/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... found checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for strerror in -lcposix... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc static flag works... no checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... no checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... no checking if we can lock with hard links... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... no checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... no checking if we can lock with hard links... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... (cached) yes checking whether build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... no checking if malloc debugging is wanted... no checking for imlib2-config... /usr/bin/imlib2-config checking for imlib2 - version >= 1.0.0... yes configure: creating ./config.status config.status: creating Makefile config.status: creating giblib-config config.status: creating giblib.pc config.status: creating giblib/Makefile config.status: creating giblib/giblib_config.h config.status: executing default-1 commands config.status: executing default commands giblib 1.2.4 Configuration: -------------- Imlib2 libs: -L/usr/lib64 -lImlib2 Imlib2 cflags: CFLAGS: -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall >>> Source configured. >>> Compiling source in /var/tmp/portage/media-libs/giblib-1.2.4-r1/work/giblib-1.2.4 ... make -j2 Making all in giblib make[1]: Entering directory '/var/tmp/portage/media-libs/giblib-1.2.4-r1/work/giblib-1.2.4/giblib' /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr"\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_list.c /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr"\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_hash.c mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_list.c -DPIC x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_hash.c -DPIC :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition mv -f gib_hash.o .libs/gib_hash.o /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr"\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_btree.c mv -f gib_list.o .libs/gib_list.o /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr"\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_style.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_btree.c -DPIC :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition mv -f gib_btree.o .libs/gib_btree.o /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr"\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_imlib.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_style.c -DPIC :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition gib_style.c: In function 'gib_style_new_from_ascii': gib_style.c:156:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(current, sizeof(current), stylefile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f gib_style.o .libs/gib_style.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_imlib.c -DPIC /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr"\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_stack.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_stack.c -DPIC :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition mv -f gib_imlib.o .libs/gib_imlib.o mv -f gib_stack.o .libs/gib_stack.o /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr"\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_utils.c /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr"\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_queue.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_utils.c -DPIC x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr\" -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -c gib_queue.c -DPIC :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition mv -f gib_queue.o .libs/gib_queue.o mv -f gib_utils.o .libs/gib_utils.o /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -fforce-addr -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -mfunction-return=thunk -mindirect-branch=thunk -Wall -Wl,-O1 -Wl,--as-needed -o libgiblib.la -rpath /usr/lib64 -version-info 1:6:0 gib_list.lo gib_hash.lo gib_btree.lo gib_style.lo gib_imlib.lo gib_stack.lo gib_utils.lo gib_queue.lo -L/usr/lib64 -lImlib2 -lm x86_64-pc-linux-gnu-gcc -shared .libs/gib_list.o .libs/gib_hash.o .libs/gib_btree.o .libs/gib_style.o .libs/gib_imlib.o .libs/gib_stack.o .libs/gib_utils.o .libs/gib_queue.o -Wl,--as-needed -L/usr/lib64 -lImlib2 -lm -march=native -mfunction-return=thunk -mindirect-branch=thunk -Wl,-O1 -Wl,-soname -Wl,libgiblib.so.1 -o .libs/libgiblib.so.1.0.6 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/gib_btree.o: warning: relocation against `gib_btree_find_by_data' in readonly section `.text' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/gib_list.o: relocation R_X86_64_PC32 against symbol `gib_list_unlink' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make[1]: *** [Makefile:251: libgiblib.la] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-libs/giblib-1.2.4-r1/work/giblib-1.2.4/giblib' make: *** [Makefile:243: all-recursive] Error 1 * ERROR: media-libs/giblib-1.2.4-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/giblib-1.2.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/giblib-1.2.4-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/giblib-1.2.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/giblib-1.2.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/giblib-1.2.4-r1/work/giblib-1.2.4' * S: '/var/tmp/portage/media-libs/giblib-1.2.4-r1/work/giblib-1.2.4'