Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692146 - dev-util/electron-2.0.17-r2 - ?
Summary: dev-util/electron-2.0.17-r2 - ?
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-14 15:05 UTC by Leonid Kopylov
Modified: 2019-08-17 01:30 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,215.23 KB, text/plain)
2019-08-16 15:03 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2019-08-14 15:05:38 UTC
# emerge --info '=dev-util/electron-2.0.17-r2::gentoo'
Portage 2.3.71 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.1.0, glibc-2.29-r4, 5.2.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.2.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:    18492736 total,   3584280 free
KiB Swap:    8388604 total,   8387324 free
Timestamp of repository gentoo: Tue, 13 Aug 2019 16:00:01 +0000
Head commit of repository gentoo: 2b2f3711e28dc00598ec485731b3c3f4886afb42
sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
ccache version 3.7.2 [disabled]
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/ccache:          3.7.2::gentoo
dev-util/cmake:           3.15.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r4::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE myspell-ru_RU-AlexanderLebedev linux-fw-redistributable no-source-code CC-BY-ND-3.0 dropbox bh-luxi google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /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="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="X a52 aac accessibility acl acpi alsa amd64 audit berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cryptsetup cups curl cxx dbus device-mapper doc dos dot dri dts dvd dvdr eds emboss encode evo examples exif experimental fam flac fontconfig fortran gconf gd gdbm geoip gif glamor gles gnome gnome-keyring gnome-online-accounts go googledrive gpg gpm gstreamer gtk haptic html http iconv icu idn introspection ipv6 iscsi jadetex java jpeg kerberos latex lcms ldap libkms libnotify libsecret libtirpc logrotate mad mariadb math mbox mdadm minizip mng mount mp3 mp4 mpeg mpx multilib multimon mysql mysqli nautilus ncurses networkmanager nls nptl nscd offensive ogg opengl openmp openntpd pam pango pcre pcre32 pdf pdfimport perl png policykit postgres postproc ppds pulseaudio python qrcode qt5 readline samba sasl sdl seccomp secure-delete slp smi spell split-usr sqlite sshdump ssl startup-notification svg symlink sync-plugin-portage systemd tcpd tfshark threads tiff tk tools tracker truetype udev udisks unicode upower usb user-session vim-syntax vlc vorbis wayland winbind wininst wxwidgets x264 xa xattr xcb xinerama xkb xml xv xvid zlib" ABI_X86="64 32" 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 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" INPUT_DEVICES="evdev" 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 wiki-publisher scripting-javascript" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="vmware" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pqv '=dev-util/electron-2.0.17-r2::gentoo'
[ebuild  N    ] dev-util/electron-2.0.17-r2  USE="cups gconf gnome-keyring kerberos proprietary-codecs pulseaudio system-ffmpeg system-libvpx system-ssl tcmalloc -custom-cflags -lto (-neon) -pic (-selinux) -test" L10N="he ru -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW"
Comment 1 Leonid Kopylov 2019-08-14 15:11:38 UTC
[47/97] x86_64-pc-linux-gnu-g++ -MMD -MF obj/vendor/node/src/node.node_api.o.d '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' -DNODE_WANT_INTERNALS=1 -DV8_DEPRECATION_WARNINGS=1 -DNODE_SHARED_MODE -DNODE_USE_V8_PLATFORM=1 -DNODE_HAVE_I18N_SUPPORT=1 -DHAVE_INSPECTOR=1 -DHAVE_OPENSSL=1 -D__POSIX__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112 -DBUILDING_V8_SHARED -DBUILDING_V8_PLATFORM_SHARED -DBUILDING_V8_BASE_SHARED -DNODE_WITHOUT_NODE_OPTIONS -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_PROMISE_INTERNAL_FIELD_COUNT=1 -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DDISABLE_NACL -DTOOLKIT_VIEWS -DUSE_AURA -DUSE_X11 -DUSE_NSS_CERTS -DUSE_NSS -DWEBRTC_POSIX -DUCHAR_TYPE=uint16_t -D_LARGEFILE64_SOURCE -DWEBRTC_LINUX -DNDEBUG -I../../chromium/v8/include -I../../vendor/node/src -I../../vendor/node/tools/msvs/genfiles -Igen -I../../vendor/node/deps/uv/include -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium/third_party/icu/source/common -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium/third_party/icu/source/i18n -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium/v8 -I/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/chromium/v8/include -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -Wno-unused-function -Wno-unused-variable -Wno-unused-value -Wno-deprecated-declarations -Wno-return-type -Wno-format -Wno-varargs -fPIC -m64 -march=x86-64 -march=native -O2 -pipe -fno-delete-null-pointer-checks -fno-rtti -fno-exceptions -std=gnu++0x -D__STRICT_ANSI__ -fno-rtti  -c ../../vendor/node/src/node_api.cc -o obj/vendor/node/src/node.node_api.o
In file included from ../../vendor/node/src/node.h:63,
                 from ../../vendor/node/src/node_buffer.h:25,
                 from ../../vendor/node/src/node_api.cc:11:
../../chromium/v8/include/v8.h: In static member function ‘static void v8::V8::SetAllowCodeGenerationFromStringsCallback(v8::DeprecatedAllowCodeGenerationFromStringsCallback)’:
../../chromium/v8/include/v8.h:10176:19: warning: cast between incompatible function types from ‘v8::DeprecatedAllowCodeGenerationFromStringsCallback’ {aka ‘bool (*)(v8::Local<v8::Context>)’} to ‘v8::FreshNewAllowCodeGenerationFromStringsCallback’ {aka ‘bool (*)(v8::Local<v8::Context>, v8::Local<v8::String>)’} [-Wcast-function-type]
10176 |           callback));
      |                   ^
../../chromium/v8/include/v8.h: In static member function ‘static void v8::V8::RemoveGCPrologueCallback(v8::GCCallback)’:
../../chromium/v8/include/v8.h:10221:53: warning: cast between incompatible function types from ‘v8::GCCallback’ {aka ‘void (*)(v8::GCType, v8::GCCallbackFlags)’} to ‘v8::Isolate::GCCallback’ {aka ‘void (*)(v8::Isolate*, v8::GCType, v8::GCCallbackFlags)’} [-Wcast-function-type]
10221 |       reinterpret_cast<Isolate::GCCallback>(callback));
      |                                                     ^
../../chromium/v8/include/v8.h: In static member function ‘static void v8::V8::RemoveGCEpilogueCallback(v8::GCCallback)’:
../../chromium/v8/include/v8.h:10228:53: warning: cast between incompatible function types from ‘v8::GCCallback’ {aka ‘void (*)(v8::GCType, v8::GCCallbackFlags)’} to ‘v8::Isolate::GCCallback’ {aka ‘void (*)(v8::Isolate*, v8::GCType, v8::GCCallbackFlags)’} [-Wcast-function-type]
10228 |       reinterpret_cast<Isolate::GCCallback>(callback));
      |                                                     ^
../../vendor/node/src/node_api.cc: In function ‘v8::Local<v8::Value> {anonymous}::v8impl::V8LocalValueFromJsValue(napi_value)’:
../../vendor/node/src/node_api.cc:250:31: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘class v8::Local<v8::Value>’ from an array of ‘napi_value’ {aka ‘struct napi_value__*’} [-Wclass-memaccess]
  250 |   memcpy(&local, &v, sizeof(v));
      |                               ^
In file included from ../../vendor/node/src/node.h:63,
                 from ../../vendor/node/src/node_buffer.h:25,
                 from ../../vendor/node/src/node_api.cc:11:
../../chromium/v8/include/v8.h:196:7: note: ‘class v8::Local<v8::Value>’ declared here
  196 | class Local {
      |       ^~~~~
../../chromium/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
../../vendor/node/src/node_object_wrap.h:85:78:   required from here
../../chromium/v8/include/v8.h:9199:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
 9199 |                reinterpret_cast<Callback>(callback), type);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../chromium/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = {anonymous}::v8impl::Reference; T = v8::Value; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<{anonymous}::v8impl::Reference>&)]’:
../../vendor/node/src/node_api.cc:335:67:   required from here
../../chromium/v8/include/v8.h:9199:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<{anonymous}::v8impl::Reference>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<{anonymous}::v8impl::Reference>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
ninja: build stopped: subcommand failed.
 * ERROR: dev-util/electron-2.0.17-r2::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 5163:  Called eninja '-C' '/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17/out/R' 'nodebin'
 *   environment, line 1923:  Called die
 * The specific snippet of code:
 *       "$@" || die
 *
 * If you need support, post the output of `emerge --info '=dev-util/electron-2.0.17-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/electron-2.0.17-r2::gentoo'`.
 *
 * MemTotal:       18492736 kB
 * SwapTotal:       8388604 kB
 *
 * The complete build log is located at '/var/tmp/portage/dev-util/electron-2.0.17-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/electron-2.0.17-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17'
 * S: '/var/tmp/portage/dev-util/electron-2.0.17-r2/work/electron-2.0.17'
Comment 2 Leonid Kopylov 2019-08-14 15:12:10 UTC
build.log is very big file (More than 2MB compressed), i don't know how to attach it
Comment 3 Jeroen Roovers gentoo-dev 2019-08-16 10:35:10 UTC
Please attach the entire build log to this bug report.
Comment 4 Jeroen Roovers gentoo-dev 2019-08-16 10:37:04 UTC
(In reply to Leonid Kopylov from comment #2)
> build.log is very big file (More than 2MB compressed), i don't know how to
> attach it

Compress it. E.g.:

1. # xz build.log
2. Attach build.log.xz.
Comment 5 Leonid Kopylov 2019-08-16 14:35:00 UTC
(In reply to Jeroen Roovers from comment #4)
> (In reply to Leonid Kopylov from comment #2)
> > build.log is very big file (More than 2MB compressed), i don't know how to
> > attach it
> 
> Compress it. E.g.:
> 
> 1. # xz build.log
> 2. Attach build.log.xz.

After xz compression it's 2.6MB, site not allows me to attach such big file
Comment 6 Leonid Kopylov 2019-08-16 15:03:14 UTC
Created attachment 587048 [details]
build.log.xz
Comment 7 Leonid Kopylov 2019-08-16 15:03:59 UTC
ok, attached
Comment 8 Jouni Kosonen 2019-08-17 01:30:56 UTC
> [5243/16409] ...
> ../../third_party/webrtc/rtc_base/physicalsocketserver.cc: In function ‘int64_t GetSocketRecvTimestamp(int)’:
> ../../third_party/webrtc/rtc_base/physicalsocketserver.cc:67:27: error: ‘SIOCGSTAMP’ was not declared in this scope; did you mean ‘SIOCGRARP’?
>    67 |   int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
>       |                           ^~~~~~~~~~
>       |                           SIOCGRARP

This would be related to the changes in kernel 5.2.

Related upstream issue: https://bugs.chromium.org/p/webrtc/issues/detail?id=10677

Upstream patch: https://webrtc-review.googlesource.com/c/src/+/138270/5/rtc_base/physical_socket_server.cc#54

Adding those lines to third_party/webrtc/rtc_base/physicalsocketserver.cc would probably do the trick.