Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[webkit] errori ripetuti in fase di compilazione. [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Feb 15, 2022 9:29 am    Post subject: [webkit] errori ripetuti in fase di compilazione. [risolto] Reply with quote

cercando di compilare le ultime versioni di webkit-gtk (2.34.4 e 2.34.5) mi sono imbattuto in una successione di errori poco comprensibili, che interrompevano la fase di compile senza apparente motivo.

dopo numerosi tentavi, mi sono reso conto che era possibile riprendere la compilazione interrotta con il comando ebuild e sono riuscito ad arrivare alla completa installazione con la chiamata a qmerge.

tuttavia, il fenomeno mi ha stupito non poco, anche perché sembra del tutto limitato a quel singolo ebuild.

ho conservato una copia dell'ebuild, dove si può ritrovare l'errore cercando la stringa ERROR, intorno al 99% del file.

vorrei sapere se qualcuno è in grado di fare qualche ipotesi per giustificare la natura di questo strano comportamento.
_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Tue Feb 15, 2022 11:58 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Feb 15, 2022 9:47 am    Post subject: Reply with quote

Code:
x86_64-pc-linux-gnu-g++:fatal error: Ucciso signal terminated program cc1plus

Prossima volta forza LANG a C se non gli errori vengono localizzati.
Questo vuol dire che hai finito la memoria RAM e per preservare il funzionamento del sistema il processo viene ucciso.
Una soluzione è diminuire il valore di MAKEOPTS per la compilazione parallela (si calcola empiricamente 2GB per ogni compilazione parallela). Con /etc/portage/env puoi diminuire questo valore solo per il pacchetto in questione.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Tue Feb 15, 2022 10:14 am    Post subject: Reply with quote

ho avuto lo stesso problema, ora sto provando a emergere con il consiglio di fedeliallaline

https://forums.gentoo.org/viewtopic-t-1147314.html
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Feb 15, 2022 11:58 am    Post subject: Reply with quote

confermo.
con MAKEOPTS="-j4" va a buon fine.

... ma io avevo 16GB per rimanere immune da questi disturbi.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Feb 15, 2022 12:27 pm    Post subject: Reply with quote

cloc3 wrote:
... ma io avevo 16GB per rimanere immune da questi disturbi.

Hai la portage TMPDIR su tmpfs? Se si a quanti GB l'hai settata?
Inoltre dipende anche cosa stai facendo al momento che compila.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Feb 15, 2022 12:46 pm    Post subject: Reply with quote

fedeliallalinea wrote:
cloc3 wrote:
... ma io avevo 16GB per rimanere immune da questi disturbi.

Hai la portage TMPDIR su tmpfs? Se si a quanti GB l'hai settata?
Inoltre dipende anche cosa stai facendo al momento che compila.

inizialmente sì (8 GB).

ma non è quello il problema.
ho controllato che la tmpdir rimane sotto gli 800MB di impegno.
Il build.log che ho postato è con la tmpdir di default, in /var/tmp/portage.

nel frattempo, osservo che anche media-gfx/openvdb dà lo stesso problema.
il punto sembra proprio che, come dicevi tu, sulla base di una stima di 2GB a cpu, 2 per nove fa diciotto.

sottolineo ancora il workaround che ho citato prima.
in questi casi, per evitare una ricompilazione troppo lunga, è essere sufficiente usare il comando ebuild:
Code:

cloc3 ~ # ebuild ${PORTDIR}/%{CATEGORY}/%{PN}/%{PN}-%{PV}.ebuild compile
cloc3 ~ # ebuild ${PORTDIR}/%{CATEGORY}/%{PN}/%{PN}-%{PV}.ebuild install
cloc3 ~ # ebuild ${PORTDIR}/%{CATEGORY}/%{PN}/%{PN}-%{PV}.ebuild qmerge

_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Tue Feb 15, 2022 1:09 pm; edited 2 times in total
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Tue Feb 15, 2022 12:53 pm    Post subject: Reply with quote

cloc3 wrote:
confermo.
con MAKEOPTS="-j4" va a buon fine.

... ma io avevo 16GB per rimanere immune da questi disturbi.



io avevo 8, poi ho provato 6 ma mi dava ancora errore, infine con -j4 è andato anche a me
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1014

PostPosted: Tue Feb 15, 2022 9:05 pm    Post subject: Reply with quote

Se volete evitare che qualche "pacchettone" vi porti via risorse ad ogni update/rebuild , date una occhiata a

https://wiki.gentoo.org/wiki//etc/portage/package.env

e settate eventuali opzioni specifiche per quel pacchetto (come appunto abbasssare ilnumero dei threads di lavoro ad esempio)


Esempio :
/etc/portage/env
Quote:
webkit-gtk.conf
Code:
MAKEOPTS="-j3 -s"
FEATURES="-ccache"



Quote:
qtwebengine.conf
Code:
MAKEOPTS="-j2 -s"
FEATURES="ccache"



Quote:
notmpfs.conf
Code:
PORTAGE_TMPDIR="/home/saba/Varie/notmpfs"
MAKEOPTS="-j2 -s"
CCACHE_SIZE="5G"
CCACHE_DIR="/var/ccache"




/etc/portage/package.env
Quote:
webkit-gtk
Code:

net-libs/webkit-gtk webkit-gtk.conf



Quote:
qtwebengine
Code:

dev-qt/qtwebengine notmpfs.conf



etc..
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Feb 20, 2022 12:40 pm    Post subject: Reply with quote

Code:

>>> Running pre-merge checks for dev-qt/qtwebengine-5.15.2_p20211216
 * Checking for at least 18 GiB RAM ...


accipicchia.
è in atto una violenta offensiva nell'uso della RAM durante la compilazione.
webkit-gtk è stato il primo (nel mio sistema), ma adesso il numero degli ebuild che si stampa allo stesso modo sta crescendo esponenzialmente.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Sun Feb 20, 2022 2:00 pm    Post subject: Reply with quote

cloc3 wrote:
webkit-gtk è stato il primo (nel mio sistema), ma adesso il numero degli ebuild che si stampa allo stesso modo sta crescendo esponenzialmente.

Questi per il momento sono gli unici due grandi che non hanno una controparte -bin.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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