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

Bug 936564

Summary: dev-gap/semigroups-5.3.7 - [perl-5.40] [ncurses-6.5] [icu-75.1] [gcc-15] /.../sims1.tpp: error: class libsemigroups::Sims1<T>::iterator_base has no member named long_rules
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Michael Orlitzky <mjo>
Status: RESOLVED FIXED    
Severity: normal CC: frp.bissey, mjo, sci-mathematics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/libsemigroups/libsemigroups/issues/557
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932474    
Attachments: emerge-info.txt
dev-gap:semigroups-5.3.7:20240723-125943.log
emerge-history.txt
environment
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-07-23 17:39:31 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -pthread -O2 -pipe -march=native -fno-diagnostics-color -fPIC -MQ gen/src/froidure-pin-transf.o -MMD -MP -MF gen/src/froidure-pin-transf.d -std=gnu++14 -O3 -Igapbind14/include/ -DFMT_HEADER_ONLY -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -o gen/src/froidure-pin-t
"/usr/bin/gac" -d -p "-MQ "gen/src/pkg.o" -MMD -MP -MF gen/src/pkg.d" -p "-std=gnu++14 -O3 -Igapbind14/include/ -DFMT_HEADER_ONLY -DNDEBUG   -O2 -pipe -march=native -fno-diagnostics-color" -c src/pkg.cpp -o gen/src/pkg.o
x86_64-pc-linux-gnu-g++ -pthread -O2 -pipe -march=native -fno-diagnostics-color -fPIC -MQ gen/src/pkg.o -MMD -MP -MF gen/src/pkg.d -std=gnu++14 -O3 -Igapbind14/include/ -DFMT_HEADER_ONLY -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -o gen/src/pkg.o -I/usr/include/gap -I/usr/include -DUSE_
In file included from /usr/include/libsemigroups/sims1.hpp:1269,
                 from src/pkg.cpp:59:
/usr/include/libsemigroups/sims1.tpp: In member function libsemigroups::Sims1<T>::iterator_base& libsemigroups::Sims1<T>::iterator_base::operator=(libsemigroups::Sims1<T>::iterator_base&&):
/usr/include/libsemigroups/sims1.tpp:622:39: error: class libsemigroups::Sims1<T>::iterator_base has no member named long_rules
  622 |     _longs           = std::move(that.long_rules());
      |                                       ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20240720-065003

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Requested by sam
  >=sys-libs/ncurses-6.5
  ~dev-lang/perl-5.40.0
  ~virtual/perl-Archive-Tar-3.20.10_rc
  ~virtual/perl-CPAN-Meta-Requirements-2.143.0
  ~virtual/perl-Compress-Raw-Bzip2-2.212.0
  ~virtual/perl-DB_File-1.859.0
  ~virtual/perl-Data-Dumper-2.189.0
  ~virtual/perl-Devel-PPPort-3.720.0
  ~virtual/perl-Exporter-5.780.0
  ~virtual/perl-ExtUtils-CBuilder-0.280.240
  ~virtual/perl-ExtUtils-Manifest-1.750.0
  ~virtual/perl-File-Spec-3.900.0
  ~virtual/perl-HTTP-Tiny-0.88.0
  ~virtual/perl-IO-1.550.0
  ~virtual/perl-IO-Compress-2.212.0
  ~virtual/perl-IO-Socket-IP-0.420.0
  ~virtual/perl-IO-Zlib-1.150.0
  ~virtual/perl-Math-BigInt-2.3.2
  ~virtual/perl-Math-BigInt-FastCalc-0.501.800
  ~virtual/perl-Math-BigRat-2.3.2
  ~virtual/perl-Module-CoreList-5.202.406.90
  ~virtual/perl-Module-Metadata-1.0.38
  ~virtual/perl-Pod-Simple-3.450.0
  ~virtual/perl-Safe-2.460.0
  ~virtual/perl-Socket-2.38.0
  ~virtual/perl-Test-Harness-3.480.0
  ~virtual/perl-Test-Simple-1.302.199
  ~virtual/perl-Text-Tabs+Wrap-2024.1.0
  ~virtual/perl-Time-HiRes-1.977.700
  ~virtual/perl-Time-Local-1.350.0
  ~virtual/perl-autodie-2.370.0
  ~virtual/perl-bignum-0.670.0
  ~virtual/perl-podlators-5.10.200_rc
  ~virtual/perl-threads-2.400.0
  ~virtual/perl-threads-shared-1.690.0
  ~virtual/perl-version-0.993.0

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit e5bcc77c0fdb3ecb386c2ba6bd57e2c4ef636088
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jul 23 10:19:37 2024 +0000

    2024-07-23 10:19:36 UTC

emerge -qpvO dev-gap/semigroups
[ebuild  N    ] dev-gap/semigroups-5.3.7  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2024-07-23 17:39:32 UTC
Created attachment 898224 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-07-23 17:39:33 UTC
Created attachment 898225 [details]
dev-gap:semigroups-5.3.7:20240723-125943.log
Comment 3 Toralf Förster gentoo-dev 2024-07-23 17:39:35 UTC
Created attachment 898226 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-07-23 17:39:36 UTC
Created attachment 898227 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-07-23 17:39:37 UTC
Created attachment 898228 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-07-23 17:39:38 UTC
Created attachment 898229 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-07-23 17:39:39 UTC
Created attachment 898230 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-07-23 17:39:40 UTC
Created attachment 898231 [details]
temp.tar.xz
Comment 9 Michael Orlitzky gentoo-dev 2024-07-28 12:36:28 UTC
I don't know what's happening here. It's kind of hard to troubleshoot when the failure is most likely due to an unreleased compiler with no changelog...
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-28 12:37:42 UTC
The template lookup changed so it now finds broken templates where they're not instantiated, see e.g. https://trofi.github.io/posts/322-gcc-15-template-checking-improvements.html.
Comment 11 Michael Orlitzky gentoo-dev 2024-07-28 12:39:43 UTC
Ah, thanks. I can relay that upstream.
Comment 12 Larry the Git Cow gentoo-dev 2024-07-30 20:11:56 UTC
The bug has been closed via the following commit(s):

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

commit 02af742b0ca05dcbf5ae3ae1648b3ff58d9d4d13
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-07-30 20:09:10 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-07-30 20:10:10 +0000

    sci-libs/libsemigroups: backport gcc-15 build fix
    
    Closes: https://bugs.gentoo.org/936564
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../libsemigroups-2.7.3-gcc-15-buildfix.patch      | 22 ++++++++++++++++++++++
 ...-2.7.3.ebuild => libsemigroups-2.7.3-r1.ebuild} |  2 ++
 2 files changed, 24 insertions(+)