Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907746 - games-action/dxx-rebirth-0.61.0_pre20210623 fails to rebuild with gcc-13: similar/main/paging.cpp:306:30: error: possibly dangling reference to a temporary
Summary: games-action/dxx-rebirth-0.61.0_pre20210623 fails to rebuild with gcc-13: sim...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-06-03 11:58 UTC by Leonid Kopylov
Modified: 2023-06-25 15:18 UTC (History)
0 users

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


Attachments
build.log (build.log,125.50 KB, text/plain)
2023-06-03 11:58 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2023-06-03 11:58:18 UTC
# emerge -pqv '=games-action/dxx-rebirth-0.61.0_pre20210623::gentoo'
[ebuild   R   ] games-action/dxx-rebirth-0.61.0_pre20210623  USE="d1x d2x data editor flac ipv6 joystick midi mp3 music opengl opl3-musicpack png sc55-musicpack sdl2 tracker vorbis -debug -valgrind" L10N="-de"

# emerge --info '=games-action/dxx-rebirth-0.61.0_pre20210623::gentoo'
Portage 3.0.48 (python 3.11.3-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.37-r3, 6.3.5-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.3.5-gentoo-amd64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-1260P-with-glibc2.37
KiB Mem:    65423480 total,  56740796 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Sat, 03 Jun 2023 03:30:01 +0000
Head commit of repository gentoo: 5562cfd019e07d1ade395ab946e70c8ddd227958
Timestamp of repository EmilienMottet: Mon, 29 May 2023 18:33:58 +0000
Head commit of repository EmilienMottet: c1635922cb20eca6c7482366f1154f7eb4d7715f

Timestamp of repository HomeAssistantRepository: Mon, 29 May 2023 18:33:47 +0000
Head commit of repository HomeAssistantRepository: f518b959cd3b92414d8d03deb5b45fa32a6d29df

Timestamp of repository brave-overlay: Thu, 01 Jun 2023 15:01:57 +0000
Head commit of repository brave-overlay: 202b54145f203f915d50aac4d693fff0ff1247f0

Timestamp of repository darkelf: Mon, 29 May 2023 18:33:43 +0000
Head commit of repository darkelf: ca8f191e990e772253aa517d3feb073b0ba48b7e

Timestamp of repository guru: Tue, 30 May 2023 22:01:56 +0000
Head commit of repository guru: 82d2c734e03514ff82127786a6a1ef6712b0fdf4

Timestamp of repository kde: Mon, 29 May 2023 18:33:45 +0000
Head commit of repository kde: de9db4feaeededdfdfd7f2499b6d699a5903e203

Timestamp of repository pentoo: Fri, 02 Jun 2023 23:31:51 +0000
Head commit of repository pentoo: 93704b5cb275c1db4565eb426fdbba654a8a94b7

sh bash 5.2_p15-r3
ld GNU ld (Gentoo 2.40 p5) 2.40.0
ccache version 4.8 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r3::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.36.1-r2::gentoo
dev-lang/python:           3.10.11::gentoo, 3.11.3::gentoo, 3.12.0_beta1_p4::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/ccache:           4.8-r2::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.5::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.4::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo, 13.1.1_p20230527::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.4::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

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

EmilienMottet
    location: /var/db/repos/EmilienMottet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/EmilienMottet.git
    masters: gentoo
    volatile: False

HomeAssistantRepository
    location: /var/db/repos/HomeAssistantRepository
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/HomeAssistantRepository.git
    masters: gentoo
    volatile: False

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brave-overlay.git
    masters: gentoo
    volatile: False

darkelf
    location: /var/db/repos/darkelf
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/darkelf.git
    masters: gentoo
    volatile: False

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

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome Intel-SDP microsoft-edge Microsoft-vscode OPERA-2018 PUEL-11 RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/sonar/conf /opt/zookeeper-bin/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/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="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/ https://gentoo.osuosl.org/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
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/bash"
USE="X a52 aac aalib accessibility acl acpi activities alsa amd64 ao appindicator archive aspell audit bash-completion berkdb bidi bluetooth bluray boost branding brotli btrfs bzip2 cairo cdda cddb cdio cdr cgi cli colord contrib cron crypt cryptsetup cups curl dbi dbus designer device-mapper djvu doc dri drm dts dv dvb dvd dvdr eds emacs enchant encode evdev evo examples executable exif expat experimental extra extras fam fastcgi fbcon ffmpeg fftw firebird flac fluidsynth fontconfig fontforge fortran freetds ftp fuse gamepad games gcrypt gd gdbm gdk-pixbuf geoip geolocation gif git glade glib glusterfs gme gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls go gpg gphoto2 gpm graphviz gsm gssapi gstreamer gtk gtk-doc gtk3 gui guile harfbuzz hdf5 heif highlight hscolour html http http2 ibus iconv icu idn imagemagick imap imlib introspection iodbc ios ipv6 jack java javascript jbig jemalloc joystick jpeg jpeg2k jpegxl json kde kerberos keyring ladspa lame latex lcms ldap libass libcaca libevent libnotify libsamplerate libtirpc libxml2 lm-sensors lmdb lua lv2 lvm lz4 lzma lzo mad magic maildir man mbedtls mbox memcached midi mmap mms mng modplug mono mp3 mp4 mpeg mpi mplayer mssql mtp multilib multimedia musepack mysql nas nautilus ncurses netlink nettle network networkmanager nfs nls nptl nss ntlm odbc offensive ogg openal opencl openexr opengl openmp openssl opus pam pango pcap pcre pdf perl phonon pkcs11 plasma plugins png policykit portaudio postgres postscript ppds pulseaudio python qdbm qml qrcode qt5 raw rdma readline redis rss samba sasl screencast sctp sdl seccomp semantic-desktop sftp share skey smp smtp snappy sndfile sndio snmp sound source sox speech speex spell sql sqlite ssh ssl startup-notification svg symlink syslog sysprof systemd taglib tbb tcl tcpd telemetry telepathy test-rust theora threads tiff tk tools tpm tracker tremor truetype twolame udev udisks unicode unwind upnp upower usb utils uuid v4l vaapi vala vcd vim-syntax vnc vorbis vpx vulkan wavpack wayland webengine webkit webp websockets widevine widgets wifi wmf wxwidgets x264 x265 xattr xcb xface xft xinerama xml xmp xpm xscreensaver xv xvid yaml zeroconf zip zlib zsh-completion zstd" 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 stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" 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_11" PYTHON_TARGETS="python3_11 python3_10" RUBY_TARGETS="ruby30 ruby31 ruby32" VIDEO_CARDS="intel fbdev vesa" 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

=================================================================
                        Package Settings
=================================================================

games-action/dxx-rebirth-0.61.0_pre20210623::gentoo was built with the following:
USE="d1x d2x data editor flac ipv6 joystick midi mp3 music opengl opl3-musicpack png sc55-musicpack sdl2 tracker vorbis -debug -valgrind" ABI_X86="(64)" L10N="-de"
Comment 1 Leonid Kopylov 2023-06-03 11:58:35 UTC
Created attachment 863100 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2023-06-25 15:18:07 UTC
The bug has been closed via the following commit(s):

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

commit 97b3716002195ef742d8d5305a952267474034c6
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-06-25 15:17:38 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-06-25 15:17:38 +0000

    games-action/dxx-rebirth: Bump snapshot to 20230618, drop old 20210623, EAPI 8
    
    This fixes building with GCC 13 and the sdl12-compat wrapper.
    
    Closes: https://bugs.gentoo.org/896952
    Closes: https://bugs.gentoo.org/900212
    Closes: https://bugs.gentoo.org/907746
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-action/dxx-rebirth/Manifest                  |  2 +-
 ...build => dxx-rebirth-0.61.0_pre20230618.ebuild} | 36 ++++++++-------
 games-action/dxx-rebirth/dxx-rebirth-9999.ebuild   | 34 ++++++++-------
 ...-rebirth-0.61.0_pre20210623-gcc-12-editor.patch | 23 ----------
 .../dxx-rebirth-0.61.0_pre20210623-gcc-12.patch    | 25 -----------
 .../dxx-rebirth-0.61.0_pre20210623-scons-4.5.patch | 51 ----------------------
 ...x-rebirth-0.61.0_pre20230618-sdl12-compat.patch | 38 ++++++++++++++++
 7 files changed, 78 insertions(+), 131 deletions(-)