Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compile time of net-libs/webkit-gtk increased by a lot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2954
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Sun Jul 16, 2023 8:46 pm    Post subject: compile time of net-libs/webkit-gtk increased by a lot Reply with quote

I'd doing right now a world update and net-libs/webkit-gtk needs to be recompiled.

usually on my system it takes between 35 and 40 minutes to complete wekit-gtk and as far as I remember, roughly 3000 files are compiled.

But now it's been more than 1 1/2 hours and it's still compiling. If I take a look at the number of files to be compiled, it says:

Code:

[3478/6771] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GTK__=1 -DBUILDING_W ....


It seems way to much to me. I wondered whether there is a problem on my system or this normal now.

My currently installed version is =net-libs/webkit-gtk-2.40.2-r600. Emerge is building =net-libs/webkit-gtk-2.40.3-r600.

That doesn't look right to me.

Does anybody also have this behaviour?
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2178

PostPosted: Sun Jul 16, 2023 11:02 pm    Post subject: Reply with quote

This might be bug 910273. We would also love to know if any other (smaller) packages are affected.
Back to top
View user's profile Send private message
ritzmax72
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2014
Posts: 114

PostPosted: Mon Jul 17, 2023 2:37 am    Post subject: Reply with quote

sam_ wrote:
This might be bug 910273. We would also love to know if any other (smaller) packages are affected.

chromium build time is now 6-7 hours. Previously I had 3 hours.
Sorry, but I opened a thread regarding this.

About webkit-gtk: my last build time was 2 hours 41 minutes
Code:

2023-06-14T12:04:01 >>> net-libs/webkit-gtk: 31′43″
2023-06-14T22:41:41 <<< net-libs/webkit-gtk: 3s
2023-07-08T23:21:09 >>> net-libs/webkit-gtk: 2:41:48


It usually averaged around 30 mins.
Here's my ongoing qlop for world update.
I've noticed some very small packages are taking longer than I expected; for instance opencv took 10 minutes.

Code:

2023-07-17T04:58:13 >>> gui-libs/vte-common: 34s
2023-07-17T04:58:47 >>> app-editors/vscode: 43s
2023-07-17T04:59:30 >>> gui-libs/libadwaita: 1′03″
2023-07-17T05:00:33 >>> dev-util/nvidia-cuda-toolkit: 7′36″
2023-07-17T05:08:09 >>> x11-libs/vte: 1′14″
2023-07-17T05:09:23 >>> dev-qt/qtgui: 6′48″
2023-07-17T05:16:11 >>> dev-qt/qtwidgets: 4′26″
2023-07-17T05:20:37 >>> dev-qt/qtdeclarative: 12′59″
2023-07-17T05:33:36 >>> dev-qt/qtwayland: 3′50″
2023-07-17T05:37:26 >>> dev-qt/qtx11extras: 22s
2023-07-17T05:37:48 >>> dev-qt/qtsvg: 36s
2023-07-17T05:38:24 >>> kde-frameworks/kwayland: 1′10″
2023-07-17T05:39:34 >>> dev-qt/linguist-tools: 39s
2023-07-17T05:40:13 >>> dev-qt/qtprintsupport: 2′10″
2023-07-17T05:42:23 >>> dev-qt/qtgraphicaleffects: 28s
2023-07-17T05:42:51 >>> dev-qt/qtquickcontrols: 1′14″
2023-07-17T05:44:05 >>> dev-qt/qtopengl: 1′57″
2023-07-17T05:46:02 >>> dev-qt/qtwebchannel: 32s
2023-07-17T05:46:34 >>> kde-plasma/layer-shell-qt: 32s
2023-07-17T05:47:06 >>> dev-qt/qtbluetooth: 1′28″
2023-07-17T05:48:34 >>> dev-qt/qtpositioning: 1′15″
2023-07-17T05:49:49 >>> dev-qt/qtxmlpatterns: 4′16″
2023-07-17T05:54:05 >>> dev-qt/qt3d: 10′11″
2023-07-17T06:04:16 >>> dev-qt/qthelp: 45s
2023-07-17T06:05:01 >>> dev-qt/qtscript: 2′48″
2023-07-17T06:07:49 >>> dev-qt/qtsensors: 1′09″
2023-07-17T06:08:58 >>> dev-qt/qtwebsockets: 36s
2023-07-17T06:09:34 >>> kde-frameworks/kguiaddons: 42s
2023-07-17T06:10:16 >>> dev-qt/qttranslations: 40s
2023-07-17T06:10:56 >>> dev-qt/qtquickcontrols2: 3′40″
2023-07-17T06:14:36 >>> kde-frameworks/kidletime: 33s
2023-07-17T06:15:09 >>> dev-qt/designer: 4′57″
2023-07-17T06:20:06 >>> dev-qt/qtvirtualkeyboard: 1′00″
2023-07-17T06:21:06 >>> dev-qt/qtlocation: 10′24″
2023-07-17T06:31:30 >>> media-libs/opencv: 10′10″


One more thing. I update kernel to 6.1.38 before updating. Should not be a problem but just a thing to notice.
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2954
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Mon Jul 17, 2023 8:39 am    Post subject: Reply with quote

sam_ wrote:
This might be bug 910273. We would also love to know if any other (smaller) packages are affected.


Interesting, I don't know since when I have sandbox-2.32 but since the last world update 2 weeks ago, I have the feeling that all my applications are a tiny bit "slower" to start and also to respond to keyboard inputs.

Yesterday I could see an increase on the build times of all my packages, specially when they are built with g++. Using genlop -c I could see that the packages always took longer than the previous builds.

Code:

$ genlop dev-qt/qtdeclarative -t
...
     Sun Jan 22 19:51:24 2023 >>> dev-qt/qtdeclarative-5.15.8-r2
       merge time: 4 minutes and 26 seconds.

     Sun Apr 30 20:00:10 2023 >>> dev-qt/qtdeclarative-5.15.9
       merge time: 6 minutes and 23 seconds.

     Sun Jun  4 15:11:43 2023 >>> dev-qt/qtdeclarative-5.15.9
       merge time: 6 minutes and 22 seconds.

     Sun Jul 16 23:30:28 2023 >>> dev-qt/qtdeclarative-5.15.10-r2
       merge time: 13 minutes and 12 seconds.




$ genlop -t x11-libs/vte
...

    Sun Apr  2 19:04:47 2023 >>> x11-libs/vte-0.70.3
       merge time: 37 seconds.

     Sun May  7 23:50:48 2023 >>> x11-libs/vte-0.72.1
       merge time: 38 seconds.

     Tue Jun 13 15:57:47 2023 >>> x11-libs/vte-0.72.1
       merge time: 37 seconds.

     Sun Jul 16 23:16:07 2023 >>> x11-libs/vte-0.72.2
       merge time: 1 minute and 10 seconds.

$ genlop -t kde-apps:okular
...

    Sat Feb  4 20:53:46 2023 >>> kde-apps/okular-22.08.3-r2
       merge time: 56 seconds.

     Sun Apr  2 19:13:46 2023 >>> kde-apps/okular-22.12.3
       merge time: 1 minute and 14 seconds.

     Sun Apr 30 20:39:11 2023 >>> kde-apps/okular-22.12.3
       merge time: 1 minute and 14 seconds.

     Sun Jul  9 20:18:19 2023 >>> kde-apps/okular-23.04.2
       merge time: 2 minutes and 53 seconds.

     Mon Jul 17 00:16:00 2023 >>> kde-apps/okular-23.04.2
       merge time: 2 minutes and 54 seconds.


$  genlop -t dev-qt/designer
...

     Sun Jan 22 20:13:21 2023 >>> dev-qt/designer-5.15.8
       merge time: 1 minute and 42 seconds.

     Sun Apr 30 20:18:28 2023 >>> dev-qt/designer-5.15.9
       merge time: 2 minutes and 26 seconds.

     Mon Jul 17 00:00:17 2023 >>> dev-qt/designer-5.15.10
       merge time: 6 minutes and 8 seconds.



So as you can see the increase is huge, after 2 hours I decided to stop building webkit-gtk and resumed with --skip-first.

On Jun 15 was the last time I compiled net-libs/webkit-gtk with 36 minutes. On Jun 18 sys-apps/sandbox-2.30-r1 was merged and on Jun 25 sys-apps/sandbox-2.32 was merged. Like I said, for a couple of week I had the feeling that building times have gotten larger but this time I noticed it specially because of webkit-gtk.

is there a way to downgrade sys-apps/sandbox to 2.29? Where can I find the older ebuilds?

// edit: On https://dev.gentoo.org/~floppym/dist/ there is no sandbox-2.29.tar.xz file anymore, so even if I found the ebuild I would not be able to compile it. Does someone have this tarball somewhere? Are there any archives for older gentoo tarballs?
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2954
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Mon Jul 17, 2023 12:06 pm    Post subject: Reply with quote

Ok, I can confirm that it has to do with app-sys/sandbox. I managed to find a mirror (https://ftp.uni-hannover.de/gentoo/distfiles/6a/) of the university of Hannover that hosted sandbox-2.29.tar.xz and from https://anongit.gentoo.org/git/repo/gentoo.git I managed to get the sandbox-2.29.ebuild.

I downgraded sandbox to 2.29 and compiled webkit-gtk again and compiled it in 36 minutes, just like I expected.
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4701
Location: Germany

PostPosted: Mon Jul 17, 2023 5:43 pm    Post subject: Reply with quote

New sys-apps/sandbox-2.37 version with a fix is now available in tree.
Code:
emerge --sync
should help.
Back to top
View user's profile Send private message
ZekeMorrin
n00b
n00b


Joined: 15 Oct 2023
Posts: 20

PostPosted: Sat Mar 01, 2025 8:53 pm    Post subject: Reply with quote

Hello there, even though I'm on KDE I use webkit-gtk for 2 software, one dependency and one for optional extra functionality. There are 3 main versions of webkit-gtk atm, 4, 4.1 and 6. For me;

Sat Mar 1 13:54:14 2025 >>> net-libs/webkit-gtk-2.46.5-r410
merge time: 1 hour, 18 minutes and 23 seconds.

Which is version 4.1, and after the world update I realised update for version 6 was taking like 3 hours and was keep continuing, I just masked it from package.mask and see version 6 is not a hard dependency for anything so I can suggest doing so to save few more hamsters from the world ^_^
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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