Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892283 - media-gfx/inkscape-9999 build failed due to deprecation of track_obj(), now track_object() in dev-libs/libsigc++
Summary: media-gfx/inkscape-9999 build failed due to deprecation of track_obj(), now t...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL: https://gitlab.com/inkscape/inkscape/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-27 21:02 UTC by Jonas Stein
Modified: 2023-02-04 16:40 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,27.80 KB, application/octet-stream)
2023-01-29 00:21 UTC, Jonas Stein
Details
sigc++config.h (sigc++config.h,1.95 KB, text/plain)
2023-01-29 00:38 UTC, Jonas Stein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2023-01-27 21:02:05 UTC
media-gfx/inkscape-9999 build failed due to deprecation of track_obj(), now track_object() in dev-libs/libsigc++

Build fails with:

src/ui/dialog/color-item.cpp: In constructor ‘Inkscape::UI::Dialog::ColorItem::ColorItem(SPGradient*, Inkscape::UI::Dialog::DialogBase*)’:
src/ui/dialog/color-item.cpp:97:36: error: ‘track_obj’ is not a member of ‘sigc’; did you mean ‘track_object’?


It was deprecated in dev-libs/libsigc++-3.4.0
https://github.com/libsigcplusplus/libsigcplusplus/blob/master/NEWS#L3

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-27 22:04:30 UTC
Please include the full build.log and emerge --info.
Comment 2 Jonas Stein gentoo-dev 2023-01-29 00:18:09 UTC
we can 
a) wait for the patch from upstream, see linked ticket. and/or 
b) limit the dependency to <dev-libs/libsigc++-3.4.0 until it is fixed


emerge --info =media-gfx/inkscape-9999
Portage 3.0.44 (python 3.10.9-final-0, default/linux/amd64/17.1/systemd/merged-usr, gcc-12, glibc-2.36-r7, 5.15.77-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.77-gentoo-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.36
KiB Mem:    65788228 total,  12660080 free
KiB Swap:     524284 total,    523804 free
Timestamp of repository gentoo: Sat, 28 Jan 2023 23:00:01 +0000
Head commit of repository gentoo: 9e8001515e37817f5f8e1d29a022defb89e867f2
sh bash 5.2_p15-r1
ld GNU ld (Gentoo 2.40 p1) 2.40
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.66.1::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.11::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          252.4-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE MakeMKV-EULA NPSL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -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://mirror.netcologne.de/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j28"
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 acl alsa amd64 bash-completion bzip2 cdda cdr cli corefonts crypt cups dbus dbusudev dri dvd dvdr encode flac fortran gdbm gif git iconv ipv6 jpeg latex libglvnd libtirpc mad mp3 mp4 mpeg mpx multilib ncurses nls nptl ogg opengl openmp pam pcre pdf pm-utils png popcnt pulseaudio qt5 readline seccomp smp sna ssl svg systemd test-rust tiff truetype udev udisks unicode utf8 vim vim-syntax vorbis xattr 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sha 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="en" 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="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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, 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
=================================================================

media-gfx/inkscape-9999::gentoo was built with the following:
USE="X cdr dia jpeg openmp postscript readline spell -exif -graphicsmagick -imagemagick -inkjar -svg2 -test -visio -wpg" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
CFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"
CXXFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"
FEATURES="merge-sync buildpkg-live fixlafiles sandbox pid-sandbox ipc-sandbox protect-owned userpriv multilib-strict sfperms ebuild-locks parallel-fetch binpkg-dostrip news xattr config-protect-if-modified unmerge-logs binpkg-docompress assume-digests binpkg-logs qa-unresolved-soname-deps unmerge-orphans usersync network-sandbox strict userfetch binpkg-multi-instance preserve-libs usersandbox unknown-features-warn distlocks"
Comment 3 Jonas Stein gentoo-dev 2023-01-29 00:21:18 UTC
Created attachment 849387 [details]
build.log.xz
Comment 4 Jonas Stein gentoo-dev 2023-01-29 00:38:48 UTC
Created attachment 849389 [details]
sigc++config.h

/usr/lib64/sigc++-3.0/include/sigc++config.h
Comment 5 dwfreed 2023-01-29 01:03:57 UTC
https://gitlab.com/inkscape/inkscape/-/blob/master/CMakeScripts/DefineDependsandFlags.cmake#L39

Inkscape brings this issue on themselves, with this and adjacent *_DISABLE_DEPRECATED defines.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2023-02-04 15:25:04 UTC
EDONTCARE

Let's revisit that at the next release.