Bug 41861 - gnorpm won't rebuild from source rpm
gnorpm won't rebuild from source rpm
Status: CLOSED WONTFIX
Product: Red Hat Raw Hide
Classification: Retired
Component: gnorpm (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-05-22 13:36 EDT by Vladimir Kondratiev
Modified: 2007-04-18 12:33 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-05-22 13:36:32 EDT
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 Vladimir Kondratiev 2001-05-22 13:36:28 EDT
Description of Problem:
When I try to rebuild gnorpm from source rpm, build failed.

How Reproducible:
Always

Steps to Reproduce:
1. rpm --rebuild gnorpm-0.96-1.src.rpm

Actual Results:
(list of functions missed in the rpm library)

tester.o: In function `main':
tester.o(.text+0x52): undefined reference to `rpmdbOpen'
../find/libfind.a(guess.o): In function `guessInit':
guess.o(.text+0x131): undefined reference to `rpmdbInitIterator'
guess.o(.text+0x154): undefined reference to `XrpmdbNextIterator'
guess.o(.text+0x3b6): undefined reference to `rpmdbFreeIterator'
/usr/lib/librpm.so: undefined reference to `htGetEntry'
/usr/lib/librpm.so: undefined reference to `rpmdbClose'
/usr/lib/librpm.so: undefined reference to `rpmdbPruneIterator'
/usr/lib/librpm.so: undefined reference to `rpmdbRemove'
/usr/lib/librpm.so: undefined reference to `rpmdbGetIteratorRpmDB'
/usr/lib/librpm.so: undefined reference to `rpmdbGetIteratorOffset'
/usr/lib/librpm.so: undefined reference to `htFree'
/usr/lib/librpm.so: undefined reference to `rpmdbGetIteratorCount'
/usr/lib/librpm.so: undefined reference to `dbiFreeIndexSet'
/usr/lib/librpm.so: undefined reference to `fpCacheCreate'
/usr/lib/librpm.so: undefined reference to `dbiOpen'
/usr/lib/librpm.so: undefined reference to `dbiPut'
/usr/lib/librpm.so: undefined reference to `fpLookupList'
/usr/lib/librpm.so: undefined reference to `dbiGet'/usr/lib/librpm.so:
undefined reference to `htCreate'
/usr/lib/librpm.so: undefined reference to `fpHashFunction'
/usr/lib/librpm.so: undefined reference to `rpmdbSync'
/usr/lib/librpm.so: undefined reference to `rpmdbSetIteratorVersion'
/usr/lib/librpm.so: undefined reference to `rpmdbCountPackages'
/usr/lib/librpm.so: undefined reference to `XdbiCopen'
/usr/lib/librpm.so: undefined reference to `rpmdbSetIteratorRelease'
/usr/lib/librpm.so: undefined reference to `htAddEntry'
/usr/lib/librpm.so: undefined reference to `dbiIndexRecordOffset'
/usr/lib/librpm.so: undefined reference to `fpEqual'
/usr/lib/librpm.so: undefined reference to `dbiIndexRecordFileNumber'
/usr/lib/librpm.so: undefined reference to `rpmdbSetIteratorRewrite'
/usr/lib/librpm.so: undefined reference to `rpmdbAppendIterator'
/usr/lib/librpm.so: undefined reference to `fpCacheFree'
/usr/lib/librpm.so: undefined reference to `XdbiCclose'
/usr/lib/librpm.so: undefined reference to `rpmdbFindFpList'
/usr/lib/librpm.so: undefined reference to `rpmdbAdd'
/usr/lib/librpm.so: undefined reference to `dbiIndexSetCount'
/usr/lib/librpm.so: undefined reference to `rpmdbOpenAll'
/usr/lib/librpm.so: undefined reference to `rpmdbSetIteratorModified'
collect2: ld returned 1 exit status


Expected Results:


Additional Information:
see bug 41859
Comment 1 Jeff Johnson 2001-05-22 13:40:21 EDT
Yup, you're running unreleased development code, caveat emptor.

Either go back to rpm-4.0.2, or add -lrpmdb to your link step.

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