Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910200 - games-util/slade-3.2.2 fails to compile - ninja subcommand failed
Summary: games-util/slade-3.2.2 fails to compile - ninja subcommand failed
Status: RESOLVED DUPLICATE of bug 899040
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:
 
Reported: 2023-07-10 18:57 UTC by Phil Rigby
Modified: 2023-07-12 00:53 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,450.42 KB, text/x-log)
2023-07-10 18:57 UTC, Phil Rigby
Details
Build log for gcc12.3.1 (build (12.3.1_p20230526).log,537.10 KB, text/x-log)
2023-07-10 20:14 UTC, Phil Rigby
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Rigby 2023-07-10 18:57:12 UTC
Attempting to install Slade-3.2.2, the compilation gets to step 277/320 then fails with "ninja: build stopped: subcommand failed."

I've tried to no use flags and some variations of others, to no avail.
I've seen ninja issues before with other packages where low memory was the problem, but does not appear to be in this case - I added an extra 32Gb to help.

Reproducible: Always

Steps to Reproduce:
1. emerge slade
2. Compilation starts
3. Compilation fails around step 277/320
Actual Results:  
[277/320] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DINSTALL_PREFIX=\"/usr\" -DUSE_SFML_RENDERWINDOW -DUSE_WEBVIEW_STARTPAGE -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/usr/include/SFML -I/usr/include/lua5.1 -I/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/src/. -I/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/src/.. -I/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/src/../thirdparty/glad/include -I/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/src/./Application -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/thirdparty/lunasvg/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.2-gtk3 -isystem /usr/include/wx-3.2-gtk3  -DNDEBUG -O2 -pipe -pthread -std=gnu++17 -MD -MT src/CMakeFiles/slade.dir/Scripting/Export/Graphics.cpp.o -MF src/CMakeFiles/slade.dir/Scripting/Export/Graphics.cpp.o.d -o src/CMakeFiles/slade.dir/Scripting/Export/Graphics.cpp.o -c /var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/src/Scripting/Export/Graphics.cpp
ninja: build stopped: subcommand failed.


Expected Results:  
Compilation completes and package installs successfully.

emerge --info
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-13, glibc-2.37-r3, 6.3.8-gentoo x86_64)
=================================================================
System uname: Linux-6.3.8-gentoo-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-glibc2.37
KiB Mem:    49256052 total,  35882072 free
KiB Swap:   34052416 total,  34052416 free
Timestamp of repository gentoo: Mon, 10 Jul 2023 13:00:01 +0000
Head commit of repository gentoo: 4e65d84678f80c4b477ddc4e42c01f7cd29058ac
sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-lang/perl:             5.38.0::gentoo
dev-lang/python:           3.11.4::gentoo, 3.12.0_beta3::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.35::gentoo
sys-apps/systemd:          253.5-r1::gentoo
sys-devel/autoconf:        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/gcc:             13.1.1_p20230527::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.4::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-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
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="-O2 -pipe"
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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
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 acl acpi activities alsa amd64 archive bluetooth branding brightness-control bzip2 cairo cdda cddb cdr cli colord comic comics cpudetection crypt cups dbus declarative discover dri dts dvd dvdr encode exif faad ffmpeg flac fluidsynth fontconfig fortran gamepad gdbm geolocation gif gpm gtk gui heif iconv icu ios jpeg jpeg2k jumbo-build kate kde kdesu keyring kwallet lcms libnotify libtirpc libvisual lm-sensors lua mad mng modplug moodbar mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg openexr opengl openmp pam pango pcre pdf pipewire plasma plymouth png policykit ppds pulseaudio qml qt5 raw rdp readline samba screencast sdl seccomp semantic-desktop sftp sound spell split-usr ssl startup-notification svg symlink systemd taglib telemetry test-rust theora tiff toolbar truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vlc vorbis vpx vulkan wayland webengine webkit webp widgets wxwidgets x264 x265 xattr xcb xft xml xv xvid zeroconf zip zlib" ABI_X86="64" 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" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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="evdev" KERNEL="linux" L10N="en-US" 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="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="fbcon radeon radeonsi amdgpu" 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, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, 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

emerge -pqv =games-util/slade-3.2.2::gentoo
[ebuild  N    ] games-util/slade-3.2.2  USE="fluidsynth webkit -timidity" LUA_SINGLE_TARGET="lua5-1 -lua5-3"
Comment 1 Phil Rigby 2023-07-10 18:57:51 UTC
Created attachment 865363 [details]
Build log
Comment 2 Phil Rigby 2023-07-10 20:14:23 UTC
Created attachment 865364 [details]
Build log for gcc12.3.1
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-11 04:23:25 UTC
In file included from /var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/thirdparty/lunasvg/source/lunasvg.cpp:1:
/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/thirdparty/lunasvg/include/lunasvg.h:80:24: error: expected ‘)’ before ‘*’ token
   80 |     Bitmap(std::uint8_t* data, std::uint32_t width, std::uint32_t height, std::uint32_t stride);
      |           ~            ^
      |                        )
/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/thirdparty/lunasvg/include/lunasvg.h:81:25: error: expected ‘)’ before ‘width’
   81 |     Bitmap(std::uint32_t width, std::uint32_t height);
      |           ~             ^~~~~~
      |                         )
/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/thirdparty/lunasvg/include/lunasvg.h:83:16: error: ‘std::uint8_t’ has not been declared
   83 |     void reset(std::uint8_t* data, std::uint32_t width, std::uint32_t height, std::uint32_t stride);
      |                ^~~
/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/thirdparty/lunasvg/include/lunasvg.h:83:36: error: ‘std::uint32_t’ has not been declared
   83 |     void reset(std::uint8_t* data, std::uint32_t width, std::uint32_t height, std::uint32_t stride);
      |                                    ^~~
/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/thirdparty/lunasvg/include/lunasvg.h:83:57: error: ‘std::uint32_t’ has not been declared
   83 |     void reset(std::uint8_t* data, std::uint32_t width, std::uint32_t height, std::uint32_t stride);
      |                                                         ^~~
/var/tmp/portage/games-util/slade-3.2.2/work/SLADE-3.2.2/thirdparty/lunasvg/include/lunasvg.h:83:79: error: ‘std::uint32_t’ has not been declared
   83 |     void reset(std::uint8_t* data, std::uint32_t width, std::uint32_t height, std::uint32_t stride);
      |                                                        
[...]
Comment 4 Phil Rigby 2023-07-11 13:29:10 UTC
Does that mean this is a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=899040 ?
Comment 5 Mike Gilbert gentoo-dev 2023-07-12 00:53:50 UTC
Looks like a dupe to me.

*** This bug has been marked as a duplicate of bug 899040 ***