Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 102054 - glibc-2.3.2 src rpm does not include bzip2 in it's BuildPreReq
glibc-2.3.2 src rpm does not include bzip2 in it's BuildPreReq
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rpm (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-08-09 18:29 EDT by alex kramarov
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-20 15:47:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description alex kramarov 2003-08-09 18:29:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 

Description of problem:
glibc-2.3.2 src rpm does not include bzip2 in it's BuildPreReq, and if bzip2 
not installed, the following error occires :

[root@ltest redhat]# rpmbuild -ba SPECS/glibc.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.31452
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf glibc-2.3.2-200307120508
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/glibc-2.3.2-200307120508.tar.bz2
/var/tmp/rpm-tmp.31452: line 24: /usr/bin/bzip2: No such file or directory
+ tar -xf -
+ '[' 0 -ne 0 ']'
+ cd glibc-2.3.2-200307120508
/var/tmp/rpm-tmp.31452: line 29: cd: glibc-2.3.2-200307120508: No such file or 
error: Bad exit status from /var/tmp/rpm-tmp.31452 (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.31452 (%prep)

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

How reproducible:

Steps to Reproduce:
remove bipz2 from the system
install glibc src rpm
rpmbuild SPEC/glibc.spec

Actual Results:  operation falied complaining about missing bzip2

Additional info:
Comment 1 Jakub Jelinek 2003-08-11 08:23:09 EDT
If anything, it should be rpm-build which would Requires: bzip2.
There are lots of packages with bzip2'ed tarballs, and what makes it different
from gzip?
Alternatively, bzip2 can be considered a part of the base package set which
should be always installed in order to build packages.
Stuff like filesystem, coreutils, glibc, gcc, autoconf, libgcc, awk, find, perl, patch, ...
Comment 2 Jeff Johnson 2003-08-20 15:47:58 EDT
I have no idea why this is deemed an rpm bug.

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