Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91254 - BROKEN CONFIG - sys-fs/e2fsprogs-1.35-r1 fails to build: storage size of `malloc_info' isn't known
Summary: BROKEN CONFIG - sys-fs/e2fsprogs-1.35-r1 fails to build: storage size of `mal...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 91282
Blocks: 91018
  Show dependency tree
 
Reported: 2005-05-02 19:04 UTC by Bodo Thiesen
Modified: 2005-05-03 22:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
bugs.gentoo.org-91282-1.txt (bugs.gentoo.org-91282-1.txt,19.48 KB, text/plain)
2005-05-03 21:15 UTC, SpanKY
Details
bugs.gentoo.org-91254-1.txt (bugs.gentoo.org-91254-1.txt,1.89 KB, text/plain)
2005-05-03 21:15 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bodo Thiesen 2005-05-02 19:04:59 UTC
i686-pc-linux-gnu-gcc -c -O3 -march=athlon-tbird -funroll-loops -pipe -DLOCALEDIR=\"/usr/share/locale\"  -DENABLE_HTREE=1 -DENABLE_SWAPFS=1 -DPACKAGE=\"e2fsprogs\" -DVERSION=\"1.35\" -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_UNSIGNED_LONG_LONG=1 -DSTDC_HEADERS=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1 -DHAVE_INTTYPES_H=1 -DHAVE_ARGZ_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLO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_H=1 -DHAVE_VPRINTF=1 -DHAVE_RECLEN_DIRENT=1 -DHAVE_TYPE_SSIZE_T=1 -DHAVE_LSEEK64_PROTOTYPE=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8 -DHAVE_INTTYPES_H=1 -Dintptr_t=long -DHAVE_GETRUSAGE=1 -DHAVE_LLSEEK=1 -DHAVE_LSEEK64=1 -DHAVE_OPEN64=1 -DHAVE_STRTOULL=1 -DHAVE_STRCASECMP=1 -DHAVE_SRANDOM=1 -DHAVE_FCHOWN=1 -DHAVE_MALLINFO=1 -DHAVE_FDATASYNC=1 -DHAVE_STRNLEN=1 -DHAVE_STRPTIME=1 -DHAVE_SYSCONF=1 -DHAVE_PATHCONF=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_DLOPEN=1 -DHAVE_EXT2_IOCTLS=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
make[2]: Leaving directory `/var/tmp/portage/e2fsprogs-1.35-r1/work/e2fsprogs-1.35/e2fsck'

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.4.29+skas3-bs1+swsusp-2.1.5.7D i686)
=================================================================
System uname: 2.4.29+skas3-bs1+swsusp-2.1.5.7D i686 mobile AMD Athlon (tm) 2000+    
Gentoo Base System version 1.4.3.13
Python:              dev-lang/python-2.3.5,dev-lang/python-2.2.3-r1 [2.3.5 (#1, May  3 2005, 03:39:37)]
dev-lang/python:     2.3.5, 2.2.3-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.4.3-r4, 1.5.16
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-tbird -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-tbird -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage-overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow Xaw3d aalib acl acpi alsa apache2 apm avi berkdb bitmap-fonts bonobo cdr crypt cscope curl dba dga directfb doc dvd emacs-w3 emboss encode evo f77 fam fbcon flac fortran gb gd gdbm ggi gif gnome gpm gstreamer gtk gtkhtml guile imagemagick imlib innodb ipv6 jack java jikes jpeg kde lcms ldap leim libg++ libgda libwww mad maildir matrox mbox mcal memlimit mikmod mmx motif mp3 mpeg mpi mule mysql ncurses nls nocd ogg oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp prelude python qt quicktime readline ruby samba sasl sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts trusted type1-fonts usb videos vorbis wavelan wmf wxwindows xface xine xml xml2 xmms xv zlib userland_GNU kernel_linux libc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Bodo Thiesen 2005-05-03 12:15:19 UTC
# 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.outil.c: In function `print_resource_track':util.c:317: error: storage size of `malloc_info' isn't knownmake[2]: *** [util.o] Error 1ok, now investigate it:# grep mallinfo /usr/include/malloc.hstruct 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.hmalloc.hWTF?# 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.
Comment 2 Bodo Thiesen 2005-05-03 12:16:15 UTC
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.outil.c: In function `print_resource_track':util.c:317: error: storage size of `malloc_info' isn't knownmake[2]: *** [util.o] Error 1ok, now investigate it:# grep mallinfo /usr/include/malloc.hstruct 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.hmalloc.hWTF?# 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.
Comment 3 Bodo Thiesen 2005-05-03 12:19:20 UTC
I'm giving up on Buggyzilla -> http://bothie.sharedaemon.org/temp/bugs.gentoo.org-91254-1.txt
Comment 4 SpanKY gentoo-dev 2005-05-03 21:12:24 UTC
please dont file anymore bugs until we get your current bugs sorted out ... something tells me something is quite wrong with your system and filing more bugs will just waste developer time
Comment 5 SpanKY gentoo-dev 2005-05-03 21:15:14 UTC
Created attachment 57984 [details]
bugs.gentoo.org-91282-1.txt
Comment 6 SpanKY gentoo-dev 2005-05-03 21:15:58 UTC
Created attachment 57985 [details]
bugs.gentoo.org-91254-1.txt
Comment 7 SpanKY gentoo-dev 2005-05-03 21:26:06 UTC
every include malloc.h line is done as '#include <malloc.h>' ... that means the active directory is not searched unless the compile has a '-I.', and this doesnt

my output -E output shows /usr/include/malloc.h being referenced many times and the e2fsck/malloc.h never being referenced

please run that compile again but instead of doing a '-E', do '-c -v' and attach the output
Comment 8 Bodo Thiesen 2005-05-03 22:53:16 UTC
I'm a poor idiot./etc/profile.local.after:export CPATH="/home/$USER/root/include:$CPATH"But I don't know why it worked for over one year w/o any problems. Now fixed that, and everything works well even with CPATH being empty before issuing the line above.(I could kill myself if that was the source of every trouble, but I'll know very soon ...)