Port print/qpdf 7.1.0 does not build: linker error

Dr. Peter Voigt pvoigt at uos.de
Thu Feb 1 16:10:40 UTC 2018

I have just tried to update to print/qpdf 7.1.0 under 11.1-RELEASE-p6
(amd64) and get the following error:


/bin/sh ./libtool --mode=link c++ -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wold-style-cast -Wall libtests/build/buffer.o -o libtests/build/buffer -ljpeg -lz -L/usr/local/lib -lqpdf -Llibqpdf/build -fstack-protector
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [libtests/build.mk:44: libtests/build/bits] Error 1
gmake[1]: *** Waiting for unfinished jobs....
libtool: link: c++ -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Wold-style-cast -Wall libtests/build/buffer.o -o libtests/build/buffer -fstack-protector  -ljpeg -lz -L/usr/local/lib -lqpdf -Llibqpdf/build
gmake[1]: Leaving directory '/usr/ports/print/qpdf/work/qpdf-7.1.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

make: stopped in /usr/ports/print/qpdf

===>>> make build failed for print/qpdf
===>>> Aborting update

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> print/qpdf 

This command has been saved to /tmp/portmasterfail.txt

This command has been saved to /tmp/portmasterfail.txt

Can this be fixed easily or should I better create a bug ticket?


More information about the freebsd-ports mailing list