Opened 4 months ago
Last modified 3 months ago
#70496 assigned defect
libvirt broken by meson on < 10.7
Reported by: | barracuda156 | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | tiger, leopard, snowleopard | Cc: | |
Port: | libvirt, meson |
Description
Now this is broken:
FAILED: tests/genericxml2xmltest /opt/local/bin/gcc-mp-14 -o tests/genericxml2xmltest tests/genericxml2xmltest.p/genericxml2xmltest.c.o -L/opt/local/lib -I/opt/local/include/LegacySupport -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-export_dynamic -Wl,-force_load tests/libtest_utils.a -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -pipe -Os -arch ppc -Wl,-rpath,@loader_path/../src src/libvirt.0.dylib -Wl,-flat_namespace -ldl /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgnutls.dylib /opt/local/lib/libxml2.dylib -lc /opt/local/lib/libyajl.dylib -Wl,-flat_namespace ld: unknown option: -export_dynamic collect2: error: ld returned 1 exit status [810/1207] /opt/local/bin/gcc-mp-14 -o tests/interfacexml2xmltest tests/interfacexml2xmltest.p/interfacexml2xmltest.c.o -L/opt/local/lib -I/opt/local/include/LegacySupport -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-export_dynamic -Wl,-force_load tests/libtest_utils.a -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -pipe -Os -arch ppc -Wl,-rpath,@loader_path/../src src/libvirt.0.dylib -Wl,-flat_namespace -ldl /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgnutls.dylib /opt/local/lib/libxml2.dylib -lc /opt/local/lib/libyajl.dylib -Wl,-flat_namespace FAILED: tests/interfacexml2xmltest /opt/local/bin/gcc-mp-14 -o tests/interfacexml2xmltest tests/interfacexml2xmltest.p/interfacexml2xmltest.c.o -L/opt/local/lib -I/opt/local/include/LegacySupport -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-export_dynamic -Wl,-force_load tests/libtest_utils.a -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -pipe -Os -arch ppc -Wl,-rpath,@loader_path/../src src/libvirt.0.dylib -Wl,-flat_namespace -ldl /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgnutls.dylib /opt/local/lib/libxml2.dylib -lc /opt/local/lib/libyajl.dylib -Wl,-flat_namespace ld: unknown option: -export_dynamic collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
Change History (4)
comment:1 follow-up: 2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 4 months ago by barracuda156
Replying to ryandesign:
This seems like a meson bug. It already doesn't install on < 10.7 because of glib2 failing to build due to the same error; #70386.
It certainly is a meson bug. Broken by https://github.com/mesonbuild/meson/pull/13291 They may accept the fix, if someone knows how to do it.
comment:3 Changed 3 months ago by barracuda156
Port: | meson added |
---|
comment:4 Changed 3 months ago by Sergey Fedorov <barracuda@…>
Note: See
TracTickets for help on using
tickets.
This seems like a meson bug. It already doesn't install on < 10.7 because of glib2 failing to build due to the same error; #70386.