Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qtwebengine failed to compile on rpi4 (32bit)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Thu Aug 01, 2019 10:20 pm    Post subject: qtwebengine failed to compile on rpi4 (32bit) Reply with quote

Hello everyone,

I have been trying to get qutebrowser to work for the last few days and I keep
running into an issue with qtwebengine. Does anyone have any ideas? Here is
all the info I can think of. Let me know if I'm missing anything.

Things I have tried:
* With (and without) cpu_flags_arm_neon
* every version of qutebrowser and qtwebengine
* with (and without) CFLAGS
* using "-march=armv7l" in CFLAGS

Here is where it fails:
Code:

ERROR at //skia/BUILD.gn:745:11: Undefined identifier.
          configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
          ^------
See //BUILD.gn:71:5: which caused the file to be included.
    "//skia:skia_unittests",
    ^----------------------
Project ERROR: GN run error!
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 3
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/work/qtwebengine-everywhere-src-5.12.4/src/core'
make[1]: *** [Makefile:81: sub-core-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/work/qtwebengine-everywhere-src-5.12.4/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
 * ERROR: dev-qt/qtwebengine-5.12.4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.12.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.12.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/work/qtwebengine-everywhere-src-5.12.4'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.12.4/work/qtwebengine-everywhere-src-5.12.4'


Here is other information.
Code:

Portage 2.3.69 (python 3.6.9-final-0, default/linux/arm/17.0/armv7a, gcc-8.3.0, glibc-2.29-r2, 4.19.58-v7l+ armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.58-v7l+-armv7l-ARMv7_Processor_rev_3_-v7l-with-gentoo-2.6
KiB Mem:     4000296 total,   2997560 free
KiB Swap:    8388604 total,   8387068 free
Timestamp of repository gentoo: Tue, 23 Jul 2019 00:45:01 +0000
Head commit of repository gentoo: 0c0b9554608c1c2db972b133a5c0d371d68e2a80
sh bash 5.0_p7
ld GNU ld (Gentoo 2.31.1 p7) 2.31.1
app-shells/bash:          5.0_p7::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.15.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r6::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo, 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-r2::gentoo
Repositories:

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

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="*"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=armv7-a"
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="-O2 -pipe -march=armv7-a"
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="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="rsync://rsync.gtlib.gatech.edu/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.lug.mtu.edu/gentoo/ https://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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 acl alsa arm armv5te armv6 armv6t2 berkdb bzip2 cli consolekit crypt cxx dri fortran gdbm iconv ipv6 ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr xinerama zlib" 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_ARM="edsp neon thumb thumb2 v4 v5 v6 v7 vfp" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap dummy v4l" 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
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46736
Location: 56N 3W

PostPosted: Sun Aug 04, 2019 1:36 pm    Post subject: Reply with quote

Kashire,

At face value, skia is broken. The bad news is that its not a USE flag.
However, as you have MAKEOPTS="-j4", the build messages are all mixed up in the build log, so that error may be caused by another error further up log.

Make friends with wgetpaste and share the whole log please.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Mon Aug 05, 2019 12:32 am    Post subject: Reply with quote

Oops, sorry about that: https://0x0.st/zf31.log
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46736
Location: 56N 3W

PostPosted: Mon Aug 05, 2019 8:16 am    Post subject: Reply with quote

Kashire,

Try with MAKEOPTS="-j1" and USE="-jumbo-build"

MAKEOPTS="-j4" and USE="jumbo-build" both put a huge pressure on RAM. With dev-qt/qtwebengine and only 4G RAM, MAKEOPTS="-j2" would be borderline.

I don't think its run out of RAM yet but parallel makes expose broken build systems.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Tue Aug 06, 2019 2:19 pm    Post subject: Reply with quote

I was finally able to get around to try this out.
I got the same error.

https://0x0.st/zOpm.log
Back to top
View user's profile Send private message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Tue Aug 20, 2019 6:32 pm    Post subject: Reply with quote

A quick update on this issue:

1. I switched over to 64-bit.
2. I cranked up the swap up to 8GB.

One of those two things may have fixed it.

Although, please note that I did use Sakaki's 64bit build,
"slimmed it down", and it compiled just fine.

Since there's a lot of variables in that: I will hopefully be
able to work on another install from a clean 64-bit install.
But I'm updating just to let everyone interested know that
it can compile with this specific setup.
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 442

PostPosted: Wed Apr 22, 2020 4:46 am    Post subject: Reply with quote

I have the same issue on my Odroid XU4 with qtwebengine 5.13.2

Code:
ERROR at //skia/BUILD.gn:758:11: Undefined identifier.
          configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
          ^------
See //BUILD.gn:73:5: which caused the file to be included.
    "//skia:skia_unittests",
    ^----------------------
Project ERROR: GN run error!
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 3
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/work/qtwebengine-everywhere-src-5.13.2/src/core'
make[1]: *** [Makefile:78: sub-core-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/work/qtwebengine-everywhere-src-5.13.2/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
 * ERROR: dev-qt/qtwebengine-5.13.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.13.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.13.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/work/qtwebengine-everywhere-src-5.13.2'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/work/qtwebengine-everywhere-src-5.13.2'

>>> Failed to emerge dev-qt/qtwebengine-5.13.2, Log file:

>>>  '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/temp/build.log'

 * Messages for package dev-qt/qtwebengine-5.13.2:

 * ERROR: dev-qt/qtwebengine-5.13.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.13.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.13.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/work/qtwebengine-everywhere-src-5.13.2'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.13.2/work/qtwebengine-everywhere-src-5.13.2'


MAKEOPTS="-j1" does not help.

Code:
matrixstorage ~ # emerge --info
Portage 2.3.89 (python 3.6.10-final-0, default/linux/arm/17.0/armv7a/desktop, gcc-9.2.0, glibc-2.29-r7, 4.9.44 armv7l)
=================================================================
System uname: Linux-4.9.44-armv7l-ARMv7_Processor_rev_3_-v7l-with-gentoo-2.6
KiB Mem:     2041904 total,    642620 free
KiB Swap:    4189180 total,   4186172 free
Timestamp of repository gentoo: Sun, 19 Apr 2020 07:00:01 +0000
Head commit of repository gentoo: edcf0c70ebe8f31e3e096ca7d67c60443c00bb66
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
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/apache2-php7.4/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
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="-O2 -pipe -march=armv7-a"
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="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j8"
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 acl airplay alsa apache2 arm armv5te armv6 armv6t2 berkdb bluetooth bluray branding bzip2 cairo caps cdda cdr cec cli crypt css cups curl dbus dri dts dvd dvdr elogind emboss encode exif flac fortran fpm ftp gd gdbm gif gpm gtk iconv icu ipv6 java jce jpeg lcms ldap libnotify mad mng mp3 mp4 mpeg ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf pdo php phython png policykit postgres ppds qt5 readline sdl seccomp spell split-usr sqlite ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xmlreader xmlwriter xv xvid zip zlib" ADA_TARGET="gnat_2018" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" 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="evdev synaptics" KERNEL="linux" L10N="de en ru" 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" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap dummy v4l" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


What I can try to solve the issue?
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2157
Location: Here and Away Again

PostPosted: Wed Apr 22, 2020 12:21 pm    Post subject: ><)))°€ Reply with quote

I suspect

Kashire wrote:
1. I switched over to 64-bit.

may have something to do with it, as I've seen at least two similar, though different issues with 32-bit builds.

Looking into the 'BUILD.gn' file, line 758 column 11 and around there might give some hints too.

See also: Bug 713900 - dev-qt/qtwebengine: GN run error: ERROR at the command-line "--args":1:1671: Undefined identifier (arm_version=n)
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 442

PostPosted: Wed Apr 22, 2020 1:44 pm    Post subject: Reply with quote

Thank you for your message!

The BUILD.gn has follow

Code:

    if (arm_version >= 7) {
      sources = skia_opts.armv7_sources
      if (arm_use_neon || arm_optionally_use_neon) {
        sources += skia_opts.neon_sources

        # Root build config sets -mfpu=$arm_fpu, which we expect to be neon
        # when running this.
        if (!arm_use_neon) {
          configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
          cflags += [ "-mfpu=neon" ]
        }
      }
    } else {
      sources = skia_opts.none_sources
    }
  } else if (current_cpu == "arm64") {
    sources = skia_opts.arm64_sources
    deps += [ ":skia_opts_crc32" ]
  } else if (current_cpu == "mipsel") {


Line 758 is

Code:
configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2157
Location: Here and Away Again

PostPosted: Wed Apr 22, 2020 2:29 pm    Post subject: Reply with quote

Looking into it a bit deeper, I now understand that that those lines are static in the sources, so it seems more about the 'configs' variable, or what is being fed to it (as pointed out by the build log...).

I'm not sure if it could be due to the variable not being set at all yet, and then it's trying to remove something (if that even matters), or if the something hasn't been set, so it can't remove it. Not too familiar with the GN stuff still, so I'm very much guessing things here.

Aside from these thoughts, I don't think I have anything else to go by at this time. :\
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 442

PostPosted: Sat Apr 25, 2020 3:07 am    Post subject: Reply with quote

Compile with

Code:
CFLAGS= MAKEOPTS="-j1" emerge qtwebengine


took 2 days and was successful.

I hope just the packages its use qtwebengine will work fine. Will see.
Back to top
View user's profile Send private message
virtguru
Tux's lil' helper
Tux's lil' helper


Joined: 14 Aug 2010
Posts: 148
Location: The Greatest Country in the World

PostPosted: Sun Sep 06, 2020 10:24 pm    Post subject: Reply with quote

misterxx wrote:
Compile with

Code:
CFLAGS= MAKEOPTS="-j1" emerge qtwebengine


took 2 days and was successful.

I hope just the packages its use qtwebengine will work fine. Will see.


Yeah, you may say that. But the real solution after all these years is to move away from this shit.
Every single update and they still cant get it right. E is looking real nice , none of this this crap.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum