public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Build error on poppler
@ 2011-10-19  2:28 meino.cramer
  2011-10-19  2:35 ` Mark Knecht
  2011-10-19 14:05 ` Jonas de Buhr
  0 siblings, 2 replies; 9+ messages in thread
From: meino.cramer @ 2011-10-19  2:28 UTC (permalink / raw
  To: Gentoo

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:/root>eix 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/
     Description:         a portable, high level programming interface to various calling conventions.

[I] virtual/libffi
     Available versions:  0
     Installed versions:  0(22:54:47 09/12/10)
     Description:         Virtual for dev-libs/libffi

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Build error on poppler
  2011-10-19  2:28 [gentoo-user] Build error on poppler meino.cramer
@ 2011-10-19  2:35 ` Mark Knecht
  2011-10-19  2:44   ` meino.cramer
  2011-10-19 14:05 ` Jonas de Buhr
  1 sibling, 1 reply; 9+ messages in thread
From: Mark Knecht @ 2011-10-19  2:35 UTC (permalink / raw
  To: gentoo-user

On Tue, Oct 18, 2011 at 7:28 PM,  <meino.cramer@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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Build error on poppler
  2011-10-19  2:35 ` Mark Knecht
@ 2011-10-19  2:44   ` meino.cramer
  2011-10-19  2:53     ` meino.cramer
  0 siblings, 1 reply; 9+ messages in thread
From: meino.cramer @ 2011-10-19  2:44 UTC (permalink / raw
  To: gentoo-user

Mark Knecht <markknecht@gmail.com> [11-10-19 04:40]:
> On Tue, Oct 18, 2011 at 7:28 PM,  <meino.cramer@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:/root>emerge -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









^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Build error on poppler
  2011-10-19  2:44   ` meino.cramer
@ 2011-10-19  2:53     ` meino.cramer
  2011-10-19  3:44       ` Mark Knecht
  0 siblings, 1 reply; 9+ messages in thread
From: meino.cramer @ 2011-10-19  2:53 UTC (permalink / raw
  To: gentoo-user

meino.cramer@gmx.de <meino.cramer@gmx.de> [11-10-19 04:48]:
> Mark Knecht <markknecht@gmail.com> [11-10-19 04:40]:
> > On Tue, Oct 18, 2011 at 7:28 PM,  <meino.cramer@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:/root>emerge -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 '/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'

libffi remains the same as in the previous post of mine...

Best regards,
mcc





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Build error on poppler
  2011-10-19  2:53     ` meino.cramer
@ 2011-10-19  3:44       ` Mark Knecht
  0 siblings, 0 replies; 9+ messages in thread
From: Mark Knecht @ 2011-10-19  3:44 UTC (permalink / raw
  To: gentoo-user

On Tue, Oct 18, 2011 at 7:53 PM,  <meino.cramer@gmx.de> wrote:
> meino.cramer@gmx.de <meino.cramer@gmx.de> [11-10-19 04:48]:
>> Mark Knecht <markknecht@gmail.com> [11-10-19 04:40]:
>> > On Tue, Oct 18, 2011 at 7:28 PM,  <meino.cramer@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:/root>emerge -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 '/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'
>
> libffi remains the same as in the previous post of mine...
>
> Best regards,
> mcc

I'm not seeing any of that here. A couple of questions:

1) What version of portage are you using? I'm at 2.2.0_alpha69. See my
portage.keywords file from yesterday about how I unmask portage. For
me it's a weird one...

2) Do you have libffi installed? Maybe it's a case of the new poppler
needs libffi but the ebuild isn't emerging it?

c2stable ~ # eix -I 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(01:58:46 PM 10/17/2011)(-debug
-static-libs -test)
     Homepage:            http://sourceware.org/libffi/
     Description:         a portable, high level programming interface
to various calling conventions.

[I] virtual/libffi
     Available versions:  0
     Installed versions:  0(10:42:58 AM 04/13/2010)
     Description:         Virtual for dev-libs/libffi

Found 2 matches.
c2stable ~ #

That sort of seems to be the case according to equery as poppler isn't
shown below as depending on libffi. I possibly have it because I went
the opposite on this recent -perl/-python news item and have them set.
Just guessing about that though.

c2stable ~ # equery depends libffi
 * These packages depend on libffi:
dev-lang/python-2.7.1-r1 (virtual/libffi)
dev-lang/python-3.1.3-r1 (virtual/libffi)
dev-libs/gobject-introspection-0.10.8 (virtual/libffi)
dev-python/pygobject-2.28.6 (libffi ? virtual/libffi)
virtual/libffi-0 (dev-libs/libffi)
c2stable ~ #

So, if you don't have libffi installed then emerge it and try again
with poppler after that. If poppler then emerges correctly then
consider filing a bug report if you feel that's appropriate.

Good luck. I won't be around much longer tonight. I'll catch up with
you tomorrow.

Cheers,
Mark



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Build error on poppler
  2011-10-19  2:28 [gentoo-user] Build error on poppler meino.cramer
  2011-10-19  2:35 ` Mark Knecht
@ 2011-10-19 14:05 ` Jonas de Buhr
  2011-10-20  0:03   ` meino.cramer
  1 sibling, 1 reply; 9+ messages in thread
From: Jonas de Buhr @ 2011-10-19 14:05 UTC (permalink / raw
  To: gentoo-user

Am 19.10.2011 04:28, schrieb meino.cramer@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.
> solfire:/root>eix 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/
>       Description:         a portable, high level programming interface to various calling conventions.
>
> [I] virtual/libffi
>       Available versions:  0
>       Installed versions:  0(22:54:47 09/12/10)
>       Description:         Virtual for dev-libs/libffi
>
> 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
>
>
>




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Build error on poppler
  2011-10-19 14:05 ` Jonas de Buhr
@ 2011-10-20  0:03   ` meino.cramer
  2011-10-20  0:13     ` Mark Knecht
  0 siblings, 1 reply; 9+ messages in thread
From: meino.cramer @ 2011-10-20  0:03 UTC (permalink / raw
  To: gentoo-user

Jonas de Buhr <jonas.de.buhr@gmx.net> [11-10-19 17:05]:
> Am 19.10.2011 04:28, schrieb meino.cramer@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




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Build error on poppler
  2011-10-20  0:03   ` meino.cramer
@ 2011-10-20  0:13     ` Mark Knecht
  2011-10-20  8:04       ` Jonas de Buhr
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Knecht @ 2011-10-20  0:13 UTC (permalink / raw
  To: gentoo-user

On Wed, Oct 19, 2011 at 5:03 PM,  <meino.cramer@gmx.de> wrote:
> Jonas de Buhr <jonas.de.buhr@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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Build error on poppler
  2011-10-20  0:13     ` Mark Knecht
@ 2011-10-20  8:04       ` Jonas de Buhr
  0 siblings, 0 replies; 9+ messages in thread
From: Jonas de Buhr @ 2011-10-20  8:04 UTC (permalink / raw
  To: gentoo-user

Am Wed, 19 Oct 2011 17:13:54 -0700
schrieb Mark Knecht <markknecht@gmail.com>:

> On Wed, Oct 19, 2011 at 5:03 PM,  <meino.cramer@gmx.de> wrote:
> > Jonas de Buhr <jonas.de.buhr@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
> 



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-10-20  8:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19  2:28 [gentoo-user] Build error on poppler meino.cramer
2011-10-19  2:35 ` Mark Knecht
2011-10-19  2:44   ` meino.cramer
2011-10-19  2:53     ` meino.cramer
2011-10-19  3:44       ` Mark Knecht
2011-10-19 14:05 ` Jonas de Buhr
2011-10-20  0:03   ` meino.cramer
2011-10-20  0:13     ` Mark Knecht
2011-10-20  8:04       ` Jonas de Buhr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox