Summary: | print/cups-filters: Don't compile to 1.0.71 (PORTREVISION=2) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Vladimir Omelchuk <admin> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | admin, cyberbotx | ||||
Priority: | --- | Flags: | cyberbotx:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Vladimir Omelchuk
2015-08-24 23:16:20 UTC
Created attachment 160315 [details]
Full log
... filter/pdftopdf/qpdf_cm.cc:(.text+0x36): undefined reference to `QPDFObjectHandle::hasKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' pdftopdf-qpdf_cm.o: In function `addOutputIntent(QPDF&, char const*)': filter/pdftopdf/qpdf_cm.cc:(.text+0x118): undefined reference to `QPDFObjectHandle::newStream(QPDF*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0x163): undefined reference to `QPDFObjectHandle::replaceKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, QPDFObjectHandle const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0x1f6): undefined reference to `QPDFObjectHandle::parse(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0x23b): undefined reference to `QPDFObjectHandle::replaceKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, QPDFObjectHandle const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0x27f): undefined reference to `QPDFObjectHandle::hasKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0x2d1): undefined reference to `QPDFObjectHandle::replaceKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, QPDFObjectHandle const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0x351): undefined reference to `QPDFObjectHandle::getKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' pdftopdf-qpdf_cm.o: In function `addDefaultRGB(QPDF&, QPDFObjectHandle)': filter/pdftopdf/qpdf_cm.cc:(.text+0xab9): undefined reference to `QPDFObjectHandle::hasKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0xaf8): undefined reference to `QPDFObjectHandle::replaceKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, QPDFObjectHandle const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0xb66): undefined reference to `QPDFObjectHandle::getKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0xb96): undefined reference to `QPDFObjectHandle::hasKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0xbe3): undefined reference to `QPDFObjectHandle::replaceKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, QPDFObjectHandle const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0xc66): undefined reference to `QPDFObjectHandle::getKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0xc96): undefined reference to `QPDFObjectHandle::hasKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0xd0c): undefined reference to `QPDFObjectHandle::parse(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0xd22): undefined reference to `QPDFObjectHandle::replaceKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, QPDFObjectHandle const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0xdc7): undefined reference to `QPDFObjectHandle::getKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' pdftopdf-qpdf_cm.o: In function `setDefaultICC(QPDF&, char const*)': filter/pdftopdf/qpdf_cm.cc:(.text+0x122f): undefined reference to `QPDFObjectHandle::newStream(QPDF*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' filter/pdftopdf/qpdf_cm.cc:(.text+0x1273): undefined reference to `QPDFObjectHandle::replaceKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, QPDFObjectHandle const&)' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /usr/ports/print/cups-filters/work/cups-filters-1.0.71 *** Error code 1 Stop. make[1]: stopped in /usr/ports/print/cups-filters/work/cups-filters-1.0.71 *** Error code 1 Stop. make: stopped in /usr/ports/print/cups-filters root@vladiom:/usr/ports/print/cups-filters # root@vladiom:/usr/ports/print/cups-filters # root@vladiom:/usr/ports/print/cups-filters # exit exit # uname -srm FreeBSD 10.2-RELEASE-p1 amd64 # less make.conf BATCH=YES CPUTYPE?=core2 OPTIONS_SET=CUPS WITHOUT_LPR=YES WITH_PKGNG=YES NO_WARNING_PKG_INSTALL_EOL=yes DEFAULT_VERSIONS+=apache=2.2 QT4_OPTIONS=CUPS NAS QGTKSTYLE DEVELOPER=yes Did you make sure that print/qpdf was built with the SDK option enabled? It is required by cups-filters. Try that, and if that doesn't work, let me know, especially since it works for me and I have 10.2-RELEASE on here. Yes, print/qpdf was built with the SDK option: # make showconfig ===> The following configuration options are available for qpdf-5.1.2_1: SDK=on: Install header files (required for cups-filters) ===> Use 'make config' to modify these settings Try rebild qpdf and get error: libtool: link: ( cd "libqpdf/build/.libs" && rm -f "libqpdf.la" && ln -s "../libqpdf.la" "libqpdf.la" ) c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall -MD -MF zlib-flate/build/zlib-flate.dep -MP -Iinclude -I/usr/local/include -I/usr/local/include -c zlib-flate/zlib-flate.cc -o zlib-flate/build/zlib-flate.o /usr/local/bin/bash ./libtool --mode=link c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall zlib-flate/build/zlib-flate.o -o zlib-flate/build/zlib-flate -lqpdf -lpcre -lz -fstack-protector -L/usr/local/lib -L/usr/local/lib -Llibqpdf/build libtool: link: c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall zlib-flate/build/zlib-flate.o -o zlib-flate/build/zlib-flate -fstack-protector -lqpdf -lpcre -lz -L/usr/local/lib -Llibqpdf/build c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall -MD -MF libtests/build/aes.dep -MP -Iinclude -Ilibqpdf -I/usr/local/include -I/usr/local/include -c libtests/aes.cc -o libtests/build/aes.o /usr/local/bin/bash ./libtool --mode=link c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/aes.o -o libtests/build/aes -lpcre -lz -lqpdf -fstack-protector -L/usr/local/lib -L/usr/local/lib -Llibqpdf/build libtool: link: c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/aes.o -o libtests/build/aes -fstack-protector -lpcre -lz -lqpdf -L/usr/local/lib -Llibqpdf/build c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall -MD -MF libtests/build/ascii85.dep -MP -Iinclude -Ilibqpdf -I/usr/local/include -I/usr/local/include -c libtests/ascii85.cc -o libtests/build/ascii85.o /usr/local/bin/bash ./libtool --mode=link c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/ascii85.o -o libtests/build/ascii85 -lpcre -lz -lqpdf -fstack-protector -L/usr/local/lib -L/usr/local/lib -Llibqpdf/build libtool: link: c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/ascii85.o -o libtests/build/ascii85 -fstack-protector -lpcre -lz -lqpdf -L/usr/local/lib -Llibqpdf/build c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall -MD -MF libtests/build/bits.dep -MP -Iinclude -Ilibqpdf -I/usr/local/include -I/usr/local/include -c libtests/bits.cc -o libtests/build/bits.o /usr/local/bin/bash ./libtool --mode=link c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/bits.o -o libtests/build/bits -lpcre -lz -lqpdf -fstack-protector -L/usr/local/lib -L/usr/local/lib -Llibqpdf/build libtool: link: c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/bits.o -o libtests/build/bits -fstack-protector -lpcre -lz -lqpdf -L/usr/local/lib -Llibqpdf/build c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall -MD -MF libtests/build/buffer.dep -MP -Iinclude -Ilibqpdf -I/usr/local/include -I/usr/local/include -c libtests/buffer.cc -o libtests/build/buffer.o /usr/local/bin/bash ./libtool --mode=link c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/buffer.o -o libtests/build/buffer -lpcre -lz -lqpdf -fstack-protector -L/usr/local/lib -L/usr/local/lib -Llibqpdf/build libtool: link: c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/buffer.o -o libtests/build/buffer -fstack-protector -lpcre -lz -lqpdf -L/usr/local/lib -Llibqpdf/build c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall -MD -MF libtests/build/concatenate.dep -MP -Iinclude -Ilibqpdf -I/usr/local/include -I/usr/local/include -c libtests/concatenate.cc -o libtests/build/concatenate.o /usr/local/bin/bash ./libtool --mode=link c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/concatenate.o -o libtests/build/concatenate -lpcre -lz -lqpdf -fstack-protector -L/usr/local/lib -L/usr/local/lib -Llibqpdf/build libtool: link: c++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -Wold-style-cast -Wall libtests/build/concatenate.o -o libtests/build/concatenate -fstack-protector -lpcre -lz -lqpdf -L/usr/local/lib -Llibqpdf/build libtests/build/concatenate.o: In function `main': libtests/concatenate.cc:(.text+0x85): undefined reference to `QUtil::unsigned_char_pointer(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' libtests/concatenate.cc:(.text+0xf6): undefined reference to `QUtil::unsigned_char_pointer(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' c++: error: linker command failed with exit code 1 (use -v to see invocation) libtests/build.mk:41: recipe for target 'libtests/build/concatenate' failed gmake[1]: *** [libtests/build/concatenate] Error 1 gmake[1]: Leaving directory '/usr/ports/print/qpdf/work/qpdf-5.1.2' *** Error code 1 Stop. make: stopped in /usr/ports/print/qpdf ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20150825-27224-1jytvlf env UPGRADE_TOOL=portupgrade UPGRADE_PORT=qpdf-5.1.2_1 UPGRADE_PORT_VER=5.1.2_1 make MAKE_JOBS_UNSAFE=yes ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! print/qpdf (qpdf-5.1.2_1) (linker error) root@vladiom:/usr/ports/print/qpdf # root@vladiom:/usr/ports/print/qpdf # exit exit Then it sounds like you need to fix building print/qpdf before trying to build print/cups-filters. I think I ran into this problem myself and had to remove print/qpdf and then install it again. I believe it cannot rebuild itself properly when already installed, which is a shame. In any case, it does seem to be that this isn't a cups-filters problem but rather a qpdf problem that just compounds onto cups-filters. After deinstall qpdf and install again, cups-filters build is fine. Thanks! |