Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945059 - media-gfx/netgen-6.2.2302 - [ncurses-6.5] [meson] [gcc-15] basegeom.cpp: error: type struct Line violates the C++ One Definition Rule [-Werror=odr]
Summary: media-gfx/netgen-6.2.2302 - [ncurses-6.5] [meson] [gcc-15] basegeom.cpp: erro...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-11-26 18:41 UTC by Toralf Förster
Modified: 2024-11-26 18:41 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.40 KB, text/plain)
2024-11-26 18:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,75.89 KB, text/plain)
2024-11-26 18:41 UTC, Toralf Förster
Details
environment (environment,152.74 KB, text/plain)
2024-11-26 18:41 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-11-26 18:41 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.27 KB, application/x-xz)
2024-11-26 18:41 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,18.95 KB, application/x-xz)
2024-11-26 18:41 UTC, Toralf Förster
Details
media-gfx:netgen-6.2.2302:20241126-135206.log (media-gfx:netgen-6.2.2302:20241126-135206.log,209.03 KB, text/plain)
2024-11-26 18:41 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,177.29 KB, text/plain)
2024-11-26 18:41 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.76 KB, application/x-xz)
2024-11-26 18:41 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 2024-11-26 18:41:03 UTC
too long lines were shrinked:

[177/180] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_DLFCN_H -DHAVE_OPENGL_EXT -DNETGEN_USE_SPDLOG -DOCCGEOMETRY -DOCC_CONVERT_SIGNALS -Dnglib_EXPORTS -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302_build -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302 -I/var/tmp/por
[178/180] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_DLFCN_H -DHAVE_OPENGL_EXT -DNETGEN_USE_SPDLOG -DOCCGEOMETRY -DOCC_CONVERT_SIGNALS -Dnglib_EXPORTS -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302_build -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302 -I/var/tmp/por
[179/180] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_DLFCN_H -DHAVE_OPENGL_EXT -DNETGEN_USE_SPDLOG -DOCCGEOMETRY -DOCC_CONVERT_SIGNALS -Dnglib_EXPORTS -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302_build -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302 -I/var/tmp/por
[180/180] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=stri
FAILED: libnglib.so 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasin
/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302/libsrc/meshing/basegeom.cpp:216:10: error: type struct Line violates the C++ One Definition Rule [-Werror=odr]
  216 |   struct Line
      |          ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20241124-123002

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8f0cab008d7e8370611e705a37f031595f49c063
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 26 11:48:36 2024 +0000

    2024-11-26 11:48:36 UTC

emerge -qpvO =media-gfx/netgen-6.2.2302
[ebuild  N    ] media-gfx/netgen-6.2.2302  USE="logging opencascade -ffmpeg -gui -jpeg -mpi -python -test" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-11-26 18:41:04 UTC
Created attachment 912071 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-26 18:41:05 UTC
Created attachment 912072 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-26 18:41:07 UTC
Created attachment 912073 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-26 18:41:08 UTC
Created attachment 912074 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-26 18:41:09 UTC
Created attachment 912075 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-26 18:41:09 UTC
Created attachment 912076 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-26 18:41:11 UTC
Created attachment 912077 [details]
media-gfx:netgen-6.2.2302:20241126-135206.log
Comment 8 Toralf Förster gentoo-dev 2024-11-26 18:41:12 UTC
Created attachment 912078 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-11-26 18:41:13 UTC
Created attachment 912079 [details]
temp.tar.xz