Opened 8 years ago

Closed 2 years ago

#52117 closed defect (fixed)

Qpdf @6.0.0 does not build on PPC Leopard, Mac OS X 10.5.8 because of Undefined symbol "Pl_MD5::persistAcrossFinish(bool)" that ld could not find

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: leopard powerpc Cc:
Port: qpdf

Description

:info:build /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall -MD -MF libtests/build/lzw.dep -MP -Iinclude -Ilibqpdf -I/opt/local/include -c libtests/lzw.cc -o libtests/build/lzw.o
:info:build /bin/bash ./libtool --mode=link /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall libtests/build/lzw.o -o libtests/build/lzw -lpcre -lz  -lqpdf -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -Llibqpdf/build
:info:build libtool: link: /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall libtests/build/lzw.o -o libtests/build/lzw -Wl,-headerpad_max_install_names -arch ppc  /opt/local/lib/libpcre.dylib -lz /opt/local/lib/libqpdf.dylib -L/opt/local/lib -Llibqpdf/build
:info:build /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall -MD -MF libtests/build/md5.dep -MP -Iinclude -Ilibqpdf -I/opt/local/include -c libtests/md5.cc -o libtests/build/md5.o
:info:build /bin/bash ./libtool --mode=link /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall libtests/build/md5.o -o libtests/build/md5 -lpcre -lz  -lqpdf -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -Llibqpdf/build
:info:build libtool: link: /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall libtests/build/md5.o -o libtests/build/md5 -Wl,-headerpad_max_install_names -arch ppc  /opt/local/lib/libpcre.dylib -lz /opt/local/lib/libqpdf.dylib -L/opt/local/lib -Llibqpdf/build
:info:build Undefined symbols:
:info:build   "Pl_MD5::persistAcrossFinish(bool)", referenced from:
:info:build       _main in md5.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make: *** [libtests/build/md5] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-6.0.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-6.0.0" && /usr/bin/make -w all 
:info:build Exit code: 2

The code is in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-6.0.0/libqpdf/Pl_MD5.cc probably.

Attachments (1)

main.log (50.5 KB) - added by ballapete (Peter "Pete" Dyballa) 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: snowleopard powerpc added

comment:2 Changed 8 years ago by rbubley

Not just a Snow Leopard PowerPC issue, I have it on El Capitan/Intel:

:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -Wold-style-cast -Wall libtests/build/md5.o -o libtests/build/md5 -Wl,-headerpad_max_install_names -arch x86_64  -lpcre -lz -lqpdf -L/opt/local/lib -Llibqpdf/build
:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -Wold-style-cast -Wall libtests/build/png_filter.o -o libtests/build/png_filter -Wl,-headerpad_max_install_names -arch x86_64  -lpcre -lz -lqpdf -L/opt/local/lib -Llibqpdf/build
:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -Wold-style-cast -Wall libtests/build/pcre.o -o libtests/build/pcre -Wl,-headerpad_max_install_names -arch x86_64  -lpcre -lz -lqpdf -L/opt/local/lib -Llibqpdf/build
:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -Wold-style-cast -Wall libtests/build/pointer_holder.o -o libtests/build/pointer_holder -Wl,-headerpad_max_install_names -arch x86_64  -lpcre -lz -lqpdf -L/opt/local/lib -Llibqpdf/build
:info:build Undefined symbols for architecture x86_64:
:info:build   "Pl_MD5::persistAcrossFinish(bool)", referenced from:
:info:build       _main in md5.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [libtests/build/md5] Error 1
:info:build make: *** Waiting for unfinished jobs....

comment:3 Changed 6 years ago by kencu (Ken)

Keywords: leopard added; snowleopard removed

comment:4 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

This ticket can be closed since a newer version, @10.4.0, could be installed.

comment:5 Changed 2 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

thx

Note: See TracTickets for help on using tickets.