Bug#1070909: llvm-toolchain-18: FTBFS on riscv64: dh_install: warning: llvm-18-linker-tools missing files: usr/lib/llvm-18/lib/LLVMgold.so

Aurelien Jarno aurel32 at debian.org
Sat May 11 23:31:13 BST 2024


control: tag -1 + patch

On 2024-05-11 19:50, Aurelien Jarno wrote:
> On 2024-05-11 15:46, Sebastian Ramacher wrote:
> > Source: llvm-toolchain-18
> > Version: 1:18.1.5-2
> > Severity: serious
> > Tags: ftbfs
> > Justification: fails to build from source (but built successfully in the past)
> > X-Debbugs-Cc: sramacher at debian.org
> > 
> > riscv64 is now a release architecture and llvm-toolchain-18 built
> > previously.
> > 
> > https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-18&arch=riscv64&ver=1%3A18.1.5-2&stamp=1715249422&raw=0
> > 
> >    debian/rules override_dh_install
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > dh_install -p libpolly-18-dev usr/lib/llvm-18/lib/cmake/polly/*.cmake usr/lib/llvm-18/lib/cmake/polly
> > rm -rf debian/tmp/usr/lib/llvm-18/lib/cmake/polly/*.cmake
> > dh_install --fail-missing 
> > dh_install: warning: Please use dh_missing --list-missing/--fail-missing instead
> > dh_install: warning: This feature will be removed in compat 12.
> > dh_install: warning: Cannot find (any matches for) "usr/lib/llvm-18/lib/LLVMgold.so" (tried in ., debian/tmp)
> > 
> > dh_install: warning: llvm-18-linker-tools missing files: usr/lib/llvm-18/lib/LLVMgold.so
> > dh_install: error: missing files, aborting
> > make[1]: *** [debian/rules:1432: override_dh_install] Error 255
> 
> I believe this should be fixed by the following patch. I have launched a
> local build and I will confirm that when it is done.

The build finished, I confirm that the patch fixes the issue.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                     http://aurel32.net



More information about the Pkg-llvm-team mailing list