<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - utils/pdfunite.cc fails to build"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60095">60095</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>utils/pdfunite.cc fails to build
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gpoo@gnome.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>poppler(fbcd64) fails to build with the following error message:

[...]
make[2]: warning: -jN forced in submake: disabling jobserver mode.
[...]
  CXXLD  pdftocairo
  CXXLD  pdftohtml
pdfunite.cc:94: error: undefined reference to 'error(ErrorCategory, long, char
const*, ...)'
pdfunite.cc:91: error: undefined reference to 'error(ErrorCategory, long, char
const*, ...)'
pdfunite.cc:103: error: undefined reference to
'FileOutStream::FileOutStream(_IO_FILE*, long)'
pdfunite.cc:107: error: undefined reference to 'XRef::add(int, int, long,
bool)'
pdfunite.cc:131: error: undefined reference to 'XRef::add(int, int, long,
bool)'
pdfunite.cc:137: error: undefined reference to 'XRef::add(int, int, long,
bool)'
pdfunite.cc:146: error: undefined reference to 'XRef::add(int, int, long,
bool)'
pdfunite.cc:172: error: undefined reference to 'PDFDoc::createTrailerDict(int,
bool, long, Ref*, XRef*, char const*, long)'
pdfunite.cc:174: error: undefined reference to
'PDFDoc::writeXRefTableTrailer(Dict*, XRef*, bool, long, OutStream*, XRef*)'
../poppler/Object.h:204: error: undefined reference to 'error(ErrorCategory,
long, char const*, ...)'
pdfunite.cc:100: error: undefined reference to 'error(ErrorCategory, long, char
const*, ...)'
collect2: ld returned 1 exit status
make[2]: *** [pdfunite] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/gpoo/code/evince/checkout/poppler/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gpoo/code/evince/checkout/poppler'
make: *** [all] Error 2

FWIW, I ran './autogen.sh --enable-xpdf-headers --disable-gtk-doc' (in a
jhbuild environment).

git bisect found out that the commit a3cee0e7e9 introduced the issue.

Given there are more commits since then, I guess there must be a new
requirement in poppler that is missing in configure.ac</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>