pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59429: lang/llvm: missing file or PLIST error



>Number:         59429
>Category:       pkg
>Synopsis:       lang/llvm: missing file or PLIST error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 16 15:05: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:



Home | Main Index | Thread Index | Old Index