Bug 187594 - hardcoded BuildRoot value
Summary: hardcoded BuildRoot value
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gcc
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
Blocks: 187864
TreeView+ depends on / blocked
Reported: 2006-04-01 15:10 UTC by Leonid Kanter
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-04-03 11:18:42 UTC

Attachments (Terms of Use)

Description Leonid Kanter 2006-04-01 15:10:22 UTC
Description of problem:

BuildRoot value is hardcoded in spec to /var/tmp/gcc-root. It should be
something like %{_tmppath}/%{name}-%{version}-root.

Comment 1 Jakub Jelinek 2006-04-03 11:18:42 UTC
It really doesn't matter, it is overridden almost always anyway.
There are many packages that have similar buildroot values.
All that matters is whether the BuildRoot tag is present or not.

Comment 2 Eugene Kanter 2006-04-03 12:52:37 UTC
There probably is some other issue in gcc spec file. GCC was the only package
out of all RHELv4 updates which completely ignored

%_tmppath %(eval 'echo $HOME/tmp')

in ~/.rpmmacros and continued to place its files in /var/tmp/gcc-root

Comment 3 Eugene Kanter 2006-04-04 03:18:41 UTC
Original submitter is not able to reopen the but so I am creating another one.

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