From nobody Fri Oct 20 16:26:13 2023 X-Original-To: dev-commits-ports-main@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 4SBqhj4lk7z4xyQh; Fri, 20 Oct 2023 16:26:13 +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 4SBqhj2qVzz3N2r; Fri, 20 Oct 2023 16:26:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697819173; 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=easf4geF/snpXyiZEjTXG6evmhRqNcy5x6JJzZ1Rn4s=; b=b51hZdZ7wYxuCw4Swsn0J8GBjQ1/eEBe6oruZssesLPdcICuNb6CH/vQ/bd9tyRNyZ5Loz hED69bC7UBLUlb8LAbU4kmizE3VoA0tPFOJFkO7uC/LtNAcT/sBJ/ctTgwPL3FlR3XMn9B /QdhfgTC5ih93nzMyd8YnfdePIYcpKOEyR3fX0Fv5DZqael/YTNVFWlp8AHLdcOGvnHUNf B/Zw4oAUEBgmXRlvJlkY5bJYx4/WLC9bE6ZaL1rbHGF4zJTyaXz+3I8xH995rErFNU0fVy Jzeqjh7OujIT3SqzrECB14l8uVatvQ4U6gAQxa26BKDt/gJkW/+gSRSz9i3CKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697819173; a=rsa-sha256; cv=none; b=Yw56Xe9cUw3TCglDjfrqmFVZaEmIewL5StD8mVuvxdKfZGwI3P1kJnUPnUbkN4YAeT7AJw +FA1lfUE8awoVSZthUDLZAHt7OvW30QC/kJLyDhlLttZR3p0vuq1YeDOx17DOjoj1qp+2A U6N0F//6CpP1C/Un/mlbhjuH3wPDS0zB06d4HdaXxgfeFr814uTjFZsh6rQkH62m30sd91 2rgRDdlSHPu00SKfYiKe+A/Ywb/83d1yahYn6XqDbwkK3homi3c3O3eQ7jvDtNqX4Vsz3z p9uCrKwDUE0iGGBHET1bTm7YoGUtoAUBepGnJKSr2ChJ1u7E4igUxR/xT4jkzA== 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=1697819173; 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=easf4geF/snpXyiZEjTXG6evmhRqNcy5x6JJzZ1Rn4s=; b=jEFgZ/+MH+p+G9z+FZaYx+VuxdoylmC6+5bQdoPTrZuGBOqVSpDBdKA6kK5KMQg31JJLZX Bwx864TlvAe9sau34bY0jNoZwn0dZ242Z0NlmkvwpWR1icManwc76EpTSni8MQlyL6rJgz wFFqeARMTo+MttNB1qYyl1NrXxdQYWrE+otZHqQln4MZB8EPdR7BhvsdMhU/AixTYl/sKO Q7SMWUdk6eSjUG1OK+gocrnYSM+isfq1twutRDeKm8KG+CEkCFwzr9NMO4DrenpeoD29dD w0JoFDICCvmtipeRPvj5HBiYvHzMijSW2BSHyckyvGlHnX46JeRGce/iRTLs4w== 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 4SBqhj1vc5zg5s; Fri, 20 Oct 2023 16:26:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39KGQD3G073156; Fri, 20 Oct 2023 16:26:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39KGQDhe073152; Fri, 20 Oct 2023 16:26:13 GMT (envelope-from git) Date: Fri, 20 Oct 2023 16:26:13 GMT Message-Id: <202310201626.39KGQDhe073152@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: a47b90ce1845 - main - databases/firebird30-server: fix build with lld 17 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a47b90ce18451bb618092ac1d80588af0c5193a9 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=a47b90ce18451bb618092ac1d80588af0c5193a9 commit a47b90ce18451bb618092ac1d80588af0c5193a9 Author: Dimitry Andric AuthorDate: 2023-10-07 15:20:24 +0000 Commit: Dimitry Andric CommitDate: 2023-10-20 16:25:47 +0000 databases/firebird30-server: fix build with lld 17 Building databases/firebird30-server with lld 17 results in the following link error: c++ -O2 -pipe -DAMD64 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=gnu++03 -fstack-protector-strong -L/usr/local/lib -D_THREAD_SAFE -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/libexec/firebird/intl -Wl,--version-script,empty.vers -Wl,-rpath,../gen/firebird/lib /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/c_cxx.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/cmd.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/cme.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/cmp.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/exp.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/gpre.o /wrkdirs/share/d im/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/hsh.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/int_cxx.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/jrdmet.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/movg.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/msc.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/obj_cxx.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/par.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/pat.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/sqe.o /wrkdirs/share/dim/ports/databases/firebird30-c lient/work/Firebird-3.0.10.33601-0/temp/Rele! ase/gpre/sql.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/boot/gpre_meta_boot.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/yvalve/gds.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/common.a -o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/gen/Release/firebird/bin/gpre_boot -L/wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/gen/Release/firebird/lib -liconv -lm -lpthread -lcurses ld: error: version script assignment of 'global' to symbol '_IO_stdin_used' failed: symbol not defined c++: error: linker command failed with exit code 1 (use -v to see invocation) The mentioned symbol is only relevant for Linux. Remove it from the builds/posix/vers.sh.in script that generates the linker version script. PR: 274335 Approved by: maintainer timeout (2 weeks) MFH: 2023Q4 --- .../firebird30-server/files/patch-builds_posix_vers.sh.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/databases/firebird30-server/files/patch-builds_posix_vers.sh.in b/databases/firebird30-server/files/patch-builds_posix_vers.sh.in new file mode 100644 index 000000000000..da2abd316bb7 --- /dev/null +++ b/databases/firebird30-server/files/patch-builds_posix_vers.sh.in @@ -0,0 +1,10 @@ +--- builds/posix/vers.sh.in.orig 2022-06-07 08:18:52 UTC ++++ builds/posix/vers.sh.in +@@ -57,7 +57,6 @@ platform_linux() { + echo "${TAB}$i;" + done + +- echo "${TAB}_IO_stdin_used;" + echo 'local:' + echo "${TAB}*;" + echo '};'