Gentoo Archives: gentoo-user

From: Jonas de Buhr <jonas.de.buhr@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Build error on poppler
Date: Wed, 19 Oct 2011 14:07:10
Message-Id: 4E9ED921.30201@gmx.net
In Reply to: [gentoo-user] Build error on poppler by meino.cramer@gmx.de
1 Am 19.10.2011 04:28, schrieb meino.cramer@×××.de:
2 > Hi,
3 >
4 > this morning I got this (after update poppler and xorgserver had to be
5 > updated):
6 >
7 > /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 ')'
8 > 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/incl
9 ude/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
10 > 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
11 > g-ir-scanner: Poppler: warning: 6 warnings suppressed (use --warn-all to see them)
12 > [ 77%] Built target gir-girs
13 > Scanning dependencies of target gir-typelibs
14 > [ 77%] Generating Poppler-0.16.typelib
15 > /usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.4: cannot open shared object file: No such file or directory
16
17 1. equery b /usr/bin/g-ir-scanner
18 2. emerge that package (should be something with gobject)
19 3. emerge poppler again.
20
21 or revdep-rebuild and emerge poppler again.
22
23 > make[2]: *** [glib/Poppler-0.16.typelib] Error 127
24 > make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2
25 > make: *** [all] Error 2
26 > emake failed
27 > * ERROR: app-text/poppler-0.16.7 failed (compile phase):
28 > * Make failed!
29 > *
30 > * Call stack:
31 > * ebuild.sh, line 56: Called src_compile
32 > * environment, line 2967: Called cmake-utils_src_compile
33 > * environment, line 874: Called _execute_optionaly 'src_compile'
34 > * environment, line 316: Called enable_cmake-utils_src_compile
35 > * environment, line 1128: Called cmake-utils_src_make
36 > * environment, line 893: Called die
37 > * The specific snippet of code:
38 > * emake "$@" || die "Make failed!";
39 > *
40 > * If you need support, post the output of 'emerge --info =app-text/poppler-0.16.7',
41 > * the complete build log and the output of 'emerge -pqv =app-text/poppler-0.16.7'.
42 > * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'.
43 > * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'.
44 > * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7'
45 >
46 >>>> Failed to emerge app-text/poppler-0.16.7, Log file:
47 >
48 >>>> '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'
49 >
50 > * Messages for package app-text/poppler-0.16.7:
51 >
52 > * ERROR: app-text/poppler-0.16.7 failed (compile phase):
53 > * Make failed!
54 > *
55 > * Call stack:
56 > * ebuild.sh, line 56: Called src_compile
57 > * environment, line 2967: Called cmake-utils_src_compile
58 > * environment, line 874: Called _execute_optionaly 'src_compile'
59 > * environment, line 316: Called enable_cmake-utils_src_compile
60 > * environment, line 1128: Called cmake-utils_src_make
61 > * environment, line 893: Called die
62 > * The specific snippet of code:
63 > * emake "$@" || die "Make failed!";
64 > *
65 > * If you need support, post the output of 'emerge --info =app-text/poppler-0.16.7',
66 > * the complete build log and the output of 'emerge -pqv =app-text/poppler-0.16.7'.
67 > * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'.
68 > * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'.
69 > * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7'
70 >
71 > * GNU info directory index is up-to-date.
72 > solfire:/root>eix libffi
73 > [I] dev-libs/libffi
74 > Available versions: 3.0.9-r2 3.0.10 **3.0.11_rc1 {debug static-libs test}
75 > Installed versions: 3.0.10(02:11:56 10/15/11)(-debug -static-libs -test)
76 > Homepage: http://sourceware.org/libffi/
77 > Description: a portable, high level programming interface to various calling conventions.
78 >
79 > [I] virtual/libffi
80 > Available versions: 0
81 > Installed versions: 0(22:54:47 09/12/10)
82 > Description: Virtual for dev-libs/libffi
83 >
84 > It seems poppler wants a library which version is not available for
85 > gentoo.
86 >
87 >
88 > If there is need for more information (the mentioned logs for example)
89 > I will it send it to the list.
90 >
91 > Best regards,
92 > mcc
93 >
94 >
95 >

Replies

Subject Author
Re: [gentoo-user] Build error on poppler meino.cramer@×××.de