Bug 127671 - Missing BuildRequires for perl
Missing BuildRequires for perl
Status: CLOSED NEXTRELEASE
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: glibc (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-07-12 08:41 EDT by Andreas Thienemann
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-06 03:45:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Andreas Thienemann 2004-07-12 08:41:41 EDT
Description of problem:
When rebuilding glibc, the following error appears when no perl is
installed:

+ perl -pi -e 's/0 \|\|/1 ||/' ../elf/tst-tls10.h
../linuxthreads/tst-tls1.h
/var/tmp/rpm-tmp.76641: line 31: perl: command not found
error: Bad exit status from /var/tmp/rpm-tmp.76641 (%build)

perl is called twice in the specfile to search and replace certain
strings:

1st occurence:
perl -pi -e 's/0 \|\|/1 ||/' ../elf/tst-tls10.h ../linuxthreads/tst-tls1.h

2nd occurence:
perl -pi -e 's/alarm \(TIMEOUT\)/alarm (TIMEOUT * 15 * '$numprocs' <
600 ? TIMEOUT * 15 * '$numprocs' : 600)/' \
  test-skeleton.c


Both should be changed to sed calls such as "sed -ie 's/0 \|\|/1 ||/'
 ../elf/tst-tls10.h ../linuxthreads/tst-tls1.h" as needing perl for
rebuilding glibc is a bit much.

Otherwise, at least BuildRequires: perl should be added to facilate
automated rebuilding.


Version-Release number of selected component (if applicable):
glibc-2.3.2-95.3.src.rpm
Comment 1 Ulrich Drepper 2004-10-06 03:45:20 EDT
We have adjusted the glibc.spec file currently in use.  glibc-2.3.3-66
or higher once available will have the changes.

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