Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 803575 - sci-physics/geant-4.11.0_beta1-r1 - /.../G4CsvAnalysisReader.cc: error: ambiguous overload for operator!= (operand types are std::
Summary: sci-physics/geant-4.11.0_beta1-r1 - /.../G4CsvAnalysisReader.cc: error: ambig...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-23 21:25 UTC by Toralf Förster
Modified: 2021-12-14 15:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.70 KB, text/plain)
2021-07-23 21:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,390.97 KB, text/plain)
2021-07-23 21:25 UTC, Toralf Förster
Details
environment (environment,91.73 KB, text/plain)
2021-07-23 21:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.11 KB, application/x-bzip)
2021-07-23 21:25 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,28.56 KB, application/x-bzip)
2021-07-23 21:25 UTC, Toralf Förster
Details
sci-physics:geant-4.11.0_beta1-r1:20210723-195517.log (sci-physics:geant-4.11.0_beta1-r1:20210723-195517.log,211.98 KB, text/plain)
2021-07-23 21:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.79 KB, application/x-bzip)
2021-07-23 21:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-07-23 21:25:07 UTC
/var/tmp/portage/sci-physics/geant-4.11.0_beta1-r1/work/geant4.11.00.b01/source/analysis/csv/src/G4CsvAnalysisReader.cc: In function ‘void* {anonymous}::ReadObject(std::istream&, const G4String&, const G4String&, const G4String&)’:
/var/tmp/portage/sci-physics/geant-4.11.0_beta1-r1/work/geant4.11.00.b01/source/analysis/csv/src/G4CsvAnalysisReader.cc:73:25: error: ambiguous overload for ‘operator!=’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘const G4String’)
   73 |   if ( objectTypeInFile != objectType ) {
      |        ~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~
      |        |                   |
      |        |                   const G4String

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j3-20210719-142442

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 080cef6dbbc8389c902a09cbd696b2b584e660be
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jul 23 19:37:42 2021 +0000

    2021-07-23 19:37:40 UTC

emerge -qpvO sci-physics/geant
[ebuild  N    ] sci-physics/geant-4.11.0_beta1-r1  USE="c++20 data dawn geant3 raytracerx -c++17 -doc -examples -freetype -gdml -hdf5 -inventor -motif -opengl -qt5 -static-libs -threads -vrml"
Comment 1 Toralf Förster gentoo-dev 2021-07-23 21:25:08 UTC
Created attachment 726205 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-23 21:25:10 UTC
Created attachment 726208 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-07-23 21:25:12 UTC
Created attachment 726211 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-07-23 21:25:13 UTC
Created attachment 726214 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-07-23 21:25:14 UTC
Created attachment 726217 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-23 21:25:15 UTC
Created attachment 726220 [details]
sci-physics:geant-4.11.0_beta1-r1:20210723-195517.log
Comment 7 Toralf Förster gentoo-dev 2021-07-23 21:25:17 UTC
Created attachment 726223 [details]
temp.tar.bz2
Comment 8 Yiyang Wu 2021-12-14 08:54:42 UTC
This variable is used to fix configuration bug (https://gitlab.kitware.com/cmake/cmake/-/issues/22536) exists in cmake-3.21.0 to 3.21.2. It is fixed in https://gitlab.kitware.com/cmake/cmake/-/commit/a71f0fc9c7762a06d0bfdd64d0d490919e12357a. Now all cmake versions in portage tree don't need this flag.

So I suppose we can remove this flag in the future.
Comment 9 Yiyang Wu 2021-12-14 08:55:35 UTC
(In reply to Wu Yiyang from comment #8)
> This variable is used to fix configuration bug

Should be "avoid" a configuration bug
Comment 10 Guilherme Amadio gentoo-dev 2021-12-14 09:21:52 UTC
Not sure the comments above are related to this bug. This bug happens because of building with C++20. The C++20 bugs have been fixed upstream in the latest release, which I will add to the tree very soon and drop the beta.
Comment 11 Larry the Git Cow gentoo-dev 2021-12-14 15:12:12 UTC
The bug has been closed via the following commit(s):

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

commit b1a95a9f3106c1a66962d32c113685a9a4073b94
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2021-12-14 15:07:30 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2021-12-14 15:07:46 +0000

    sci-physics/geant: drop old versions
    
    Closes: https://bugs.gentoo.org/803575
    
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 sci-physics/geant/Manifest                     |   4 -
 sci-physics/geant/geant-4.10.7-r3.ebuild       | 109 -------------------------
 sci-physics/geant/geant-4.10.7.1-r3.ebuild     | 109 -------------------------
 sci-physics/geant/geant-4.10.7.2-r3.ebuild     | 109 -------------------------
 sci-physics/geant/geant-4.11.0_beta1-r2.ebuild | 109 -------------------------
 5 files changed, 440 deletions(-)