[MacPorts] #67977: gtk4 uses Linux flags on Mac which breaks the build

MacPorts noreply at macports.org
Thu Aug 17 08:09:43 UTC 2023


#67977: gtk4 uses Linux flags on Mac which breaks the build
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  mascguy
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  gtk4
--------------------------+----------------------
 {{{
 :info:build FAILED: testsuite/gtk/builder
 :info:build /opt/local/bin/gcc-mp-12  -o testsuite/gtk/builder
 testsuite/gtk/builder.p/builder.c.o -L/opt/local/lib -I/opt/local/include
 -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
 -Wl,-undefined,error -Wl,-headerpad_max_install_names
 -lMacportsLegacySupport -arch ppc -pipe -Os -arch ppc
 -Wl,-rpath, at loader_path/../../gtk gtk/libgtk-4.1.dylib -Wl,-export_dynamic
 /opt/local/lib/libgmodule-2.0.dylib /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/libpangocairo-1.0.dylib
 /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libharfbuzz.dylib
 /opt/local/lib/libcairo.dylib /opt/local/lib/libfribidi.dylib
 /opt/local/lib/libcairo-gobject.dylib /opt/local/lib/libfontconfig.dylib
 /opt/local/lib/libfreetype.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib
 /opt/local/lib/libepoxy.dylib -lm /opt/local/lib/libgraphene-1.0.dylib
 /opt/local/lib/libXi.dylib /opt/local/lib/libX11.dylib
 /opt/local/lib/libpangoft2-1.0.dylib -lintl /opt/local/lib/libpng16.dylib
 /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib
 /opt/local/lib/libXrender.dylib /opt/local/lib/libXext.dylib
 /opt/local/lib/libXcursor.dylib /opt/local/lib/libXdamage.dylib
 /opt/local/lib/libXfixes.dylib /opt/local/lib/libXrandr.dylib
 /opt/local/lib/libXinerama.dylib -lcairo-script-interpreter
 :info:build ld: unknown option: -export_dynamic
 :info:build collect2: error: ld returned 1 exit status
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67977>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list