Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]emerge util-linux failed!
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
chittoor
n00b
n00b


Joined: 09 Apr 2006
Posts: 35

PostPosted: Wed Feb 28, 2007 2:12 pm    Post subject: [SOLVED]emerge util-linux failed! Reply with quote

I was doing emerge -e world and got stuck at util-linux. Here's the output.

Code:
i686-pc-linux-gnu-gcc -c -O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -pipe -fno-ident -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1   -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -pipe -fno-ident fsck.cramfs.c -o fsck.cramfs.o
i686-pc-linux-gnu-gcc -c -O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -pipe -fno-ident -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1   -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -pipe -fno-ident mkfs.cramfs.c -o mkfs.cramfs.o
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -pipe -fno-ident -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1   -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -pipe -fno-ident  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,now  fdformat.c   -o fdformat
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....
mkfs.cramfs.c: In function âmdfileâ:
mkfs.cramfs.c:210: warning: pointer targets in passing argument 2 of âMD5Updateâ differ in signedness
mkfs.cramfs.c: In function âwrite_superblockâ:
mkfs.cramfs.c:446: warning: pointer targets in passing argument 1 of â__builtin_strncpyâ differ in signedness
mkfs.cramfs.c:448: warning: pointer targets in passing argument 1 of â__builtin_strncpyâ differ in signedness
mkfs.cramfs.c: In function âdo_compressâ:
mkfs.cramfs.c:615: warning: pointer targets in passing argument 1 of âcompressâ differ in signedness
mkfs.cramfs.c:615: warning: pointer targets in passing argument 3 of âcompressâ differ in signedness
mkfs.cramfs.c: In function âmainâ:
mkfs.cramfs.c:883: warning: pointer targets in passing argument 2 of âcrc32â differ in signedness
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 3266:   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'.



Code:
emerge -1pv util-linux

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/util-linux-2.12r-r5  USE="crypt nls perl -old-crypt (-selinux) -static" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB



Something about asm/page.h not found. Ignore the â character.
Any idea how to solve this


Last edited by chittoor on Thu Mar 01, 2007 9:22 am; edited 1 time in total
Back to top
View user's profile Send private message
loki_val
Retired Dev
Retired Dev


Joined: 13 Nov 2006
Posts: 388
Location: Denmark

PostPosted: Wed Feb 28, 2007 3:47 pm    Post subject: Reply with quote

Bug 168278. Please try the attached ebuild.
Back to top
View user's profile Send private message
chittoor
n00b
n00b


Joined: 09 Apr 2006
Posts: 35

PostPosted: Thu Mar 01, 2007 9:21 am    Post subject: Reply with quote

Solved. That helped. Thanks
Back to top
View user's profile Send private message
FrankRizz0
Guru
Guru


Joined: 29 Nov 2006
Posts: 328

PostPosted: Fri Mar 02, 2007 12:55 am    Post subject: Reply with quote

I'm having the same error but I am a newbie, so unfortunately I do not know what they're doing. Was hoping someone might have the time to give me a walk-through onb how to do this, if anyone out there is kind enough. Thanks in advance for any help!!!
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2774
Location: Oceanside, Ca

PostPosted: Fri Mar 02, 2007 6:39 am    Post subject: Reply with quote

If you have the latest "linux-headers-2.6.20-r1" then as youve found out util-linux-2.12r-r5 wont build. They patch and rev bumped util-linux to util-linux-2.12r-r6. So wait a couple of hours and re-sync. check to see if you got the r6 ebuild, "emerge utils-linux" or "eix utils-linux". If so then emerge it.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
ram32
n00b
n00b


Joined: 28 Oct 2006
Posts: 15

PostPosted: Sat Mar 03, 2007 6:54 pm    Post subject: Reply with quote

and the same again :(
now with -r6...

* Applying util-linux-2.12r-HAVE_asm_page_h.patch ...

* Failed Patch: util-linux-2.12r-HAVE_asm_page_h.patch !
* ( /usr/portage/sys-apps/util-linux/files/util-linux-2.12r-HAVE_asm_page_h.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/sys-apps/util-linux-2.12r-r6/temp/util-linux-2.12r-HAVE_asm_page_h.patch-10283.out


!!! ERROR: sys-apps/util-linux-2.12r-r6 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_unpack
ebuild.sh, line 751: Called qa_call 'src_unpack'
environment, line 3251: Called src_unpack
util-linux-2.12r-r6.ebuild, line 121: Called epatch '/usr/portage/sys-apps/util-linux/files/util-linux-2.12r-HAVE_asm_page_h.patch'
eutils.eclass, line 341: Called die

!!! Failed Patch: util-linux-2.12r-HAVE_asm_page_h.patch!
!!! 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-r6/temp/build.log'.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2774
Location: Oceanside, Ca

PostPosted: Sat Mar 03, 2007 7:11 pm    Post subject: Reply with quote

Ok you probably dont care which linux-headers you have so mask anything greater than 2.6.20
Code:
echo ">sys-kernel/linux-headers-2.6.20">>/etc/portage/package.mask
then " emerge linux-headers util-linux -p OR -a "
_________________
An A-Z Index of the Linux BASH command line
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