You are not logged in.
I have just one error when running namcap on one package [1]:
nvi-multibyte-git E: Insecure RUNPATH '/home/myself/aur/nvi-multibyte-git/pkg/nvi-multibyte-git/usr/lib' in file ('usr/bin/nex')
I searched google and could not find a solution for this error. I am building on a regular folder, not chroot. Would this be the cause?
This PKGBUILD builds a library that is used by the main program.
[1] https://aur.archlinux.org/packages/nvi-multibyte-git
Last edited by archdub (2025-06-03 11:04:57)
Offline
I am building on a regular folder, not chroot. Would this be the cause?
Nope.
https://wiki.archlinux.org/title/Arch_p … TH/RUNPATH has some useful info .
fixing it will likely require changes to the build flags.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
fixing it will likely require changes to the build flags.
Thanks.
I tried that but was not successful, due to the way that the loader interprets rpath.
I tried to change one line in the build system and that did not work either.
For a relatively small program, the build system is very complicated.
The issue I think should be solved upstream as I am not an expert on autotools.
So I won't fix this issue. It works fine for someone building a package for oneself.
Offline
I managed to solve the issue at hand by removing the rpath from the elf with chrpath.
Offline