Opened 12 years ago

Closed 11 years ago

Last modified 6 years ago

#37508 closed defect (wontfix)

qpdf @3.0.2: Undefined symbols: "Pl_Buffer::write(unsigned char*, unsigned long)"

Reported by: michelle.lynn.gill@… Owned by: wlipa (Bill Lipa)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ci42
Port: qpdf

Description

When attempting to upgrade qpdf from version 3.0.1 to 3.0.2, the build fails with the following error:

:info:build libtool: link: /usr/bin/clang++ -pipe -O2 -arch x86_64 -Wall libtests/build/bits.o -o libtests/build/bits -arch x86_64  /Volumes/Files/macports/lib/libpcre.dylib -L/Volumes/Files/macports/lib -lz -lqpdf -Llibqpdf/build
:info:build Undefined symbols for architecture x86_64:
:info:build   "Pl_Buffer::write(unsigned char*, unsigned long)", referenced from:
:info:build       _main in buffer.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build libtool: link: /usr/bin/clang++ -pipe -O2 -arch x86_64 -Wall libtests/build/aes.o -o libtests/build/aes -arch x86_64  /Volumes/Files/macports/lib/libpcre.dylib -L/Volumes/Files/macports/lib -lz -lqpdf -Llibqpdf/build
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build libtool: link: /usr/bin/clang++ -pipe -O2 -arch x86_64 -Wall libtests/build/ascii85.o -o libtests/build/ascii85 -arch x86_64  /Volumes/Files/macports/lib/libpcre.dylib -L/Volumes/Files/macports/lib -lz -lqpdf -Llibqpdf/build
:info:build make: *** [libtests/build/buffer] Error 1Undefined symbols for architecture x86_64:
:info:build
:info:build make: *** Waiting for unfinished jobs....
:info:build   "BitWriter::writeBits(unsigned long long, unsigned int)", referenced from:
:info:build       _main in bits.o
:info:build ld: symbol(s) not found for architecture x86_64

There is currently another ticket #37385 open for this version of QPDF on a PPC system, but the errors produced are different thus I have opened a second ticket.

Attachments (1)

main.log (49.4 KB) - added by michelle.lynn.gill@… 12 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by michelle.lynn.gill@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to dojo@…

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: QPDF v 3.0.2 does not build on Mac OS X 10.8.3 because of undefined symbols for x86_64qpdf @3.0.2: Undefined symbols: "Pl_Buffer::write(unsigned char*, unsigned long)"

10.8.3 is not out yet, and according to the log, you're running 10.8.2. But probably the Xcode and clang versions are more important. What versions of those do you have? Find out the clang version by running "clang -v" and the Xcode version by getting info on the Xcode application.

comment:3 Changed 12 years ago by michelle.lynn.gill@…

Sorry, that was a typo. Yes, I'm running 10.8.2. Sorry.

XCode: 4.5.2

% clang -v
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix

comment:4 Changed 11 years ago by ci42

Resolution: wontfix
Status: newclosed

qpdf has been updated to 5.1.0 in r115739. Please reopen the ticket If the problem still persist.

comment:5 Changed 11 years ago by jmroot (Joshua Root)

Cc: ciserlohn@… added

Why 'wontfix'? Is this not fixed in the new version?

comment:6 Changed 11 years ago by michelle.lynn.gill@…

Won't fix because it makes no sense to fix an obsolete version, as is stated. If the problem persists, a new ticket should be filed. However, the new version compiles fine for me.

comment:7 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

This may have been the same error as #42101, which has now finally been fixed (again).

Note: See TracTickets for help on using tickets.