Opened 12 years ago

Closed 2 years ago

#37385 closed defect (fixed)

Qpdf @3.0.2 does not build on PPC Leopard Mac OS X 10.5.8 because of test failure for Pl_ASCII85Decoder

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

Description

The failure shows here when the tests are performed:

/usr/bin/g++-4.0 -O2 -arch ppc -Wall -MD -MF libtests/build/ascii85.dep -MP -Iinclude -Ilibqpdf -I/opt/local/include -c libtests/ascii85.cc -o libtests/build/ascii85.o
/bin/bash ./libtool --mode=link /usr/bin/g++-4.0 -O2 -arch ppc -Wall libtests/build/ascii85.o -o libtests/build/ascii85 -lpcre -lz  -lqpdf -L/opt/local/lib -arch ppc -Llibqpdf/build
libtool: link: /usr/bin/g++-4.0 -O2 -arch ppc -Wall libtests/build/ascii85.o -o libtests/build/ascii85 -arch ppc  /opt/local/lib/libpcre.dylib -L/opt/local/lib -lz -lqpdf -Llibqpdf/build
Undefined symbols:
  "Pl_ASCII85Decoder::write(unsigned char*, unsigned long)", referenced from:
      _main in ascii85.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libtests/build/ascii85] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-3.0.2'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-3.0.2" && /usr/bin/make -w all 
Exit code: 2

The old already installed libqpdf in /opt/local/lib as well the just bild libqpdf have:

pete 244 /\ nm -a /opt/local/lib/libqpdf.3.dylib | grep ASCII85Decoder
00005ab0 T __ZN17Pl_ASCII85Decoder5flushEv
00005c30 T __ZN17Pl_ASCII85Decoder5writeEPhi
00005be0 T __ZN17Pl_ASCII85Decoder6finishEv
00005a10 T __ZN17Pl_ASCII85DecoderC1EPKcP8Pipeline
000059b0 T __ZN17Pl_ASCII85DecoderC2EPKcP8Pipeline
00005a60 T __ZN17Pl_ASCII85DecoderD0Ev
00005a50 T __ZN17Pl_ASCII85DecoderD1Ev
00005a20 T __ZN17Pl_ASCII85DecoderD2Ev
000aedb0 S __ZTI17Pl_ASCII85Decoder
000895f0 S __ZTS17Pl_ASCII85Decoder
000aedc0 S __ZTV17Pl_ASCII85Decoder
pete 248 /\ nm -p /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-3.0.2/libqpdf/build/.libs/libqpdf.8.dylib | grep ASCII85Decoder
000082e0 T __ZN17Pl_ASCII85Decoder5flushEv
00008460 T __ZN17Pl_ASCII85Decoder5writeEPhm
00008410 T __ZN17Pl_ASCII85Decoder6finishEv
00008240 T __ZN17Pl_ASCII85DecoderC1EPKcP8Pipeline
000081e0 T __ZN17Pl_ASCII85DecoderC2EPKcP8Pipeline
00008290 T __ZN17Pl_ASCII85DecoderD0Ev
00008280 T __ZN17Pl_ASCII85DecoderD1Ev
00008250 T __ZN17Pl_ASCII85DecoderD2Ev
000c6e70 S __ZTI17Pl_ASCII85Decoder
0009d2d0 S __ZTS17Pl_ASCII85Decoder
000c6e80 S __ZTV17Pl_ASCII85Decoder

Attachments (2)

main.log (43.5 KB) - added by ballapete (Peter "Pete" Dyballa) 12 years ago.
main.log
main.2.log (43.5 KB) - added by ballapete (Peter "Pete" Dyballa) 11 years ago.
main.log from qpdf-5.1.0 build

Download all attachments as: .zip

Change History (11)

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

Attachment: main.log added

main.log

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

See also #37508 for issues building this version of QPDF on a 64-bit Mac.

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

Cc: michelle.lynn.gill@… added

Cc Me!

comment:3 Changed 11 years ago by ci42

Cc: dojo@… removed
Resolution: wontfix
Status: newclosed

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

comment:4 in reply to:  3 Changed 11 years ago by ballapete (Peter "Pete" Dyballa)

Replying to ciserlohn@…:

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

I have a similar problem with version 5.1.0:

/usr/bin/g++-4.2 -Os -arch ppc -Wold-style-cast -Wall -MD -MF libtests/build/aes.dep -MP -Iinclude -Ilibqpdf -I/opt/local/include -c libtests/aes.cc -o libtests/build/aes.o
/bin/bash ./libtool --mode=link /usr/bin/g++-4.2 -Os -arch ppc -Wold-style-cast -Wall libtests/build/aes.o -o libtests/build/aes -lpcre -lz  -lqpdf -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -Llibqpdf/build
libtool: link: /usr/bin/g++-4.2 -Os -arch ppc -Wold-style-cast -Wall libtests/build/aes.o -o libtests/build/aes -Wl,-headerpad_max_install_names -arch ppc  /opt/local/lib/libpcre.dylib -lz -lqpdf -L/opt/local/lib -Llibqpdf/build
Undefined symbols:
  "Pl_AES_PDF::disablePadding()", referenced from:
      _main in aes.o
  "QUtil::safe_fopen(char const*, char const*)", referenced from:
      _main in aes.o
      _main in aes.o
  "Pl_AES_PDF::useZeroIV()", referenced from:
      _main in aes.o
  "Pl_AES_PDF::Pl_AES_PDF(char const*, Pipeline*, bool, unsigned char const*, unsigned int)", referenced from:
      _main in aes.o
ld: symbol(s) not found

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

Attachment: main.2.log added

main.log from qpdf-5.1.0 build

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

Cc: michelle.lynn.gill@… removed

Cc Me!

comment:6 Changed 11 years ago by ballapete (Peter "Pete" Dyballa)

Resolution: wontfix
Status: closedreopened

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

Keywords: leopard powerpc added

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

In version @5.1.0 this problem was solved obviously, the versions @10.3.1, @10.3.2, and @10.4.0 built correctly as well, so this ticket can be closed now.

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

Resolution: fixed
Status: reopenedclosed

thx

Note: See TracTickets for help on using tickets.