Opened 3 years ago

Closed 3 years ago

#63326 closed defect (duplicate)

jasper @2.0.32 does not build on PPC Tiger, Mac OS X 10.4.11, because some symbols are not defined

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: tiger Cc:
Port: jasper

Description

[ 86%] Linking C shared library libjasper.dylib
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/build/src/libjasper && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/libjasper.dir/link.txt --verbose=ON
/opt/local/bin/gcc-apple-4.2 -pipe -Os -Wall -pedantic -W -Wformat -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls -DNDEBUG -arch ppc -mmacosx-version-min=10.4 -dynamiclib -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -compatibility_version 4.0.0 -current_version 5.0.0 -o libjasper.5.0.0.dylib -install_name @rpath/libjasper.4.dylib CMakeFiles/libjasper.dir/base/jas_cm.c.o CMakeFiles/libjasper.dir/base/jas_debug.c.o CMakeFiles/libjasper.dir/base/jas_getopt.c.o CMakeFiles/libjasper.dir/base/jas_icc.c.o CMakeFiles/libjasper.dir/base/jas_iccdata.c.o CMakeFiles/libjasper.dir/base/jas_image.c.o CMakeFiles/libjasper.dir/base/jas_init.c.o CMakeFiles/libjasper.dir/base/jas_malloc.c.o CMakeFiles/libjasper.dir/base/jas_seq.c.o CMakeFiles/libjasper.dir/base/jas_stream.c.o CMakeFiles/libjasper.dir/base/jas_string.c.o CMakeFiles/libjasper.dir/base/jas_tmr.c.o CMakeFiles/libjasper.dir/base/jas_tvp.c.o CMakeFiles/libjasper.dir/base/jas_version.c.o CMakeFiles/libjasper.dir/bmp/bmp_cod.c.o CMakeFiles/libjasper.dir/bmp/bmp_dec.c.o CMakeFiles/libjasper.dir/bmp/bmp_enc.c.o CMakeFiles/libjasper.dir/jp2/jp2_cod.c.o CMakeFiles/libjasper.dir/jp2/jp2_dec.c.o CMakeFiles/libjasper.dir/jp2/jp2_enc.c.o CMakeFiles/libjasper.dir/jpc/jpc_bs.c.o CMakeFiles/libjasper.dir/jpc/jpc_cs.c.o CMakeFiles/libjasper.dir/jpc/jpc_dec.c.o CMakeFiles/libjasper.dir/jpc/jpc_enc.c.o CMakeFiles/libjasper.dir/jpc/jpc_math.c.o CMakeFiles/libjasper.dir/jpc/jpc_mct.c.o CMakeFiles/libjasper.dir/jpc/jpc_mqcod.c.o CMakeFiles/libjasper.dir/jpc/jpc_mqdec.c.o CMakeFiles/libjasper.dir/jpc/jpc_mqenc.c.o CMakeFiles/libjasper.dir/jpc/jpc_qmfb.c.o CMakeFiles/libjasper.dir/jpc/jpc_t1cod.c.o CMakeFiles/libjasper.dir/jpc/jpc_t1dec.c.o CMakeFiles/libjasper.dir/jpc/jpc_t1enc.c.o CMakeFiles/libjasper.dir/jpc/jpc_t2cod.c.o CMakeFiles/libjasper.dir/jpc/jpc_t2dec.c.o CMakeFiles/libjasper.dir/jpc/jpc_t2enc.c.o CMakeFiles/libjasper.dir/jpc/jpc_tagtree.c.o CMakeFiles/libjasper.dir/jpc/jpc_tsfb.c.o CMakeFiles/libjasper.dir/jpc/jpc_util.c.o CMakeFiles/libjasper.dir/jpg/jpg_val.c.o CMakeFiles/libjasper.dir/jpg/jpg_dec.c.o CMakeFiles/libjasper.dir/jpg/jpg_enc.c.o CMakeFiles/libjasper.dir/mif/mif_cod.c.o CMakeFiles/libjasper.dir/pgx/pgx_cod.c.o CMakeFiles/libjasper.dir/pgx/pgx_dec.c.o CMakeFiles/libjasper.dir/pgx/pgx_enc.c.o CMakeFiles/libjasper.dir/pnm/pnm_cod.c.o CMakeFiles/libjasper.dir/pnm/pnm_dec.c.o CMakeFiles/libjasper.dir/pnm/pnm_enc.c.o CMakeFiles/libjasper.dir/ras/ras_cod.c.o CMakeFiles/libjasper.dir/ras/ras_dec.c.o CMakeFiles/libjasper.dir/ras/ras_enc.c.o  /opt/local/lib/libjpeg.dylib //usr/lib/libm.dylib 
Undefined symbols:
  "___builtin_unreachable", referenced from:
      _jp2_encode in jp2_enc.c.o
      _jp2_encode in jp2_enc.c.o
      _jpc_bitstream_align in jpc_bs.c.o
      _jpc_mqenc_flush in jpc_mqenc.c.o
      _JPC_NOMINALGAIN in jpc_t1cod.c.o
      _JPC_PASSTYPE in jpc_t1cod.c.o
      _jpc_initluts in jpc_t1cod.c.o
      _JPC_SEGPASSCNT in jpc_t1cod.c.o
      _JPC_SEGTYPE in jpc_t1cod.c.o
      _jpc_dec_decodecblks in jpc_t1dec.c.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [src/libjasper/libjasper.5.0.0.dylib] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/build'

Installed are:

  jpeg @9d_1 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2021-01-25T03:19:28+0100'
  libjpeg-turbo @2.1.0_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2021-06-20T01:41:45+0200'
  openjpeg @2.4.0_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2021-02-13T22:47:08+0100'

The latter two provide (a bit edited):

pete 238 /\ port contents libjpeg-turbo | grep /lib
  /opt/local/lib/libjpeg.8.2.2.dylib
  /opt/local/lib/libjpeg.8.dylib
  /opt/local/lib/libjpeg.a
  /opt/local/lib/libjpeg.dylib
  /opt/local/lib/libturbojpeg.0.2.0.dylib
  /opt/local/lib/libturbojpeg.0.dylib
  /opt/local/lib/libturbojpeg.a
  /opt/local/lib/libturbojpeg.dylib
  /opt/local/lib/pkgconfig/libjpeg.pc
  /opt/local/lib/pkgconfig/libturbojpeg.pc
pete 239 /\ port contents openjpeg | grep /lib
  /opt/local/lib/libopenjp2.2.4.0.dylib
  /opt/local/lib/libopenjp2.7.dylib
  /opt/local/lib/libopenjp2.a
  /opt/local/lib/libopenjp2.dylib
  /opt/local/lib/pkgconfig/libopenjp2.pc

IMO /opt/local/lib/libopenjp2.dylib is missing…

Attachments (1)

main.log (110.2 KB) - added by ballapete (Peter "Pete" Dyballa) 3 years ago.
Main.log from PPC Tiger

Download all attachments as: .zip

Change History (4)

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

Attachment: main.log added

Main.log from PPC Tiger

comment:1 Changed 3 years ago by evanmiller (Evan Miller)

Duplicate of #63300 (which is fixed upstream, but MacPorts will need to backport the patch)

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

Cc: jmr@… removed
Owner: set to jmroot
Status: newassigned

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

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.