| View previous topic :: View next topic |
| Author |
Message |
chittoor n00b

Joined: 09 Apr 2006 Posts: 35
|
Posted: Wed Feb 28, 2007 2:12 pm Post subject: [SOLVED]emerge util-linux failed! |
|
|
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 |
|
 |
loki_val Retired Dev

Joined: 13 Nov 2006 Posts: 388 Location: Denmark
|
Posted: Wed Feb 28, 2007 3:47 pm Post subject: |
|
|
| Bug 168278. Please try the attached ebuild. |
|
| Back to top |
|
 |
chittoor n00b

Joined: 09 Apr 2006 Posts: 35
|
Posted: Thu Mar 01, 2007 9:21 am Post subject: |
|
|
| Solved. That helped. Thanks |
|
| Back to top |
|
 |
FrankRizz0 Guru

Joined: 29 Nov 2006 Posts: 328
|
Posted: Fri Mar 02, 2007 12:55 am Post subject: |
|
|
| 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 |
|
 |
hielvc Advocate

Joined: 19 Apr 2002 Posts: 2774 Location: Oceanside, Ca
|
Posted: Fri Mar 02, 2007 6:39 am Post subject: |
|
|
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 |
|
 |
ram32 n00b


Joined: 28 Oct 2006 Posts: 15
|
Posted: Sat Mar 03, 2007 6:54 pm Post subject: |
|
|
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 |
|
 |
hielvc Advocate

Joined: 19 Apr 2002 Posts: 2774 Location: Oceanside, Ca
|
Posted: Sat Mar 03, 2007 7:11 pm Post subject: |
|
|
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 |
|
 |
|