https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-accessibility/brltty fails to link with LLD because of /usr/lib in the link command line. Discovered on: amd64 (internal ref: tinderbox) NOTE: This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files.
Created attachment 649212 [details] build.log build log and emerge --info
Created attachment 649214 [details] other.tar.bz2 other logs
tinderbox has reproduced this issue with version 6.1-r1 - Updating summary.
I ran into the same problem with brltty-6.6-r1, and I'm on the llvm profile There were two references to -L/usr/lib in my case, each of them in a Makefile formatted as -L${DEPENDENCY_NAME_HERE}/lib. Removing this section allows the build to proceed with no further issues. offending files (on my system): Drivers/Speech/eSpeak-NG/Makefile Drivers/Speech/FestivalLite/Makefile these files are generated as part of the process, and the offending sections are not in the corresponding Makefile.in so I don't yet have a quick win by patching this out using the portage patching system. suggested end user workaround: - build package, allowing it to fail - fix the offending Makefiles in /var/tmp/portage/... - ebuild /path/to/brltty.ebuild merge - repeat 2-3 if necessary. HTH