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

Bug 949607

Summary: dev-cpp/folly-2024.11.04.00-r2 - [meson] [gcc-15] [ffmpeg] EpollBackend.h: error: type struct EpollBackend violates the C++ One Definition Rule [-Werror=odr]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: sin-ack <sin-ack>
Status: CONFIRMED ---    
Severity: normal CC: kangie
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/facebook/folly/issues/2387
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: emerge-info.txt
dev-cpp:folly-2024.11.04.00-r2:20250211-085950.log.xz
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

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

[333/343] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -
[334/343] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -
[335/343] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_NO_AUTO_PTR -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -D
[336/343] : && /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: libfolly.so.0.58.0-dev 
: && /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/dev-cpp/folly-2024.11.04.00-r2/work/folly-2024.11.04.00/folly/io/async/EpollBackend.h:34:7: error: type struct EpollBackend violates the C++ One Definition Rule [-Werror=odr]
   34 | class EpollBackend : public EventBaseBackendBase {
      |       ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20250205-213502

  UNMASKED:

    Requested by sam
  =media-video/ffmpeg-7*

    
  <sys-devel/gcc-15.0.9999:15

    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.9
go version go1.23.6 linux/amd64
  [1]   php8.2 *
  [2]   php8.3
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.84.1
  [2]   rust-1.84.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit f8a24333e7439a603a7eddf2934cb90acf0dbd3d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 11 07:34:32 2025 +0000

    2025-02-11 07:34:31 UTC

emerge -qpvO =dev-cpp/folly-2024.11.04.00-r2
[ebuild  N    ] dev-cpp/folly-2024.11.04.00-r2  USE="-llvm-libunwind -test"
Comment 1 Toralf Förster gentoo-dev 2025-02-11 09:20:37 UTC
Created attachment 918684 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-11 09:20:38 UTC
Created attachment 918685 [details]
dev-cpp:folly-2024.11.04.00-r2:20250211-085950.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-02-11 09:20:39 UTC
Created attachment 918686 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-02-11 09:20:41 UTC
Created attachment 918687 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-02-11 09:20:41 UTC
Created attachment 918688 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-11 09:20:42 UTC
Created attachment 918689 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-11 09:20:43 UTC
Created attachment 918690 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-02-11 09:20:45 UTC
Created attachment 918691 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-02-11 09:20:46 UTC
Created attachment 918692 [details]
temp.tar.xz
Comment 10 Matt Jolly gentoo-dev 2025-02-20 03:41:06 UTC
Hit this on GCC 14. Attempted a version bump - still happens in 2025.02.17.00. Logged a ticket upstream.