Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Errore compilazione emerge -uDN world
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

rackathon
 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Alucard13
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2005
Posts: 87
Location: Pisa

PostPosted: Mon Feb 26, 2007 2:00 pm    Post subject: [SOLVED] Errore compilazione emerge -uDN world Reply with quote

Ciao,
mentre sto aggiornando il sistema ricevo questo errore di compilazione e nn riesco a capire dov'è l'errore :

Code:

totypes -Wstrict-prototypes -DNCH=1  -DDISABLE_NLS -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -march=pentium4 -O3 -pipe -fomit-frame-pointer fsck.cramfs.c -o fsck.cramfs.o
fsck.cramfs.c:79:22: error: asm/page.h: No such file or directory
make[1]: *** [fsck.cramfs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.12r-r5/work/util-linux-2.12r/disk-utils'
make: *** [all] Error 1

!!! ERROR: sys-apps/util-linux-2.12r-r5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3250:   Called src_compile
  util-linux-2.12r-r5.ebuild, line 143:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.12r-r5/temp/build.log'.



sembra che dipenda dal fatto che nn trova la libreria asm/page.h ma in giro c'è...

Code:

locate page.h
/usr/src/linux-2.6.19-gentoo-r5/fs/jfs/jfs_metapage.h
/usr/src/linux-2.6.19-gentoo-r5/arch/powerpc/boot/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/linux/nfs_page.h
/usr/src/linux-2.6.19-gentoo-r5/include/linux/mpage.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-m68knommu/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-powerpc/vdso_datapage.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-powerpc/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-sh/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-um/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/config/fat/default/codepage.h
/usr/src/linux-2.6.19-gentoo-r5/include/config/hugetlb/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-parisc/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-x86_64/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-xtensa/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-alpha/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-arm26/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-avr32/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-h8300/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-sparc/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-i386/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-cris/arch-v10/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-cris/arch-v32/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-cris/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-m32r/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-ia64/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-m68k/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-mips/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-s390/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-v850/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-sh64/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-arm/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-frv/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-ppc/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-sparc64/page.h
/usr/src/linux-2.6.19-gentoo-r5/include/asm-generic/page.h
/usr/share/doc/groff-1.19.2-r1/html/mom/headfootpage.html
/usr/include/asm/page.h
/usr/include/linux/nfs_page.h
/usr/include/linux/mpage.h
/usr/include/asm-generic/page.h



nn so come rimediare...aiutatemi grazie :D
_________________
Un'uomo potra' sempre sentirsi ricco se qualcuno disegnera le sue gesta!!


Last edited by Alucard13 on Mon Feb 26, 2007 2:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
Alucard13
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2005
Posts: 87
Location: Pisa

PostPosted: Mon Feb 26, 2007 2:11 pm    Post subject: Reply with quote

proprio ora ho cercato su gentoo bugzilla e ho trovato proprio questo errore

http://bugs.gentoo.org/show_bug.cgi?id=168278

ora xrò come riesco a risolverlo o almeno ad evitarlo??li consiglia:

Quote:
The asm/page.h file nolonger exists. util-linux-2.13_pre7 includes a fix and
compiles ok.


ma come faccio a mettere il 2.13 ??
_________________
Un'uomo potra' sempre sentirsi ricco se qualcuno disegnera le sue gesta!!
Back to top
View user's profile Send private message
Scen
Developer
Developer


Joined: 29 Jul 2003
Posts: 2337
Location: Padova, Italy

PostPosted: Mon Feb 26, 2007 2:25 pm    Post subject: Reply with quote

Ti sconsiglio di fare l'upgrade alla versione 2.13, non è ancora sicura, essendo "hard-masked"
Quote:

!!! All ebuilds that could satisfy "=util-linux-2.13*" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/util-linux-2.13_pre7 (masked by: package.mask, ~amd64 keyword)
# Mike Frysinger <vapier@gentoo.org> (25 Jan 2006)
# Added for fun, but incomplete atm


Dal bug il problema sembra ci sia se si utilizza linux-headers-2.6.20, ovvero versione instabile (e pertanto presumo tu stia utilizzando un sistema TOTALMENTE instabile, ovvero ~arch).

Soluzione: fare il downgrade almeno di linux-headers alle versioni precedenti, se non quella stabile.
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Alucard13
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2005
Posts: 87
Location: Pisa

PostPosted: Mon Feb 26, 2007 2:40 pm    Post subject: Reply with quote

io nn utilizzo il kernel 2.6.20 ma il 2.6.19 e cmq ho provato a smaskerarlo solo che ora mi da un'altro errore forse peggio:

Code:

>>> Emerging (1 of 45) sys-apps/util-linux-2.13_pre7 to /
 * loop-AES-v3.1e.tar.bz2 MD5 ;-) ...                                                         [ ok ]
 * loop-AES-v3.1e.tar.bz2 RMD160 ;-) ...                                                      [ ok ]
 * loop-AES-v3.1e.tar.bz2 SHA1 ;-) ...                                                        [ ok ]
 * loop-AES-v3.1e.tar.bz2 SHA256 ;-) ...                                                      [ ok ]
 * loop-AES-v3.1e.tar.bz2 size ;-) ...                                                        [ ok ]
 * util-linux-2.13-pre7.tar.bz2 MD5 ;-) ...                                                   [ ok ]
 * util-linux-2.13-pre7.tar.bz2 RMD160 ;-) ...                                                [ ok ]
 * util-linux-2.13-pre7.tar.bz2 SHA1 ;-) ...                                                  [ ok ]
 * util-linux-2.13-pre7.tar.bz2 SHA256 ;-) ...                                                [ ok ]
 * util-linux-2.13-pre7.tar.bz2 size ;-) ...                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                        [ ok ]
 * checking util-linux-2.13-pre7.tar.bz2 ;-) ...                                              [ ok ]
 * checking loop-AES-v3.1e.tar.bz2 ;-) ...                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking util-linux-2.13-pre7.tar.bz2 to /var/tmp/portage/sys-apps/util-linux-2.13_pre7/work
>>> Unpacking loop-AES-v3.1e.tar.bz2 to /var/tmp/portage/sys-apps/util-linux-2.13_pre7/work

!!! ERROR: sys-apps/util-linux-2.13_pre7 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3228:   Called src_unpack
  util-linux-2.13_pre7.ebuild, line 40:   Called die

!!! Sorry, no loop-AES support in this version
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.13_pre7/temp/build.log'.


cosa consigliate di fare??
_________________
Un'uomo potra' sempre sentirsi ricco se qualcuno disegnera le sue gesta!!
Back to top
View user's profile Send private message
Alucard13
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2005
Posts: 87
Location: Pisa

PostPosted: Mon Feb 26, 2007 2:49 pm    Post subject: Reply with quote

questo errore sembra essere risolto dipendeva da una flag precisamente della flag crypt che deve essere levata:

Code:

USE="-crypt" emerge util-linux


ora sembra andare tutto ;)
grazie :D
_________________
Un'uomo potra' sempre sentirsi ricco se qualcuno disegnera le sue gesta!!
Back to top
View user's profile Send private message
Scen
Developer
Developer


Joined: 29 Jul 2003
Posts: 2337
Location: Padova, Italy

PostPosted: Mon Feb 26, 2007 2:53 pm    Post subject: Reply with quote

Alucard13 wrote:
questo errore sembra essere risolto dipendeva da una flag precisamente della flag crypt che deve essere levata:

Code:

USE="-crypt" emerge util-linux


ora sembra andare tutto ;)
grazie :D

Bene, però la sintassi che hai usato (presumo) per installare util-linux è sconsigliatissima (al prossimo emerge -DNu world poverà a ricompilarti il pacchetto con la USE "crypt" attivata, se non l'hai disattivata globalmente): disattivala per quel pacchetto tramite /etc/portage/package.use :wink:
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 1920
Location: MI/BG/LC

PostPosted: Tue Feb 27, 2007 10:11 am    Post subject: Reply with quote

Alucard13 wrote:
io nn utilizzo il kernel 2.6.20 ma il 2.6.19 e cmq ho provato a smaskerarlo solo che ora mi da un'altro errore forse peggio:


@Scen ti ha parlato di linux-headers, non del kernel, sono due cose completamente diverse.
le soluzioni al tuo problema erano due:

1- fare il downgrade di sys-kernel/linux-headers ad una versione stabile
2- disabilitare la USE="-crypt" per il pacchetto che non ti compila

p.s.: linux-headers e util-linux sono componenti vitali del sistema, usarne versioni instabili non è sicuramente il massimo della vita.
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT - 5 Hours
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