https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-sound/clementine-1.4.0_rc1 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 658328 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Created attachment 658330 [details] 1-CMakeError.log 1-CMakeError.log
Created attachment 658332 [details] 1-CMakeOutput.log 1-CMakeOutput.log
>>> Emerging (3 of 3) media-sound/clementine-1.4.0_rc1::gentoo * clementine-1.4.0rc1.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking clementine-1.4.0rc1.tar.xz to /var/tmp/portage/media-sound/clementine-1.4.0_rc1/work >>> Source unpacked in /var/tmp/portage/media-sound/clementine-1.4.0_rc1/work >>> Preparing source in /var/tmp/portage/media-sound/clementine-1.4.0_rc1/work/clementine-1.4.0rc1 ... * Looking in src/translations for new locales ... [ ok ] * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-sound/clementine-1.4.0_rc1/work/clementine-1.4.0rc1" * Build directory (BUILD_DIR): "/var/tmp/portage/media-sound/clementine-1.4.0_rc1/work/clementine-1.4.0_rc1_build" * Applying clementine-1.4.0_rc1-QPainterPath_include.patch ... [ ok ] * Applying clementine-1.4.0_rc1-gcc11-fix-static-assertion-failure.patch ... [ ok ] * Applying clementine.patch ... patching file ext/clementine-spotifyblob/CMakeLists.txt Hunk #1 FAILED at 7. 1 out of 1 hunk FAILED -- saving rejects to file ext/clementine-spotifyblob/CMakeLists.txt.rej patching file ext/clementine-tagreader/CMakeLists.txt Hunk #1 FAILED at 7. 1 out of 1 hunk FAILED -- saving rejects to file ext/clementine-tagreader/CMakeLists.txt.rej patching file src/CMakeLists.txt Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file src/CMakeLists.txt.rej patching file tests/CMakeLists.txt Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file tests/CMakeLists.txt.rej [ !! ] * ERROR: media-sound/clementine-1.4.0_rc1::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/media-sound/clementine-1.4.0_rc1/clementine.patch * * Call stack: * ebuild.sh, line 127: Called src_prepare * environment, line 2265: Called cmake_src_prepare * environment, line 1089: Called default_src_prepare * phase-functions.sh, line 923: Called __eapi6_src_prepare * environment, line 358: Called eapply_user * environment, line 1279: Called eapply '/etc/portage/patches/media-sound/clementine-1.4.0_rc1/clementine.patch' * environment, line 1249: Called _eapply_patch '/etc/portage/patches/media-sound/clementine-1.4.0_rc1/clementine.patch' * environment, line 1187: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/media-sound/clementine-1.4.0_rc1/clementine.patch' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@"
Ahem. Seems like I forgot to remove my own patch :)
(In reply to Leif Biberg Kristensen from comment #5) > Ahem. Seems like I forgot to remove my own patch :) Same here. Removing the patch resolved my issue as well: rm -R /etc/portage/patches/media-sound/clementine-1.4.0_rc1/ I always assumed, which I now know is wrong, that the version would change when the ebuild changes. That would have prevented this confusion.
Builds fine with clang+lld now. Both 1.4.0_rc1, and 9999