From nobody Thu Sep 21 08:47:00 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RrptD4sFQz4tnZJ for ; Thu, 21 Sep 2023 08:47:00 +0000 (UTC) (envelope-from bugzilla-noreply@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 4RrptD2xtfz4PbC for ; Thu, 21 Sep 2023 08:47:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695286020; a=rsa-sha256; cv=none; b=Q9fEP7NrAlv1mf/z9aEycvIw31+9zXQoTHrcwJg4HHWtNJtkYKVdKGQ0SzbtGRlQrLF5mp i71E5DfUEA/6YIcjvy6aS8aFUkCzbrTkeuXBvWsc0Y0ujbpLBN10kBEdEmCrmvcwUz6PUP n1L+s8wbHHdPHe/my5Cf9QoeWVGLF7UOOyOn+99wmW8nYZsApBLUb0tJ23cQMXxQNblWbY BeyIrj/TVm33i/kxXJ4vvFqGAI+hcAETtoSvX8ETV0/vpvhlwgcAcjUF9Ed2oui7/mHFVP iYpFHOoLfi4uY22vtEObZXaEsjW3or/J2ovV2hcxMWmFGJFs5OhRrRUh0b6jFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695286020; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ygSwxkYCPYgjaaGjs9xOQ5D/1yU/IFcuhCizMRuHQGg=; b=KOtkNbAHDMCxblhpx4Z43wjBFgGFyzEUX08vh8cZBoaafnMuGBZDuQcpnaUzRNZPxX/3DB pMpTFKCHM+DoykBGDLvK7gvnTHa/Kka1GfJnqb5y8psgvcI8hsWI8B2R1ay2GbVPVJbZf7 dNXu3NQ+T3AMgUAOO+Ayr08oGmAi/PlWC+v0CpIPtzQiq9LGZ7nSsql+/+tuzF4O01W8kA mW/xCBnAI/Q9a+l3vmZgu0cs2A5elwbZCjhCsQggFP7us3XGCCcommghern3ZyiFX2tNHG iCMmk0ot3GlgO1eoZvYA8JhQhVsfGcv+jqSgKF2l7j7A3eKG+lvm1H83rhQnHQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4RrptD21g0zXYX for ; Thu, 21 Sep 2023 08:47:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38L8l0YN031101 for ; Thu, 21 Sep 2023 08:47:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38L8l0xY031100 for ports-bugs@FreeBSD.org; Thu, 21 Sep 2023 08:47:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 273992] qt-dist.mk: suppress linker version script errors with lld >= 17 Date: Thu, 21 Sep 2023 08:47:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273992 Bug ID: 273992 Summary: qt-dist.mk: suppress linker version script errors with lld >=3D 17 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: dim@FreeBSD.org CC: ports-bugs@FreeBSD.org Qt uses generated linker version scripts which always have a qt_version_tag symbol, but that symbol is only defined in the main Qt shared library. For other Qt components, this leads to lld >=3D 17 erroring out due to the symb= ol being undefined. Suppress these errors from qt-dist.mk, so we don't have to patch each individual port. This affects at least: * devel/qt5-dbus * net/qt5-network * databases/qt5-sql which were the first ones to fall over with a clang+lld 17 poudriere bulk r= un. For reference, the error you would see looks like: ... c++ -Wl,--as-needed -fstack-protector-strong -Wl,--no-undefined -Wl,--version-script,QtDBus.version -pthread -Wl,-rpath,/usr/local/lib/qt5 -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5DBus.so.5 -o libQt5DBus.so.5.15.8 .obj/qdbusconnection.o .obj/qdbusconnectioninterface.= o=20 .obj/qdbuserror.o .obj/qdbusintegrator.o .obj/qdbusmessage.o=20 .obj/qdbusserver.o .obj/qdbusabstractinterface.o .obj/qdbusinterface.o=20 .obj/qdbusxmlparser.o .obj/qdbusutil.o .obj/qdbusintrospection.o=20 .obj/qdbusabstractadaptor.o .obj/qdbusinternalfilters.o=20 .obj/qdbusmetaobject.o .obj/qdbusxmlgenerator.o .obj/qdbusmisc.o=20 .obj/qdbusargument.o .obj/qdbusreply.o .obj/qdbusmetatype.o=20 .obj/qdbusextratypes.o .obj/qdbuscontext.o .obj/qdbuspendingcall.o=20 .obj/qdbuspendingreply.o .obj/qdbus_symbols.o .obj/qdbusservicewatcher.o= =20 .obj/qdbusunixfiledescriptor.o .obj/qdbusvirtualobject.o=20 .obj/moc_qdbusconnectioninterface.o .obj/moc_qdbuserror.o=20 .obj/moc_qdbusconnection.o .obj/moc_qdbusabstractadaptor.o=20 .obj/moc_qdbusvirtualobject.o .obj/moc_qdbusconnection_p.o=20 .obj/moc_qdbusconnectionmanager_p.o .obj/moc_qdbuspendingcall_p.o=20 -L/wrkdirs/usr/ports/devel/qt5-dbus/work/kde-qtbase-5.15.8p157/lib /usr/local/lib/qt5/libQt5Core.so -L/usr/local/lib -ldbus-1=20 ld: error: version script assignment of 'Qt_5.15' to symbol 'qt_version_tag' failed: symbol not defined c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) --=20 You are receiving this mail because: You are on the CC list for the bug.=