Bug 118909 - rpm 4.3 build problems
rpm 4.3 build problems
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-22 12:54 EST by Steve Grubb
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-03-22 13:33:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Steve Grubb 2004-03-22 12:54:14 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1)
Gecko/20030225

Description of problem:
The latest version of rpm doesn't compile because of 2 problems. The
rpm  configure file assumes selinux is installed without actually
testing for it. Either a BuildRequires = selinux-devel should be added
to the spec file, or it should be handled more gracefully like the
doxygen part of building the rpm package.

The second problem is that it does not properly detect beecrypt during
configure. The rpmbuild sees beecrypt is installed and proceeds to
compiling. The compilation ends in rpmio_internal.h saying it can't
find beecrypt. Is the wrong beecrypt version specified in the spec file?

Version-Release number of selected component (if applicable):
rpm-4.3-0.22

How reproducible:
Always

Steps to Reproduce:
1. rpm -ivh rpm-4.3-0.22.src.rpm
2. rpmbuild -bs /usr/src/redhat/SPEC/rpm.spec



Actual Results:  From the configure log:

configure:22724: checking beecrypt/beecrypt.h presence
configure:22734: gcc -E  conftest.c
configure:22740: $? = 0
configure:22760: result: yes
configure:22795: checking for beecrypt/beecrypt.h
configure:22802: result: yes
configure:22808: checking for mpfprintln in -lbeecrypt
configure:22838: gcc -o conftest -g -O2 -fPIC -DPIC -D_GNU_SOURCE
-D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wno-char-subscripts   conftest.c -lbeecrypt  
-L/usr/local/lib  >&5
conftest.c:40: warning: function declaration isn't a prototype
conftest.c:43: warning: function declaration isn't a prototype
/tmp/ccEGbTMS.o(.text+0x15): In function `main':
/opt/rpm-4.3/conftest.c:44: undefined reference to `mpfprintln'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libbeecrypt.so:
undefined reference to `aio_cancel'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libbeecrypt.so:
undefined reference to `aio_read'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libbeecrypt.so:
undefined reference to `aio_suspend'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libbeecrypt.so:
undefined reference to `aio_error'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libbeecrypt.so:
undefined reference to `aio_return'
collect2: ld returned 1 exit status
configure:22844: $? = 1
configure: failed program was:

During compile:

In file included from digest.c:6:
rpmio_internal.h:12:26: beecrypt.api.h: No such file or directory
rpmio_internal.h:17:22: beecrypt.h: No such file or directory
rpmio_internal.h:18:20: base64.h: No such file or directory


Expected Results:  rpm 4.3 package to be built.

Additional info:
Comment 1 Jeff Johnson 2004-03-22 13:33:56 EST
Configure using --without-selinux. Or install libselinux-devel.
Install beecrypt-devel to use external, not internal.

Note You need to log in before you can comment on or make changes to this bug.