I'm having serious trouble making my very first RPM package. I have cut the project back to a bare minimum -- just a Hello World program. I have been reading the Maximum RPM book and the Red Hat RPM Guide. I'm working on Redhat 9. The only real complication I can see is that I'm not root on the build machine. To take care of that I set %_topdir %(echo $HOME)/rpm in my .rpmmacros file. That seems to work OK. For a while I tried to make a relocatable RPM, but I have temporarily give up on that. I think I don't need Prefix: or Buildroot: lines in my .spec file. Right? I made sure to refer only to directories where I can write. Oh, I suppose I should mention the symptom. I can run rpmbuild -bc OK, but -bi fails. In fact, -bl fails too. The output of -bl is shown below. The .spec file and Makefile are also included. ---- rpmbuild -bl output ---------------------------- $: rpmbuild -bl howdy.spec Processing files: howdy-1.0-1 Provides: howdy Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) Processing files: howdy-debuginfo-1.0-1 Provides: libbfd-2.13.90.0.18.so.debug libopcodes-2.13.90.0.18.so.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot} getOutputFrom(): Broken pipe ------ howdy.spec ---------------------------------------------- Summary: A hello world program Copyright: none Group: Misc/Nonsense Name: howdy #Prefix: /u/ek/pln/bin Provides: howdy Release: 1 Source: howdy-1.0.tar.gz Version: 1.0 #Buildroot: /tmp/plnrpm Vendor: The GLAST LAT Collaboration %description A trivial program to practice on %prep %setup %build make %install make install %clean %files /u/ek/pln/bin/howdy -------- Makefile -------------------------------- all: howdy howdy: howdy.c gcc -o howdy howdy.c install: howdy cp howdy $(HOME)/bin * Patrick L. Nolan * * W. W. Hansen Experimental Physics Laboratory (HEPL) * * Stanford University * _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list