Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945404 - games-emulation/nestopia-jg-1.52.1 - NstApiVideo.hpp: error: type Nes::Api::Video::RenderState::Filter violates the C++ One Definition Rule [-Werror=odr]
Summary: games-emulation/nestopia-jg-1.52.1 - NstApiVideo.hpp: error: type Nes::Api::V...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: orbea
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-11-30 09:05 UTC by Toralf Förster
Modified: 2024-12-01 11:26 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.58 KB, text/plain)
2024-11-30 09:05 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,76.16 KB, application/x-xz)
2024-11-30 09:05 UTC, Toralf Förster
Details
environment (environment,63.37 KB, text/plain)
2024-11-30 09:05 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-30 09:05 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.01 KB, application/x-xz)
2024-11-30 09:05 UTC, Toralf Förster
Details
games-emulation:nestopia-jg-1.52.1:20241129-233009.log (games-emulation:nestopia-jg-1.52.1:20241129-233009.log,87.48 KB, text/plain)
2024-11-30 09:05 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,14.86 KB, application/x-xz)
2024-11-30 09:05 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,88.22 KB, application/x-xz)
2024-11-30 09:05 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.32 KB, application/x-xz)
2024-11-30 09:05 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-30 09:05:00 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -fPIC -std=c++98 -DNST_PRAGMA_ONCE -DNST_NO_ZLIB -c src/input/NstInpZapper.cpp -o objs/src/input/NstInpZapper.o
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -fPIC -std=c++98 -DNST_PRAGMA_ONCE -DNST_NO_ZLIB -c src/vssystem/NstVsSuperXevious.cpp -o objs/src/vssystem/NstVsSuperXevious.o
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -fPIC -std=c++98 -DNST_PRAGMA_ONCE -DNST_NO_ZLIB -c src/vssystem/NstVsTkoBoxing.cpp -o objs/src/vssystem/NstVsTkoBoxing.o
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -fPIC -std=c++98 -DNST_PRAGMA_ONCE -DNST_NO_ZLIB -c src/vssystem/NstVsRbiBaseball.cpp -o objs/src/vssystem/NstVsRbiBaseball.o
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -fPIC -std=c++98 -DNST_PRAGMA_ONCE -DNST_NO_ZLIB -c src/vssystem/NstVsSystem.cpp -o objs/src/vssystem/NstVsSystem.o
x86_64-pc-linux-gnu-g++ -o nestopia/nestopia.so objs/jg.o objs/src/NstApu.o objs/src/NstAssert.o objs/src/NstCartridge.o objs/src/NstCartridgeInes.o objs/src/NstCartridgeRomset.o objs/src/NstCartridgeUnif.o objs/src/NstCheats.o objs/src/NstChecksum.o objs/src/NstChips.o objs/src/NstCore.o objs/src/N
/var/tmp/portage/games-emulation/nestopia-jg-1.52.1/work/nestopia-1.52.1/src/api/NstApiVideo.hpp:677:38: error: type Nes::Api::Video::RenderState::Filter violates the C++ One Definition Rule [-Werror=odr]
  677 |                                 enum Filter
      |                                      ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20241122-153001

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.77.1
  [3]   rust-bin-1.81.0
  [4]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_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 3184d5daa7c700411c92eb1225e20a3dd3390184
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 29 22:48:23 2024 +0000

    2024-11-29 22:48:23 UTC

emerge -qpvO =games-emulation/nestopia-jg-1.52.1
[ebuild  N    ] games-emulation/nestopia-jg-1.52.1
Comment 1 Toralf Förster gentoo-dev 2024-11-30 09:05:01 UTC
Created attachment 912821 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-30 09:05:02 UTC
Created attachment 912822 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-30 09:05:04 UTC
Created attachment 912823 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-30 09:05:04 UTC
Created attachment 912824 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-30 09:05:05 UTC
Created attachment 912825 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-30 09:05:06 UTC
Created attachment 912826 [details]
games-emulation:nestopia-jg-1.52.1:20241129-233009.log
Comment 7 Toralf Förster gentoo-dev 2024-11-30 09:05:07 UTC
Created attachment 912827 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-30 09:05:09 UTC
Created attachment 912828 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-30 09:05:10 UTC
Created attachment 912829 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-12-01 11:26:44 UTC
The bug has been closed via the following commit(s):

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

commit cd66eef7231fccf3244372442da50e538fcf09fa
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-11-30 16:37:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-01 11:25:55 +0000

    games-emulation/nestopia-jg: fix C++ odr warnings
    
    Closes: https://bugs.gentoo.org/945404
    Upstream-Commit: https://gitlab.com/jgemu/nestopia/-/commit/7f6b5bf12e02011533c054d587dba6297defe868
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/39533
    Signed-off-by: Sam James <sam@gentoo.org>

 .../nestopia-jg/files/nestopia-jg-1.52.1-odr.patch | 56 ++++++++++++++++++++++
 .../nestopia-jg/nestopia-jg-1.52.1-r1.ebuild       | 50 +++++++++++++++++++
 2 files changed, 106 insertions(+)