[MacPorts] #67715: libxc{5,6}: xc-info is linked incorrectly

MacPorts noreply at macports.org
Wed Jul 5 09:51:13 UTC 2023


#67715: libxc{5,6}: xc-info is linked incorrectly
----------------------------+---------------------
  Reporter:  ftroisi        |      Owner:  mascguy
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.8.1
Resolution:  fixed          |   Keywords:
      Port:  libxc5 libxc6  |
----------------------------+---------------------

Comment (by barracuda156):

 What do I do wrong?
 {{{
 libtool: link: /opt/local/bin/gcc-mp-12 -pipe -Os -arch ppc
 -Wl,-headerpad_max_install_names -Wl,-rpath -Wl,/opt/local/lib/libgcc
 -arch ppc -o xc-consistency xc_consistency-xc-consistency.o
 -L/opt/local/lib -L../src/ /opt/local/lib/libxc.a -lm
 Undefined symbols:
   "_libxc_free", referenced from:
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _free_memory in xc_regression-xc-regression.o
       _drop_laplacian in xc_regression-xc-regression.o
       _drop_laplacian in xc_regression-xc-regression.o
       _drop_laplacian in xc_regression-xc-regression.o
       _drop_laplacian in xc_regression-xc-regression.o
       _drop_laplacian in xc_regression-xc-regression.o
       _drop_laplacian in xc_regression-xc-regression.o
 Undefined symbols:
   "_xc_mgga_vars_free_all", referenced from:
       _main in xc_get_data-xc-get_data.o
   "_xc_mgga_vars_allocate_all", referenced from:
       _main in xc_get_data-xc-get_data.o
   "_xc_mgga_evaluate_functional", referenced from:
       _main in xc_get_data-xc-get_data.o
 ld: symbol(s) not found
 collect2: error: ld returned 1 exit status
 ld: symbol(s) not found
 collect2: error: ld returned 1 exit status
 make[3]: *** [xc-regression] Error 1
 make[3]: *** Waiting for unfinished jobs....
 make[3]: *** [xc-get_data] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libxc6/libxc6/work/libxc-6.2.2/testsuite'
 make[2]: *** [all-recursive] Error 1
 }}}
 This did not happen before – earlier the port built through completion,
 but then port scan complained and wanted to rebuild. Now it just fails.

-- 
Ticket URL: <https://trac.macports.org/ticket/67715#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list