Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 942753

Summary: sci-astronomy/montage-5.0 - [gcc-15] <artificial>:(.text+<snip>): undefined reference to convertEclToEqu
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/40854
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
sci-astronomy:montage-5.0:20241102-064941.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-11-02 09:27:20 UTC
too long lines were shrinked:

make[1]: Leaving directory '/var/tmp/portage/sci-astronomy/montage-5.0/work/Montage/Montage'
make[1]: Entering directory '/var/tmp/portage/sci-astronomy/montage-5.0/work/Montage/Montage'
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 mCoverageCheck mCoverageCheck.o checkHdr.o \
	checkWCS.o checkFile.o                              \
	-L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane  -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-astronomy/montage-5.0/temp/ccWe6fnm.ltrans0.ltrans.o: in function `convertCoordinates.constprop.0':
<artificial>:(.text+0x4d02): undefined reference to `convertEclToEqu'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x4e4b): undefined reference to `convertJulianToBesselian'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x5208): undefined reference to `convertBesselianToJulian'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20241024-225502

  UNMASKED:
  <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 version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit d17e305b5388a8865c891db65454f585c91f3b35
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 2 04:34:11 2024 +0000

    2024-11-02 04:34:10 UTC

emerge -qpvO =sci-astronomy/montage-5.0
[ebuild  N    ] sci-astronomy/montage-5.0  USE="-doc -mpi"
Comment 1 Toralf Förster gentoo-dev 2024-11-02 09:27:21 UTC
Created attachment 907648 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-02 09:27:22 UTC
Created attachment 907649 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-02 09:27:23 UTC
Created attachment 907650 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-02 09:27:24 UTC
Created attachment 907651 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-02 09:27:25 UTC
Created attachment 907652 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-02 09:27:26 UTC
Created attachment 907653 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-02 09:27:28 UTC
Created attachment 907654 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-02 09:27:29 UTC
Created attachment 907655 [details]
sci-astronomy:montage-5.0:20241102-064941.log
Comment 9 Toralf Förster gentoo-dev 2024-11-02 09:27:30 UTC
Created attachment 907656 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-10 01:37:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de2495100b0829f5e8e74e76c13791ead6630781

commit de2495100b0829f5e8e74e76c13791ead6630781
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-03-02 20:00:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-10 01:34:52 +0000

    sci-astronomy/montage: update EAPI 7 -> 8, fix build with GCC-15
    
    Uses hand-written, badly-recursive Makefile that swallows errors and
    replaces makefiles of vendored dependencies. Parallel builds exhibit
    random, unpredictable failures, so they are disabled.
    Most of Makefiles pass -std=c99, for case where they don't limit C version
    globally  to C17 with GNU extensions.
    Remove an unused function from vendored dependency, add missing include
    to main component.
    Fix deprecated dependency.
    
    Closes: https://bugs.gentoo.org/920316
    Bug: https://bugs.gentoo.org/942753
    Bug: https://bugs.gentoo.org/888553
    Closes: https://bugs.gentoo.org/741080
    Bug: https://bugs.gentoo.org/832708
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40854
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-astronomy/montage/files/montage-5.0-c23.patch | 34 +++++++++++
 sci-astronomy/montage/montage-5.0-r1.ebuild       | 74 +++++++++++++++++++++++
 2 files changed, 108 insertions(+)