Bug 84526 - [FBTS] Fails to build poppler-glib
Summary: [FBTS] Fails to build poppler-glib
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: glib frontend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 19:28 UTC by Germán Poo-Caamaño
Modified: 2014-10-05 09:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Germán Poo-Caamaño 2014-09-30 19:28:11 UTC
When building poppler from master (01723aa17e83), it fails with the following output:

./configure --prefix evince/install --libdir evince/install/lib --enable-xpdf-headers --disable-gtk-doc ..
[...]
Building poppler with support for:
  font configuration: fontconfig
  splash output:      yes
  cairo output:       yes
  qt4 wrapper:        yes
  qt5 wrapper:        no
  glib wrapper:       yes
    introspection:    yes
  cpp wrapper:        yes
  use gtk-doc:        no
  use libjpeg:        yes
  use libpng:         yes
  use libtiff:        yes
  use zlib:           no
  use libcurl:        no
  use libopenjpeg:    yes
  use cms:            yes
      with lcms2
  command line utils: yes
  [...]
  CXX      libpoppler_glib_la-poppler.lo
  CXXLD    libpoppler-glib.la
  GISCAN   Poppler-0.18.gir
./.libs/libpoppler-glib.so: undefined reference to `GfxFont::getAlternateName(char const*)'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash', '../libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/home/gpoo/code/evince/checkout/poppler/glib/tmp-introspect8rV36E/Poppler-0.18', '-export-dynamic', '-Wall', '-g', '-O2', '-L/home/gpoo/code/evince/install/lib', '-Xlinker', '--as-needed', '/home/gpoo/code/evince/checkout/poppler/glib/tmp-introspect8rV36E/Poppler-0.18.o', '-L.', 'libpoppler-glib.la', '-Wl,--export-dynamic', '-pthread', '-L/home/gpoo/code/evince/install/lib', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lglib-2.0']' returned non-zero exit status 1


529db4a94 builds fine.  Sorry for not digging the issue, I am filing the bug in a rush.
Comment 1 Albert Astals Cid 2014-09-30 19:40:37 UTC
Builds fine for me, did you do a clean build?

What do the .. mean?
Comment 2 Germán Poo-Caamaño 2014-09-30 19:49:55 UTC
$ git checkout master
$ git clean -dfx
$ ./autogen.sh --prefix /home/gpoo/code/evince/install --libdir /home/gpoo/code/evince/install/lib --enable-xpdf-headers --disable-gtk-doc
$ make

same error:
  GISCAN   Poppler-0.18.gir
./.libs/libpoppler-glib.so: undefined reference to `GfxFont::getAlternateName(char const*)'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash', '../libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/home/gpoo/code/evince/checkout/poppler/glib/tmp-introspectnlnKOE/Poppler-0.18', '-export-dynamic', '-Wall', '-g', '-O2', '-L/home/gpoo/code/evince/install/lib', '-Xlinker', '--as-needed', '/home/gpoo/code/evince/checkout/poppler/glib/tmp-introspectnlnKOE/Poppler-0.18.o', '-L.', 'libpoppler-glib.la', '-Wl,--export-dynamic', '-pthread', '-L/home/gpoo/code/evince/install/lib', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lglib-2.0']' returned non-zero exit status 1
make[4]: *** [Poppler-0.18.gir] Error 1
Comment 3 Albert Astals Cid 2014-09-30 20:52:02 UTC
You'll have to find someone that can reproduce it or fix it yourself.

GfxFont::getAlternateName(char const*) is there and compiled into libpoppler, no idea why it is not working for you :/
Comment 4 Germán Poo-Caamaño 2014-09-30 21:36:30 UTC
I'm sorry, I was trying to be nice and reporting an issue.  I will try to keep that in mind next time.
Comment 5 Albert Astals Cid 2014-09-30 21:42:54 UTC
eh? What's the problem, you reported an issue i can't reproduce and thus i won't fix it because i have a huge lists of issues that i can reproduce and thus are much easier to fix. You can have some else fixing it or fixing it yourself.

I think it's pretty easy to understand.

Not sure what you need "to keep in mind next time", is that a threat that you won't report more bugs? Who is the one that loses if you don't report the bug you get?
Comment 6 Germán Poo-Caamaño 2014-09-30 21:46:34 UTC
I found your wording rude.  I did not make any threat, if you need an explanation: I will keep in mind that next time I find a bug, if I don't have a solution, it might be better to not reporting it because it does not seem welcomed.

I am sorry for the noise and confusion.
Comment 7 Albert Astals Cid 2014-09-30 22:04:10 UTC
You really need to imrpove your reading, where did i say it is not a welcome report?

Nowhere.

I said that *I* will not work on it because i can't reproduce it, there's other people, but feel free to be offended when people think your bug is not the most important bug ever.
Comment 8 Germán Poo-Caamaño 2014-09-30 22:12:46 UTC
I already apologized. What else do you want? A postcard?
Comment 9 Albert Astals Cid 2014-09-30 22:25:10 UTC
I don't want an apology. I want you to do yourself a favour and keep reporting the bugs you find.
Comment 10 Carlos Garcia Campos 2014-10-01 12:02:56 UTC
It seems that for some reason we are using the installed libs to build the introspection, I'll look at it.
Comment 11 Carlos Garcia Campos 2014-10-05 09:34:20 UTC
Fixed now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.