checkWCS.o checkFile.o \ -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o mDiff mDiff.o debugCheck.o checkHdr.o checkWCS.o \ -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o mDiffExec mDiffExec.o filePath.o checkHdr.o \ checkWCS.o -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm mDiffExec.c:37:7: error: type of svc_run does not match original declaration [-Werror=lto-type-mismatch] 37 | char *svc_run (char *cmd); | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib_hardened_systemd-20240925-080506 UNMASKED: /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang/llvm (if any): clang version 19.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/19/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/19 19.1.0 Python 3.12.6 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.81.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-17 [2] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): [1] php8.3 * go version go1.23.1 linux/amd64 HEAD of ::gentoo commit 00e193a15f5f69a408a790fcddb05af5a3740959 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Sep 26 17:51:51 2024 +0000 2024-09-26 17:51:51 UTC emerge -qpvO =sci-astronomy/montage-5.0 [ebuild N ] sci-astronomy/montage-5.0 USE="-doc -mpi"
Created attachment 903918 [details] emerge-info.txt
Created attachment 903919 [details] emerge-history.txt
Created attachment 903920 [details] environment
Created attachment 903921 [details] etc.clang.tar.xz
Created attachment 903922 [details] etc.portage.tar.xz
Created attachment 903923 [details] logs.tar.xz
Created attachment 903924 [details] qlist-info.txt
Created attachment 903925 [details] sci-astronomy:montage-5.0:20240926-192752.log
Created attachment 903926 [details] temp.tar.xz
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68cb773bf11b4362726d37bdb162c2198144fdcc commit 68cb773bf11b4362726d37bdb162c2198144fdcc Author: Alexey Sokolov <alexey+gentoo@asokolov.org> AuthorDate: 2025-02-20 23:17:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-14 08:10:33 +0000 sci-astronomy/montage: add 6.1 I have to drop IUSE=mpi because it cannot possibly compile due to lack of definitions of some functions: tsave() and trestore(), which are declared. https://github.com/Caltech-IPAC/Montage/issues/25 is closed without fixing, but has more context. Closes: https://bugs.gentoo.org/710420 Closes: https://bugs.gentoo.org/725282 Closes: https://bugs.gentoo.org/727974 Closes: https://bugs.gentoo.org/741080 Closes: https://bugs.gentoo.org/888553 Closes: https://bugs.gentoo.org/920316 Closes: https://bugs.gentoo.org/940310 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: Sam James <sam@gentoo.org> sci-astronomy/montage/Manifest | 1 + .../montage/files/montage-6.1-montagelib-dep.patch | 30 +++ .../files/montage-6.1-presentation-strcpy.patch | 21 ++ .../montage/files/montage-6.1-prototypes.patch | 283 +++++++++++++++++++++ .../montage/files/montage-6.1-tcol-cntr.patch | 22 ++ sci-astronomy/montage/montage-6.1.ebuild | 71 ++++++ 6 files changed, 428 insertions(+)
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -o mFlattenExec mFlattenExec.o filePath.o -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm mFlattenExec.c:38:7: error: type of ‘svc_run’ does not match original declaration [-Werror=lto-type-mismatch] 38 | char *svc_run (char *cmd); | ^ ../lib/src/svc/svclib.c:615:5: note: return value type mismatch 615 | int svc_run(svcstr) | ^ ../lib/src/svc/svclib.c:615:5: note: ‘svc_run’ was previously declared here ../lib/src/svc/svclib.c:615:5: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used lto1: some warnings being treated as errors lto-wrapper: fatal error: x86_64-pc-linux-gnu-gcc returned 1 exit status compilation terminated. /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[1]: *** [Makefile:155: mFlattenExec] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-astronomy/montage-6.1/work/Montage-6.1/Montage' make: *** [Makefile:5: all] Error 2 * ERROR: sci-astronomy/montage-6.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-astronomy/montage-6.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-astronomy/montage-6.1::gentoo'`. * The complete build log is located at '/var/log/portage/build/sci-astronomy/montage-6.1:20250317-070155.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-astronomy/montage-6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-astronomy/montage-6.1/temp/environment'. * Working directory: '/var/tmp/portage/sci-astronomy/montage-6.1/work/Montage-6.1' * S: '/var/tmp/portage/sci-astronomy/montage-6.1/work/Montage-6.1' Unsure why this ticket was closed. Do we automatically close all open tickets whenever we package a new version of something, in the hope that it is probably hopefully fixed?
No, because I successfully built it, and probably missed that this one was about lto