Bug 2261 - Error running "rpm -bb libPropList.spec"
Error running "rpm -bb libPropList.spec"
Status: CLOSED WORKSFORME
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
ftp://rufus.w3.org/linux/rawhide/1.0/...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-04-19 03:18 EDT by parabola
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-30 19:22:42 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 parabola 1999-04-19 03:18:21 EDT
When I try to build the RPM, it bombs out:

[root@garfield] /usr/src/redhat/SPECS
# rpm -bb libPropList.spec
Executing: %prep
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf libPropList-0.8.3
+ /bin/gzip -d
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd libPropList-0.8.3
+ chown -R root .
+ chgrp -R root .
+ chmod -R a+rX,g-w,o-w .
+ exit 0
Executing: %build
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd libPropList-0.8.3
+ %configure
fg: no job control
+ make
make: *** No targets.  Stop.
Bad exit status from /var/tmp/rpm-tmp.88865 (%build)
Command exited with non-zero status 1

I have to change one line in the spec file in order to make
it work.  Here's the patch:

*** -   Mon Apr 19 17:13:34 1999
--- libPropList.spec    Mon Apr 19 17:12:35 1999
***************
*** 21,27 ****
  %setup -q

  %build
! %configure
  make

  %install
--- 21,27 ----
  %setup -q

  %build
! ./configure
  make

  %install
Comment 1 Jeff Johnson 1999-04-19 04:22:59 EDT
This is an rpm version problem. Rpm-3.0 uses macros, and the
%configure expands to

	[ -f configure.in ] && libtoolize --copy --force
	CFLAGS="$RPM_OPT_FLAGS" ./configure $RPM_ARCH-redhat-linux
\ 	          --prefix=/usr

You probably need to upgrade to rpm-2.9x or add "--prefix=/usr"
Comment 2 parabola 1999-04-19 07:34:59 EDT
If rpm-2.9x is a prerequisite of the SRPM then it should bomb out with
meanlingful err msg, when "rpm -i" or "rpm -bb" is run.  Especially
when the rpm that comes with RH-5.2 and the one found by "rpmfind
--sources rpm" is rpm-2.5.6-5.0 and rpm-2.5.5-5.2 only, meaning that's
what most ppl are running.

Any idea where to d/l SRPM of rpm-2.9x?
Comment 3 Jeff Johnson 1999-04-19 10:01:59 EDT
ftp://rpm.redhat.com/pub/rpm/dist/rpm-3.0.x.

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