From owner-freebsd-ports@freebsd.org Sat Aug 22 14:22:53 2020 Return-Path: Delivered-To: freebsd-ports@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 279FB3BD1F5 for ; Sat, 22 Aug 2020 14:22:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BYgb10BDRz4hmv; Sat, 22 Aug 2020 14:22:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id C180E15C7A; Sat, 22 Aug 2020 14:22:52 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::b4b9:505e:3ee8:ae14] (unknown [IPv6:2001:470:7a58:0:b4b9:505e:3ee8:ae14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id AD90863A05; Sat, 22 Aug 2020 16:22:51 +0200 (CEST) From: Dimitry Andric Message-Id: <9A44A7E3-B911-4D40-B34F-FC1A9E844D31@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_DC73F1F1-794E-4652-AEBB-1F4192D15149"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: pkg-fallout: duplicate symbols? Date: Sat, 22 Aug 2020 16:22:51 +0200 In-Reply-To: Cc: freebsd-ports@freebsd.org To: Christian Weisgerber References: X-Mailer: Apple Mail (2.3445.104.15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2020 14:22:53 -0000 --Apple-Mail=_DC73F1F1-794E-4652-AEBB-1F4192D15149 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 22 Aug 2020, at 16:05, Christian Weisgerber wrote: > > I'm currently receiving pkg-fallout mail that some of the ports I > maintain are failing to build with "duplicate symbol" errors. See . This is because clang 11 defaults to -fno-common now, causing some programs that incorrectly define multiple copies of the same global variables to no longer link. It can be worked around by adding -fcommon to the compilation flags, but in most cases it should not be too difficult to get rid of the multiply defined symbols. > It is unclear to me whether these are actual problems I need to > take care of, or just some kind of screw-up on the package build > server. This part of each message doesn't inspire confidence: > > !!! Jail is newer than host. (Jail: 1300110, Host: 1300100) !!! > !!! This is not supported. !!! > !!! Host kernel must be same or newer than jail. !!! > !!! Expect build failures. !!! Yeah, this warning is seen all the time, and while it sounds very ominous, there is not much you can do about it. -Dimitry --Apple-Mail=_DC73F1F1-794E-4652-AEBB-1F4192D15149 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCX0EqOwAKCRCwXqMKLiCW o6uCAKCYWiLba100SjC8ob0scrUwp8JC0wCgxIXH42EkKqcuUkv3/q0RLunN/j4= =y6Jp -----END PGP SIGNATURE----- --Apple-Mail=_DC73F1F1-794E-4652-AEBB-1F4192D15149--