Opened 12 months ago

Closed 45 hours ago

#68694 closed defect (fixed)

xercesc3 @3.2.4_2+universal: Undefined symbols

Reported by: sudheerhebbale (Sudheer Hebbale) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc: scantor (Scott Cantor)
Port: xercesc3

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The following log gets generated

Attempting to fetch xercesc3-3.2.4_2+universal.darwin_23.arm64-x86_64.tbz2 from https://kmq.jp.packages.macports.org/xercesc3
Building xercesc3
Error: Failed to build xercesc3: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xercesc3/xercesc3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Attachments (1)

main.log (1.1 MB) - added by sudheerhebbale (Sudheer Hebbale) 12 months ago.

Download all attachments as: .zip

Change History (9)

Changed 12 months ago by sudheerhebbale (Sudheer Hebbale)

Attachment: main.log added

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

Description: modified (diff)
Keywords: sonoma added
Port: xercesc3 added
Summary: Unable to install xercesc3 on macOS 14.1.1xercesc3 @3.2.4_2+universal: Undefined symbols
Version: 2.8.1

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

Cc: scantor added
Owner: set to nerdling
Status: newassigned

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

Do you still see this problem with the current version? I was able to build xercesc3 @3.3.0_1+universal for arm64 + x86_64 on macOS 12 x86_64.

comment:4 Changed 4 days ago by sudheerhebbale (Sudheer Hebbale)

Yes build (sudo port install xercesc3 +universal) for xerxesc3 still fails

The last porttion of the log generated is as follows

:info:build "typeinfo for xercesc_3_2::XMLException", referenced from: :info:build GCC_except_table3 in PSVIWriter.o :info:build typeinfo for xercesc_3_2::ArrayIndexOutOfBoundsException in PSVIWriterHandlers.o :info:build typeinfo for xercesc_3_2::NoSuchElementException in PSVIWriterHandlers.o :info:build typeinfo for xercesc_3_2::EmptyStackException in PSVIWriterHandlers.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[2]: * [PSVIWriter] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports. org_macports_release_tarballs_ports_textproc_xercesc3/xercesc3/work/xerces-c-3.2.4/samples' :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_macports_release_tarballs_ports_textproc_xercesc3/xercesc3/work/xerces-c-3.2.4' :info:build make: * [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports. org_macports_release_tarballs_ports_textproc_xercesc3/xercesc3/work/xerces-c-3.2.4' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports. org_macports_release_tarballs_ports_textproc_xercesc3/xercesc3/work/xerces-c-3.2.4" && /usr/bin/make -j10 -w all :info:build Exit code: 2 :error:build Failed to build xercesc3: command execution failed :debug:build Error code: CHILDSTATUS 57865 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports. org_macports_release_tarballs_ports_textproc_xercesc3/xercesc3/main.log for details.

Version 0, edited 4 days ago by sudheerhebbale (Sudheer Hebbale) (next)

comment:5 in reply to:  4 Changed 3 days ago by ryandesign (Ryan Carsten Schmidt)

Replying to sudheerhebbale:

:info:build   "typeinfo for xercesc_3_2::XMLException", referenced from:

I don't think you should be seeing any symbols whose names contain 3_2 with version 3.3.x. Are you sure your portfiles are up to date? Try:

sudo port clean xercesc3
sudo port selfupdate
sudo port install xercesc3 +universal

comment:6 Changed 3 days ago by scantor (Scott Cantor)

Indeed, those symbols are auto-namespaced by the build and are all bumped to 3_3 at compile time.

comment:7 Changed 3 days ago by sudheerhebbale (Sudheer Hebbale)

With the above, the issue is resolved

comment:8 Changed 45 hours ago by ryandesign (Ryan Carsten Schmidt)

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