Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Build error on poppler
Date: Wed, 19 Oct 2011 02:54:10
Message-Id: 20111019025306.GC2821@solfire
In Reply to: Re: [gentoo-user] Build error on poppler by meino.cramer@gmx.de
1 meino.cramer@×××.de <meino.cramer@×××.de> [11-10-19 04:48]:
2 > Mark Knecht <markknecht@×××××.com> [11-10-19 04:40]:
3 > > On Tue, Oct 18, 2011 at 7:28 PM, <meino.cramer@×××.de> wrote:
4 > > > Hi,
5 > > >
6 > > > this morning I got this (after update poppler and xorgserver had to be
7 > > > updated):
8 > > <SNIP>
9 > > > It seems poppler wants a library which version is not available for
10 > > > gentoo.
11 > > >
12 > > >
13 > > > If there is need for more information (the mentioned logs for example)
14 > > > I will it send it to the list.
15 > > >
16 > > > Best regards,
17 > > > mcc
18 > >
19 > > On one of my machines I saw a different on the same version of
20 > > poppler. I did an emerge -C poppler and then emerge -DuN @world and it
21 > > picked up a newer version without complaining.
22 > >
23 > > HTH,
24 > > Mark
25 > >
26 >
27 > Hi Mark,
28 >
29 > thank you for your help ! :)
30 >
31 > I tried it and it results in this:
32 >
33 > solfire:/root>emerge -DuN @world
34 > Calculating dependencies... done!
35 > [ebuild N ~] app-text/poppler-0.18.0 USE="cairo cxx introspection jpeg jpeg2k lcms png qt4 tiff utils xpdf-headers -cjk -curl -debug -doc"
36 >
37 > The following keyword changes are necessary to proceed:
38 > #required by app-office/libreoffice-3.3.4, required by @selected, required by @world (argument)
39 > >=app-text/poppler-0.18.0 ~amd64
40 >
41 > NOTE: This --autounmask behavior can be disabled by setting
42 > EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.
43 >
44 > Use --autounmask-write to write choanges to config files (honoring CONFIG_PROTECT).
45 >
46 >
47 > Is this just another of those cases, where I have to unmask an item
48 > and "dont mix 'em" ;) ???
49 >
50 > Best regards,
51 > mcc
52 >
53 >
54 >
55 >
56 >
57 >
58 >
59
60 Hi Mark,
61
62 ok, I unmasked poppler, and it give me that again:
63
64
65 /var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0/glib/poppler-private.h:126: syntax error, unexpected ')', expecting ',' or ';' in ' time_t *gdate);' at ')'
66 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.18.0/work/poppler-0.18.0 -I/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0/fofi -I/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0/goo -I/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0/poppler -I/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0_build -I/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0_build/poppler -I/usr/include -I/usr/include/freetype2 -I/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0/glib -I/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0_build/glib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -c -o /var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0_build/glib/tmp-introspectrj_6Cr/Poppler-0.18.o /var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0_build/glib/tmp-introspectrj_6Cr/Poppler-0.18.c
67 g-ir-scanner: link: gcc -o /var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0_build/glib/tmp-introspectrj_6Cr/Poppler-0.18 -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.18.0/work/poppler-0.18.0_build/glib/tmp-introspectrj_6Cr/Poppler-0.18.o
68 g-ir-scanner: Poppler: warning: 5 warnings suppressed (use --warn-all to see them)
69 [ 79%] Built target gir-girs
70 Scanning dependencies of target gir-typelibs
71 [ 79%] Generating Poppler-0.18.typelib
72 /usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.4: cannot open shared object file: No such file or directory
73 make[2]: *** [glib/Poppler-0.18.typelib] Error 127
74 make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2
75 make: *** [all] Error 2
76 * ERROR: app-text/poppler-0.18.0 failed (compile phase):
77 * emake failed
78 *
79 * If you need support, post the output of 'emerge --info =app-text/poppler-0.18.0',
80 * the complete build log and the output of 'emerge -pqv =app-text/poppler-0.18.0'.
81 * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.18.0/temp/build.log'.
82 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.18.0/temp/environment'.
83 * S: '/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0'
84
85 >>> Failed to emerge app-text/poppler-0.18.0, Log file:
86
87 >>> '/var/tmp/portage/app-text/poppler-0.18.0/temp/build.log'
88
89 * Messages for package app-text/poppler-0.18.0:
90
91 * ERROR: app-text/poppler-0.18.0 failed (compile phase):
92 * emake failed
93 *
94 * If you need support, post the output of 'emerge --info =app-text/poppler-0.18.0',
95 * the complete build log and the output of 'emerge -pqv =app-text/poppler-0.18.0'.
96 * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.18.0/temp/build.log'.
97 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.18.0/temp/environment'.
98 * S: '/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0'
99
100 libffi remains the same as in the previous post of mine...
101
102 Best regards,
103 mcc

Replies

Subject Author
Re: [gentoo-user] Build error on poppler Mark Knecht <markknecht@×××××.com>