Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Can't emerge 'www-client/chromium-62.0.3202.18::net-kit'


maratbn

Question

I'm getting a compilation error when trying to emerge 'www-client/chromium-62.0.3202.18::net-kit'.

Here's the compilation error:

FAILED: obj/services/device/generic_sensor/generic_sensor/platform_sensor_reader_linux.o

x86_64-pc-linux-gnu-g++ -MMD -MF obj/services/device/generic_sensor/generic_sensor/platform_sensor_reader_linux.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -march=ivybridge -O2 -pipe -fno-delete-null-pointer-checks -c ../../services/device/generic_sensor/platform_sensor_reader_linux.cc -o obj/services/device/generic_sensor/generic_sensor/platform_sensor_reader_linux.o

In file included from ../../base/timer/timer.h:67:0,

                 from ../../services/device/generic_sensor/platform_sensor_reader_linux.cc:13:

../../base/bind.h: In instantiation of ?struct base::internal::AssertConstructible<1ul, device::SensorReading&, device::SensorReading, const device::SensorReading&, device::SensorReading>?:

../../base/bind.h:87:8:   required from ?struct base::internal::AssertBindArgsValidity<std::integer_sequence<long unsigned int, 0ul, 1ul>, base::internal::TypeList<base::WeakPtr<device::PlatformSensorLinux>&, device::SensorReading&>, base::internal::TypeList<device::PlatformSensorLinux*, const device::SensorReading&>, base::internal::TypeList<device::PlatformSensorLinux*, device::SensorReading> >?

../../base/bind.h:233:36:   required from ?base::RepeatingCallback<typename base::internal::BindTypeHelper<Functor, BoundArgs>::UnboundRunType> base::BindRepeating(Functor&&, Args&& ...) [with Functor = void (device::PlatformSensorLinux::*)(device::SensorReading); Args = {base::WeakPtr<device::PlatformSensorLinux>&, device::SensorReading&}; typename base::internal::BindTypeHelper<Functor, BoundArgs>::UnboundRunType = void()]?

../../base/bind.h:242:23:   required from ?base::Callback<typename base::internal::BindTypeHelper<Functor, BoundArgs>::UnboundRunType> base::Bind(Functor&&, Args&& ...) [with Functor = void (device::PlatformSensorLinux::*)(device::SensorReading); Args = {base::WeakPtr<device::PlatformSensorLinux>&, device::SensorReading&}; base::Callback<typename base::internal::BindTypeHelper<Functor, BoundArgs>::UnboundRunType> = base::RepeatingCallback<void()>; typename base::internal::BindTypeHelper<Functor, BoundArgs>::UnboundRunType = void()]?

../../services/device/generic_sensor/platform_sensor_reader_linux.cc:126:48:   required from here

../../base/bind.h:59:3: error: static assertion failed: Bound argument |i| of type |Arg| cannot be forwarded as |Unwrapped| to the bound functor, which declares it as |Param|.

   static_assert(

   ^

../../base/bind.h:70:3: error: static assertion failed: Bound argument |i| of type |Arg| cannot be converted and bound as |Storage|.

   static_assert(arg_is_storable,

Also getting this regular error message from Portage:

 * ERROR: www-client/chromium-62.0.3202.18::net-kit failed (compile phase):

 *   ninja -v -j8 -l0 -C out/Release chrome chromedriver chrome_sandbox failed

 *

 * Call stack:

 *     ebuild.sh, line  115:  Called src_compile

 *   environment, line 5253:  Called eninja '-C' 'out/Release' 'chrome' 'chromedriver' 'chrome_sandbox'

 *   environment, line 1801:  Called die

 * The specific snippet of code:

 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"

 *

 * If you need support, post the output of `emerge --info '=www-client/chromium-62.0.3202.18::net-kit'`,

 * the complete build log and the output of `emerge -pqv '=www-client/chromium-62.0.3202.18::net-kit'`.

 * The complete build log is located at '/var/tmp/portage/www-client/chromium-62.0.3202.18/temp/build.log'.

 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-62.0.3202.18/temp/environment'.

 * Working directory: '/var/tmp/portage/www-client/chromium-62.0.3202.18/work/chromium-62.0.3202.18'

 * S: '/var/tmp/portage/www-client/chromium-62.0.3202.18/work/chromium-62.0.3202.18'

Output of 'emerge --info':

Portage 2.3.8 (python 2.7.13-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-5.3.0, glibc-2.23-r4, 4.8.15-1 x86_64)

=================================================================

System uname: Linux-4.8.15-1-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2.1

KiB Mem:    16372836 total,  15024332 free

KiB Swap:   33554428 total,  33554428 free

sh bash 4.4_p12-r1

ld GNU ld (Gentoo 2.28 p1.2) 2.28

app-shells/bash:          4.4_p12-r1::core-kit

dev-lang/perl:            5.24.0-r2::gentoo

dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo

dev-util/cmake:           3.8.0::core-kit

sys-apps/baselayout:      2.2.1::gentoo

sys-apps/openrc:          0.23.2::gentoo

sys-apps/sandbox:         2.10-r4::core-kit

sys-devel/autoconf:       2.13::core-kit, 2.69-r2::gentoo

sys-devel/automake:       1.13.4-r1::core-kit, 1.14.1-r1::core-kit, 1.15-r2::gentoo

sys-devel/binutils:       2.28-r4::core-kit

sys-devel/gcc:            5.3.0-r1::gentoo

sys-devel/gcc-config:     1.8-r1::gentoo

sys-devel/libtool:        2.4.6-r4::core-kit

sys-devel/make:           4.1-r1::gentoo

sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)

sys-libs/glibc:           2.23-r4::gentoo

Repositories:



nokit

    location: /var/git/meta-repo/kits/nokit

    masters: core-kit

    priority: -500



core-hw-kit

    location: /var/git/meta-repo/kits/core-hw-kit

    masters: core-kit

    priority: 1



core-kit

    location: /var/git/meta-repo/kits/core-kit

    priority: 1

    aliases: gentoo



desktop-kit

    location: /var/git/meta-repo/kits/desktop-kit

    masters: core-kit

    priority: 1



dev-kit

    location: /var/git/meta-repo/kits/dev-kit

    masters: core-kit

    priority: 1



editors-kit

    location: /var/git/meta-repo/kits/editors-kit

    masters: core-kit

    priority: 1



games-kit

    location: /var/git/meta-repo/kits/games-kit

    masters: core-kit

    priority: 1



java-kit

    location: /var/git/meta-repo/kits/java-kit

    masters: core-kit

    priority: 1



kde-kit

    location: /var/git/meta-repo/kits/kde-kit

    masters: core-kit

    priority: 1



media-kit

    location: /var/git/meta-repo/kits/media-kit

    masters: core-kit

    priority: 1



net-kit

    location: /var/git/meta-repo/kits/net-kit

    masters: core-kit

    priority: 1



perl-kit

    location: /var/git/meta-repo/kits/perl-kit

    masters: core-kit

    priority: 1



php-kit

    location: /var/git/meta-repo/kits/php-kit

    masters: core-kit

    priority: 1



python-kit

    location: /var/git/meta-repo/kits/python-kit

    masters: core-kit

    priority: 1



security-kit

    location: /var/git/meta-repo/kits/security-kit

    masters: core-kit

    priority: 1



text-kit

    location: /var/git/meta-repo/kits/text-kit

    masters: core-kit

    priority: 1



xorg-kit

    location: /var/git/meta-repo/kits/xorg-kit

    masters: core-kit

    priority: 1



gnome-kit

    location: /var/git/meta-repo/kits/gnome-kit

    masters: core-kit

    priority: 10



science-kit

    location: /var/git/meta-repo/kits/science-kit

    masters: core-kit

    priority: 10



ACCEPT_KEYWORDS="amd64 ~amd64"

ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"

CBUILD="x86_64-pc-linux-gnu"

CFLAGS="-march=ivybridge -O2 -pipe"

CHOST="x86_64-pc-linux-gnu"

CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-march=ivybridge -O2 -pipe"

DISTDIR="/var/cache/portage/distfiles"

FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"

FFLAGS="-march=ivybridge -O2 -pipe"

GENTOO_MIRRORS="http://distfiles.gentoo.org"

LANG="en_US.UTF-8"

LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"

PKGDIR="/var/cache/portage/packages"

PORTAGE_CONFIGROOT="/"

PORTAGE_TMPDIR="/var/tmp"

USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread encode exif faac faad ffmpeg flac gdbm gif gpm gtk ico iconv icu ieee1394 ios ipod ipv6 jpeg jpeg2k lame libass libguess libmpeg2 libnotify lock mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf png policykit postproc pppd python quicktime readline resolvconf session sndfile sse sse2 ssl startup-notification svg taglib tcpd theora thunar tiff truetype twolame udev unicode v4l vorbis vpx wav wavpack webp win32codecs wmf x264 x265 xattr xml xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

This looks to me like Chromium has some new feature that would allow websites to detect the ambient light level around the user and adjust UI shades and colors accordingly, but the associated code may not compile across some configurations. I do not believe there is a way to deactivate this feature with USE flags.

 

Any suggestions?  Any additional info I could provide?  Thanks folks!

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

OK, understand that the latest chromium package is not compiling because the latest supported version of gcc does not support compiling it.  But then, if that chromium package cannot be compiled, why is it not masked so that the previous version that could be compiled would be used instead?

Is it not masked for the users that use clang instead of gcc?  I assume there is no way to select which compiler to use on a per-package basis?

Thanks,

Marat

Link to comment
Share on other sites

  • 0

 

8 hours ago, jhan said:

What do you mean by not supported? Versions of gcc higher than 5.4.0 are just masked for some reason, probably as they haven't been tested well enough. But you can always unmask those versions. I'm currently working with 6.3.0 but could switch to 7.2.0 if needed or wanted.

OK, not "not supported", just requires unmasking.

I looked at the replies more closely, and see that bug https://bugs.funtoo.org/browse/FL-4235 was filed on this issue, and gcc 5.4 which can compile that version of chromium can now be selected with 'eselect' without having to unmask it.

Edited by maratbn
Understand that this version of chromium should now compile without having to unmask any version of gcc
Link to comment
Share on other sites

  • 0
15 hours ago, Oleg Vinichenko said:

the version for chromium specified in this thread can be compiled with the version of gcc in portage tree. that's 5.4.0

Ah, so I only need gcc version 5.4.0 not > 5.4.0  And so the 5.4.0 is currently not masked?  I think I'll eselect 5.4 and try it again.  Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...