Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chromium from pg_overlay
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sun Sep 23, 2018 8:46 am    Post subject: Reply with quote

do you have Clang/LLVM built with Clang or GCC?

I've managed to build Chromium with GCC-8.2. Do not sync my overlay until notice.
Back to top
View user's profile Send private message
Saundersx
Apprentice
Apprentice


Joined: 11 Apr 2005
Posts: 290

PostPosted: Sun Sep 23, 2018 2:52 pm    Post subject: Reply with quote

I take that back, I don't think I did build chromium with clang. I keep changing stuff so much it's hard to keep track.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Tue Sep 25, 2018 8:15 am    Post subject: Reply with quote

I've modified ebuild to use most features from Ungoogled-Chromium. I haven't tested it with LLVM/Clang, but with GGC-8.2 it woirks fine.
The working configuration is following:
Code:
[ebuild   R    ] www-client/chromium-69.0.3497.100::pg_overlay  USE="cups custom-cflags (pic) proprietary-codecs pulseaudio suid system-ffmpeg system-icu system-libvpx tcmalloc vaapi -component-build -gnome-keyring -hangouts -jumbo-build -kerberos (-neon) (-selinux) -thin-lto -widevine" L10N="ru -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 -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" PYTHON_TARGETS="python2_7 python3_7" 0 KiB
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Sun Nov 25, 2018 2:39 am    Post subject: Reply with quote

@Perfect Gentleman

hello,

using ungoogled ebuild from your overlay and everthing's fine with 70.0.3538.102.1.

but with current ebuild i get this:

Code:
time FEATURES="ccache" emerge -va --usepkg=n www-client/ungoogled-chromium

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] www-client/ungoogled-chromium-70.0.3538.110.1::layees [70.0.3538.102.1::layees] USE="-cups -custom-cflags jumbo-build -kerberos -new-tcmalloc openh264 -optimize-webui proprietary-codecs pulseaudio (-selinux) -suid system-ffmpeg system-harfbuzz system-icu system-libevent system-libvpx system-openjpeg tcmalloc vaapi* widevine" 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" PYTHON_TARGETS="python2_7 -python3_5 python3_6 -python3_7" 609,109 KiB

Total: 1 package (1 upgrade), Size of downloads: 609,109 KiB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests
>>> Running pre-merge checks for www-client/ungoogled-chromium-70.0.3538.110.1
 * Checking for at least 3 GiB RAM ...                                                                                                                                                                                                                                   [ ok ]
 * Checking for at least 5 GiB disk space at "/var/tmp/portage/www-client/ungoogled-chromium-70.0.3538.110.1/temp" ...                                                                                                                                                   [ ok ]

>>> Emerging (1 of 1) www-client/ungoogled-chromium-70.0.3538.110.1::layees
>>> Downloading 'https://fastpull-us.funtoo.org/distfiles/chromium-70.0.3538.110.tar.xz'
--2018-11-25 03:25:26--  https://fastpull-us.funtoo.org/distfiles/chromium-70.0.3538.110.tar.xz
Resolving fastpull-us.funtoo.org... 192.150.253.88
Connecting to fastpull-us.funtoo.org|192.150.253.88|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://1153732560.rsc.cdn77.org/f/f/ff2f96c185564c0064667e7654bcd4ac01ec0b25cff443d9a7dfc0eaf971a5ce93e1993528417270d8b89ca599b41d0299a408e0062300ec1beffd4c605d6f87 [following]
--2018-11-25 03:25:27--  https://1153732560.rsc.cdn77.org/f/f/ff2f96c185564c0064667e7654bcd4ac01ec0b25cff443d9a7dfc0eaf971a5ce93e1993528417270d8b89ca599b41d0299a408e0062300ec1beffd4c605d6f87
Resolving 1153732560.rsc.cdn77.org... 185.59.222.14
Connecting to 1153732560.rsc.cdn77.org|185.59.222.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 623056692 (594M) [application/octet-stream]
Saving to: ‘/var/cache/portage/distfiles/chromium-70.0.3538.110.tar.xz’

/var/cache/portage/ 100%[===================>] 594.19M  5.14MB/s    in 2m 0s   

2018-11-25 03:27:28 (4.96 MB/s) - ‘/var/cache/portage/distfiles/chromium-70.0.3538.110.tar.xz’ saved [623056692/623056692]

>>> Downloading 'https://github.com/Eloston/ungoogled-chromium/archive/master.tar.gz'
--2018-11-25 03:27:31--  https://github.com/Eloston/ungoogled-chromium/archive/master.tar.gz
Resolving github.com... 192.30.253.113, 192.30.253.112
Connecting to github.com|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Eloston/ungoogled-chromium/tar.gz/master [following]
--2018-11-25 03:27:32--  https://codeload.github.com/Eloston/ungoogled-chromium/tar.gz/master
Resolving codeload.github.com... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/var/cache/portage/distfiles/ungoogled-chromium-master.tar.gz’

/var/cache/portage/     [   <=>              ] 669.70K   886KB/s    in 0.8s   

2018-11-25 03:27:33 (886 KB/s) - ‘/var/cache/portage/distfiles/ungoogled-chromium-master.tar.gz’ saved [685774]

!!! Fetched file: ungoogled-chromium-master.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      685774
!!! Expected: 670702
Refetching... File renamed to '/var/cache/portage/distfiles/ungoogled-chromium-master.tar.gz._checksum_failure_.49gua2b1'

!!! Couldn't download 'ungoogled-chromium-master.tar.gz'. Aborting.
 * Fetch failed for 'www-client/ungoogled-chromium-70.0.3538.110.1', Log file:
 *  '/var/log/portage/build/www-client/ungoogled-chromium-70.0.3538.110.1:20181125-022526.log'

>>> Failed to emerge www-client/ungoogled-chromium-70.0.3538.110.1, Log file:

>>>  '/var/log/portage/build/www-client/ungoogled-chromium-70.0.3538.110.1:20181125-022526.log'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (www-client/ungoogled-chromium-70.0.3538.110.1:0/0::layees, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/build/www-client/ungoogled-chromium-70.0.3538.110.1:20181125-022526.log'
 *


thx
_________________
" 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
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sun Nov 25, 2018 3:19 am    Post subject: Reply with quote

CooSee, sync now
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Sun Nov 25, 2018 2:03 pm    Post subject: Reply with quote

Perfect Gentleman wrote:
CooSee, sync now


thx @pg for fixing the sync proplem :-)

current version doesn't build, but that's ok - previous version is working fine.

greetings
_________________
" 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
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sun Nov 25, 2018 3:34 pm    Post subject: Reply with quote

CooSee, I've just built it.
Code:
~ $ qlist -Iv chrom
www-client/ungoogled-chromium-70.0.3538.110_p2

Honestly, it's not my ebuild anymore. Now I take it myself from chaoslab-overlay https://gitlab.com/chaoslab/chaoslab-overlay.
Imo, you'd better follow that overlay than mine.


Last edited by Perfect Gentleman on Mon Nov 26, 2018 8:25 am; edited 3 times in total
Back to top
View user's profile Send private message
ianmoone
n00b
n00b


Joined: 03 Jun 2018
Posts: 6
Location: /dev/null

PostPosted: Mon Nov 26, 2018 4:21 am    Post subject: Reply with quote

CooSee wrote:
current version doesn't build, but that's ok - previous version is working fine.


You shouldn't be using that version (70.x.x.102), as it's already vulnerable (CVE-2018-17479: Use-after-free in GPU).

Perfect Gentleman wrote:

Honestly, it's not my ebuild anymore. Now I take it myself from chaoslab-overlay https://gitlab.com/chaoslab/chaoslab-overlay
Imo, you'd better follow that overlay than mine.


Thank you for giving credit where it's due. :D
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Tue Nov 27, 2018 3:23 am    Post subject: Reply with quote

Perfect Gentleman wrote:
CooSee, I've just built it.
Code:
~ $ qlist -Iv chrom
www-client/ungoogled-chromium-70.0.3538.110_p2

Honestly, it's not my ebuild anymore. Now I take it myself from chaoslab-overlay https://gitlab.com/chaoslab/chaoslab-overlay.
Imo, you'd better follow that overlay than mine.


switched off some USE flags and voila current ebuild go through.

Code:
real   96m8.000s
user   719m7.006s
sys   39m42.682s


will use chaoslab overlay from now on.

greetings
_________________
" 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
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sat Apr 27, 2019 5:42 am    Post subject: Reply with quote

Chaoslab has been inactive for almost 2 months. I'll try to implement ungoogled paches in chromium ebuild as it was earlier.
Back to top
View user's profile Send private message
mirekm
Apprentice
Apprentice


Joined: 12 Feb 2004
Posts: 210
Location: Gliwice

PostPosted: Fri May 24, 2019 11:19 am    Post subject: Reply with quote

Perfect Gentelman, you deleted ungoogled chromium from your overlay. Is that meaning it is end of its story there?
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sat Jun 15, 2019 7:49 am    Post subject: Reply with quote

Nope, so far.
Back to top
View user's profile Send private message
jpsollie
Apprentice
Apprentice


Joined: 17 Aug 2013
Posts: 291

PostPosted: Mon Jul 29, 2019 6:02 am    Post subject: Reply with quote

Hi Everyone,

This weekend, I compiled ungoogled-chromium 75...144 from pg's overlay using clang 8.
Everything seems to work, but the component loading doesn't:
I have 2 additional components in /usr/lib64/chromium: ffmpeg and widevine. However, when browsing to chrome://components, they are not present. I already tried updating widevine to 4.10, because the plugin from Google with www-plugins/chrome-binary-plugins was a 4.9, but that did not work either.

I'm clearly missing something, as the chances that Chromium ignores both ffmpeg and widevine are small. However, it is...
Where do I get more info about its library loading?
Thx
_________________
The power of Gentoo optimization (not overclocked): [img]https://www.passmark.com/baselines/V10/images/503714802842.png[/img]
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
Goto page Previous  1, 2
Page 2 of 2

 
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