PF4Public / gentoo-overlay

Personal Gentoo overlay
78 stars 18 forks source link

Bug: build dev-util/electron-11.2.2 #78

Closed ghost closed 3 years ago

ghost commented 3 years ago

I am trying to compile visual studio code

[922/17759] python ../../tools/grit/grit.py -i ../../chrome/app/generated_resources.grd build -o gen/chrome --depdir . --depfile gen/chrome/app/generated_resources_grit.d --write-only-new=1 --depend-on-stamp -D scale_factors=2x -D _chromium -E CHROMIUM_BUILD=chromium -D desktop_linux -D toolkit_views -D use_aura -D use_nss_certs -D enable_arcore=false -D enable_background_mode=true -D enable_background_contents=true -D enable_extensions=true -D enable_hangout_services_extension=false -D enable_plugins=true -D enable_print_preview=true -D enable_printing=true -D enable_service_discovery=false -D enable_supervised_users=false -D enable_tab_search=false -D enable_vr=true -D enable_webui_tab_strip=true -D safe_browsing_mode=0 -D optimize_webui=true -f gen/tools/gritsettings/default_resource_ids --assert-file-list obj/chrome/app/generated_resources_expected_outputs.txt
ninja: build stopped: subcommand failed.
 * ERROR: dev-util/electron-11.2.2::pf4public failed (compile phase):
 *   ninja -v -j9 -l0 -C out/Release electron failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 5167:  Called eninja '-C' 'out/Release' 'electron'
 *   environment, line 3145:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of emerge --info '=dev-util/electron-11.2.2::pf4public',
 * the complete build log and the output of emerge -pqv '=dev-util/electron-11.2.2::pf4public'.
 * The complete build log is located at '/var/tmp/portage/dev-util/electron-11.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/electron-11.2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/electron-11.2.2/work/chromium-87.0.4280.141'
 * S: '/var/tmp/portage/dev-util/electron-11.2.2/work/chromium-87.0.4280.141'

>>> Failed to emerge dev-util/electron-11.2.2, Log file:

>>>  '/var/tmp/portage/dev-util/electron-11.2.2/temp/build.log'

 * Messages for package gnome-base/gnome-keyring-3.36.0:

 * Please select pinentry-gnome3 as default pinentry provider:
 *  # eselect pinentry set pinentry-gnome3

 * Messages for package dev-util/electron-11.2.2:

 *   USER_NS is required for sandbox to work
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * ERROR: dev-util/electron-11.2.2::pf4public failed (compile phase):
 *   ninja -v -j9 -l0 -C out/Release electron failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 5167:  Called eninja '-C' 'out/Release' 'electron'
 *   environment, line 3145:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of emerge --info '=dev-util/electron-11.2.2::pf4public',
 * the complete build log and the output of emerge -pqv '=dev-util/electron-11.2.2::pf4public'.
 * The complete build log is located at '/var/tmp/portage/dev-util/electron-11.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/electron-11.2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/electron-11.2.2/work/chromium-87.0.4280.141'
 * S: '/var/tmp/portage/dev-util/electron-11.2.2/work/chromium-87.0.4280.141'

 * Regenerating GNU info directory index...
 * Processed 97 info files.

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
PF4Public commented 3 years ago

Please provide the full build log.

BTW, bug template says to everyone:

Please provide any relevant information including the full build log.

Just FYI: this is the second time I'm asking for something, that is clearly stated in bug template as necessary. If you file a third bug with insufficient information, I'll ignore it or close as wontfix.

ghost commented 3 years ago

Sorry. I started the assembly, I will attach a log to the result.

ghost commented 3 years ago

Added useful information and build log. Thank!

merge --info '=dev-util/electron-11.2.2::pf4public'

Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.1, gcc-9.3.0, glibc-2.32-r6, 5.4.97-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.97-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-glibc2.2.5
KiB Mem:    16287860 total,   5869988 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 21 Feb 2021 19:00:01 +0000
Head commit of repository gentoo: 06d25c7dd6203bf3def98603b0f77bd0bc58e7dd
Timestamp of repository pf4public: Sun, 21 Feb 2021 08:52:13 +0000
Head commit of repository pf4public: 1398eef3d9f1c1e949512ceae1319bcea46feeb7

Timestamp of repository pg_overlay: Sun, 21 Feb 2021 15:22:13 +0000
Head commit of repository pg_overlay: 41a0cdf7c7406796b9270546fffe6b7f1a7dfa36

Timestamp of repository stefantalpalaru: Sun, 21 Feb 2021 13:37:59 +0000
Head commit of repository stefantalpalaru: 54449afff17f9ab88d0394f41e2142b6ca1c384e

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r6::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/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-extra-opts: 
    sync-rsync-verify-metamanifest: yes

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pg_overlay.git
    masters: gentoo

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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 /etc/vmware-installer"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME 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="-march=native -O2 -pipe"
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 qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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"
USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode 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="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 aes" 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="pc" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="ru en en-GB en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF (X86)" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965" 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

Build log: build.zip

PF4Public commented 3 years ago

No build log attached :(

ghost commented 3 years ago

Corrected. For some reason, my download stuck.

PF4Public commented 3 years ago

Do you have x11-libs/libnotify? You don't seem to be having it:

In file included from gen/library_loaders/libnotify_loader.cc:4:
gen/library_loaders/libnotify_loader.h:7:10: fatal error: 'libnotify/notify.h' file not found
#include <libnotify/notify.h>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
ghost commented 3 years ago

build.zip

ghost commented 3 years ago

question? not a bug? =) This package should be in dependencies.

PF4Public commented 3 years ago

This package should be in dependencies.

This package is in dependencies of most DE. The question is why doesn't your system have it. And if you system is unusual in any way, you should have mentioned that upfront.

../../third_party/skia/include/private/SkFloatBits.h:14:10: fatal error: 'float.h' file not found

include

     ^~~~~~~~~

1 error generated.

If your system lacks float.h, that means that your system is either seriously broken or is non-trivially configured. I'm afraid I cannot help you further. Fix your system and try merging electron again.

ghost commented 3 years ago

Yes you are right. I have a clean distribution. I always check for clean gentoo stable before submitting a report. Accordingly, how can I have x11-libs/libnotify? float.h is present in /usr/include/

PF4Public commented 3 years ago

I'm afraid I cannot help you further. Fix your system and try merging electron again.