pkgsrc-Bugs archive

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

pkg/59604: platform-header file does not exist while installing lang/clang if the riscv target is disabled in lang/llvm



>Number:         59604
>Category:       pkg
>Synopsis:       platform-header file does not exist while installing lang/clang if the riscv target is disabled in lang/llvm
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 20 01:30:01 +0000 2025
>Originator:     kandu
>Release:        pkgsrc-2025Q2
>Organization:
smaji
>Environment:
Darwin ZANs-MBP.lan 20.6.0 Darwin Kernel Version 20.6.0: Thu Jul  6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64 x86_64
>Description:
while in the installation phase of the lang/clang package, pkgsrc complains that the file

${PLIST.RISCV}lib/clang/19/include/riscv_vector.h

does not exist
>How-To-Repeat:
set the PKG_OPTIONS.llvm options without llvm-target-riscv
and then build the lang/clang package

PKG_OPTIONS.llvm= -* llvm-target-x86 llvm-target-aarch64 llvm-target-arm llvm-target-webassembly
>Fix:
This is just a workaround to bypass the PLIST checking

delete exactly the one line

${PLIST.RISCV}lib/clang/19/include/riscv_vector.h

in the PLIST file of the package lang/clang and invoke

bmake install

again.


Home | Main Index | Thread Index | Old Index