Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Build error on poppler
Date: Wed, 19 Oct 2011 02:29:47
Message-Id: 20111019022819.GA2821@solfire
1 Hi,
2
3 this morning I got this (after update poppler and xorgserver had to be
4 updated):
5
6 /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/glib/poppler-private.h:125: syntax error, unexpected ')', expecting ',' or ';' in ' time_t *gdate);' at ')'
7 g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native -O2 -pipe -msse3 -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7 -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/fofi -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/goo -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/poppler -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/poppler -I/usr/include -I/usr/include/freetype2 -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/glib -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -c -o /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib/tmp-introspectdLnPK7/Poppler-0.16.o /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib/tmp-introspectdLnPK7/Poppler-0.16.c
8 g-ir-scanner: link: gcc -o /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib/tmp-introspectdLnPK7/Poppler-0.16 -march=native -O2 -pipe -msse3 -L. -Wl,-rpath=. -lpoppler-glib -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib/tmp-introspectdLnPK7/Poppler-0.16.o
9 g-ir-scanner: Poppler: warning: 6 warnings suppressed (use --warn-all to see them)
10 [ 77%] Built target gir-girs
11 Scanning dependencies of target gir-typelibs
12 [ 77%] Generating Poppler-0.16.typelib
13 /usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.4: cannot open shared object file: No such file or directory
14 make[2]: *** [glib/Poppler-0.16.typelib] Error 127
15 make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2
16 make: *** [all] Error 2
17 emake failed
18 * ERROR: app-text/poppler-0.16.7 failed (compile phase):
19 * Make failed!
20 *
21 * Call stack:
22 * ebuild.sh, line 56: Called src_compile
23 * environment, line 2967: Called cmake-utils_src_compile
24 * environment, line 874: Called _execute_optionaly 'src_compile'
25 * environment, line 316: Called enable_cmake-utils_src_compile
26 * environment, line 1128: Called cmake-utils_src_make
27 * environment, line 893: Called die
28 * The specific snippet of code:
29 * emake "$@" || die "Make failed!";
30 *
31 * If you need support, post the output of 'emerge --info =app-text/poppler-0.16.7',
32 * the complete build log and the output of 'emerge -pqv =app-text/poppler-0.16.7'.
33 * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'.
34 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'.
35 * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7'
36
37 >>> Failed to emerge app-text/poppler-0.16.7, Log file:
38
39 >>> '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'
40
41 * Messages for package app-text/poppler-0.16.7:
42
43 * ERROR: app-text/poppler-0.16.7 failed (compile phase):
44 * Make failed!
45 *
46 * Call stack:
47 * ebuild.sh, line 56: Called src_compile
48 * environment, line 2967: Called cmake-utils_src_compile
49 * environment, line 874: Called _execute_optionaly 'src_compile'
50 * environment, line 316: Called enable_cmake-utils_src_compile
51 * environment, line 1128: Called cmake-utils_src_make
52 * environment, line 893: Called die
53 * The specific snippet of code:
54 * emake "$@" || die "Make failed!";
55 *
56 * If you need support, post the output of 'emerge --info =app-text/poppler-0.16.7',
57 * the complete build log and the output of 'emerge -pqv =app-text/poppler-0.16.7'.
58 * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'.
59 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'.
60 * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7'
61
62 * GNU info directory index is up-to-date.
63 solfire:/root>eix libffi
64 [I] dev-libs/libffi
65 Available versions: 3.0.9-r2 3.0.10 **3.0.11_rc1 {debug static-libs test}
66 Installed versions: 3.0.10(02:11:56 10/15/11)(-debug -static-libs -test)
67 Homepage: http://sourceware.org/libffi/
68 Description: a portable, high level programming interface to various calling conventions.
69
70 [I] virtual/libffi
71 Available versions: 0
72 Installed versions: 0(22:54:47 09/12/10)
73 Description: Virtual for dev-libs/libffi
74
75 It seems poppler wants a library which version is not available for
76 gentoo.
77
78
79 If there is need for more information (the mentioned logs for example)
80 I will it send it to the list.
81
82 Best regards,
83 mcc

Replies

Subject Author
Re: [gentoo-user] Build error on poppler Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] Build error on poppler Jonas de Buhr <jonas.de.buhr@×××.net>