Bug 41861 - gnorpm won't rebuild from source rpm
Summary: gnorpm won't rebuild from source rpm
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gnorpm
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-22 17:36 UTC by Vladimir Kondratiev
Modified: 2007-04-18 16:33 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2001-05-22 17:36:32 UTC


Attachments (Terms of Use)

Description Vladimir Kondratiev 2001-05-22 17:36:28 UTC
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 17:40:21 UTC
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.