Summary: | sys-fs/e2fsprogs-1.40.4 failed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dr. Carl Frederik Loos <frederik.loos> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | aaron, ad_grobi |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
unix.i output file
Desired Output |
Description
Dr. Carl Frederik Loos
2008-02-15 10:51:54 UTC
go into /var/tmp/portage/sys-fs/e2fsprogs-1.40.4/work/e2fsprogs-1.40.4/e2fsck and run: make unix.o if that fails as well, run: sed -i '/^[[:space:]]*@/s:@::' Makefile make unix.o and post the output Sorry, but both attempts failed loos e2fsck # make unix.o CC unix.c unix.c: In function 'PRS': unix.c:614: error: 'et_ext2_error_table' undeclared (first use in this function) unix.c:614: error: (Each undeclared identifier is reported only once unix.c:614: error: for each function it appears in.) unix.c:615: error: 'et_prof_error_table' undeclared (first use in this function) unix.c: In function 'main': unix.c:1362: error: 'et_ext2_error_table' undeclared (first use in this function) unix.c:1363: error: 'et_prof_error_table' undeclared (first use in this function) make: *** [unix.o] Error 1 loos e2fsck # sed -i '/^[[:space:]]*@/s:@::' Makefile loos e2fsck # make unix.o echo " CC unix.c" CC unix.c i686-pc-linux-gnu-gcc -c -I../lib -I../lib -DLOCALEDIR=\"/usr/share/locale\" -DROOT_SYSCONFDIR=\"/etc\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H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SAGE=1 -DHAVE_LLSEEK=1 -DHAVE_LSEEK64=1 -DHAVE_OPEN64=1 -DHAVE_FSTAT64=1 -DHAVE_STRTOULL=1 -DHAVE_STRCASECMP=1 -DHAVE_SRANDOM=1 -DHAVE_JRAND48=1 -DHAVE_FCHOWN=1 -DHAVE_MALLINFO=1 -DHAVE_FDATASYNC=1 -DHAVE_STRNLEN=1 -DHAVE_STRPTIME=1 -DHAVE_STRDUP=1 -DHAVE_SYSCONF=1 -DHAVE_PATHCONF=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE___SECURE_GETENV=1 -DHAVE_PRCTL=1 -DHAVE_MMAP=1 -DHAVE_UTIME=1 -DHAVE_SETRESUID=1 -DHAVE_SETRESGID=1 -DHAVE_DLOPEN=1 -DHAVE_EXT2_IOCTLS=1 -O2 -march=athlon-xp -pipe -DRESOURCE_TRACK -I. unix.c -o unix.o unix.c: In function 'PRS': unix.c:614: error: 'et_ext2_error_table' undeclared (first use in this function) unix.c:614: error: (Each undeclared identifier is reported only once unix.c:614: error: for each function it appears in.) unix.c:615: error: 'et_prof_error_table' undeclared (first use in this function) unix.c: In function 'main': unix.c:1362: error: 'et_ext2_error_table' undeclared (first use in this function) unix.c:1363: error: 'et_prof_error_table' undeclared (first use in this function) make: *** [unix.o] Error 1 so take that long command line that it echoed out, remove "-c" and "-o unix.o", and add "-E -dD -o unix.i" then post the unix.i file as an attachment Whow - that was astounding! I didn't get any output file at all because of bash: CC: command not found So I tried to make a link to cc to avoid the capitals loos bin # ln -s /usr/bin/cc CC now it gives me gcc-config error: Could not run/locate "CC" err, dont type "CC unix.c", that is just a status message run the command starting with i686-..... (In reply to comment #4) > Whow - that was astounding! I didn't get any output file at all because of > > bash: CC: command not found > > So I tried to make a link to cc to avoid the capitals > > loos bin # ln -s /usr/bin/cc CC > > now it gives me > > gcc-config error: Could not run/locate "CC" > Rule of thumb for any UNIX based system. Capital letters are environment variables. In this case CC is the environment variable used for about 4 decades to denote "C Compiler". In your case it's going to be i686-pc-linux-gnu-gcc. Use that instead Created attachment 143939 [details]
unix.i output file
Please excuse my ignorance. Is the outpout file of any use? sorry, i didnt see you post the file your lib/ext2fs/ext2_err.h is being generated incorrectly go into lib/ext2fs and run: ../et/compile_et --build-tree ext2_err.et then post the file ext2_err.h as an attachment
> go into lib/ext2fs and run:
> ../et/compile_et --build-tree ext2_err.et
>
> then post the file ext2_err.h as an attachment
Tried this but compile_et doesn't exist.
loos et # ls -l
total 193
-rw-r--r-- 1 root root 15816 Feb 25 10:06 Makefile
-rw-r--r-- 1 root root 4616 Jun 30 2007 Makefile.in
-rw-r--r-- 1 root root 2372 Jun 30 2007 com_err.3
-rw-r--r-- 1 root root 2062 Jun 30 2007 com_err.c
-rw-r--r-- 1 root root 1807 Jun 30 2007 com_err.h
-rw-r--r-- 1 root root 229 Feb 25 10:06 com_err.pc
-rw-r--r-- 1 root root 235 Jun 30 2007 com_err.pc.in
-rw-r--r-- 1 root root 21290 Dec 17 18:46 com_err.texinfo
-rw-r--r-- 1 root root 3318 Jun 30 2007 com_right.c
-rw-r--r-- 1 root root 2237 Jun 30 2007 compile_et.1
-rw-r--r-- 1 root root 1446 Jun 30 2007 compile_et.sh.in
-rw-r--r-- 1 root root 4962 Dec 17 16:02 error_message.c
-rw-r--r-- 1 root root 961 Jun 30 2007 error_table.h
-rw-r--r-- 1 root root 6414 Jun 30 2007 et_c.awk
-rw-r--r-- 1 root root 4539 Jun 30 2007 et_h.awk
-rw-r--r-- 1 root root 1280 Jun 30 2007 et_name.c
-rw-r--r-- 1 root root 1378 Jun 30 2007 init_et.c
-rw-r--r-- 1 root root 676 Jun 30 2007 internal.h
drwxr-xr-x 2 root root 608 Jun 30 2007 test_cases
-rw-r--r-- 1 root root 65751 Nov 1 04:23 texinfo.tex
-rw-r--r-- 1 root root 1468 Jun 30 2007 vfprintf.c
So I tried the compile_et.sh.in
loos ext2fs # sh ../et/compile_et.sh.in --build-tree ext2_err.et
compile_et: Couldn't find compile_et's template files.
try emerging with MAKEFLAGS=-j1 (In reply to comment #11) > try emerging with MAKEFLAGS=-j1 > Still not working. In the meantime I have upgraded my system to a athlon64x2, different mobo and RAM and still e2fsprogs f*cks up (using -j3 now in standard configuration due to the dual-CPU). I experienced the same error. Re-emerging these packages fixed the problem for me. sys-libs/com_err-1.40.4 sys-libs/ss-1.40.4 you'll have to set COMPILE_ET=compile_et when running make by hand also try Aaron's suggestion Created attachment 151328 [details]
Desired Output
I don't know whether this is of any use but posted it anyway *** Bug 254058 has been marked as a duplicate of this bug. *** finally. after hours... equery b /usr/local/bin/compile_et and then (since it did not belong to something) rm /usr/local/bin/compile_et afterwards I could install 1.41.2 thanks for finally tracking that ... nothing from Gentoo should be installing into /usr/local/ ... |