From owner-dev-commits-ports-all@freebsd.org Tue Jun 1 14:16:49 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C821654D4E; Tue, 1 Jun 2021 14:16:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FvZ3P3KcSz3Hrq; Tue, 1 Jun 2021 14:16:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5913824EEB; Tue, 1 Jun 2021 14:16:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 151EGnsV050785; Tue, 1 Jun 2021 14:16:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 151EGn8H050784; Tue, 1 Jun 2021 14:16:49 GMT (envelope-from git) Date: Tue, 1 Jun 2021 14:16:49 GMT Message-Id: <202106011416.151EGn8H050784@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 1dd78a56c40c - main - x11-toolkits/gtk40: unbreak on FreeBSD < 12 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1dd78a56c40c6e850f811fb007d433756c2db458 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2021 14:16:49 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=1dd78a56c40c6e850f811fb007d433756c2db458 commit 1dd78a56c40c6e850f811fb007d433756c2db458 Author: Jan Beich AuthorDate: 2021-06-01 13:52:36 +0000 Commit: Jan Beich CommitDate: 2021-06-01 14:14:53 +0000 x11-toolkits/gtk40: unbreak on FreeBSD < 12 FAILED: tools/gtk4-encode-symbolic-svg cc -o tools/gtk4-encode-symbolic-svg tools/gtk4-encode-symbolic-svg.p/encodesymbolic.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group -lexecinfo -fstack-protector-strong gtk/libgtk.a gtk/css/libgtk_css.a gdk/libgdk.a gdk/broadway/libgdk-broadway.a gdk/wayland/libgdk-wayland.a gdk/wayland/cursor/libwayland+cursor.a gdk/x11/libgdk-x11.a gsk/libgsk.a -Wl,-Bsymbolic -Wl,-z,relro -Wl,-z,now -Wl,--export-dynamic /usr/local/lib/libgmodule-2.0.so -pthread /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgio-2.0.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libharfbuzz.so /usr/local/lib/libcairo.so -lpthread /usr/local/lib/libfribidi.so /usr/local/lib/libcairo-gobject.so /usr/local/lib/libfontconfig.so /usr/local/lib/libfreetype.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libepoxy.so -lm /usr/local/lib/libgraphene-1.0.so /usr/local/lib/libpangoft2-1.0.so /usr/local/l ib/libXi.so /usr/local/lib/libX11.so /usr/local/lib/libxkbcommon.so /usr/local/lib/libwayland-client.so /usr/local/lib/libwayland-egl.so /usr/local/lib/libXrender.so /usr/local/lib/libXext.so /usr/local/lib/libXcursor.so /usr/local/lib/libXdamage.so /usr/local/lib/libXfixes.so /usr/local/lib/libXcomposite.so /usr/local/lib/libXrandr.so /usr/local/lib/libXinerama.so /usr/local/lib/libcairo-script-interpreter.so -Wl,--end-group /usr/bin/ld: undefined reference to symbol `g_module_symbol' (try adding -lgmodule-2.0) /usr/local/lib/libgmodule-2.0.so: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error code 1 Reported by: pkg-fallout --- x11-toolkits/gtk40/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile index a050050b7b58..7336c818adeb 100644 --- a/x11-toolkits/gtk40/Makefile +++ b/x11-toolkits/gtk40/Makefile @@ -43,6 +43,11 @@ GLIB_SCHEMAS= org.gtk.Demo4.gschema.xml \ org.gtk.gtk4.Settings.EmojiChooser.gschema.xml \ org.gtk.gtk4.Settings.FileChooser.gschema.xml +.if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld +# undefined reference to symbol `g_module_symbol' (try adding -lgmodule-2.0) +LDFLAGS+= -fuse-ld=lld +.endif + OPTIONS_DEFINE= CUPS CLOUDPRINT COLORD DEBUG BROADWAY FFMPEG \ GSTREAMER VULKAN WAYLAND X11 OPTIONS_DEFAULT=CUPS COLORD BROADWAY WAYLAND X11