[Reproducible-builds] Bug#795850: pdfgrep: FTBFS: pdfgrep.cc:429: undefined reference to `poppler::version_string[abi:cxx11]()'

Chris Lamb lamby at debian.org
Mon Aug 17 12:00:23 UTC 2015


Source: pdfgrep
Version: 1.4.0-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

pdfgrep fails to build from source on unstable/amd64:

  [..]

     dh_auto_build
  	make -j1
  make[1]: Entering directory '/tmp/buildd/pdfgrep-1.4.0'
  make  all-recursive
  make[2]: Entering directory '/tmp/buildd/pdfgrep-1.4.0'
  Making all in src
  make[3]: Entering directory '/tmp/buildd/pdfgrep-1.4.0/src'
  g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include/poppler/cpp
  -I/usr/include/poppler    -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2
  -fstack-protector-strong -Wformat -Werror=format-security -std=c++11
  -c -o pdfgrep.o pdfgrep.cc
  pdfgrep.cc: In function 'int search_in_document(poppler::document*,
  const string&, Regengine&)':
  pdfgrep.cc:185:8: warning: 'template<class> class std::auto_ptr' is
  deprecated [-Wdeprecated-declarations]
     std::auto_ptr<poppler::page> doc_page(doc->create_page(i - 1));
          ^
  In file included from /usr/include/c++/5/memory:81:0,
                   from pdfgrep.cc:54:
  /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
     template<typename> class auto_ptr;
                              ^
  g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include/poppler/cpp
  -I/usr/include/poppler    -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2
  -fstack-protector-strong -Wformat -Werror=format-security -std=c++11
  -c -o output.o output.cc
  g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include/poppler/cpp
  -I/usr/include/poppler    -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2
  -fstack-protector-strong -Wformat -Werror=format-security -std=c++11
  -c -o exclude.o exclude.cc
  g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include/poppler/cpp
  -I/usr/include/poppler    -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2
  -fstack-protector-strong -Wformat -Werror=format-security -std=c++11
  -c -o regengine.o regengine.cc
  g++  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
  -std=c++11  -Wl,-z,relro -o pdfgrep pdfgrep.o output.o exclude.o
  regengine.o -lpoppler-cpp   -lpcre  
  pdfgrep.o: In function `print_version()':
  /tmp/buildd/pdfgrep-1.4.0/src/pdfgrep.cc:429: undefined reference to
  `poppler::version_string[abi:cxx11]()'
  pdfgrep.o: In function
  `do_search_in_document(std::__cxx11::basic_string<char,
  std::char_traits<char>, std::allocator<char> > const&,
  std::__cxx11::basic_string<char, std::char_traits<char>,
  std::allocator<char> > const&, Regengine&, bool)':
  /tmp/buildd/pdfgrep-1.4.0/src/pdfgrep.cc:463: undefined reference to
  `poppler::document::load_from_file(std::__cxx11::basic_string<char,
  std::char_traits<char>, std::allocator<char> > const&,
  std::__cxx11::basic_string<char, std::char_traits<char>,
  std::allocator<char> > const&, std::__cxx11::basic_string<char,
  std::char_traits<char>, std::allocator<char> > const&)'
  collect2: error: ld returned 1 exit status
  Makefile:276: recipe for target 'pdfgrep' failed
  make[3]: *** [pdfgrep] Error 1
  make[3]: Leaving directory '/tmp/buildd/pdfgrep-1.4.0/src'
  Makefile:296: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/tmp/buildd/pdfgrep-1.4.0'
  Makefile:236: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/tmp/buildd/pdfgrep-1.4.0'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

  https://reproducible.debian.net/logs/unstable/amd64/pdfgrep_1.4.0-2.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pdfgrep.1.4.0-2.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150817/fea6b97f/attachment.txt>


More information about the Reproducible-builds mailing list