Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57985 Details for
Bug 91254
BROKEN CONFIG - sys-fs/e2fsprogs-1.35-r1 fails to build: storage size of `malloc_info' isn't known
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bugs.gentoo.org-91254-1.txt
bugs.gentoo.org-91254-1.txt (text/plain), 1.89 KB, created by
SpanKY
on 2005-05-03 21:15:58 UTC
(
hide
)
Description:
bugs.gentoo.org-91254-1.txt
Filename:
MIME Type:
Creator:
SpanKY
Created:
2005-05-03 21:15:58 UTC
Size:
1.89 KB
patch
obsolete
>OK, this time correctly formatted hopefully ... > ># emerge e2fsprogs >[...] >checking for malloc.h... yes >[...] >checking for mallinfo... yes >[...] >[in /var/tmp/portage/e2fsprogs-1.35-r1/work/e2fsprogs-1.35/e2fsck] >i686-pc-linux-gnu-gcc -c -O3 -march=athlon-tbird -funroll-loops -pipe [many -Ds snipped] -DHAVE_MALLOC_H=1 -DHAVE_MALLINFO=1 -O3 -march=athlon-tbird -funroll-loops -pipe -DRESOURCE_TRACK -I../lib -I../lib util.c -o util.o >util.c: In function `print_resource_track': >util.c:317: error: storage size of `malloc_info' isn't known >make[2]: *** [util.o] Error 1 > >ok, now investigate it: > ># grep mallinfo /usr/include/malloc.h >struct mallinfo { >[...] > >Ok, it's there. > ># cd /var/tmp/portage/e2fsprogs-1.35-r1/work/e2fsprogs-1.35/e2fsck ># grep "malloc\.h" util.c >#include <malloc.h> > >And it's being included. > >Going further, checking that mallinfo is not surrounded between #ifdef's etc. didn't reveal any further problems. > >So, check, that the right malloc.h is included at all. > ># i686-pc-linux-gnu-gcc [all args C&Ped] -M -MF util.d ># grep malloc util.d > /usr/include/bits/stdio.h malloc.h e2fsck.h /usr/include/sys/time.h \ > >Oops? > ># ls malloc.h >malloc.h > >WTF? > ># grep mallinfo malloc.h ># > >Ok, now I don't wonder anymore ... > >Changed ebuild to contain qualitatively an rm /var/tmp/portage/e2fsprogs-1.35-r1/work/e2fsprogs-1.35/e2fsck/malloc.h: > >--- /usr/portage/sys-fs/e2fsprogs/e2fsprogs-1.35-r1.ebuild 2005-02-07 00:12:22.000000000 +0100 >+++ /usr/portage/sys-fs/e2fsprogs/e2fsprogs-1.35-r2.ebuild 2005-05-03 21:03:31.000000000 +0200 >@@ -21,6 +21,7 @@ > > src_unpack() { > unpack ${A} >+ rm /var/tmp/portage/e2fsprogs-1.35-r2/work/e2fsprogs-1.35/e2fsck/malloc.h > cd ${S} > # Fix a cosmetic error in mk_cmds's help output. > epatch ${FILESDIR}/e2fsprogs-1.32-mk_cmds-cosmetic.patch > >and then tried emerge again: SUCCESS. But I didn't test e.g. e2fsck itself after the emerge yet.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 91254
:
57984
| 57985