Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235110 - mit-krb5 will not build with e2fsprogs-libs-1.41.0
Summary: mit-krb5 will not build with e2fsprogs-libs-1.41.0
Status: RESOLVED DUPLICATE of bug 234886
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 14:20 UTC by DrChandra the Gentoo Person
Modified: 2008-08-18 17:38 UTC (History)
4 users (show)

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


Attachments
work-around ebuild (mit-krb5-1.6.3-r2.ebuild,2.62 KB, text/plain)
2008-08-18 16:50 UTC, Michelangelo Scopelliti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DrChandra the Gentoo Person 2008-08-18 14:20:06 UTC
com_err and ss are being replaced by e2fsprogs-libs-1.41.0. Bug 234907 explains how to resolve the emerge issues with e2fsprogs-1.41.0, and requires the removal of com_err and ss. Afterward, mit-krb5 runs, but cannot be rebuilt due to missing com_err.h. Here is how the build ends:

make[2]: Entering directory `/var/tmp/portage/app-crypt/mit-krb5-1.6.3-r1/work/krb5-1.6.3/src/util/profile'
d=ettmp$$ ; (cp prof_err.et $d.et && compile_et $d.et && mv $d.h prof_err.h) ; \
                e=$? ; rm -f $d.* ; exit $e
cat ./profile.hin prof_err.h > profile.h
if cmp profile.h \
        ../../include/profile.h >/dev/null 2>&1; then :; \
        else \
                (set -x; rm -f ../../include/profile.h; \
                 cp profile.h ../../include/profile.h) ; \
        fi
+ rm -f ../../include/profile.h
+ cp profile.h ../../include/profile.h
i686-pc-linux-gnu-gcc -fPIC -DSHARED  -DHAS_STDARG -I../../include -I./../../include -I.  -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1  -O2 -march=i686 -fomit-frame-pointer -pipe -pthread -c prof_tree.c -o prof_tree.so.o && mv -f prof_tree.so.o prof_tree.so
In file included from prof_tree.c:20:
prof_int.h:15:21: error: com_err.h: No such file or directory
make[2]: *** [prof_tree.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-crypt/mit-krb5-1.6.3-r1/work/krb5-1.6.3/src/util/profile'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-crypt/mit-krb5-1.6.3-r1/work/krb5-1.6.3/src/util'
make: *** [all-recurse] Error 1
 *
 * ERROR: app-crypt/mit-krb5-1.6.3-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3124:  Called die
 * The specific snippet of code:
 *       emake -j1 || die;
 *  The die message:
 *   (no error message)
 *
 * 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/app-crypt/mit-krb5-1.6.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/mit-krb5-1.6.3-r1/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. Update e2fsprogs to 1.41.0 as shown in bug 234907.
2. emerge mit-krb5
3.

Actual Results:  
Shown in description.

Expected Results:  
CLean compile against e2fsprogs-libs-1.41.0

This is happening in ~x86, so people will be hitting this soon.
Comment 1 Renato Caldas 2008-08-18 15:05:21 UTC
As I stated in Bug 234907 this is because the com_err headers are moved to /usr/include/et.

A workaround is to temporarily add -I/usr/include/et/ to the CFLAGS.
Comment 2 Michelangelo Scopelliti 2008-08-18 16:50:27 UTC
Created attachment 163224 [details]
work-around ebuild
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-08-18 17:38:08 UTC

*** This bug has been marked as a duplicate of bug 234886 ***