From owner-freebsd-ports-bugs@freebsd.org Sun Mar 8 08:07:56 2020 Return-Path: Delivered-To: freebsd-ports-bugs@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 82120261EDF for ; Sun, 8 Mar 2020 08:07:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48Zv9R5kH4z3KLb for ; Sun, 8 Mar 2020 08:07:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8D027261EDE; Sun, 8 Mar 2020 08:07:55 +0000 (UTC) Delivered-To: ports-bugs@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 8A705261EDD for ; Sun, 8 Mar 2020 08:07:55 +0000 (UTC) (envelope-from bugzilla-noreply@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Zv9R2Bggz3KLQ for ; Sun, 8 Mar 2020 08:07:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 042FC1ECB9 for ; Sun, 8 Mar 2020 08:07:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 02887sDh080997 for ; Sun, 8 Mar 2020 08:07:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 02887sJi080996 for ports-bugs@FreeBSD.org; Sun, 8 Mar 2020 08:07:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 244669] devel/llvm10: clang-move should be EXTRAS, not CLANG in pkg-plist; breaks install Date: Sun, 08 Mar 2020 08:07:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: greenreaper@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2020 08:07:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244669 Bug ID: 244669 Summary: devel/llvm10: clang-move should be EXTRAS, not CLANG in pkg-plist; breaks install Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: greenreaper@hotmail.com Assignee: brooks@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) Created attachment 212248 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212248&action= =3Dedit Assign bin/clang-move to EXTRAS (not CLANG) When installing llvm10-10.0.0.r3 after a build with portinstall, using opti= ons CLANG GOLD LLD LLD_LINK OPENMP PYCLANG (not EXTRAS) and BE_NATIVE (X86), installation fails to register because clang-move can't be find by pkg-stat= ic: ``` =3D=3D=3D> Registering installation for llvm10-10.0.0.r3 pkg-static: Unable to access file /tmp/usr/ports/devel/llvm10/work/stageusr/local/llvm10/bin/clang-move:No su= ch file or directory *** Error code 74 ``` (Incidentally this error message appears to be missing a / between '/tmp/usr/ports/devel/llvm10/work/stage' and 'usr/local/llvm/bin/clang-move= ') The reason for this is that clang-move is in clang-tools-extra: https://github.com/llvm-mirror/clang-tools-extra ...but the binary is marked as being CLANG, not EXTRAS, in pkg-plist: %%CLANG%%llvm%%LLVM_SUFFIX%%/bin/clang-move Changing this to: %%EXTRAS%%llvm%%LLVM_SUFFIX%%/bin/clang-move resolves the problem. lib/libclangMove.a is not affected as it is already EXTRAS: %%EXTRAS%%llvm%%LLVM_SUFFIX%%/lib/libclangMove.a This change was introduced in revision 525893: https://svnweb.freebsd.org/ports/head/devel/llvm10/pkg-plist?r1=3D525893&r2= =3D525892&pathrev=3D525893 ...submitted via review D23583 (Fix build for LLVM 10.0.0rc1 extras): https://reviews.freebsd.org/D23583 The test plan in the review appears to use the default options (all compone= nts) which will not catch a failure to segregate binaries or libraries, just the failure to build one when everything else is built. Testing with/without EX= TRAS would have been a good idea, since the goal was specifically to add EXTRAS back. More generally, this isn't the first time a build without EXTRAS has failed= on install, and it might be good to have an automated test of some kind that catches this class of bug (perhaps with other combinations of install flags= ). --=20 You are receiving this mail because: You are the assignee for the bug.=