Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Problemi in compilazione libreoffice ed electron
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
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Thu Sep 20, 2018 3:03 pm    Post subject: [Risolto] Problemi in compilazione libreoffice ed electron Reply with quote

Ciao a tutti, ho problemi nella compilazione di libreoffice, sia versione normale che in versione bin, e nella ricompilazione di electron, che mi ha installato all'installazione di atom.

Riguardo a libreoffice-bin credo che l'errore sia nel fatto che essendo io in testing, libreoffice-bin richieda una verisione di icu più vecchia, a seguire l'estratto dell'errore
Code:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/icu:0

  (dev-libs/icu-60.2:0/60.2::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/icu:0/60.2 required by (app-office/libreoffice-bin-6.0.3.2:0/0::gentoo, ebuild scheduled for merge)
                ^^^^^^^                                                                                                                             

  (dev-libs/icu-62.1:0/62.1::gentoo, installed) pulled in by
    dev-libs/icu:0/62.1= required by (media-libs/raptor-2.0.15:2/2::gentoo, installed)
                ^^^^^^^^                                                                                                 
    (and 12 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


mentre in libreoffice normale non ho idea di dove sia il problema, non riesco ancora a capire i log, qui il log https://paste.pound-python.org/show/txmcdbruJiXTv5EKPmzP/

Riguardo a electron, è installato, ma sia l'aggiornamento che il @preserved-rebuild lo ricompilano, ma fallisce, qui il suo log https://paste.pound-python.org/show/4XqFZzIstT0LFwcX39VS/


Last edited by zar Marco on Fri Oct 05, 2018 9:42 am; edited 1 time in total
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Wed Sep 26, 2018 11:46 am    Post subject: Reply with quote

Vorrei installare icu versione 60, avendo la 62 installata, anche perché sia libreoffice-bin che electron richiedono la 60.

Avevo pensato a eliminare la 62, e bloccare l'installazione alla 60, ma non so se poi qualche altro pacchetto potrebbe risentirne.

L'altra idea che mi è venuta in mente è l'utilizzare un altro slot ed avere ambo le versioni installate. Ma non ho idea di come fare.

Avete qualche consiglio?
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1012

PostPosted: Wed Sep 26, 2018 6:26 pm    Post subject: Reply with quote

dev-libs/icu non è slottato.

Tutti questi avanti ed indietro tra testing/stable portano a delle complicazioni (soprattutto in fase di downgrade magari dopo molto tempo)


Controlla quali pacchetti dipendono dalla versione stabile (attualmente 60.2) di ICU
Code:
equery d dev-libs/icu-60.2 -a


E quelli dalla versione testing (attualmente la 62.1)
Code:
equery d dev-libs/icu-60.2 -a


così puoi vedere se ci sonoincompatibilità .
Comunque in genere dopo una compilazione di ICU , portge richiede da sè un revdep-rebuild per allineare i pacchetti che necessitano di un aggiustamento delle varie librerie.
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Wed Sep 26, 2018 6:30 pm    Post subject: Reply with quote

Sì, ma infatti revdep-rebuild richiama sempre electron, che puntualmente fallisce, domani provo prima a riemergere icu e poi a vedere a cosa è necessario.

Il punto è che io sono partito da stable e tipo due giorni dopo l'installazione sono passato a testing, poi non sono mai tornato indietro.
Ed electron, che me lo ha installato insieme ad atom, sono certo di averlo installato dopo il passaggio a testing. Per questo non capisco dove stia il problema
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Thu Sep 27, 2018 9:54 am    Post subject: Reply with quote

Ok, risolto electron, eliminandolo, rimane il problema con libreoffice.

Cercando con equery -d icu-62.1 -a, riguardo a libreoffice ottengo ciò:
Code:
app-office/libreoffice-6.0.3.2 (dev-libs/icu)
app-office/libreoffice-6.0.6.2 (dev-libs/icu)
app-office/libreoffice-6.1.1.2 (dev-libs/icu)
app-office/libreoffice-6.1.9999 (dev-libs/icu)
app-office/libreoffice-9999 (dev-libs/icu)
app-office/libreoffice-bin-6.0.3.2 (dev-libs/icu:0/60.2)
                                   (dev-libs/icu)
app-office/libreoffice-bin-6.0.6.2 (dev-libs/icu:0/60.2)
                                   (dev-libs/icu)


questo sta ad indicare che per libreoffice-bin devo avere la versione precedente di icu, ma non dovrei aver problemi per libreoffice compilato giusto?

Piccola nota a margine, se ad equery tolgo la -a vado a cercare solo nei pacchetti installati giusto?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Fri Sep 28, 2018 9:08 am    Post subject: Reply with quote

libreoffice-bin e' stato compilato con librerie in stable, quindi se vuoi mettere icu-62 devi compilarti tu libreoffice
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Fri Sep 28, 2018 10:03 am    Post subject: Reply with quote

Ok, ora sto facendo compilare libreoffice, vediamo se sta volta non si blocca
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Fri Sep 28, 2018 2:17 pm    Post subject: Reply with quote

OK, non mi spiego come mai, ma dopo l'eliminazione di electron, la compilazione di libreoffice è andata a buon fine
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Fri Sep 28, 2018 3:53 pm    Post subject: Reply with quote

Hai risolto il problema di electron?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Fri Sep 28, 2018 4:38 pm    Post subject: Reply with quote

Ora provo a riemergere atom, vediamo se ha ancora problemi
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Fri Sep 28, 2018 7:16 pm    Post subject: Reply with quote

Niente electron, quindi atom, fallisce, questo il log https://paste.pound-python.org/show/D5NGq7DwZZbI1WgYvyG6/
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Fri Sep 28, 2018 7:33 pm    Post subject: Reply with quote

E' un bug prova la patch proposta
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Fri Sep 28, 2018 8:50 pm    Post subject: Reply with quote

Grazie mille, non mi resta che capire come patcharlo. Con calma nei prossimi giorni proverò a vedere bene il da farsi
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Sat Sep 29, 2018 6:46 am    Post subject: Reply with quote

Prova a scaricare questa patch e usare /etc/portage/patches
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Tue Oct 02, 2018 5:11 pm    Post subject: Reply with quote

Inserita la patch, la prende, ma fallisce ugualmente. https://paste.pound-python.org/show/cR9KPbUyJ8JPHfmKxJD5/

Poco male, non ne ho la stretta necessità, magari aspetto di vedere se lo sistemano
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1012

PostPosted: Tue Oct 02, 2018 7:28 pm    Post subject: Reply with quote

Code:
|
|# HG changeset patch
|# User Robert-André Mauchin <zebob.m@gmail.com>
|# Date 1517842004 18000
|# Node ID de196fabad5977d15fe6664813638296cfe097c5
|# Parent  b593176e9b0b4ca8c604c483b1cba782a18e2455
|Bug 1435695 - WebRTC fails to build with GCC 8; r=dminor


prova cambiando versione di compilatore
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Tue Oct 02, 2018 7:35 pm    Post subject: Reply with quote

Posso farlo anche se ho solo la versione 8 installata?
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1012

PostPosted: Tue Oct 02, 2018 8:10 pm    Post subject: Reply with quote

installa la versione 7.x , fai lo switch e compila libreoffice.
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Tue Oct 02, 2018 9:12 pm    Post subject: Reply with quote

Effettivamente pensandoci, ero riuscito ad installare electron, quindi anche atom, all'inizio, quando ero ancora in stable. I problemi mi sono usciti passato a testing quindi da gcc 7 all'8.
Domani pomeriggio proverò a reinstallare il 7, immagino che gcc sia multi slot, poi a riemergere atom.
Ma se così dovessi risolvere, dovrei ogni volta cambiare il compilatore?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Wed Oct 03, 2018 6:18 am    Post subject: Reply with quote

zar Marco wrote:
Ma se così dovessi risolvere, dovrei ogni volta cambiare il compilatore?

O applicare la patch che ti ho proposto. Per specificare una specifica versione di gcc a un pacchetto puoi usare /etc/poirtage/package.env
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Wed Oct 03, 2018 6:49 am    Post subject: Reply with quote

La patch l'ho inserita, e credo correttamente visto che l'output di electron dimostra che l'ha presa in considerazione, ma sembra non funzionare, sempre se non ho sbagliato nulla
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Thu Oct 04, 2018 11:36 am    Post subject: Reply with quote

Non metto ancora risolto, perché il pacchetto non è ancora installato (ho dovuto interrompere la compilazione).
Ma sembra che cambiando gcc ed eliminando le patch prima inserite, il processo andava.
Domani vedo di farlo ripartire e vediamo se lo termina
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Fri Oct 05, 2018 9:44 am    Post subject: Reply with quote

Bon ora posso mettere risolto, installato electron ed atom, quest'ultimo non è uguale alla versione presente in arch, ma vabbè era una semplice prova.

Grazie mille a tutti per l'aiuto
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