NetBSD Problem Report #59429
From www@netbsd.org Fri May 16 15:01:52 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 3A04A1A923E
for <gnats-bugs@gnats.NetBSD.org>; Fri, 16 May 2025 15:01:52 +0000 (UTC)
Message-Id: <20250516150151.046481A9241@mollari.NetBSD.org>
Date: Fri, 16 May 2025 15:01:51 +0000 (UTC)
From: rwhitlock22@gmail.com
Reply-To: rwhitlock22@gmail.com
To: gnats-bugs@NetBSD.org
Subject: lang/llvm: missing file or PLIST error
X-Send-Pr-Version: www-1.0
>Number: 59429
>Category: pkg
>Synopsis: lang/llvm: missing file or PLIST error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 16 15:05:01 +0000 2025
>Closed-Date: Sat May 17 06:56:43 +0000 2025
>Last-Modified: Sat May 17 07:00:01 +0000 2025
>Originator: Robert Whitlock
>Release: pkgsrc current, May 15 2025
>Organization:
>Environment:
NetBSD current, 10.99.14, May 15 2025, amd64, GENERIC
>Description:
Compiling llvm ends with an error:
=> Checking file-check results for llvm-19.1.7
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg-work/lang/llvm/work/.destdir/usr/pkg:
ERROR: /usr/pkg-work/lang/llvm/work/.destdir/usr/pkg/lib/libLLVMSPIRVAnalysis.a
*** Error code 1
Stop.
make[1]: stopped making "install" in /usr/pkgsrc/lang/llvm
*** Error code 1
Stop.
make: stopped making "install" in /usr/pkgsrc/lang/llvm
I have non-default options:
Any of the following general options may be selected:
debug Enable debugging facilities in the package.
llvm-target-aarch64 Support code generation for 64-bit ARM CPUs.
llvm-target-amdgpu Support code generation for AMD GPUs.
llvm-target-arc
llvm-target-arm Support code generation for ARM CPUs.
llvm-target-avr
llvm-target-bpf
llvm-target-csky
llvm-target-directx
llvm-target-hexagon
llvm-target-lanai
llvm-target-loongarch
llvm-target-m68k
llvm-target-mips Support code generation for MIPS CPUs.
llvm-target-msp430
llvm-target-nvptx
llvm-target-powerpc Support code generation for PowerPC CPUs.
llvm-target-riscv
llvm-target-sparc Support code generation for SPARC CPUs.
llvm-target-spirv
llvm-target-systemz
llvm-target-ve
llvm-target-webassembly Support code generation for WebAssembly virtual machine.
llvm-target-x86
llvm-target-xcore
llvm-target-xtensa
terminfo Use terminfo.
tests Build and install tests.
z3 Enable support for the Z3 theorem prover.
These options are enabled by default:
llvm-target-aarch64 llvm-target-amdgpu llvm-target-arc
llvm-target-arm llvm-target-avr llvm-target-bpf
llvm-target-csky llvm-target-directx llvm-target-hexagon
llvm-target-lanai llvm-target-loongarch llvm-target-m68k
llvm-target-mips llvm-target-msp430 llvm-target-nvptx
llvm-target-powerpc llvm-target-riscv llvm-target-sparc
llvm-target-spirv llvm-target-systemz llvm-target-ve
llvm-target-webassembly llvm-target-x86 llvm-target-xcore
llvm-target-xtensa terminfo
These options are currently enabled:
debug llvm-target-aarch64 llvm-target-arm
llvm-target-webassembly llvm-target-x86 terminfo
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.llvm.
I'm not sure whether this file should be built but isn't, whether the PLIST entry should be deleted, whether the PLIST entry needs a ${PLIST.SPIRV} in front of it, or something else.
>How-To-Repeat:
probably disable the llvm-target-spirv option for lang/llvm
cd lang/llvm
make install
>Fix:
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/59429: lang/llvm: missing file or PLIST error
Date: Fri, 16 May 2025 18:05:23 +0200
On Fri, May 16, 2025 at 03:05:01PM +0000, rwhitlock22@gmail.com wrote:
> I'm not sure whether this file should be built but isn't, whether the PLIST entry should be deleted, whether the PLIST entry needs a ${PLIST.SPIRV} in front of it, or something else.
It definitely should not be deleted.
With the default options:
Any of the following general options may be selected:
debug Enable debugging facilities in the package.
llvm-target-aarch64 Support code generation for 64-bit ARM CPUs.
llvm-target-amdgpu Support code generation for AMD GPUs.
llvm-target-arc
llvm-target-arm Support code generation for ARM CPUs.
llvm-target-avr
llvm-target-bpf
llvm-target-csky
llvm-target-directx
llvm-target-hexagon
llvm-target-lanai
llvm-target-loongarch
llvm-target-m68k
llvm-target-mips Support code generation for MIPS CPUs.
llvm-target-msp430
llvm-target-nvptx
llvm-target-powerpc Support code generation for PowerPC CPUs.
llvm-target-riscv
llvm-target-sparc Support code generation for SPARC CPUs.
llvm-target-spirv
llvm-target-systemz
llvm-target-ve
llvm-target-webassembly Support code generation for WebAssembly virtual machine.
llvm-target-x86
llvm-target-xcore
llvm-target-xtensa
terminfo Use terminfo.
tests Build and install tests.
z3 Enable support for the Z3 theorem prover.
These options are enabled by default:
llvm-target-aarch64 llvm-target-amdgpu llvm-target-arc
llvm-target-arm llvm-target-avr llvm-target-bpf
llvm-target-csky llvm-target-directx llvm-target-hexagon
llvm-target-lanai llvm-target-loongarch llvm-target-m68k
llvm-target-mips llvm-target-msp430 llvm-target-nvptx
llvm-target-powerpc llvm-target-riscv llvm-target-sparc
llvm-target-spirv llvm-target-systemz llvm-target-ve
llvm-target-webassembly llvm-target-x86 llvm-target-xcore
llvm-target-xtensa terminfo
These options are currently enabled:
llvm-target-aarch64 llvm-target-amdgpu llvm-target-arc
llvm-target-arm llvm-target-avr llvm-target-bpf
llvm-target-csky llvm-target-directx llvm-target-hexagon
llvm-target-lanai llvm-target-loongarch llvm-target-m68k
llvm-target-mips llvm-target-msp430 llvm-target-nvptx
llvm-target-powerpc llvm-target-riscv llvm-target-sparc
llvm-target-spirv llvm-target-systemz llvm-target-ve
llvm-target-webassembly llvm-target-x86 llvm-target-xcore
llvm-target-xtensa terminfo
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.llvm.
the PLIST is ok, so I guess it need some ${PLIST.foo} in front.
> probably disable the llvm-target-spirv option for lang/llvm
Could you try disabling just this one and see if it breaks the PLIST?
Thomas
From: Rob Whitlock <rwhitlock22@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org,
"John D. Baker via gnats" <gnats-admin@netbsd.org>,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/59429: lang/llvm: missing file or PLIST error
Date: Fri, 16 May 2025 21:59:46 -0400
> On May 16, 2025, at 12:10 PM, Thomas Klausner via gnats =
<gnats-admin@NetBSD.org> wrote:
>=20
> The following reply was made to PR pkg/59429; it has been noted by =
GNATS.
>=20
> From: Thomas Klausner <wiz@NetBSD.org>
> To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
> Cc:=20
> Subject: Re: pkg/59429: lang/llvm: missing file or PLIST error
> Date: Fri, 16 May 2025 18:05:23 +0200
>=20
> On Fri, May 16, 2025 at 03:05:01PM +0000, rwhitlock22@gmail.com wrote:
>> I'm not sure whether this file should be built but isn't, whether the =
PLIST entry should be deleted, whether the PLIST entry needs a =
${PLIST.SPIRV} in front of it, or something else.
>=20
> It definitely should not be deleted.
>=20
> With the default options:
>=20
> Any of the following general options may be selected:
> debug Enable debugging facilities in the package.
> llvm-target-aarch64 Support code generation for 64-bit ARM =
CPUs.
> llvm-target-amdgpu Support code generation for AMD GPUs.
> llvm-target-arc
> llvm-target-arm Support code generation for ARM CPUs.
> llvm-target-avr
> llvm-target-bpf
> llvm-target-csky
> llvm-target-directx
> llvm-target-hexagon
> llvm-target-lanai
> llvm-target-loongarch
> llvm-target-m68k
> llvm-target-mips Support code generation for MIPS CPUs.
> llvm-target-msp430
> llvm-target-nvptx
> llvm-target-powerpc Support code generation for PowerPC =
CPUs.
> llvm-target-riscv
> llvm-target-sparc Support code generation for SPARC =
CPUs.
> llvm-target-spirv
> llvm-target-systemz
> llvm-target-ve
> llvm-target-webassembly Support code generation for =
WebAssembly virtual machine.
> llvm-target-x86
> llvm-target-xcore
> llvm-target-xtensa
> terminfo Use terminfo.
> tests Build and install tests.
> z3 Enable support for the Z3 theorem prover.
>=20
> These options are enabled by default:
> llvm-target-aarch64 llvm-target-amdgpu llvm-target-arc
> llvm-target-arm llvm-target-avr llvm-target-bpf
> llvm-target-csky llvm-target-directx llvm-target-hexagon
> llvm-target-lanai llvm-target-loongarch llvm-target-m68k
> llvm-target-mips llvm-target-msp430 llvm-target-nvptx
> llvm-target-powerpc llvm-target-riscv llvm-target-sparc
> llvm-target-spirv llvm-target-systemz llvm-target-ve
> llvm-target-webassembly llvm-target-x86 llvm-target-xcore
> llvm-target-xtensa terminfo
>=20
> These options are currently enabled:
> llvm-target-aarch64 llvm-target-amdgpu llvm-target-arc
> llvm-target-arm llvm-target-avr llvm-target-bpf
> llvm-target-csky llvm-target-directx llvm-target-hexagon
> llvm-target-lanai llvm-target-loongarch llvm-target-m68k
> llvm-target-mips llvm-target-msp430 llvm-target-nvptx
> llvm-target-powerpc llvm-target-riscv llvm-target-sparc
> llvm-target-spirv llvm-target-systemz llvm-target-ve
> llvm-target-webassembly llvm-target-x86 llvm-target-xcore
> llvm-target-xtensa terminfo
>=20
> You can select which build options to use by setting =
PKG_DEFAULT_OPTIONS
> or PKG_OPTIONS.llvm.
>=20
> the PLIST is ok, so I guess it need some ${PLIST.foo} in front.
>=20
>> probably disable the llvm-target-spirv option for lang/llvm
>=20
> Could you try disabling just this one and see if it breaks the PLIST?
Disabling only that option gives the same error.
> Thomas
>=20
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 17 May 2025 06:56:43 +0000
State-Changed-Why:
Fixed, thanks for the report & the testing!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/59429 CVS commit: pkgsrc/lang/llvm
Date: Sat, 17 May 2025 06:56:25 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Sat May 17 06:56:25 UTC 2025
Modified Files:
pkgsrc/lang/llvm: PLIST
Log Message:
llvm: fix PLIST for PKG_OPTIONS.llvm=-llvm-target-spirv
From Rob Whitlock in PR 59429.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/llvm/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.