Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#56904 - [nvidia-340xx-utils] createlinks() throws warning
Attached to Project:
Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Saturday, 30 December 2017, 10:43 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 07 January 2018, 12:16 GMT
Opened by Andreas Baumann (andreas_baumann) - Saturday, 30 December 2017, 10:43 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 07 January 2018, 12:16 GMT
|
DetailsDescription:
readelf: Error: '/data/INSTALL/nvidia-340xx-utils/pkg/nvidia-340xx-utils/etc/ld.so.conf.d' is not an ordinary file The result of find in createlinks() contains the linker directory: pkg/nvidia-340xx-utils/etc/ld.so.conf.d Suggested fix: for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/' | grep -v ld.so.conf.d); do Additional info: * package version(s): 340.104-2 * config and/or log files etc. Steps to reproduce: makepkg -s |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Sunday, 07 January 2018, 12:16 GMT
Reason for closing: Fixed
Sunday, 07 January 2018, 12:16 GMT
Reason for closing: Fixed
```
while read -rd ''; do
...
done < <(find "${pkgdir}" -type d -name xorg -prune -o -type f -name '*.so*' -print0)
```
For bonus points, it comes with free find options for ignoring certain directories!
If usr/lib/nvidia/xorg/libglx.so.340.104 is actually supposed to be detected, the following can be used instead:
find "${pkgdir}" -type d -path '*/lib/xorg/*' -prune -o -type f -name '*.so*' -print0