Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
trying to build ungoogled chromium fails[closed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Shadow_Fury
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2021
Posts: 138
Location: 11.435765792823453, 143.05926743686274

PostPosted: Thu Sep 16, 2021 1:39 pm    Post subject: trying to build ungoogled chromium fails[closed] Reply with quote

i'm trying to build ungoogled chromium, but the build keeps failing, here are command outputs:


emerge --info '=www-client/ungoogled-chromium-92.0.4515.107-r1::pf4public'
Code:

ortage 3.0.23 (python 3.9.7-final-0, default/linux/amd64/17.1/hardened/selinux, gcc-11.2.0, glibc-2.33-r7, 5.13.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.13.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-6800K_CPU_@_3.40GHz-with-glibc2.33
KiB Mem:    32789144 total,  19636676 free
KiB Swap:   67108860 total,  65225468 free
Timestamp of repository gentoo: Thu, 16 Sep 2021 10:30:01 +0000
Head commit of repository gentoo: afe2ed6d56395a152749141468ed6e56929492d8
Head commit of repository steam-overlay: d90ce0627d7c30027f4971dce6f67f22abd71e6d

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.9.7::gentoo, 3.10.0_rc2::gentoo
dev-lang/rust:            1.55.0::gentoo
dev-util/cmake:           3.21.2::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

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

pf4public
    location: /var/lib/layman/pf4public
    masters: gentoo
    priority: 50

pg_overlay
    location: /var/lib/layman/pg_overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-march=broadwell -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=broadwell -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 preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=broadwell -O2 -pipe"
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/ https://mirrors.gethosted.online/gentoo https://www.mirrorservice.org/sites/distfiles.gentoo.org/ https://mirror.netcologne.de/gentoo/ https://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp.tu-ilmenau.de/mirror/gentoo/ https://ftp.fau.de/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://mirror.init7.net/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
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="X acl amd64 audit bluetooth bzip2 caps crypt dbus elogind hardened iconv ipv6 joystick kde libglvnd libtirpc multilib ncurses nls nptl nvidia open_perms openmp pam pcre peer_perms pie plasma policykit pulseaudio qt4 qt5 readline seccomp selinux split-usr ssl ssp ubac unicode xattr xtpax xvmc zlib zsh-completions" 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" 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="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto 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, RUSTFLAG


emerge -pqv '=www-client/ungoogled-chromium-92.0.4515.107-r1::pf4public'
Code:

[ebuild  N    ] www-client/ungoogled-chromium-92.0.4515.107-r1  USE="clang official partition proprietary-codecs pulseaudio (selinux) system-ffmpeg system-harfbuzz system-icu system-jsoncpp system-libevent system-openh264 system-re2 -cfi -convert-dict -cups -custom-cflags -enable-driver -hangouts -headless -js-type-check -kerberos -optimize-thinlto -optimize-webui -pgo -screencast -suid -system-libvpx -system-openjpeg -tcmalloc -thinlto -vaapi -vdpau -wayland -widevine" L10N="en-GB -am -ar -bg -bn -ca -cs -da -de -el -es -es-419 -et -fa -fi -fil -fr -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"


any help is appreciated


Last edited by Shadow_Fury on Sun Sep 19, 2021 9:00 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Thu Sep 16, 2021 1:43 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Thu Sep 16, 2021 1:43 pm    Post subject: Reply with quote

You should post also build.log.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3875

PostPosted: Thu Sep 16, 2021 1:50 pm    Post subject: Reply with quote

Is /var/tmp on tmpfs?
If yes maybe build it on non-tmpfs directory via make.conf
Chromium apparently needs 100G of free space.
Do you have them?
You have -j12.
Each thread might end up needing 1.5-2 Gigs.
Maybe make them less?
Plz pastebin the build.log
_________________
:)
Back to top
View user's profile Send private message
Shadow_Fury
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2021
Posts: 138
Location: 11.435765792823453, 143.05926743686274

PostPosted: Thu Sep 16, 2021 2:22 pm    Post subject: Reply with quote

sorry for putting the thread in the wrong place.

i would like to post the build log, but it has so far crashed any paste service i've tried to use.

if someone needs an excerpt or wants me to run a search through the file, i'm happy to, but the file is 14M+ characters, so pasting isn't an option.

/var/tmp is not a tmpfs

also, even if each thread needs 2G of ram, this system has 32G, so i doubt that is the issue.

and yes, there is about 400G of space present on that disk
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1429
Location: Earth

PostPosted: Thu Sep 16, 2021 7:14 pm    Post subject: Reply with quote

you should sync the overlay - the version you mentioned doesn't exist anymore :

Code:
[I] www-client/ungoogled-chromium [1]
     Available versions:  92.0.4515.159-r1^d (~)92.0.4515.159-r2^d (~)93.0.4577.63-r1^d (~)93.0.4577.82-r1^d{tbz2} {cfi +clang convert-dict cups custom-cflags enable-driver hangouts headless js-type-check kerberos +official optimize-thinlto optimize-webui +partition pgo +proprietary-codecs pulseaudio screencast selinux suid +system-ffmpeg +system-harfbuzz +system-icu +system-jsoncpp +system-libevent system-libvpx +system-openh264 system-openjpeg +system-re2 tcmalloc thinlto vaapi vdpau wayland widevine KERNEL="linux" L10N="+am +ar +bg +bn +ca +cs +da +de +el +en-GB +es +es-419 +et +fa +fi +fil +fr +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"}
     Installed versions:  93.0.4577.82-r1{tbz2}(04:18:41 AM 09/15/2021)(clang official partition proprietary-codecs pulseaudio system-ffmpeg system-harfbuzz system-icu system-jsoncpp system-libevent system-openh264 system-re2 vaapi vdpau wayland widevine -cfi -convert-dict -cups -custom-cflags -enable-driver -hangouts -headless -js-type-check -kerberos -optimize-thinlto -optimize-webui -pgo -screencast -selinux -suid -system-libvpx -system-openjpeg -tcmalloc -thinlto KERNEL="linux" L10N="-am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -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")
     Homepage:            https://github.com/Eloston/ungoogled-chromium
     Description:         Modifications to Chromium for removing Google integration and enhancing privacy


no problems here - took awful 7 hours, while watching some flix and searching for inspirations about i3 and such, online.

greetings (...programs) 8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Shadow_Fury
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2021
Posts: 138
Location: 11.435765792823453, 143.05926743686274

PostPosted: Thu Sep 16, 2021 9:07 pm    Post subject: Reply with quote

this is from the pf4public overlay, is there a different one i should use? (pf4public has sync disabled)

(looking at version numbers, you are using a different overlay to me)
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1429
Location: Earth

PostPosted: Thu Sep 16, 2021 9:19 pm    Post subject: Reply with quote

Shadow_Fury wrote:
this is from an overlay, the pf4public overlay, is there a different one i should use? (pf4public has sync disabled)

(looking at version numbers, you are using a different overlay to me)


it's the same frome pf4public, but i just use the ungoogled ebuild on my local overlay.

the stable one from pf4public is www-client/ungoogled-chromium-92.0.4515.159-r1

sync the overlay with emaint sync -r pf4public and try again
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Shadow_Fury
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2021
Posts: 138
Location: 11.435765792823453, 143.05926743686274

PostPosted: Fri Sep 17, 2021 10:25 am    Post subject: Reply with quote

tried to sync the overlay with emaint sync -r pf4public :
Code:

* The specified repo(s) have sync disabled: pf4public
   ...returning


is there a guide for setting up a local overlay i can follow,
or is there a better overlay for me to use?
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1429
Location: Earth

PostPosted: Fri Sep 17, 2021 2:52 pm    Post subject: Reply with quote

please delete the current pf4public folder then,

Code:
eselect repository list

look for the number of pf4public, e.g 252
Code:
eselect repository enable 252

or add the name pf4public instead of number!

then:
Code:
emaint sync -r pf4public

mask the pf4public overlay or it'll jumble with gentoo overlay ebuilds
Code:
echo "*/*::pf4public" >> /etc/portage/package.mask

if your package.mask is a folder just add an additional file, e.g.
Code:
echo "*/*::pf4public" >> /etc/portage/package.mask/pf4public

and unmask only ungoogled-chromium from pf4public overlay, e.g.
Code:
echo "www-client/ungoogled-chromium::pf4public" >> /etc/portage/package.unmask

or, if it's a folder, e.g.
Code:
echo "www-client/ungoogled-chromium::pf4public" >> /etc/portage/package.unmask/ungoogled-chromium

finaly :
Code:
emerge -va www-client/ungoogled-chromium

and wait until tomorrow :!: :roll: :lol:

but, tomorrow is just your future yesterday 8)

good luck
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Shadow_Fury
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2021
Posts: 138
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sun Sep 19, 2021 9:00 am    Post subject: Reply with quote

thanks, that did it
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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