From owner-svn-ports-head@freebsd.org Wed Feb 3 17:11:50 2021 Return-Path: Delivered-To: svn-ports-head@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 D32C553D338; Wed, 3 Feb 2021 17:11:50 +0000 (UTC) (envelope-from thomas@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4DW7Wm6RK1z3Bm0; Wed, 3 Feb 2021 17:11:47 +0000 (UTC) (envelope-from thomas@bsdunix.ch) Received: from robin.localdomain (dynamic-82-220-88-108.ftth.solnet.ch [82.220.88.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.bsdunix.ch (Postfix) with ESMTPSA id 4DW7WZ54yjz1B1M; Wed, 3 Feb 2021 17:11:38 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: svn commit: r540710 - head/sysutils/arcconf From: Thomas Vogt In-Reply-To: <20210203104306.GA8202@FreeBSD.org> Date: Wed, 3 Feb 2021 18:11:38 +0100 Cc: Li-Wen Hsu , michael@fuckner.net, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9F1E8D36-EC64-47A6-A453-8442BC819D29@bsdunix.ch> References: <202006281346.05SDkfaS050010@repo.freebsd.org> <3c213f5-9fb6-c09c-e436-7d4d95619d46@pfeifer.com> <20210203104306.GA8202@FreeBSD.org> To: Alexey Dokuchaev , Gerald Pfeifer X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Spam-Status: No, score=4.4 required=5.0 tests=AWL, BAYES_00, KHOP_HELO_FCRDNS, RCVD_IN_PBL,RDNS_DYNAMIC,SORTED_RECIPS,SPF_HELO_NONE,SPF_NEUTRAL,TW_SV autolearn=no autolearn_force=no X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on conversation.bsdunix.ch X-Rspamd-Queue-Id: 4DW7Wm6RK1z3Bm0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of thomas@bsdunix.ch designates 82.220.1.90 as permitted sender) smtp.mailfrom=thomas@bsdunix.ch X-Spamd-Result: default: False [-2.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[82.220.1.90:from]; FREEFALL_USER(0.00)[thomas]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; ARC_NA(0.00)[]; DMARC_NA(0.00)[bsdunix.ch]; SPAMHAUS_ZRD(0.00)[82.220.1.90:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9044, ipnet:82.220.0.0/16, country:CH]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[svn-ports-all,svn-ports-head]; RECEIVED_SPAMHAUS_PBL(0.00)[82.220.88.108:received] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 17:11:50 -0000 On 3 Feb 2021, at 11:43, Alexey Dokuchaev wrote: >=20 > On Wed, Feb 03, 2021 at 10:05:19AM +0100, Gerald Pfeifer wrote: >> On Sun, 28 Jun 2020, Li-Wen Hsu wrote: >>> Log: >>> Robustness fix and license updates >>>=20 >>> - Update Makefile to use current version of GCC as defined in >>> bsd.default-versions.mk. (USE_GCC=3Dyes) >> ... >>> LIB_DEPENDS=3D libstdc++.so.6:lang/gcc${GCC_DEFAULT} >>> +USE_GCC=3D yes >>=20 >> This looks very (very) odd. >>=20 >> USE_GCC already implies a run-time dependency on = lang/gcc${GCC_DEFAULT} >> and I do not recall seeing such a LIB_DEPENDS before. >>=20 >> Are you sure this is really, really needed with USE_GCC=3Dyes? >=20 > I believe, seeing NO_BUILD=3Dyes, it's because this is some sort of = binary- > only program which links against libstdc++.so.6. I can't verify = because > the distfile is ~73MB and that's a bit too much for me to download = ATM. arcconf links to libstdc++.so.6. An ancient libstdc++.so.6 version was = provided with old freebsd versions (included with an old gcc).=20 The binary failed to run with: ld-elf.so.1: /usr/lib/libstdc++.so.6: = version GLIBCXX_3.4.11 required .. Newer gcc versions from the port provided libstdc++.so.6 with >=3D = GLIBCXX_3.4.11.=20 Thats the reason why gcc was added. =20 Regards, Tom