cannot emerge app-arch/rpm-4.4.1-r1 In file included from rpmio_internal.h:9, from digest.c:6: ./rpmio.h:603: warning: type qualifiers ignored on function return type In file included from digest.c:6: rpmio_internal.h:15:26: error: beecrypt.api.h: No such file or directory rpmio_internal.h:22:22: error: beecrypt.h: No such file or directory rpmio_internal.h:23:20: error: base64.h: No such file or directory rpmio_internal.h:24:17: error: dsa.h: No such file or directory rpmio_internal.h:25:24: error: endianness.h: No such file or directory rpmio_internal.h:26:17: error: md5.h: No such file or directory rpmio_internal.h:27:16: error: mp.h: No such file or directory rpmio_internal.h:28:17: error: rsa.h: No such file or directory rpmio_internal.h:29:19: error: rsapk.h: No such file or directory rpmio_internal.h:30:18: error: sha1.h: No such file or directory In file included from digest.c:6: rpmio_internal.h:86: error: expected specifier-qualifier-list before 'mpbarrett' 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.4.1-r1/work/rpm-4.4.1/rpmio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rpm-4.4.1-r1/work/rpm-4.4.1' make: *** [all] Error 2 !!! ERROR: app-arch/rpm-4.4.1-r1 failed. ~ # emerge --info Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.12.1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com http://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acl acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cups curl dlloader dri dts dv dvb dvd dvdr dvdread emboss encode exif fam ffmpeg flac fortran gdbm ggvorbis gif gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imap imlib ipv6 isdnlog jack java jpeg jpeg2k kde kdeenablefinal lcd lcms ldap libg++ libwww mad mikmod mmx motif mozcalendar mozilla mp3 mpeg musicbrainz ncurses nls nodrm nptl nvidia ofx ogg openexr opengl oss pam pcre pda pdf pdflib perl png ppds pppd python qt quicktime readline reflection samba sasl scanner sdl session slp sndfile spell spl sse ssl subversion svg svga tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l v4l2 vcd vorbis win32codecs wmf xcomposite xine xml xmms xorg xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_vmware video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
I had the same problem here with beecrypt-4.1.2-r1. However, it built fine with beecrypt-3.1.0-r2.
(In reply to comment #1) > I had the same problem here with beecrypt-4.1.2-r1. However, it built fine with > beecrypt-3.1.0-r2. > In this case, I'd think, that it would be best, to make rpm conflict with beecrypt >3.1.0. Wouldn't this be the correct solution?
(In reply to comment #2) > In this case, I'd think, that it would be best, to make rpm conflict with > beecrypt >3.1.0. Wouldn't this be the correct solution? Blockers are annoying. Maybe it's simpler to make the dependency more specific, such as =dev-libs/beecrypt-3.1*. Either that or fix rpm so that it builds with any version of beecrypt.
(In reply to comment #3) > > Blockers are annoying. Agreed. > Maybe it's simpler to make the dependency more > specific, such as =dev-libs/beecrypt-3.1*. Either that or fix rpm so that it > builds with any version of beecrypt. Well, any chance to get this done "this century"? :) As you know, rpm compile fine with beecrypt 3.1.0, so it seems that it's not compatible with beecrypt 4.x.
(In reply to comment #4) > Well, any chance to get this done "this century"? :) As you know, rpm compile > fine with beecrypt 3.1.0, so it seems that it's not compatible with beecrypt > 4.x. It's supposed to work with >=beecrypt-4.1.2, according to the following link: http://rpmfind.net//linux/RPM/fedora/updates/4/SRPMS/rpm-4.4.1-23.src.html Looking in rpmio_internal.h from the error message, I found this: #if HAVE_BEECRYPT_API_H #include <api.h> #else #include <beecrypt.api.h> #endif It seems that something is going wrong inside the configure script and preventing HAVE_BEECRYPT_API_H from being defined.
Today I decided to remove beecrypt-4.1.2-r1 from my package.mask and try again. It worked! I built beecrypt-4.1.2-r1 and rpm-4.4.1-r1 built against it with no problems. Since the last try, I've stopped using confcache, but the OP doesn't have FEATURES=confcache so maybe that's not related...
4.4.6 should work fine