Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728744 - media-gfx/krita-4.3.0: /usr/include/boost/variant/detail/apply_visitor_unary.hpp:66:1: error: ‘typedef void boost::static_visitor<void>::result_type’ is inaccessible within this context
Summary: media-gfx/krita-4.3.0: /usr/include/boost/variant/detail/apply_visitor_unary....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 728874 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-19 08:55 UTC by Enne Eziarc
Modified: 2020-06-21 08:00 UTC (History)
7 users (show)

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


Attachments
build log (12M uncompressed) (build.log.gz,295.82 KB, application/gzip)
2020-06-19 08:55 UTC, Enne Eziarc
Details
set CMAKE_CXX_STANDARD to 14 (krita-boost_cxx14.diff,267 bytes, patch)
2020-06-20 07:32 UTC, ak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2020-06-19 08:55:59 UTC
Created attachment 645214 [details]
build log (12M uncompressed)

$ emerge --info krita boost
Portage 2.3.101 (python 3.8.3-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.7.2-zen-cfs-00310-ga6d7131b5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.7.2-zen-cfs-00310-ga6d7131b5-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.2.5
KiB Mem:    65878808 total,  52473648 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 19 Jun 2020 04:00:01 +0000
Head commit of repository gentoo: b4885d8684dc6dc72707abb17ef0e415acab4007
sh dash 0.5.11
ld GNU ld (Gentoo 2.34 p4) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 3.7.9 [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo, 3.9.0_beta3::gentoo
dev-util/ccache:          3.7.9::gentoo
dev-util/cmake:           3.17.3::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            10.1.0-r1::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

gentoo
    location: /mnt/nfs/portage/repositories/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 

arduino-overlay
    location: /mnt/nfs/portage/repositories/arduino-overlay
    masters: gentoo

crossdev
    location: /mnt/nfs/portage/repositories/crossdev
    masters: gentoo flussence

flussence
    location: /home/ant/code/ebuilds
    masters: gentoo

libressl
    location: /mnt/nfs/portage/repositories/libressl
    masters: gentoo

steam-overlay
    location: /mnt/nfs/portage/repositories/steam-overlay
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2 -mtune=znver2 -mmmx -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mmovbe -maes -msha -mpclmul -mpopcnt -mabm -mfma -mbmi -mno-bmi2 -mwbnoinvd -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mclflushopt -mxsavec -mxsaves -mclwb -mmwaitx -mclzero -mrdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -floop-interchange -floop-nest-optimize -ftree-vectorize -fno-common"
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 /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=znver2 -mtune=znver2 -mmmx -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mmovbe -maes -msha -mpclmul -mpopcnt -mabm -mfma -mbmi -mno-bmi2 -mwbnoinvd -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mclflushopt -mxsavec -mxsaves -mclwb -mmwaitx -mclzero -mrdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -floop-interchange -floop-nest-optimize -ftree-vectorize -fno-common"
DISTDIR="/mnt/nfs/portage/cache/distfiles"
EMERGE_DEFAULT_OPTS="--unordered-display --with-bdeps=y --alert --jobs=16"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 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"
INSTALL_MASK=" /usr/share/locale -/usr/share/locale/en_GB /usr/share/man/* -/usr/share/man/man* /usr/share/wine-*/man -/usr/share/wine-*/man/man* /usr/share/gcc-data/*/*/locale /usr/share/binutils-data/*/*/locale /var/db/repos/ /etc/avahi/services/* /usr/share/git-core/templates/*"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,combreloc,-z,relro,-z,now"
MAKEOPTS="-j24"
PKGDIR="/mnt/nfs/portage/pkgdir/x86_64-pc-linux-gnu"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
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"
USE="amd64 bzip2 caps cli crypt dri iconv ipv6 libressl libtirpc linguas_en_GB multilib ncurses nls nptl openmp pcre readline seccomp split-usr ssl unicode wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" RUBY_TARGETS="ruby25" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

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

media-gfx/krita-4.2.9::gentoo was built with the following:
USE="fftw gsl jpeg raw vc -color-management -debug -gif -heif -openexr -pdf -qtmedia -test -tiff" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 -python3_6 -python3_7 -python3_9"
FEATURES="binpkg-dostrip binpkg-multi-instance usersync parallel-install sandbox strict parallel-fetch usersandbox userfetch cgroup unknown-features-warn merge-sync news distlocks compressdebug preserve-libs xattr binpkg-logs unmerge-logs userpriv network-sandbox config-protect-if-modified protect-owned multilib-strict unmerge-orphans qa-unresolved-soname-deps sfperms assume-digests fixlafiles ipc-sandbox pid-sandbox binpkg-docompress ebuild-locks"


dev-libs/boost-1.73.0::gentoo was built with the following:
USE="bzip2 nls threads zlib -context -debug -doc -icu -lzma -mpi -numpy -python -static-libs -tools -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="-python2_7 -python3_6 -python3_7 -python3_8"
CXXFLAGS="-O2 -pipe -march=znver2 -mtune=znver2 -mmmx -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mmovbe -maes -msha -mpclmul -mpopcnt -mabm -mfma -mbmi -mno-bmi2 -mwbnoinvd -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mclflushopt -mxsavec -mxsaves -mclwb -mmwaitx -mclzero -mrdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -floop-interchange -floop-nest-optimize -ftree-vectorize -fno-common -std=c++14"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-06-19 09:05:53 UTC
/usr/include/boost/geometry/index/detail/rtree/node/variant_visitor.hpp:51:25:   required from ‘void boost::geometry::index::detail::rtree::apply_visitor(Visitor&, boost::variant<boost::geometry::index::detail::rtree::variant_leaf<Value,
 Parameters, Box, Allocators, Tag>, boost::geometry::index::detail::rtree::variant_internal_node<Value, Parameters, Box, Allocators, Tag> >&) [with Visitor = boost::geometry::index::detail::rtree::visitors::insert<std::pair<boost::geomet
ry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate>, boost::geometry::index::rtree<std::pai
r<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate>, boost::geometry::index:
:quadratic<16> >::members_holder, boost::geometry::index::detail::rtree::insert_default_tag>; Value = std::pair<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPain
tDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate>; Parameters = boost::geometry::index::quadratic<16>; Box = boost::geometry::model::box<boost::geometry::model::point<short unsigned int, 3, boost::geom
etry::cs::cartesian> >; Allocators = boost::geometry::index::detail::rtree::allocators<boost::container::new_allocator<std::pair<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::pr
ocessImpl(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate> >, std::pair<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(Kis
PaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::carte
sian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>; Tag = boost::geometry::index::detail::rtree::node_variant_static_tag]’
/usr/include/boost/geometry/index/rtree.hpp:1545:37:   required from ‘void boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::raw_insert(const value_type&) [with Value = std::pair<boost::geometry::model::
point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate>; Parameters = boost::geometry::index::quadratic<16
>; IndexableGetter = boost::geometry::index::indexable<std::pair<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const QRect&, KisFilterConfiguration
SP, KoUpdater*) const::ColorCandidate> >; EqualTo = boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const
QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate> >; Allocator = boost::container::new_allocator<std::pair<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::proce
ssImpl(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate> >; boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::value_type = std::pair<boost::geometry::model::poi
nt<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate>]’
/usr/include/boost/geometry/index/rtree.hpp:688:15:   required from ‘void boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::insert(const value_type&) [with Value = std::pair<boost::geometry::model::point
<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate>; Parameters = boost::geometry::index::quadratic<16>; In
dexableGetter = boost::geometry::index::indexable<std::pair<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, K
oUpdater*) const::ColorCandidate> >; EqualTo = boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const QRect
&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate> >; Allocator = boost::container::new_allocator<std::pair<boost::geometry::model::point<short unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImp
l(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate> >; boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::value_type = std::pair<boost::geometry::model::point<sh
ort unsigned int, 3, boost::geometry::cs::cartesian>, KisFilterPalettize::processImpl(KisPaintDeviceSP, const QRect&, KisFilterConfigurationSP, KoUpdater*) const::ColorCandidate>]’
/var/tmp/portage/media-gfx/krita-4.3.0/work/krita-4.3.0/plugins/filters/palettize/palettize.cpp:209:99:   required from here
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:66:1: error: ‘typedef void boost::static_visitor<void>::result_type’ is inaccessible within this context
Comment 2 ak 2020-06-20 07:32:05 UTC
Created attachment 645342 [details, diff]
set CMAKE_CXX_STANDARD to 14

Krita tries to build itself with c++11, while, as the boost ebuild suggests, c++14 is required
Comment 3 PhobosK 2020-06-20 12:32:43 UTC
Isn't this the same problem as Bug #728874 ?
Comment 4 Andreas Sturmlechner gentoo-dev 2020-06-20 21:31:17 UTC
*** Bug 728874 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2020-06-21 08:00:21 UTC
The bug has been closed via the following commit(s):

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

commit 2674d8d5720f7e45851a8323a2a33dfb37a7eb1d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-06-21 07:59:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-06-21 08:00:07 +0000

    media-gfx/krita: Fix build with boost-1.73.0
    
    Closes: https://bugs.gentoo.org/728744
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/krita/krita-4.3.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)