Re: [gentoo-user] Build error on poppler

2011-10-20 Thread Jonas de Buhr
Am Wed, 19 Oct 2011 17:13:54 -0700
schrieb Mark Knecht markkne...@gmail.com:

 On Wed, Oct 19, 2011 at 5:03 PM,  meino.cra...@gmx.de wrote:
  Jonas de Buhr jonas.de.b...@gmx.net [11-10-19 17:05]:
 SNIP
 
  1. equery b /usr/bin/g-ir-scanner
  2. emerge that package (should be something with gobject)
  3. emerge poppler again.
 
  or revdep-rebuild and emerge poppler again.
 
 
  Hi Jonas!
 
  That fixes the problem! Thank you very much! :)

you're welcome :)

 
  Best regards,
  mcc
 
 
 You should file a bug report. Sounds like the poppler ebuild is
 missing a dependency.

i don't think so, looks like normal link breakage to me. but

 /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 ')'

looks weird. i wonder how it still compiles. 

 
 - Mark
 



Re: [gentoo-user] Build error on poppler

2011-10-19 Thread Jonas de Buhr

Am 19.10.2011 04:28, schrieb meino.cra...@gmx.de:

Hi,

this morning I got this (after update poppler and xorgserver had to be
updated):

/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 ')'
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

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

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
g-ir-scanner: Poppler: warning: 6 warnings suppressed (use --warn-all to see 
them)
[ 77%] Built target gir-girs
Scanning dependencies of target gir-typelibs
[ 77%] Generating Poppler-0.16.typelib
/usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.4: 
cannot open shared object file: No such file or directory


1. equery b /usr/bin/g-ir-scanner
2. emerge that package (should be something with gobject)
3. emerge poppler again.

or revdep-rebuild and emerge poppler again.


make[2]: *** [glib/Poppler-0.16.typelib] Error 127
make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2
make: *** [all] Error 2
emake failed
  * ERROR: app-text/poppler-0.16.7 failed (compile phase):
  *   Make failed!
  *
  * Call stack:
  * ebuild.sh, line   56:  Called src_compile
  *   environment, line 2967:  Called cmake-utils_src_compile
  *   environment, line  874:  Called _execute_optionaly 'src_compile'
  *   environment, line  316:  Called enable_cmake-utils_src_compile
  *   environment, line 1128:  Called cmake-utils_src_make
  *   environment, line  893:  Called die
  * The specific snippet of code:
  *   emake $@ || die Make failed!;
  *
  * If you need support, post the output of 'emerge --info 
=app-text/poppler-0.16.7',
  * the complete build log and the output of 'emerge -pqv 
=app-text/poppler-0.16.7'.
  * The complete build log is located at 
'/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'.
  * The ebuild environment file is located at 
'/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'.
  * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7'


Failed to emerge app-text/poppler-0.16.7, Log file:



  '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'


  * Messages for package app-text/poppler-0.16.7:

  * ERROR: app-text/poppler-0.16.7 failed (compile phase):
  *   Make failed!
  *
  * Call stack:
  * ebuild.sh, line   56:  Called src_compile
  *   environment, line 2967:  Called cmake-utils_src_compile
  *   environment, line  874:  Called _execute_optionaly 'src_compile'
  *   environment, line  316:  Called enable_cmake-utils_src_compile
  *   environment, line 1128:  Called cmake-utils_src_make
  *   environment, line  893:  Called die
  * The specific snippet of code:
  *   emake $@ || die Make failed!;
  *
  * If you need support, post the output of 'emerge --info 
=app-text/poppler-0.16.7',
  * the complete build log and the output of 'emerge -pqv 
=app-text/poppler-0.16.7'.
  * The complete build log is located at 
'/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'.
  * The ebuild environment file is located at 
'/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'.
  * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7'

  * GNU info directory index is up-to-date.

Re: [gentoo-user] Build error on poppler

2011-10-19 Thread meino . cramer
Jonas de Buhr jonas.de.b...@gmx.net [11-10-19 17:05]:
 Am 19.10.2011 04:28, schrieb meino.cra...@gmx.de:
 Hi,
 
 this morning I got this (after update poppler and xorgserver had to be
 updated):
 
 /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 ')'
 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
 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
 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
 g-ir-scanner: Poppler: warning: 6 warnings suppressed (use --warn-all 
 to see them)
 [ 77%] Built target gir-girs
 Scanning dependencies of target gir-typelibs
 [ 77%] Generating Poppler-0.16.typelib
 /usr/bin/g-ir-compiler: error while loading shared libraries: 
 libffi.so.4: cannot open shared object file: No such file or directory
 
 1. equery b /usr/bin/g-ir-scanner
 2. emerge that package (should be something with gobject)
 3. emerge poppler again.
 
 or revdep-rebuild and emerge poppler again.
 

Hi Jonas!

That fixes the problem! Thank you very much! :)

Best regards,
mcc




Re: [gentoo-user] Build error on poppler

2011-10-19 Thread Mark Knecht
On Wed, Oct 19, 2011 at 5:03 PM,  meino.cra...@gmx.de wrote:
 Jonas de Buhr jonas.de.b...@gmx.net [11-10-19 17:05]:
SNIP

 1. equery b /usr/bin/g-ir-scanner
 2. emerge that package (should be something with gobject)
 3. emerge poppler again.

 or revdep-rebuild and emerge poppler again.


 Hi Jonas!

 That fixes the problem! Thank you very much! :)

 Best regards,
 mcc


You should file a bug report. Sounds like the poppler ebuild is
missing a dependency.

- Mark



[gentoo-user] Build error on poppler

2011-10-18 Thread meino . cramer
Hi,

this morning I got this (after update poppler and xorgserver had to be
updated):

/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 ')'
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
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
g-ir-scanner: Poppler: warning: 6 warnings suppressed (use --warn-all to see 
them)
[ 77%] Built target gir-girs
Scanning dependencies of target gir-typelibs
[ 77%] Generating Poppler-0.16.typelib
/usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.4: 
cannot open shared object file: No such file or directory
make[2]: *** [glib/Poppler-0.16.typelib] Error 127
make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: app-text/poppler-0.16.7 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 * ebuild.sh, line   56:  Called src_compile
 *   environment, line 2967:  Called cmake-utils_src_compile
 *   environment, line  874:  Called _execute_optionaly 'src_compile'
 *   environment, line  316:  Called enable_cmake-utils_src_compile
 *   environment, line 1128:  Called cmake-utils_src_make
 *   environment, line  893:  Called die
 * The specific snippet of code:
 *   emake $@ || die Make failed!;
 * 
 * If you need support, post the output of 'emerge --info 
=app-text/poppler-0.16.7',
 * the complete build log and the output of 'emerge -pqv 
=app-text/poppler-0.16.7'.
 * The complete build log is located at 
'/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'.
 * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7'

 Failed to emerge app-text/poppler-0.16.7, Log file:

  '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'

 * Messages for package app-text/poppler-0.16.7:

 * ERROR: app-text/poppler-0.16.7 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 * ebuild.sh, line   56:  Called src_compile
 *   environment, line 2967:  Called cmake-utils_src_compile
 *   environment, line  874:  Called _execute_optionaly 'src_compile'
 *   environment, line  316:  Called enable_cmake-utils_src_compile
 *   environment, line 1128:  Called cmake-utils_src_make
 *   environment, line  893:  Called die
 * The specific snippet of code:
 *   emake $@ || die Make failed!;
 * 
 * If you need support, post the output of 'emerge --info 
=app-text/poppler-0.16.7',
 * the complete build log and the output of 'emerge -pqv 
=app-text/poppler-0.16.7'.
 * The complete build log is located at 
'/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'.
 * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7'

 * GNU info directory index is up-to-date.
solfire:/rooteix libffi
[I] dev-libs/libffi
 Available versions:  3.0.9-r2 3.0.10 **3.0.11_rc1 {debug static-libs test}
 Installed versions:  3.0.10(02:11:56 10/15/11)(-debug -static-libs -test)
 Homepage:http://sourceware.org/libffi/
 

Re: [gentoo-user] Build error on poppler

2011-10-18 Thread Mark Knecht
On Tue, Oct 18, 2011 at 7:28 PM,  meino.cra...@gmx.de wrote:
 Hi,

 this morning I got this (after update poppler and xorgserver had to be
 updated):
SNIP
 It seems poppler wants a library which version is not available for
 gentoo.


 If there is need for more information (the mentioned logs for example)
 I will it send it to the list.

 Best regards,
 mcc

On one of my machines I saw a different on the same version of
poppler. I did an emerge -C poppler and then emerge -DuN @world and it
picked up a newer version without complaining.

HTH,
Mark



Re: [gentoo-user] Build error on poppler

2011-10-18 Thread meino . cramer
Mark Knecht markkne...@gmail.com [11-10-19 04:40]:
 On Tue, Oct 18, 2011 at 7:28 PM,  meino.cra...@gmx.de wrote:
  Hi,
 
  this morning I got this (after update poppler and xorgserver had to be
  updated):
 SNIP
  It seems poppler wants a library which version is not available for
  gentoo.
 
 
  If there is need for more information (the mentioned logs for example)
  I will it send it to the list.
 
  Best regards,
  mcc
 
 On one of my machines I saw a different on the same version of
 poppler. I did an emerge -C poppler and then emerge -DuN @world and it
 picked up a newer version without complaining.
 
 HTH,
 Mark
 

Hi Mark,

thank you for your help ! :)

I tried it and it results in this:

solfire:/rootemerge -DuN @world
Calculating dependencies... done!
[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 

The following keyword changes are necessary to proceed:
#required by app-office/libreoffice-3.3.4, required by @selected, required 
by @world (argument)
=app-text/poppler-0.18.0 ~amd64

NOTE: This --autounmask behavior can be disabled by setting
EMERGE_DEFAULT_OPTS=--autounmask=n in make.conf.

Use --autounmask-write to write choanges to config files (honoring 
CONFIG_PROTECT).


Is this just another of those cases, where I have to unmask an item
and dont mix 'em ;)  ???

Best regards,
mcc









Re: [gentoo-user] Build error on poppler

2011-10-18 Thread meino . cramer
meino.cra...@gmx.de meino.cra...@gmx.de [11-10-19 04:48]:
 Mark Knecht markkne...@gmail.com [11-10-19 04:40]:
  On Tue, Oct 18, 2011 at 7:28 PM,  meino.cra...@gmx.de wrote:
   Hi,
  
   this morning I got this (after update poppler and xorgserver had to be
   updated):
  SNIP
   It seems poppler wants a library which version is not available for
   gentoo.
  
  
   If there is need for more information (the mentioned logs for example)
   I will it send it to the list.
  
   Best regards,
   mcc
  
  On one of my machines I saw a different on the same version of
  poppler. I did an emerge -C poppler and then emerge -DuN @world and it
  picked up a newer version without complaining.
  
  HTH,
  Mark
  
 
 Hi Mark,
 
 thank you for your help ! :)
 
 I tried it and it results in this:
 
 solfire:/rootemerge -DuN @world
 Calculating dependencies... done!
 [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 
 
 The following keyword changes are necessary to proceed:
 #required by app-office/libreoffice-3.3.4, required by @selected, 
 required by @world (argument)
 =app-text/poppler-0.18.0 ~amd64
 
 NOTE: This --autounmask behavior can be disabled by setting
 EMERGE_DEFAULT_OPTS=--autounmask=n in make.conf.
 
 Use --autounmask-write to write choanges to config files (honoring 
 CONFIG_PROTECT).
 
 
 Is this just another of those cases, where I have to unmask an item
 and dont mix 'em ;)  ???
 
 Best regards,
 mcc
 
 
 
 
 
 
 

Hi Mark,

ok, I unmasked poppler, and it give me that again:



/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 ')'
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
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
g-ir-scanner: Poppler: warning: 5 warnings suppressed (use --warn-all to 
see them)
[ 79%] Built target gir-girs
Scanning dependencies of target gir-typelibs
[ 79%] Generating Poppler-0.18.typelib
/usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.4: 
cannot open shared object file: No such file or directory
make[2]: *** [glib/Poppler-0.18.typelib] Error 127
make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2
make: *** [all] Error 2
* ERROR: app-text/poppler-0.18.0 failed (compile phase):
*   emake failed
* 
* If you need support, post the output of 'emerge --info 
=app-text/poppler-0.18.0',
* the complete build log and the output of 'emerge -pqv 
=app-text/poppler-0.18.0'.
* The complete build log is located at 
'/var/tmp/portage/app-text/poppler-0.18.0/temp/build.log'.
* The ebuild environment file is located at 
'/var/tmp/portage/app-text/poppler-0.18.0/temp/environment'.
* S: '/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0'

 Failed to emerge app-text/poppler-0.18.0, Log file:

  '/var/tmp/portage/app-text/poppler-0.18.0/temp/build.log'

* Messages for package app-text/poppler-0.18.0:

* ERROR: app-text/poppler-0.18.0 failed (compile phase):
*   emake failed
* 
* If you need support, post the output of 'emerge --info 
=app-text/poppler-0.18.0',
* the complete build log and the output of 'emerge -pqv 
=app-text/poppler-0.18.0'.
* The complete build log is located at 

Re: [gentoo-user] Build error on poppler

2011-10-18 Thread Mark Knecht
On Tue, Oct 18, 2011 at 7:53 PM,  meino.cra...@gmx.de wrote:
 meino.cra...@gmx.de meino.cra...@gmx.de [11-10-19 04:48]:
 Mark Knecht markkne...@gmail.com [11-10-19 04:40]:
  On Tue, Oct 18, 2011 at 7:28 PM,  meino.cra...@gmx.de wrote:
   Hi,
  
   this morning I got this (after update poppler and xorgserver had to be
   updated):
  SNIP
   It seems poppler wants a library which version is not available for
   gentoo.
  
  
   If there is need for more information (the mentioned logs for example)
   I will it send it to the list.
  
   Best regards,
   mcc
 
  On one of my machines I saw a different on the same version of
  poppler. I did an emerge -C poppler and then emerge -DuN @world and it
  picked up a newer version without complaining.
 
  HTH,
  Mark
 

 Hi Mark,

 thank you for your help ! :)

 I tried it and it results in this:

     solfire:/rootemerge -DuN @world
     Calculating dependencies... done!
     [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

     The following keyword changes are necessary to proceed:
     #required by app-office/libreoffice-3.3.4, required by @selected, 
 required by @world (argument)
     =app-text/poppler-0.18.0 ~amd64

     NOTE: This --autounmask behavior can be disabled by setting
         EMERGE_DEFAULT_OPTS=--autounmask=n in make.conf.

     Use --autounmask-write to write choanges to config files (honoring 
 CONFIG_PROTECT).


 Is this just another of those cases, where I have to unmask an item
 and dont mix 'em ;)  ???

 Best regards,
 mcc








 Hi Mark,

 ok, I unmasked poppler, and it give me that again:


    
 /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 ')'
    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
    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
    g-ir-scanner: Poppler: warning: 5 warnings suppressed (use --warn-all to 
 see them)
    [ 79%] Built target gir-girs
    Scanning dependencies of target gir-typelibs
    [ 79%] Generating Poppler-0.18.typelib
    /usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.4: 
 cannot open shared object file: No such file or directory
    make[2]: *** [glib/Poppler-0.18.typelib] Error 127
    make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2
    make: *** [all] Error 2
    * ERROR: app-text/poppler-0.18.0 failed (compile phase):
    *   emake failed
    *
    * If you need support, post the output of 'emerge --info 
 =app-text/poppler-0.18.0',
    * the complete build log and the output of 'emerge -pqv 
 =app-text/poppler-0.18.0'.
    * The complete build log is located at 
 '/var/tmp/portage/app-text/poppler-0.18.0/temp/build.log'.
    * The ebuild environment file is located at 
 '/var/tmp/portage/app-text/poppler-0.18.0/temp/environment'.
    * S: '/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0'

     Failed to emerge app-text/poppler-0.18.0, Log file:

      '/var/tmp/portage/app-text/poppler-0.18.0/temp/build.log'

    * Messages for package app-text/poppler-0.18.0:

    * ERROR: app-text/poppler-0.18.0 failed (compile phase):
    *   emake failed
    *
    * If you need support, post the output of 'emerge --info 
 =app-text/poppler-0.18.0',
    * the complete build log and the output of 'emerge -pqv 
 =app-text/poppler-0.18.0'.
    *