gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -I../zlib -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT digest.lo -MD -MP -MF .deps/digest.Tpo -c digest.c -fPIC -DPIC -o .libs/digest.lo In file included from digest.c:6: rpmio_internal.h:12:26: beecrypt.api.h: No such file or directory rpmio_internal.h:16:22: beecrypt.h: No such file or directory rpmio_internal.h:17:20: base64.h: No such file or directory rpmio_internal.h:18:17: dsa.h: No such file or directory rpmio_internal.h:19:24: endianness.h: No such file or directory rpmio_internal.h:20:17: md5.h: No such file or directory rpmio_internal.h:22:17: rsa.h: No such file or directory rpmio_internal.h:23:19: rsapk.h: No such file or directory rpmio_internal.h:24:18: sha1.h: No such file or directory Obviously, -I/usr/include/beecrypt is missing. Reproducible: Always Steps to Reproduce:
Sorry, -I/usr/include/beecrypt doesn't help. configure detected beecrypt is unusable (I'll file a separate bug report), but apparently, (part of) the following compilation ignored this fact.
Corrected: the /usr/include/beecrypt dir seems to be a part of the rpm-4.2_pre069 ebuild. Unmerging it first corrected the problem. Modified summary respectively.
All set, versions of rpm prior to 4.2.1 just need to conflict with beecrypt since they provide the same headers. Fixed in cvs.
I reopen this bug because in my system rpm-4.2.1 do not emerge: This is error: ../popt -I../zlib -march=athlon-xp -pipe -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT digest.lo -MD -MP -MF ".deps/digest.Tpo" \ -c -o digest.lo `test -f 'digest.c' || echo './'`digest.c; \ then mv -f ".deps/digest.Tpo" ".deps/digest.Plo"; \ else rm -f ".deps/digest.Tpo"; exit 1; \ fi rm -f .libs/digest.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -I../zlib -march=athlon-xp -pipe -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT digest.lo -MD -MP -MF .deps/digest.Tpo -c digest.c -fPIC -DPIC -o .libs/digest.lo In file included from digest.c:6: rpmio_internal.h:12:26: beecrypt.api.h: No such file or directory rpmio_internal.h:16:22: beecrypt.h: No such file or directory rpmio_internal.h:17:20: base64.h: No such file or directory rpmio_internal.h:18:17: dsa.h: No such file or directory rpmio_internal.h:19:24: endianness.h: No such file or directory rpmio_internal.h:20:17: md5.h: No such file or directory rpmio_internal.h:22:17: rsa.h: No such file or directory rpmio_internal.h:23:19: rsapk.h: No such file or directory rpmio_internal.h:24:18: sha1.h: No such file or directory In file included from digest.c:6: rpmio_internal.h:80: error: syntax error before "mpbarrett" rpmio_internal.h:80: warning: no semicolon at end of struct or union rpmio_internal.h:81: warning: type defaults to `int' in declaration of `q' rpmio_internal.h:81: warning: data definition has no type or storage class rpmio_internal.h:82: error: syntax error before "g" rpmio_internal.h:82: warning: type defaults to `int' in declaration of `g' rpmio_internal.h:82: warning: data definition has no type or storage class rpmio_internal.h:83: error: syntax error before "y" rpmio_internal.h:83: warning: type defaults to `int' in declaration of `y' rpmio_internal.h:83: warning: data definition has no type or storage class rpmio_internal.h:84: error: syntax error before "hm" rpmio_internal.h:84: warning: type defaults to `int' in declaration of `hm' rpmio_internal.h:84: warning: data definition has no type or storage class rpmio_internal.h:85: error: syntax error before "r" rpmio_internal.h:85: warning: type defaults to `int' in declaration of `r' rpmio_internal.h:85: warning: data definition has no type or storage class rpmio_internal.h:86: error: syntax error before "s" rpmio_internal.h:86: warning: type defaults to `int' in declaration of `s' rpmio_internal.h:86: warning: data definition has no type or storage class rpmio_internal.h:89: error: syntax error before "rsa_pk" rpmio_internal.h:89: warning: type defaults to `int' in declaration of `rsa_pk' rpmio_internal.h:89: warning: data definition has no type or storage class rpmio_internal.h:90: error: syntax error before "m" rpmio_internal.h:90: warning: type defaults to `int' in declaration of `m' rpmio_internal.h:90: warning: data definition has no type or storage class rpmio_internal.h:91: error: syntax error before "c" rpmio_internal.h:91: warning: type defaults to `int' in declaration of `c' rpmio_internal.h:91: warning: data definition has no type or storage class rpmio_internal.h:92: error: syntax error before "rsahm" rpmio_internal.h:92: warning: type defaults to `int' in declaration of `rsahm' rpmio_internal.h:92: warning: data definition has no type or storage class digest.c: In function `rpmDigestInit': digest.c:58: error: `md5Param' undeclared (first use in this function) digest.c:58: error: (Each undeclared identifier is reported only once digest.c:58: error: for each function it appears in.) digest.c:62: error: `md5Reset' undeclared (first use in this function) digest.c:63: error: `md5Update' undeclared (first use in this function) digest.c:64: error: `md5Digest' undeclared (first use in this function) digest.c:71: error: `sha1Param' undeclared (first use in this function) digest.c:75: error: `sha1Reset' undeclared (first use in this function) digest.c:76: error: `sha1Update' undeclared (first use in this function) digest.c:77: error: `sha1Digest' undeclared (first use in this function) make[2]: *** [digest.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/rpm-4.2.1/work/rpm-4.2.1/rpmio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rpm-4.2.1/work/rpm-4.2.1' make: *** [all] Error 2 !!! ERROR: app-arch/rpm-4.2.1 failed. !!! Function src_compile, Line 46, Exitcode 2 !!! (no error message) I have unmerge old rpm, emerge beecrypt and rpm-4.2.1 but not emerge. /usr/include/beecrypt exist: entoonet include # ls -la /usr/include/beecrypt/ totale 236 drwxr-xr-x 2 root root 1184 12 apr 22:54 . drwxr-xr-x 342 root root 31128 12 apr 22:54 .. -rw-r--r-- 1 root root 3428 12 apr 22:54 aes.h -rw-r--r-- 1 root root 1800 12 apr 22:54 aesopt.h -rw-r--r-- 1 root root 2395 12 apr 22:54 base64.h -rw-r--r-- 1 root root 1841 12 apr 22:54 beecrypt.api.h -rw-r--r-- 1 root root 1225 12 apr 22:54 beecrypt.gnu.h -rw-r--r-- 1 root root 20444 12 apr 22:54 beecrypt.h -rw-r--r-- 1 root root 3051 12 apr 22:54 beecrypt.win.h -rw-r--r-- 1 root root 3783 12 apr 22:54 blockmode.h -rw-r--r-- 1 root root 1313 12 apr 22:54 blockpad.h -rw-r--r-- 1 root root 3761 12 apr 22:54 blowfish.h -rw-r--r-- 1 root root 1988 12 apr 22:54 blowfishopt.h -rw-r--r-- 1 root root 2406 12 apr 22:54 dhaes.h -rw-r--r-- 1 root root 3577 12 apr 22:54 dldp.h -rw-r--r-- 1 root root 1362 12 apr 22:54 dlkp.h -rw-r--r-- 1 root root 1497 12 apr 22:54 dlpk.h -rw-r--r-- 1 root root 1179 12 apr 22:54 dlsvdp-dh.h -rw-r--r-- 1 root root 3231 12 apr 22:54 dsa.h -rw-r--r-- 1 root root 4952 12 apr 22:54 elgamal.h -rw-r--r-- 1 root root 2163 12 apr 22:54 endianness.h -rw-r--r-- 1 root root 1768 12 apr 22:54 entropy.h -rw-r--r-- 1 root root 1920 12 apr 22:54 fips186.h -rw-r--r-- 1 root root 1601 12 apr 22:54 hmac.h -rw-r--r-- 1 root root 1513 12 apr 22:54 hmacmd5.h -rw-r--r-- 1 root root 1538 12 apr 22:54 hmacsha1.h -rw-r--r-- 1 root root 1568 12 apr 22:54 hmacsha256.h -rw-r--r-- 1 root root 2945 12 apr 22:54 md5.h -rw-r--r-- 1 root root 1266 12 apr 22:54 memchunk.h -rw-r--r-- 1 root root 3616 12 apr 22:54 mpbarrett.h -rw-r--r-- 1 root root 22968 12 apr 22:54 mp.h -rw-r--r-- 1 root root 1603 12 apr 22:54 mpnumber.h -rw-r--r-- 1 root root 4462 12 apr 22:54 mpopt.h -rw-r--r-- 1 root root 1757 12 apr 22:54 mpprime.h -rw-r--r-- 1 root root 1770 12 apr 22:54 mtprng.h -rw-r--r-- 1 root root 3126 12 apr 22:54 rsa.h -rw-r--r-- 1 root root 1896 12 apr 22:54 rsakp.h -rw-r--r-- 1 root root 1241 12 apr 22:54 rsapk.h -rw-r--r-- 1 root root 3008 12 apr 22:54 sha1.h -rw-r--r-- 1 root root 1629 12 apr 22:54 sha1opt.h -rw-r--r-- 1 root root 3029 12 apr 22:54 sha256.h -rw-r--r-- 1 root root 1473 12 apr 22:54 timestamp.h