Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545616 - media-plugins/evas_generic_loaders-1.12.0 fails to rebuild
Summary: media-plugins/evas_generic_loaders-1.12.0 fails to rebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: enlightenment+disabled
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-05 12:47 UTC by MickKi
Modified: 2015-08-06 04:22 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MickKi 2015-04-05 12:47:19 UTC
emerge @preserved-rebuild asks to rebuild evas_generic_loaders, but it fails due to some app-text/poppler-0.32.0 hickup, as shown below:
================================
[ebuild   R   ~] media-plugins/evas_generic_loaders-1.12.0 

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-plugins/evas_generic_loaders-1.12.0::gentoo
 * evas_generic_loaders-1.12.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...[ ok ]
>>> Unpacking source...
>>> Unpacking evas_generic_loaders-1.12.0.tar.bz2 to /var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work
>>> Source unpacked in /var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work
>>> Preparing source in /var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0 ...
 * Removing useless C++ checks ...                                         [ ok ]
 * Running elibtoolize in: evas_generic_loaders-1.12.0/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0 ...
 * econf: updating evas_generic_loaders-1.12.0/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating evas_generic_loaders-1.12.0/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 --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --disable-gstreamer1 --enable-poppler --disable-spectre --disable-libraw --enable-svg --disable-gstreamer
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
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 style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
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 dependency style of x86_64-pc-linux-gnu-g++... none
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for EINA... yes
checking for POPPLER... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 GlobalParams.h usability... yes
checking GlobalParams.h presence... yes
checking for GlobalParams.h... yes
checking for SVG... yes
checking for SVG_2_36... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for unistd.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking whether shm_open() is present... yes
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for __attribute__... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/bin/Makefile
config.status: creating src/bin/common/Makefile
config.status: creating src/bin/gst/Makefile
config.status: creating src/bin/pdf/Makefile
config.status: creating src/bin/ps/Makefile
config.status: creating src/bin/raw/Makefile
config.status: creating src/bin/xcf/Makefile
config.status: creating src/bin/svg/Makefile
config.status: creating pkgbuild/PKGBUILD
config.status: creating config.h
config.status: executing depfiles commands



------------------------------------------------------------------------
evas_generic_loaders 1.12.0
------------------------------------------------------------------------


Configuration Options Summary:

Loaders:
  XCF..................: yes
  Gstreamer............: no
  PDF..................: yes
  PS...................: no
  RAW..................: no
  SVG..................: yes

Compilation............: make (or gmake)
  CPPFLAGS.............: 
  CFLAGS...............: -march=native -O2 -pipe
  LDFLAGS..............: -Wl,-O1 -Wl,--as-needed

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr

>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0 ...
make -j3 
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0'
Making all in src
make[2]: Entering directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src'
Making all in bin
make[3]: Entering directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src/bin'
Making all in common
make[4]: Entering directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src/bin/common'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src/bin/common'
Making all in xcf
make[4]: Entering directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src/bin/xcf'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../src -I../../../src/bin -I../../../src/bin/common -I../../../src/bin/xcf -DPACKAGE_BIN_DIR=\"/usr/lib64/evas/utils\" -DPACKAGE_LIB_DIR=\"/usr/lib64\" -DPACKAGE_DATA_DIR=\"/usr/share/evas_generic_loaders\" -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina   -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina  -march=native -O2 -pipe -c -o evas_image_loader_xcf-main.o `test -f 'main.c' || echo './'`main.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../src -I../../../src/bin -I../../../src/bin/common -I../../../src/bin/xcf -DPACKAGE_BIN_DIR=\"/usr/lib64/evas/utils\" -DPACKAGE_LIB_DIR=\"/usr/lib64\" -DPACKAGE_DATA_DIR=\"/usr/share/evas_generic_loaders\" -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina   -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina  -march=native -O2 -pipe -c -o evas_image_loader_xcf-pixelfuncs.o `test -f 'pixelfuncs.c' || echo './'`pixelfuncs.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../src -I../../../src/bin -I../../../src/bin/common -I../../../src/bin/xcf -DPACKAGE_BIN_DIR=\"/usr/lib64/evas/utils\" -DPACKAGE_LIB_DIR=\"/usr/lib64\" -DPACKAGE_DATA_DIR=\"/usr/share/evas_generic_loaders\" -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina   -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina  -march=native -O2 -pipe -c -o evas_image_loader_xcf-shmfile.o `test -f '../../../src/bin/common/shmfile.c' || echo './'`../../../src/bin/common/shmfile.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../src -I../../../src/bin -I../../../src/bin/common -I../../../src/bin/xcf -DPACKAGE_BIN_DIR=\"/usr/lib64/evas/utils\" -DPACKAGE_LIB_DIR=\"/usr/lib64\" -DPACKAGE_DATA_DIR=\"/usr/share/evas_generic_loaders\" -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina   -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina  -march=native -O2 -pipe -c -o evas_image_loader_xcf-timeout.o `test -f '../../../src/bin/common/timeout.c' || echo './'`../../../src/bin/common/timeout.c
x86_64-pc-linux-gnu-gcc -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina  -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o evas_image_loader.xcf evas_image_loader_xcf-main.o evas_image_loader_xcf-pixelfuncs.o evas_image_loader_xcf-shmfile.o evas_image_loader_xcf-timeout.o -leina -lpthread  -lz -lm -lrt 
make[4]: Leaving directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src/bin/xcf'
Making all in pdf
make[4]: Entering directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src/bin/pdf'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../src -I../../../src/bin -I../../../src/bin/common -I../../../src/bin/pdf -DPACKAGE_BIN_DIR=\"/usr/lib64/evas/utils\" -DPACKAGE_LIB_DIR=\"/usr/lib64\" -DPACKAGE_DATA_DIR=\"/usr/share/evas_generic_loaders\" -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -I/usr/include/poppler    -march=native -O2 -pipe -c -o main.o main.cpp
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../src -I../../../src/bin -I../../../src/bin/common -I../../../src/bin/pdf -DPACKAGE_BIN_DIR=\"/usr/lib64/evas/utils\" -DPACKAGE_LIB_DIR=\"/usr/lib64\" -DPACKAGE_DATA_DIR=\"/usr/share/evas_generic_loaders\" -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -I/usr/include/poppler    -march=native -O2 -pipe -c -o evas_image_loader_pdf-shmfile.o `test -f '../../../src/bin/common/shmfile.c' || echo './'`../../../src/bin/common/shmfile.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../src -I../../../src/bin -I../../../src/bin/common -I../../../src/bin/pdf -DPACKAGE_BIN_DIR=\"/usr/lib64/evas/utils\" -DPACKAGE_LIB_DIR=\"/usr/lib64\" -DPACKAGE_DATA_DIR=\"/usr/share/evas_generic_loaders\" -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -I/usr/include/poppler    -march=native -O2 -pipe -c -o evas_image_loader_pdf-timeout.o `test -f '../../../src/bin/common/timeout.c' || echo './'`../../../src/bin/common/timeout.c
main.cpp: In function ‘Eina_Bool poppler_init(const char*, int, int, int)’:
main.cpp:65:22: error: ‘class GlobalParams’ has no member named ‘getAntialias’
    if (globalParams->getAntialias())
                      ^
main.cpp:66:20: error: ‘class GlobalParams’ has no member named ‘setAntialias’
      globalParams->setAntialias((char *)"yes");
                    ^
main.cpp:67:22: error: ‘class GlobalParams’ has no member named ‘getVectorAntialias’
    if (globalParams->getVectorAntialias())
                      ^
main.cpp:68:20: error: ‘class GlobalParams’ has no member named ‘setVectorAntialias’
      globalParams->setVectorAntialias((char *)"yes");
                    ^
Makefile:521: recipe for target 'main.o' failed
make[4]: *** [main.o] Error 1
make[4]: Leaving directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src/bin/pdf'
Makefile:342: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src/bin'
Makefile:336: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0/src'
Makefile:411: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0'
Makefile:349: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-plugins/evas_generic_loaders-1.12.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-plugins/evas_generic_loaders-1.12.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/evas_generic_loaders-1.12.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0'
 * S: '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0'

>>> Failed to emerge media-plugins/evas_generic_loaders-1.12.0

 * Messages for package media-plugins/evas_generic_loaders-1.12.0:

 * ERROR: media-plugins/evas_generic_loaders-1.12.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-plugins/evas_generic_loaders-1.12.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/evas_generic_loaders-1.12.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0'
 * S: '/var/tmp/portage/media-plugins/evas_generic_loaders-1.12.0/work/evas_generic_loaders-1.12.0'
================================

This is on two different systems so far, one no-multilib and one with.

Please let me know if you need additional info.
-- 
Regards,
Mick
Comment 1 Aurelien Minet 2015-04-19 16:30:30 UTC
Same problem here, I found that it has to deal with >=poppler-0.31 as Stefan Schmidt wrote
"With 0.31 poppler removed some parts of GlobalParams which they do not consider a public API."
( https://git.enlightenment.org/core/evas_generic_loaders.git/patch/?id=867fb5a632a3cd1a858a2e7b783bd5b686c2e900 )

Paul Labedan got an ebuild for evas_generic_loaders version 1.13.0 
https://gitweb.gentoo.org/user/plab.git/tree/media-plugins/evas_generic_loaders
with a patch
https://gitweb.gentoo.org/user/plab.git/patch/?id=105e563c183f5397107545a4ecd199a4c9bb1a92
It build fine on my gentoo.
Comment 2 SpanKY gentoo-dev 2015-08-06 04:22:03 UTC
should be all set now in the tree; thanks for the report!

Commit message: Version bump
http://sources.gentoo.org/media-plugins/evas_generic_loaders/evas_generic_loaders-1.15.0.ebuild?rev=1.1