Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894678 - games-action/dxx-rebirth-0.61.0_pre20210623 fails to build (compilation error) with sys-devel/gcc-12
Summary: games-action/dxx-rebirth-0.61.0_pre20210623 fails to build (compilation error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
: 899886 (view as bug list)
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2023-02-16 06:23 UTC by Davyd McColl
Modified: 2023-03-10 07:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,232.70 KB, text/x-log)
2023-02-16 06:23 UTC, Davyd McColl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davyd McColl 2023-02-16 06:23:46 UTC
Created attachment 851508 [details]
build.log

games-action/dxx-rebirth-0.61.0_pre20210623 fails to build with:

similar/main/automap.cpp: In function ‘d2x::game_marker_index d2x::convert_player_marker_index_to_game_marker_index(unsigned int, unsigned int, unsigned int, player_marker_index)’:
similar/main/automap.cpp:374:30: error: cannot convert ‘const d2x::player_marker_index’ to ‘d2x::game_marker_index’ in initialization
  374 |     return game_marker_index{player_marker_num};
      |                              ^~~~~~~~~~~~~~~~~
      |                              |
      |                              const d2x::player_marker_index
Comment 1 Davyd McColl 2023-02-16 06:26:13 UTC
This has built previously, according to genlop:

❯ genlop -s dxx
 * matches found:

     Sat Jul 31 19:27:28 2021 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Sun Aug 22 14:13:21 2021 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Wed Sep 15 22:36:52 2021 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Tue Jan 11 00:32:52 2022 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Mon Feb 14 15:50:55 2022 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Sat Jul  2 01:31:14 2022 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Tue Jul  5 00:26:55 2022 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Tue Nov 15 21:09:43 2022 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Sun Nov 27 23:21:02 2022 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Sat Dec 17 02:20:15 2022 >>> games-action/dxx-rebirth-0.61.0_pre20210623
     Sun Jan 15 02:09:38 2023 >>> games-action/dxx-rebirth-0.61.0_pre20210623

so I'm wondering if that means that the issue is due to updated tooling at my end? Please let me know what further information would help.
Comment 2 Mike Gilbert gentoo-dev 2023-02-16 21:21:19 UTC
Please provide emerge --info.
Comment 3 Davyd McColl 2023-02-17 06:16:18 UTC
output from `emerge --info`

Portage 3.0.44 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.36-r5, 6.1.8-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.8-gentoo-x86_64-x86_64-11th_Gen_Intel-R-_Core-TM-_i9-11900KF_@_3.50GHz-with-glibc2.36
KiB Mem:    65725528 total,    445836 free
KiB Swap:    6428500 total,   6425172 free
Timestamp of repository gentoo: Thu, 16 Feb 2023 16:00:01 +0000
Head commit of repository gentoo: f61b240e0301deeff537a30e5135612a29ab93b7
Timestamp of repository cg: Mon, 13 Feb 2023 14:17:02 +0000
Head commit of repository cg: 2f29ccf19564d9cd506aa4d3e3565a53a5328285

Head commit of repository dotnet: 8114dfb9572fb5fca07f204804af1fc22d5a9720

Head commit of repository flatpak-overlay: 4bf9a7815ca9361f86459c8a8e9bc403e3721704

Timestamp of repository gentoo-zh: Thu, 16 Feb 2023 14:31:54 +0000
Head commit of repository gentoo-zh: 8b84753e2eaae602aa07dac93a209fe103b8e169

Timestamp of repository guru: Thu, 16 Feb 2023 13:01:58 +0000
Head commit of repository guru: 8fd4abe97e8a63238f40dca49b3cd13d81b6e9e9

Timestamp of repository nest: Fri, 10 Feb 2023 21:46:58 +0000
Head commit of repository nest: 9991b903297dff153c6087ce25831503b055afb6

Timestamp of repository nitratesky: Mon, 13 Feb 2023 19:32:03 +0000
Head commit of repository nitratesky: 1de0312e9742a5f194d2a35fa9d5722ef5501802

Timestamp of repository slyfox: Mon, 30 Jan 2023 23:16:54 +0000
Head commit of repository slyfox: 47b8b66dcb526f9c9152084080dac95a807b3c1b

Head commit of repository steam-overlay: 8d074bae13d66a865fe1766a42fdcf2d0c1d2f3d

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
ccache version 4.7.4 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9-r1::gentoo, 3.11.1-r1::gentoo
dev-lang/rust-bin:         1.66.1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

cg
    location: /var/db/repos/cg
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/cg.git
    masters: gentoo
    priority: 50
    volatile: True

dotnet
    location: /var/db/repos/dotnet
    sync-type: git
    sync-uri: https://github.com/gentoo/dotnet.git
    masters: gentoo
    priority: 50
    volatile: True

flatpak-overlay
    location: /var/db/repos/flatpak
    sync-type: git
    sync-uri: https://github.com/fosero/flatpak-overlay
    masters: gentoo
    priority: 50
    volatile: True

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo
    priority: 50
    volatile: True

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    priority: 50
    volatile: True

nest
    location: /var/db/repos/nest
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/nest.git
    masters: gentoo
    priority: 50
    volatile: True

nitratesky
    location: /var/db/repos/nitratesky
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/nitratesky.git
    masters: gentoo nest
    priority: 50
    volatile: True

slyfox
    location: /var/db/repos/slyfox
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/slyfox.git
    masters: gentoo
    priority: 50
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j14 -l15"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust threads tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-17 07:09:17 UTC
Try https://github.com/dxx-rebirth/dxx-rebirth/commit/092daecb6118b3c072c71a8bea24f119e300bd49 as a patch (append .patch to the URL).

We should take a new snapshot anyway though.
Comment 5 Davyd McColl 2023-02-17 17:36:49 UTC
Thanks, that patch works 100%
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-10 07:39:44 UTC
*** Bug 899886 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2023-03-10 07:45:55 UTC
The bug has been closed via the following commit(s):

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

commit ef781b2e02df4142141a43ee8da72738c42c67c3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-10 07:39:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-10 07:45:40 +0000

    games-action/dxx-rebirth: fix build w/ gcc 12
    
    Closes: https://bugs.gentoo.org/894678
    Signed-off-by: Sam James <sam@gentoo.org>

 .../dxx-rebirth-0.61.0_pre20210623.ebuild          |  4 ++++
 .../dxx-rebirth-0.61.0_pre20210623-gcc-12.patch    | 25 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)