* Package: app-text/djvu-3.5.23  * Repository: gentoo  * Maintainer: pva@gentoo.org tex@gentoo.org  * USE: amd64 elibc_glibc jpeg kernel_linux multilib nls tiff userland_GNU  * FEATURES: ccache preserve-libs sandbox splitdebug >>> Unpacking source... >>> Unpacking djvulibre-3.5.23.tar.gz to /var/tmp/portage/app-text/djvu-3.5.23/work >>> Source unpacked in /var/tmp/portage/app-text/djvu-3.5.23/work >>> Preparing source in /var/tmp/portage/app-text/djvu-3.5.23/work/djvulibre-3.5.23 ... * Running eautoreconf in '/var/tmp/portage/app-text/djvu-3.5.23/work/djvulibre-3.5.23' ... * Running aclocal -I config ...  [ ok ] * Running libtoolize --copy --force --install ...  [ ok ] * Running aclocal -I config ...  [ ok ] * Running autoconf ...  [ ok ] * Running autoheader ...  [ ok ] * Running elibtoolize in: djvulibre-3.5.23/config/ * Applying portage-1.2.0.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/djvu-3.5.23/work/djvulibre-3.5.23 ... * econf: updating djvulibre-3.5.23/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating djvulibre-3.5.23/config/config.sub with /usr/share/gnuconfig/config.sub ./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-desktopfiles --without-qt --disable-xmltools --with-jpeg --with-tiff --enable-i18n checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for ar... /usr/bin/ar checking for touch... /usr/bin/touch checking for mkdir... /bin/mkdir checking for rsvg... /usr/bin/rsvg checking for convert... /usr/bin/convert checking for a BSD-compatible install... /usr/bin/install -c checking for rm... /bin/rm checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking how to print strings... printf checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F 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 BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... /usr/bin/ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes 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 for dlfcn.h... yes checking for objdir... .libs 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 -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) 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 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 ISO C89... (cached) none needed 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 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 -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) 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... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether the compiler recognizes bool as a built-in type... yes checking whether the compiler supports exceptions... yes checking whether the compiler recognizes typename... yes checking whether the compiler comes with standard includes... yes checking whether the compiler implements namespaces... yes checking whether the compiler supports member templates... yes checking whether the compiler supports intel atomic builtins... yes checking for sqrt in -lm... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking for int16_t... yes checking for int32_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for wchar_t... yes checking for long long int... yes checking for mbstate_t... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for wcrtomb... yes checking for iswspace... yes checking for setenv... yes checking for putc_unlocked... yes checking for strerror... yes checking for vsnprintf... yes checking for gethostname... yes checking for strftime... yes checking for getpwuid... yes checking for sigaction... yes checking for mkstemp... yes checking for iconv... yes checking for jpeg library... yes setting JPEG_CFLAGS= setting JPEG_LIBS=-ljpeg checking for the libtiff library... yes setting TIFF_CFLAGS= setting TIFF_LIBS=-ltiff checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking whether pthreads work with -pthread -lpthread... yes checking if more special flags are required for pthreads... no checking threading model... pthread setting THREAD_CFLAGS= -pthread -DTHREADMODEL=POSIXTHREADS setting THREAD_LIBS= -lpthread checking for xdg-mime... /usr/bin/xdg-mime checking for xdg-icon-resource... /usr/bin/xdg-icon-resource checking for xdg-desktop-menu... /usr/bin/xdg-desktop-menu checking if x86_64-pc-linux-gnu-g++ has the LPR0 bug... no checking g++ version... 4.6.0 configure: creating ./config.status config.status: creating Makefile config.status: creating libdjvu/Makefile config.status: creating libdjvu/ddjvuapi.pc config.status: creating tools/Makefile config.status: creating tools/jb2cmp/Makefile config.status: creating xmltools/Makefile config.status: creating gui/Makefile config.status: creating gui/bin2cpp/Makefile config.status: creating gui/djview/Makefile config.status: creating gui/nsdejavu/Makefile config.status: creating i18n/Makefile config.status: creating i18n/ja/Makefile config.status: creating i18n/de/Makefile config.status: creating i18n/fr/Makefile config.status: creating i18n/cs/Makefile config.status: creating desktopfiles/Makefile config.status: creating config.h config.status: executing libtool commands Configuration is done. Compile with command: $ make depend (optional!) $ make Then install the binaries in /usr with command: # make install >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/djvu-3.5.23/work/djvulibre-3.5.23 ... make -j8 for d in libdjvu tools i18n desktopfiles ; \ do ( cd $d && make all ) || exit ; done make[1]: Вход в каталог `/var/tmp/portage/app-text/djvu-3.5.23/work/djvulibre-3.5.23/libdjvu' make[1]: Циклическая зависимость Makefile.dep <- Makefile.dep пропущена. /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c DjVuGlobal.cpp /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c DjVuGlobalMemory.cpp /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GOS.cpp /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GException.cpp /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GContainer.cpp /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GString.cpp /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GThreads.cpp /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GRect.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GOS.cpp -fPIC -DPIC -o .libs/GOS.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GString.cpp -fPIC -DPIC -o .libs/GString.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GContainer.cpp -fPIC -DPIC -o .libs/GContainer.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c DjVuGlobalMemory.cpp -fPIC -DPIC -o .libs/DjVuGlobalMemory.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c DjVuGlobal.cpp -fPIC -DPIC -o .libs/DjVuGlobal.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GRect.cpp -fPIC -DPIC -o .libs/GRect.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GException.cpp -fPIC -DPIC -o .libs/GException.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GThreads.cpp -fPIC -DPIC -o .libs/GThreads.o /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c atomic.cpp /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GSmartPointer.cpp In file included from GContainer.h:70:0, from GContainer.cpp:66: GSmartPointer.h:497:30: error: 'size_t' does not name a type GSmartPointer.h:497:37: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] GSmartPointer.h:497:45: error: 'size_t' does not name a type GSmartPointer.h:497:52: error: ISO C++ forbids declaration of 't' with no type [-fpermissive] GSmartPointer.h:499:21: error: 'size_t' does not name a type GSmartPointer.h:499:28: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] GSmartPointer.h:499:36: error: 'size_t' does not name a type GSmartPointer.h:499:43: error: ISO C++ forbids declaration of 't' with no type [-fpermissive] GSmartPointer.h:500:33: error: 'size_t' does not name a type GSmartPointer.h:500:40: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] GSmartPointer.h:501:18: error: 'size_t' does not name a type GSmartPointer.h:501:25: error: ISO C++ forbids declaration of 't' with no type [-fpermissive] GSmartPointer.h:506:3: error: 'size_t' does not name a type GSmartPointer.h: In member function 'GPBufferBase::operator int() const': GSmartPointer.h:503:43: error: 'num' was not declared in this scope GSmartPointer.h: At global scope: GSmartPointer.h:513:30: error: 'size_t' does not name a type GSmartPointer.h:513:39: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] GSmartPointer.h:514:28: error: 'size_t' does not name a type GSmartPointer.h:514:35: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] make[1]: *** [GContainer.lo] Ошибка 1 make[1]: *** Ожидание завершения заданий... libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c atomic.cpp -fPIC -DPIC -o .libs/atomic.o In file included from GContainer.h:70:0, from GString.h:113, from GString.cpp:75: GSmartPointer.h:497:30: error: 'size_t' does not name a type GSmartPointer.h:497:37: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] GSmartPointer.h:497:45: error: 'size_t' does not name a type GSmartPointer.h:497:52: error: ISO C++ forbids declaration of 't' with no type [-fpermissive] GSmartPointer.h:499:21: error: 'size_t' does not name a type GSmartPointer.h:499:28: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] GSmartPointer.h:499:36: error: 'size_t' does not name a type GSmartPointer.h:499:43: error: ISO C++ forbids declaration of 't' with no type [-fpermissive] GSmartPointer.h:500:33: error: 'size_t' does not name a type GSmartPointer.h:500:40: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] GSmartPointer.h:501:18: error: 'size_t' does not name a type GSmartPointer.h:501:25: error: ISO C++ forbids declaration of 't' with no type [-fpermissive] GSmartPointer.h:506:3: error: 'size_t' does not name a type GSmartPointer.h: In member function 'GPBufferBase::operator int() const': GSmartPointer.h:503:43: error: 'num' was not declared in this scope GSmartPointer.h: At global scope: GSmartPointer.h:513:30: error: 'size_t' does not name a type GSmartPointer.h:513:39: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] GSmartPointer.h:514:28: error: 'size_t' does not name a type GSmartPointer.h:514:35: error: ISO C++ forbids declaration of 'n' with no type [-fpermissive] libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I. -pthread -DTHREADMODEL=POSIXTHREADS -O2 -pipe -march=corei7-avx -mtune=corei7-avx -c GSmartPointer.cpp -fPIC -DPIC -o .libs/GSmartPointer.o make[1]: *** [GString.lo] Ошибка 1 make[1]: Выход из каталога `/var/tmp/portage/app-text/djvu-3.5.23/work/djvulibre-3.5.23/libdjvu' make: *** [all] Ошибка 2 emake failed * ERROR: app-text/djvu-3.5.23 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3061: Called _eapi2_src_compile * ebuild.sh, line 665: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =app-text/djvu-3.5.23', * the complete build log and the output of 'emerge -pqv =app-text/djvu-3.5.23'. * The complete build log is located at '/var/tmp/portage/app-text/djvu-3.5.23/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/djvu-3.5.23/temp/environment'. * S: '/var/tmp/portage/app-text/djvu-3.5.23/work/djvulibre-3.5.23'