Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chromium aarch64 build fails swiftshader/*.so missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
defoo
n00b
n00b


Joined: 25 Jul 2017
Posts: 12

PostPosted: Tue Jul 25, 2017 12:50 pm    Post subject: Chromium aarch64 build fails swiftshader/*.so missing Reply with quote

Hi,

Chromium fails with this error :

Code:
>>> Source compiled.
>>> Test phase [not enabled]: www-client/chromium-60.0.3112.40

>>> Install chromium-60.0.3112.40 into /var/tmp/portage/www-client/chromium-60.0.3112.40/image/ category www-client
/var/tmp/portage/www-client/chromium-60.0.3112.40/work/chromium-60.0.3112.40
/usr/bin/install: cannot stat 'out/Release/swiftshader/*.so': No such file or directory
!!! doins: out/Release/swiftshader/*.so does not exist
 * ERROR: www-client/chromium-60.0.3112.40::gentoo failed (install phase):
 *   doins failed



Code:
# emerge --info '=www-client/chromium-60.0.3112.40::gentoo'
Portage 2.3.5 (python 3.4.5-final-0, default/linux/arm64/13.0/desktop, gcc-5.4.0, glibc-2.23-r3, 4.4.15 aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.15-aarch64-with-gentoo-2.3
KiB Mem:     8041128 total,   4679880 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 25 Jul 2017 00:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=armv8-a"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
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"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 acpi alsa arm64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms libnotify mad mng modules mp3 mp4 mpeg multilib ncurses neon nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline seccomp session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" 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="evdev" KERNEL="linux" L10N="fr fr-FR en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau fbdev tegra" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Code:
# emerge -pqv '=www-client/chromium-60.0.3112.40::gentoo'
[ebuild  N    ] www-client/chromium-60.0.3112.40  USE="cups gtk3 hangouts neon (pic) proprietary-codecs suid system-ffmpeg -component-build -custom-cflags -gnome-keyring (-kerberos) -pulseaudio (-selinux) (-system-libvpx) (-tcmalloc) {-test} -widevine" L10N="fr -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW"


The build log is 58M, I can't post it here.
Back to top
View user's profile Send private message
de-fiese-moeps
n00b
n00b


Joined: 17 Nov 2005
Posts: 15

PostPosted: Mon Sep 04, 2017 6:37 pm    Post subject: Reply with quote

Hello,
I have the same error for chromium-61.0.3163.59 on ARCH arm. Touching a fake file that matches the name in the working
directory and continuing the ebuild with
Code:
ebuild <chromiumebuildfile> merge

leads to a successful install.
_________________
--Sint ut sunt aut non sint.--
[Accept them as they are or deny their existence.]
unknown
Back to top
View user's profile Send private message
defoo
n00b
n00b


Joined: 25 Jul 2017
Posts: 12

PostPosted: Mon Sep 11, 2017 2:35 pm    Post subject: Reply with quote

I wanted to take a look at your tip, but the error has changed, it's now about :
Code:
error: there are no arguments to ‘SwapAnchor’ that depend on a template parameter, so a declaration of ‘SwapAnchor’ must be available [-fpermissive]
...
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-61.0.3163.79::gentoo failed (compile phase):
 *   ninja -v -j7 -l0 -C out/Release chrome chromedriver chrome_sandbox failed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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