From owner-svn-ports-head@freebsd.org Tue Feb 23 12:42:44 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 D7B29542760; Tue, 23 Feb 2021 12:42:44 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4DlJc40hyNz3Bny; Tue, 23 Feb 2021 12:42:43 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 851AE33E70; Tue, 23 Feb 2021 07:42:43 -0500 (EST) Received: from [192.168.1.5] (77.118.111.172.wireless.dyn.drei.com [77.118.111.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 5F9D233E53; Tue, 23 Feb 2021 07:42:42 -0500 (EST) Date: Tue, 23 Feb 2021 13:42:34 +0100 (CET) From: Gerald Pfeifer To: Thomas Vogt cc: Alexey Dokuchaev , Li-Wen Hsu , michael@fuckner.net, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r540710 - head/sysutils/arcconf In-Reply-To: <9F1E8D36-EC64-47A6-A453-8442BC819D29@bsdunix.ch> Message-ID: <2c409df4-f4e-dd6a-9688-abae25132de7@pfeifer.com> References: <202006281346.05SDkfaS050010@repo.freebsd.org> <3c213f5-9fb6-c09c-e436-7d4d95619d46@pfeifer.com> <20210203104306.GA8202@FreeBSD.org> <9F1E8D36-EC64-47A6-A453-8442BC819D29@bsdunix.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4DlJc40hyNz3Bny X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gerald@pfeifer.com designates 209.68.5.143 as permitted sender) smtp.mailfrom=gerald@pfeifer.com X-Spamd-Result: default: False [-1.31 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[gerald]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:hamza.pair.com:c]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[pfeifer.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.68.5.143:from]; NEURAL_SPAM_SHORT(0.99)[0.991]; SPAMHAUS_ZRD(0.00)[209.68.5.143:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7859, ipnet:209.68.0.0/18, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[svn-ports-all,svn-ports-head] 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: Tue, 23 Feb 2021 12:42:44 -0000 On Wed, 3 Feb 2021, Thomas Vogt wrote: >>>> - Update Makefile to use current version of GCC as defined in >>>> bsd.default-versions.mk. (USE_GCC=yes) >>> ... >>>> LIB_DEPENDS= libstdc++.so.6:lang/gcc${GCC_DEFAULT} >>>> +USE_GCC= yes >>> This looks very (very) odd. >>> >>> USE_GCC already implies a run-time dependency on lang/gcc${GCC_DEFAULT} >>> and I do not recall seeing such a LIB_DEPENDS before. >>> >>> Are you sure this is really, really needed with USE_GCC=yes? >> I believe, seeing NO_BUILD=yes, 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). 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 >= > GLIBCXX_3.4.11. Thats the reason why gcc was added. So I am wondering: Isn't USE_GCC=yes sufficient? USE_GCC=yes implies RUN_DEPENDS+= ${CC}:lang/gcc${GCC_DEFAULT} which pulls in lang/gcc${GCC_DEFAULT} and its run-time libraries at run time. The LIB_DEPENDS statement above does not add to that. Gerald