Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] chromium-78.0.3904.34 fails to emerge

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
cfgauss
l33t
l33t
User avatar
Posts: 793
Joined: Wed May 18, 2005 7:07 pm
Location: USA

[SOLVED] chromium-78.0.3904.34 fails to emerge

  • Quote

Post by cfgauss » Fri Oct 04, 2019 3:33 am

It also fails with FEATURES="-ccache".
emerge --info '=www-client/chromium-78.0.3904.34::gentoo' is here.
The complete build log is 41M, so the last 200 lines are here.

Code: Select all

$ emerge -pqv '=www-client/chromium-78.0.3904.34::gentoo'
[ebuild     U ] www-client/chromium-78.0.3904.34 [77.0.3865.90] USE="closure-compile cups hangouts jumbo-build (pic) proprietary-codecs pulseaudio suid system-ffmpeg tcmalloc widevine -component-build -custom-cflags -gnome-keyring -kerberos (-selinux) -system-icu (-system-libvpx)" 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" 
Any debugging hints will be gratefully received.

[SOLVED] I removed jumbo-build from the chromium line in /etc/portage/package.use and now a simple

Code: Select all

emerge -1 chromium
works. [/SOLVED]
Last edited by cfgauss on Sun Oct 06, 2019 11:02 pm, edited 3 times in total.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Oct 04, 2019 5:12 am

In your 200 lines build.log there is no real error. You can compresse build.log and put it somewhere?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Fri Oct 04, 2019 8:27 am

Is there a reason u want this version? Maybe try something with ninja.
Top
cfgauss
l33t
l33t
User avatar
Posts: 793
Joined: Wed May 18, 2005 7:07 pm
Location: USA

  • Quote

Post by cfgauss » Sat Oct 05, 2019 4:43 am

fedeliallalinea wrote:In your 200 lines build.log there is no real error. You can compresse build.log and put it somewhere?
build.log.bz2 is here.
Last edited by cfgauss on Sat Oct 05, 2019 5:09 am, edited 1 time in total.
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Sat Oct 05, 2019 4:52 am

https://send.firefox.com/ but there is a 100 Downloads / 7 days limit.
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Sat Oct 05, 2019 4:54 am

It would be nice to allow attaching files here, but I know nothing about this server and if this is possible.
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Sat Oct 05, 2019 4:57 am

But it looks like it would not be so difficult to change wgetpaste the way that you can upload files with it to this server. But this again depends on this server and the admins. I do not know a lot about servers.
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Sat Oct 05, 2019 11:59 am

Huh, the build.log with 32 parallel jobs is is very hard to read. Can you please make a build.log with

Code: Select all

MAKEOPTS="-j1" USE="-jumbo-build" emerge -av1 chromium
I think the log is then more helpful for finding the real error.
Top
Hotblack
n00b
n00b
User avatar
Posts: 47
Joined: Tue Dec 28, 2004 5:16 pm

  • Quote

Post by Hotblack » Sat Oct 05, 2019 12:59 pm

The error is this:

Code: Select all

./../../chrome/browser/extensions/api/messaging/native_process_launcher.cc:273:72: error: no matching function for call to ‘StrCat(<brace-enclosed initializer list>)’
(source code here): https://chromium.googlesource.com/chrom ... auncher.cc

Not sure, but could be also something related to GCC version: lately with 9.2.0 I'm struggling to build any chromium version after 78.0.3887.7 (I'm using FireBurn overlay), for similar issues related to "<brace-enclosed initializer list>".
Top
cfgauss
l33t
l33t
User avatar
Posts: 793
Joined: Wed May 18, 2005 7:07 pm
Location: USA

  • Quote

Post by cfgauss » Sun Oct 06, 2019 5:10 am

Josef.95 wrote:Huh, the build.log with 32 parallel jobs is is very hard to read. Can you please make a build.log with

Code: Select all

MAKEOPTS="-j1" USE="-jumbo-build" emerge -av1 chromium
I think the log is then more helpful for finding the real error.
Thanks. It installed with these environment variables. I'm not sure why.
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Sun Oct 06, 2019 9:45 am

Hmm, then it is probably a parallel build issue :-/
Next step, I would try it with reduced build jobs like

Code: Select all

MAKEOPTS="-j16" emerge -av1 chromium
I think it should work with your hardware

Code: Select all

System uname: Linux-5.3.2-gentoo-x86_64-AMD_Ryzen_Threadripper_2950X_16-Core_Processor-with-gentoo-2.6
KiB Mem:   132069548 total, 114441568 free
KiB Swap:     524284 total,    524284 free
Top
cfgauss
l33t
l33t
User avatar
Posts: 793
Joined: Wed May 18, 2005 7:07 pm
Location: USA

  • Quote

Post by cfgauss » Sun Oct 06, 2019 10:21 pm

Josef.95 wrote:Hmm, then it is probably a parallel build issue...
What works for me is to keep the parallelism and throw away the jumbo build by removing jumbo-build from the chromium line in /etc/portage/package.use. Then a normal

Code: Select all

emerge -1 chromium
emerges successfully.

Thanks for pointing out the sensitivity of MAKEOPTS and USE="-jumbo-build' to a successful chromium emerge.
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3532
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Mon Oct 07, 2019 5:57 pm

Here's your problem:

FEATURES="... ccache ..."

Jumboo build and ccache do not get together well. While most of the time there's no problem, from time to time there are seemingly unexplainable errors.

Try disabling ccache for Chromium, it slows down the build either way, because virtually all source files get changed from version to version, that calculating hash codes for them is only overhead, rather than any help.

Regards,
Georgi
Top
cfgauss
l33t
l33t
User avatar
Posts: 793
Joined: Wed May 18, 2005 7:07 pm
Location: USA

  • Quote

Post by cfgauss » Mon Oct 07, 2019 8:32 pm

logrusx wrote: ...Jumboo build and ccache do not get together well. While most of the time there's no problem, from time to time there are seemingly unexplainable errors ...
I tried both FEATURES="-ccache" and CCACHE_RECACHE=true to no avail. Earlier versions of chromium occasionally wouldn't emerge without such ccache alterations. This time only disabling jumbo build worked.

Each emerge of chromium provides a puzzle: what combination of ccache, MAKEOPTS, and jumbo build will work this time?
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3532
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Tue Oct 08, 2019 9:52 am

I see this line multiple times in your build log:

Code: Select all

../../ui/aura/window.h:44:67: warning: missing terminating ' character
   44 | #error This file must not be included on macOS; Chromium Mac doesn't use Aura.
After all it seems like make scripts issue. Sorry for pointing out something I didn't explicitly check.

I was able to compile 78.0.3887.7 a week ago, but this version isn't in the tree anymore. If you like, you could download it from the git history.

Regards,
Georgi
Top
Post Reply

15 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic