RPM

app-arch/rpm-4.4.6-r6: rpmio_internal.h:15:26: error: beecrypt.api.h: No such file or directory

Bug #634197 reported by Jeff Johnson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
RPM
Triaged
Low
Unassigned
Gentoo Linux
Invalid
Medium

Bug Description

tracker

Revision history for this message
In , Martin Mokrejs (mmokrejs-t) wrote :
Download full text (9.1 KiB)

/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include/neon -I../lua/include -I../lua/local -I../misc -O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb -fno-strict-aliasing -fPIC -DPIC -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 digest.c
libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include/neon -I../lua/include -I../lua/local -I../misc -O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb -fno-strict-aliasing -fPIC -DPIC -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.o
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: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:89: error: expected specifier-qualifier-list before ‘mpbarrett’
In file included from digest.c:7:
rmd128.h:74:4: error: #error
In file included from digest.c:7:
rmd128.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
rmd128.h:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
rmd128.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
rmd128.h:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
rmd128.h:133: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
In file included from digest.c:8:
rmd160.h:72:4: error: #error
In file included from digest.c:8:
rmd160.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
rmd160.h:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
rmd160.h:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
rmd160.h:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
rmd160.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
digest.c: In function ‘rpmDigestInit’:
digest.c:119: error: ‘md5Param’ undeclared (first use in this function)
digest.c:119: error: (Each undeclared identifier is reported only once
digest.c:119: error: for each function it appears in.)
digest.c:123: error: ‘md5Reset’ undeclared (first use in this function)
digest.c:124: error: ‘md5Update’ undeclared (first use in this function)
digest.c:125: error: ‘md5Digest’ undeclared (first use in this function)
digest.c:132: error: ‘sha1Param’ undeclared (first use in this function)
diges...

Read more...

Revision history for this message
In , Martin Mokrejs (mmokrejs-t) wrote :

Created attachment 220945
build.log

Revision history for this message
In , Martin Mokrejs (mmokrejs-t) wrote :

# find /var/tmp/portage/app-arch/rpm-4.4.6-r6/ -name beecrypt.api.h
# find /var/tmp/portage/app-arch/rpm-4.4.6-r6/ -name beecrypt.h
# find /var/tmp/portage/app-arch/rpm-4.4.6-r6/ -name dsa.h

Huh? Is this due to bug #287707?

Revision history for this message
In , Samuli Suominen (ssuominen) wrote :

Those files should be in /usr/include/beecrypt installed by dev-libs/beecrypt...

Revision history for this message
In , Martin Mokrejs (mmokrejs-t) wrote :

Quoting some more stuff from the build.log:

configure: creating ./config.status
config.status: creating Doxyfile
config.status: creating Makefile
config.status: creating rpmrc
config.status: creating macros
config.status: creating platform
config.status: WARNING: 'platform.in' seems to ignore the --datarootdir setting
config.status: creating rpmpopt
config.status: creating rpm.spec
config.status: creating rpmio/Makefile
config.status: creating rpmdb/Makefile
config.status: creating lib/Makefile
config.status: creating build/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/brp-redhat
config.status: creating scripts/macros.perl
config.status: creating scripts/macros.php
config.status: creating scripts/macros.python
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating tests/rpmrc
config.status: creating tests/macros
config.status: creating tests/hello-test/Makefile
config.status: creating misc/Makefile
config.status: creating po/Makefile.in
config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating doc/Makefile
config.status: creating doc/manual/Makefile
config.status: creating doc/fr/Makefile
config.status: creating doc/ja/Makefile
config.status: creating doc/ko/Makefile
config.status: creating doc/pl/Makefile
config.status: creating doc/ru/Makefile
config.status: creating doc/sk/Makefile
config.status: creating python/Makefile
config.status: creating python/rpm/Makefile
config.status: creating lua/Makefile
config.status: creating wnh/Makefile
config.status: WARNING: 'wnh/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
./config.status: line 2751: popt/stamp-h.in: No such file or directory
Warning: -L../lib/ changed to -L/var/tmp/portage/app-arch/rpm-4.4.6-r6/work/rpm-4.4.6/perl/../lib/
Writing Makefile for RPM

Revision history for this message
In , Martin Mokrejs (mmokrejs-t) wrote :
Download full text (13.9 KiB)

(In reply to comment #3)
> Those files should be in /usr/include/beecrypt installed by
> dev-libs/beecrypt...
>

# emerge -s beecrypt
Searching...
[ Results for search key : beecrypt ]
[ Applications found : 1 ]

* dev-libs/beecrypt
      Latest version available: 4.2.1
      Latest version installed: 4.2.1
      Size of files: 862 kB
      Homepage: http://sourceforge.net/projects/beecrypt/
      Description: general-purpose cryptography library
      License: GPL-2 LGPL-2

# equery files beecrypt
 * Searching for beecrypt ...
 * Contents of dev-libs/beecrypt-4.2.1:
/etc
/etc/beecrypt.conf
/usr
/usr/include
/usr/include/beecrypt
/usr/include/beecrypt/aes.h
/usr/include/beecrypt/aesopt.h
/usr/include/beecrypt/api.h
/usr/include/beecrypt/base64.h
/usr/include/beecrypt/beecrypt.h
/usr/include/beecrypt/blockmode.h
/usr/include/beecrypt/blockpad.h
/usr/include/beecrypt/blowfish.h
/usr/include/beecrypt/blowfishopt.h
/usr/include/beecrypt/c++
/usr/include/beecrypt/c++/array.h
/usr/include/beecrypt/c++/beeyond
/usr/include/beecrypt/c++/beeyond/AnyEncodedKeySpec.h
/usr/include/beecrypt/c++/beeyond/BeeCertPath.h
/usr/include/beecrypt/c++/beeyond/BeeCertPathParameters.h
/usr/include/beecrypt/c++/beeyond/BeeCertPathValidatorResult.h
/usr/include/beecrypt/c++/beeyond/BeeCertificate.h
/usr/include/beecrypt/c++/beeyond/BeeEncodedKeySpec.h
/usr/include/beecrypt/c++/beeyond/BeeInputStream.h
/usr/include/beecrypt/c++/beeyond/BeeOutputStream.h
/usr/include/beecrypt/c++/beeyond/DHIESDecryptParameterSpec.h
/usr/include/beecrypt/c++/beeyond/DHIESParameterSpec.h
/usr/include/beecrypt/c++/beeyond/PKCS12PBEKey.h
/usr/include/beecrypt/c++/crypto
/usr/include/beecrypt/c++/crypto/BadPaddingException.h
/usr/include/beecrypt/c++/crypto/Cipher.h
/usr/include/beecrypt/c++/crypto/CipherSpi.h
/usr/include/beecrypt/c++/crypto/IllegalBlockSizeException.h
/usr/include/beecrypt/c++/crypto/KeyAgreement.h
/usr/include/beecrypt/c++/crypto/KeyAgreementSpi.h
/usr/include/beecrypt/c++/crypto/Mac.h
/usr/include/beecrypt/c++/crypto/MacInputStream.h
/usr/include/beecrypt/c++/crypto/MacOutputStream.h
/usr/include/beecrypt/c++/crypto/MacSpi.h
/usr/include/beecrypt/c++/crypto/NoSuchPaddingException.h
/usr/include/beecrypt/c++/crypto/NullCipher.h
/usr/include/beecrypt/c++/crypto/SecretKey.h
/usr/include/beecrypt/c++/crypto/SecretKeyFactory.h
/usr/include/beecrypt/c++/crypto/SecretKeyFactorySpi.h
/usr/include/beecrypt/c++/crypto/interfaces
/usr/include/beecrypt/c++/crypto/interfaces/DHKey.h
/usr/include/beecrypt/c++/crypto/interfaces/DHParams.h
/usr/include/beecrypt/c++/crypto/interfaces/DHPrivateKey.h
/usr/include/beecrypt/c++/crypto/interfaces/DHPublicKey.h
/usr/include/beecrypt/c++/crypto/interfaces/PBEKey.h
/usr/include/beecrypt/c++/crypto/spec
/usr/include/beecrypt/c++/crypto/spec/DHParameterSpec.h
/usr/include/beecrypt/c++/crypto/spec/DHPrivateKeySpec.h
/usr/include/beecrypt/c++/crypto/spec/DHPublicKeySpec.h
/usr/include/beecrypt/c++/crypto/spec/IvParameterSpec.h
/usr/include/beecrypt/c++/crypto/spec/PBEKeySpec.h
/usr/include/beecrypt/c++/crypto/spec/SecretKeySpec.h
/usr/include/beecrypt/c++/io
/usr/include/beecrypt/c++/io/ByteArrayInputStream.h
/usr/include/beecrypt/...

Revision history for this message
In , Martin Mokrejs (mmokrejs-t) wrote :

The issue cannot be seen in the attached build.log:

checking beecrypt/beecrypt.h usability... yes
checking beecrypt/beecrypt.h presence... yes
checking for beecrypt/beecrypt.h... yes
checking for mpfprintln in -lbeecrypt... no
-----------------------------------------^^ at least you see it failed, but that
                                            is not much helpful

I should have included config.log. ;( The test for the libbeecrypt.so failed and left unset WITH_BEECRYPT_INCLUDE="" in config.status instead of "-I/usr/include/beecrypt", due to some unresolved gcc 3.4.1? symbols. Please note that I wanted to compile rpm with gcc-4.3.x or 4.4.

After recompiling beecrypt with the current gcc I could subsequently compile also rpm against it.

I wanted to repeat the error but I cannot use i686-pc-linux-gnu-3.3.6 (no 3.4.1 anymore):

i686-pc-linux-gnu-g++ -m32 -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include -DOPTIMIZE_I386 -O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb -DNDEBUG -Wa,--noexecstack -MT PushbackInputStream.lo -MD -MP -MF .deps/PushbackInputStream.Tpo -c PushbackInputStream.cxx -o PushbackInputStream.o >/dev/null 2>&1
mv -f .deps/InputStream.Tpo .deps/InputStream.Plo
../../include/beecrypt/c++/io/Writer.h:42: sorry, unimplemented: adjusting
   pointers for covariant returns
../../include/beecrypt/c++/io/Writer.h:42: sorry, unimplemented: adjusting
   pointers for covariant returns
../../include/beecrypt/c++/io/Writer.h:42: sorry, unimplemented: adjusting
   pointers for covariant returns
../../include/beecrypt/c++/io/Writer.h:42: sorry, unimplemented: adjusting
   pointers for covariant returns
distcc[31266] ERROR: compile Writer.cxx on localhost failed
make[3]: *** [Writer.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/PushbackInputStream.Tpo .deps/PushbackInputStream.Plo
mv -f .deps/PrintStream.Tpo .deps/PrintStream.Plo
make[3]: Leaving directory `/var/tmp/portage/dev-libs/beecrypt-4.2.1/work/beecrypt-4.2.1/c++/io'
make[2]: *** [all-recursive] Error 1

When I tried to compile beecrypt with i686-pc-linux-gnu-4.2.4 and afterwards tried to compile rpm, it worked as well.

My conclusion is, that the objects produced by different gcc versions were not compatible. I wonder whether this could be detectable (by portage?).

The bug #234422 is I believe a dupe of this one.

Revision history for this message
In , Jeff Johnson (n3npq) wrote :
tags: added: beecrypt gentoo linkage
Jeff Johnson (n3npq)
Changed in rpm:
status: New → Triaged
importance: Undecided → Low
Changed in gentoo:
status: Unknown → Confirmed
Changed in gentoo:
importance: Unknown → Medium
Revision history for this message
In , Sochotnicky (sochotnicky) wrote :

A little bugzie cleanup, indeed a dupe

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

Changed in gentoo:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.