Opened 3 years ago

Closed 3 years ago

#64310 closed defect (worksforme)

zvbi undefined symbol

Reported by: dershow Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: zvbi

Description

I'm trying to upgrade zvbi (as a dependent from something else) from 0.2.35_0 to 0.2.35_2 and it's failing.

I'll attach the log file, but here's the important part:

:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -D_REENTRANT -D_GNU_SOURCE -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk --param max-inline-insns-single=50000 --param large-function-insns=150000 --param inline-unit-growth=30000 --param large-function-growth=30000 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -MT libzvbiinline_la-exp-gfx.lo -MD -MP -MF .deps/libzvbiinline_la-exp-gfx.Tpo -c exp-gfx.c -o libzvbiinline_la-exp-gfx.o >/dev/null 2>&1
:info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/clang  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -o libzvbiinline.la   libzvbiinline_la-decoder.lo libzvbiinline_la-exp-gfx.lo  -L/opt/local/lib -lintl -Wl,-framework -Wl,CoreFoundation -lpthread  -lm /opt/local/lib/libiconv.dylib -lpng -lz
:info:build libtool: link: ar cru .libs/libzvbiinline.a .libs/libzvbiinline_la-decoder.o .libs/libzvbiinline_la-exp-gfx.o 
:info:build libtool: link: ranlib .libs/libzvbiinline.a
:info:build libtool: link: ( cd ".libs" && rm -f "libzvbiinline.la" && ln -s "../libzvbiinline.la" "libzvbiinline.la" )
:info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/clang  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -o libzvbi.la -rpath /opt/local/lib -version-info 13:2:13 bit_slicer.lo cache.lo caption.lo cc608_decoder.lo conv.lo dvb_mux.lo dvb_demux.lo event.lo exp-html.lo exp-templ.lo exp-txt.lo exp-vtx.lo export.lo hamm.lo idl_demux.lo io.lo io-bktr.lo io-dvb.lo io-sim.lo io-v4l.lo io-v4l2.lo io-v4l2k.lo lang.lo misc.lo packet.lo teletext.lo packet-830.lo page_table.lo pdc.lo pfc_demux.lo proxy-client.lo raw_decoder.lo sampling_par.lo search.lo ure.lo sliced_filter.lo tables.lo trigger.lo vbi.lo vps.lo wss.lo xds_demux.lo  libzvbiinline.la -L/opt/local/lib -lintl -Wl,-framework -Wl,CoreFoundation -lpthread  -lm /opt/local/lib/libiconv.dylib -lpng -lz  -L/opt/local/lib -lintl -Wl,-framework -Wl,CoreFoundation -lpthread  -lm /opt/local/lib/libiconv.dylib -lpng -lz
:info:build libtool: link: (cd .libs/libzvbi.lax/libzvbiinline.a && ar x "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35/src/./.libs/libzvbiinline.a")
:info:build libtool: link: /usr/bin/clang -dynamiclib  -o .libs/libzvbi.0.dylib  .libs/bit_slicer.o .libs/cache.o .libs/caption.o .libs/cc608_decoder.o .libs/conv.o .libs/dvb_mux.o .libs/dvb_demux.o .libs/event.o .libs/exp-html.o .libs/exp-templ.o .libs/exp-txt.o .libs/exp-vtx.o .libs/export.o .libs/hamm.o .libs/idl_demux.o .libs/io.o .libs/io-bktr.o .libs/io-dvb.o .libs/io-sim.o .libs/io-v4l.o .libs/io-v4l2.o .libs/io-v4l2k.o .libs/lang.o .libs/misc.o .libs/packet.o .libs/teletext.o .libs/packet-830.o .libs/page_table.o .libs/pdc.o .libs/pfc_demux.o .libs/proxy-client.o .libs/raw_decoder.o .libs/sampling_par.o .libs/search.o .libs/ure.o .libs/sliced_filter.o .libs/tables.o .libs/trigger.o .libs/vbi.o .libs/vps.o .libs/wss.o .libs/xds_demux.o   .libs/libzvbi.lax/libzvbiinline.a/libzvbiinline_la-decoder.o .libs/libzvbi.lax/libzvbiinline.a/libzvbiinline_la-exp-gfx.o   -L/opt/local/lib -lintl -lpthread -lm -lpng -lz  -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreFoundation   -install_name  /opt/local/lib/libzvbi.0.dylib -compatibility_version 14 -current_version 14.2 -Wl,-single_module
:info:build Undefined symbols for architecture x86_64:
:info:build   "_libiconv", referenced from:
:info:build       _iconv_ucs2 in conv.o
:info:build       __vbi_iconv_open in conv.o
:info:build       __vbi_strndup_iconv in conv.o
:info:build       _export in exp-html.o
:info:build       _print_unicode in exp-txt.o
:info:build       _vbi_ucs2be in export.o
:info:build   "_libiconv_close", referenced from:
:info:build       __vbi_iconv_close in conv.o
:info:build       _export in exp-html.o
:info:build       _vbi_print_page_region in exp-txt.o
:info:build       _export in exp-txt.o
:info:build       _vbi_ucs2be in export.o
:info:build   "_libiconv_open", referenced from:
:info:build       __vbi_iconv_open in conv.o
:info:build       _export in exp-html.o
:info:build       _vbi_print_page_region in exp-txt.o
:info:build       _export in exp-txt.o
:info:build       _vbi_ucs2be in export.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[4]: *** [libzvbi.la] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35/src'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35/src'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35" && /usr/bin/make -j16 -w all 
:info:build Exit code: 2
:error:build Failed to build zvbi: command execution failed

Attachments (1)

main.log (103.2 KB) - added by dershow 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by dershow

Attachment: main.log added

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: set to mascguy
Status: newassigned
Version: 2.7.1

That was fixed earlier today. Resync your ports, and try again.

comment:2 Changed 3 years ago by dershow

Yes. Fixed now. Thank you.

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

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