Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Errore durante la compilazione
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
davedeth
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2010
Posts: 81
Location: Cesena

PostPosted: Fri Mar 18, 2011 7:27 am    Post subject: [Risolto] Errore durante la compilazione Reply with quote

Hi folks! Dopo la fatica dei giorni scorsi per ricompilare il kernel ieri notte il mio obiettivo era emergere kde. Piegato da una serie di problemini, leggasi dipendenze circolari ed similia, tutti risolti adesso la compilazione non vuole giungere a termine per un errore che non arrivo a decifrare. Vi allego il build.log:
Code:
 * Package:    sys-libs/libutempter-1.1.5
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org x11@gentoo.org
 * USE:        elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking libutempter-1.1.5.tar.bz2 to /var/tmp/portage/sys-libs/libutempter-1.1.5/work
>>> Source unpacked in /var/tmp/portage/sys-libs/libutempter-1.1.5/work
>>> Compiling source in /var/tmp/portage/sys-libs/libutempter-1.1.5/work/libutempter-1.1.5 ...
make -j3 CC=i686-pc-linux-gnu-gcc 'RPM_OPT_FLAGS=-O2 -march=i686 -pipe' libdir=/usr/lib libexecdir=/usr/lib/misc
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -std=gnu99 -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -DLIBEXECDIR=\"/usr/lib/misc\" -Wl,-O1 -Wl,--as-needed  -Wl,-z,now,-stats  utempter.c -o utempter
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -std=gnu99 -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -DLIBEXECDIR=\"/usr/lib/misc\"  -c -fPIC iface.c -o iface.os
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -std=gnu99 -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -DLIBEXECDIR=\"/usr/lib/misc\"  -c -o iface.o iface.c
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc'
make: *** [iface.os] Error 1
make: *** Waiting for unfinished jobs....
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc'
make: *** [iface.o] Error 1
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc'
make: *** [utempter] Error 1
emake failed
 * ERROR: sys-libs/libutempter-1.1.5 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2906:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" libdir=/usr/$(get_libdir) libexecdir=/usr/$(get_libdir)/misc || die
 *
 * If you need support, post the output of 'emerge --info =sys-libs/libutempter-1.1.5',
 * the complete build log and the output of 'emerge -pqv =sys-libs/libutempter-1.1.5'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/libutempter-1.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libutempter-1.1.5/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/libutempter-1.1.5/work/libutempter-1.1.5'

Qualcuno sa come risolvere? Grazie mille in anticipo!


Last edited by davedeth on Sat Mar 19, 2011 11:21 am; edited 1 time in total
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Fri Mar 18, 2011 9:51 am    Post subject: Reply with quote

Puoi dirci qual è l'output di:
Code:
gcc-config --list-profiles
Grazie.
Back to top
View user's profile Send private message
davedeth
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2010
Posts: 81
Location: Cesena

PostPosted: Fri Mar 18, 2011 11:36 am    Post subject: Reply with quote

L'output è:
Code:
gcc-config: Active gcc profile is invalid!
[1] i686-pc-linux-gnu-4.5.2
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Fri Mar 18, 2011 1:02 pm    Post subject: Reply with quote

Prova a riemergerlo dopo aver dato:
Code:
gcc-config 1
oppure
Code:
gcc-config i686-pc-linux-gnu-4.5.2
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Fri Mar 18, 2011 1:11 pm    Post subject: Reply with quote

hai per caso il sistema in ~arch?
Back to top
View user's profile Send private message
davedeth
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2010
Posts: 81
Location: Cesena

PostPosted: Fri Mar 18, 2011 2:01 pm    Post subject: Reply with quote

Si. Nel file make.conf ho messo il parametro ACCEPT_KEYWORDS="~x86" per avere kde alla versione 4.6 e per avere un sistema comunque più aggiornato.
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Fri Mar 18, 2011 3:17 pm    Post subject: Reply with quote

...e più instabile. Non ne sono sicuro ma mi sembra che c'era una politica di non fornire supporto alle persone che mettono ACCEPT_KEYWORDS="~x86", in quanto è sempre sconsigliato, e chi lo mette dovrebbe sapere quello che sta facendo...

comunque dovrebbe essere sufficiente gcc-config 1 come ti è stato già detto, se effettivamente il profilo che stai già utilizzando non è quello "invalido", altrimenti la faccenda è più grave...
Back to top
View user's profile Send private message
davedeth
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2010
Posts: 81
Location: Cesena

PostPosted: Fri Mar 18, 2011 4:02 pm    Post subject: Reply with quote

Chiedo scusa poichè non sapevo di questa politica. A questo punto torno al ramo stabile e riprovo la compilazione.
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Fri Mar 18, 2011 4:21 pm    Post subject: Reply with quote

ho detto mi sembra, non sono affatto sicuro di quello che ho scritto, mi pare di averlo letto in un post di qualcuno tempo fa, ma potrei benissimo sbagliarmi...

comunque prima di compilare qualsiasi cosa devi comunque avere un profilo gcc valido, e ora che sei in ~x86 ti conviene restare così, passare da unstable a stable può risultare piuttosto problematico
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Sat Mar 19, 2011 5:09 am    Post subject: Reply with quote

davedeth wrote:
Si. Nel file make.conf ho messo il parametro ACCEPT_KEYWORDS="~x86" per avere kde alla versione 4.6 e per avere un sistema comunque più aggiornato.


Il bello di gentoo sta proprio qua...potevi mettere ~arch solo kde ;)


The Extremer wrote:
...e più instabile. Non ne sono sicuro ma mi sembra che c'era una politica di non fornire supporto alle persone che mettono ACCEPT_KEYWORDS="~x86", in quanto è sempre sconsigliato, e chi lo mette dovrebbe sapere quello che sta facendo...


se non erro, il mancato supporto è sugli overlay; cmq un sistema interamente ~arch a volte risulta più stabile di un sistema mezzo stabile e mezzo ~arch ;)


davedeth wrote:
Chiedo scusa poichè non sapevo di questa politica. A questo punto torno al ramo stabile e riprovo la compilazione.

non puoi, è materialmente impossibile fare il "downgrade" di glibc, se preferisci reinstalla tutto.
Back to top
View user's profile Send private message
davedeth
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2010
Posts: 81
Location: Cesena

PostPosted: Sat Mar 19, 2011 11:20 am    Post subject: Reply with quote

La compilazione è partita dopo aver dato il comendo gcc-config 1. Adesso la terrò unstable per un po' poi se mi morirà reinstallerò il tutto e amen. Grazie a tutti per l'aiuto dato.
Back to top
View user's profile Send private message
conoscenza
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2011
Posts: 105
Location: Spinazzola (bt) | Brescia | Parma

PostPosted: Mon Jan 09, 2012 10:53 pm    Post subject: Reply with quote

Posso chiedere cosa fa il comando:
Code:
gcc-config 1


in quanto non esiste una pagine di man per il comando gcc-config?

Grazie per le eventuali risposte!
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Mon Jan 09, 2012 11:15 pm    Post subject: Reply with quote

setta il profilo 1
Back to top
View user's profile Send private message
conoscenza
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2011
Posts: 105
Location: Spinazzola (bt) | Brescia | Parma

PostPosted: Tue Jan 10, 2012 12:29 am    Post subject: Reply with quote

ago wrote:
setta il profilo 1

grazie
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