pkgsrc-Bugs archive

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

pkg/57730: llvm 16.0.6 fails to install on NetBSD/9.2 sparc64



>Number:         57730
>Category:       pkg
>Synopsis:       llvm 16.0.6 fails to install on NetBSD/9.2 sparc64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 28 17:35:00 +0000 2023
>Originator:     he%NetBSD.org@localhost
>Release:        NetBSD 9.2
>Organization:
	I try...
>Environment:
System: NetBSD s2.urc.uninett.no 9.2 NetBSD 9.2 (S2) #0: Sun Mar  6 18:06:34 CET 2022  he%s2.urc.uninett.no@localhost:/usr/obj/sys/arch/sparc64/compile/S2 sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	LLVM 16.0.6 fails to install, with:

-- Installing: /usr/pkgsrc/lang/llvm/work/.destdir/usr/pkg/bin/llvm-tblgen
CMake Error at utils/TableGen/cmake_install.cmake:50 (file):
  file RPATH_CHANGE could not write new RPATH:

    $ORIGIN/../lib

  to the file:

    /usr/pkgsrc/lang/llvm/work/.destdir/usr/pkg/bin/llvm-tblgen

  The current RPATH is:

    /usr/pkg/lib

  which does not contain:

    $ORIGIN/../lib:/usr/pkg/lib:

  as was expected.
Call Stack (most recent call first):
  cmake_install.cmake:63 (include)


*** Error code 1

Stop.
make[3]: stopped in /usr/pkgsrc/lang/llvm/work/llvm-16.0.6.src/cmake-pkgsrc-build
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/lang/llvm
*** Error code 1

	This is with cmake version 3.21.2, if that matters.


>How-To-Repeat:
	Try to install lang/llvm version 16.0.6 on NetBSD/sparc64 9.2.

>Fix:
	Yes, please.

	Is this some handling of $ORIGIN in pkgsrc which prevents this
	from working, or some handling in cmake which has not been
	neutered appropriately?



Home | Main Index | Thread Index | Old Index