From owner-freebsd-ports@freebsd.org Tue Sep 1 09:46:59 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 0C1473C0B01 for ; Tue, 1 Sep 2020 09:46:59 +0000 (UTC) (envelope-from rde@tavi.co.uk) Received: from kipling.tavi.co.uk (kipling.tavi.co.uk [81.187.145.130]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bgj021srFz4GFB for ; Tue, 1 Sep 2020 09:46:58 +0000 (UTC) (envelope-from rde@tavi.co.uk) Received: from kipling.tavi.co.uk (localhost [127.0.0.1]) by kipling.tavi.co.uk (Postfix) with ESMTP id AD736139E7 for ; Tue, 1 Sep 2020 10:46:50 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=tavi.co.uk; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=+K841rt 2XSWe5TIzBM+8twAjD6g=; b=N61gttcpi3YxmFLr78WQphIXennh8Jarrym13Ao 4TgcdTUJ9xDdhYHbf/DLVCulhKpmYb2DrB3NZXfLF8zYlIwIg44QYzKYqtECmlNg k7km4uXyXTBst4p1P3Mz9NwCrMTZ0p8CygoyRm3nQPT3PttxJZlay8xPhglEp1Ox 4/D8= Received: from raksha.tavi.co.uk (raksha.tavi.co.uk [81.187.145.139]) (Authenticated sender: rde@tavi.co.uk) by kipling.tavi.co.uk (Postfix) with ESMTPA id 7A127139CF for ; Tue, 1 Sep 2020 10:46:50 +0100 (BST) Date: Tue, 1 Sep 2020 10:46:52 +0100 From: Bob Eager To: freebsd-ports@freebsd.org Subject: Re: pkg-fallout on one of the ports I maintain Message-ID: <20200901104652.6159b223@raksha.tavi.co.uk> In-Reply-To: References: X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUwXjFLc0vD0cS7y7zw9PDZ4tkWSRaVrZZ+m39qi2tXfVj////7+/utwK4IPggAOAAJUUA7AAABKklEQVQ4jWPYjQMwDFYJp0NKEKCNJmEf9h8CsimXiL2e33s3/e7F7K2Cs3f3dCMkQkMKj4YuCY3K3iR+e7fMaiSjvkX0/5cFGrWpe2uLzOpaExUVqMS/8PX/Re5ey960OLBTZpFA8+IlSBKPQ92zNyUUBsosN58uIY0k8f+/ONCoYytkVuhWzVwNkYiYbqk5M3NmOVBi41YZ8RsGF7shEtFb5KJ3r969CyixM7OTPeFUxG2IxLO8/9/SvqXlc+/x3h295YzLlj2nIRJQj//nRvc5TEIal8RsXBLVuCQwIgoq/u80DomP6HEOk/iOS+IJLonZOCT+ReOQ+Lkbh0QKLonbOCR+7MYhsRqHBJrVcIl/1TgklqKLQyQ+tGKIgyQOqXpjig94diZRAgAXmDX6jyWafAAAAABJRU5ErkJggg====== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bgj021srFz4GFB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tavi.co.uk header.s=selector1 header.b=N61gttcp; dmarc=pass (policy=none) header.from=tavi.co.uk; spf=pass (mx1.freebsd.org: domain of rde@tavi.co.uk designates 81.187.145.130 as permitted sender) smtp.mailfrom=rde@tavi.co.uk X-Spamd-Result: default: False [-3.41 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tavi.co.uk:s=selector1]; NEURAL_HAM_MEDIUM(-1.00)[-1.005]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a:kipling.tavi.co.uk]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.003]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[tavi.co.uk:+]; DMARC_POLICY_ALLOW(-0.50)[tavi.co.uk,none]; NEURAL_HAM_SHORT(-0.50)[-0.505]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB]; MAILMAN_DEST(0.00)[freebsd-ports] 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: Tue, 01 Sep 2020 09:46:59 -0000 Almost certainly the -fno-common problem with clang 11. This now defaults to -fno-common, which causes multiply defined symbols at link time if something is declared global in more than one module (instead of extern in all but one module). There is a similar problem with gcc. Declaring -fno-common on your existing build will trigger the problem. What you are seeing (success) is because clang 11 isn't actually in -CURRENT yet. When I fixed my ports, I had to install (build) clang 11 (from llvm11) to do the testing. On Tue, 1 Sep 2020 19:35:44 +1000 Sean Greven wrote: > Hi there > > I have received a number of messages from pkg-fallout regarding the > port I maintain, and pkg-fallout maintains that my port is broken. > > The really strange thing here is that I am able to build it in all the > versions up till 13.0-CURRENT. > The port builds without any errors. Any one with any ideas on how to > troubleshoot this further? > > Below is the last piece of the error returned from pkg-fallout. > > cc: error: linker command failed with exit code 1 (use -v to see > invocation) *** [fwknop] Error code 1 > > make[3]: stopped in > /wrkdirs/usr/ports/security/fwknop/work/fwknop-2.6.10/client > 1 error > > make[3]: stopped in > /wrkdirs/usr/ports/security/fwknop/work/fwknop-2.6.10/client > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the > failure to the maintainer. > *** Error code 1 >