Bug 80753 - No genhdlist in anaconda-runtime
No genhdlist in anaconda-runtime
Status: CLOSED RAWHIDE
Product: Red Hat Public Beta
Classification: Retired
Component: anaconda (Show other bugs)
phoebe
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
:
Depends On:
Blocks: 79579
  Show dependency treegraph
 
Reported: 2002-12-30 17:00 EST by Forrest
Modified: 2007-04-18 12:49 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-21 11:03:50 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 Forrest 2002-12-30 17:00:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218

Description of problem:
There is no genhdlist in the original anaconda-runtime package, and rebuilding
from source gives the same result.  Manually compiling gives this error:

[root@test-box2 BUILD]# cd anaconda-8.0.92/utils/

[root@test-box2 utils]# make
make: Nothing to be done for `everything'.

[root@test-box2 utils]# make genhdlist
cc -g -static -Wall -g -I.. -I../loader2 -I/usr/include/rpm -o genhdlist
genhdlist.c hash.c \
-lrpm -lrpmdb -lrpmio -lbz2 -lz -lpopt -lelf
genhdlist.c: In function `onePrePass':
genhdlist.c:122: warning: implicit declaration of function `rpmReadPackageHeader'
genhdlist.c: In function `onePass':
genhdlist.c:299: warning: implicit declaration of function `expandFilelist'
genhdlist.c:326: warning: implicit declaration of function `compressFilelist'
genhdlist.c: In function `main':
genhdlist.c:431: warning: unused variable `p'
genhdlist.c:432: warning: unused variable `i'
/tmp/ccrXHuHT.o(.text+0x2a0): In function `onePrePass':
/usr/src/redhat/BUILD/anaconda-8.0.92/utils/genhdlist.c:122: undefined reference
to `rpmReadPackageHeader'
/tmp/ccrXHuHT.o(.text+0x57b): In function `onePass':
/usr/src/redhat/BUILD/anaconda-8.0.92/utils/genhdlist.c:204: undefined reference
to `rpmReadPackageHeader'
collect2: ld returned 1 exit status
make: *** [genhdlist] Error 1

Version-Release number of selected component (if applicable):
anaconda-8.0.92

How reproducible:
Always

Steps to Reproduce:
1.  cd /usr/src/redhat/BUILD/anaconda-8.0.92/utils
2.  make genhdlist
Comment 1 Jeremy Katz 2002-12-30 23:48:22 EST
Yes, hence why it's not currently included ;-)

Hoping to rewrite in python before all is said and done, else just fix the
compilation.  For now, the 8.0 (or 7.3, or 7.2, ...) genhdlist works just fine.
Comment 2 Jeremy Katz 2003-01-05 23:10:04 EST
Fixed the compilation, will be in the next build
Comment 3 Jay Turner 2003-01-20 21:22:08 EST
I'm getting this:

[root@test84 utils]# make genhdlist
cc -g -static -Wall -g -I.. -I../loader2 -I/usr/include/rpm -o genhdlist
genhdlist.c hash.c \
-lrpm -lrpmdb -lrpmio -lbz2 -lz -lpopt -lelf -lpthread
/usr/lib/gcc-lib/i386-redhat-linux/3.2.1/../../../librpm.a(rpminstall.o)(.text+0x1833):
In function `rpmInstall':
: the use of `mktemp' is dangerous, better use `mkstemp'

when compiling genhdlist with anaconda-8.0.94-0.20030120155450.
Comment 4 Jeremy Katz 2003-01-21 11:03:50 EST
The mktemp error is because rpmlib uses mktemp instead of mkstemp, not my bug :)

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