Bug 847916

Summary: scl localstatedir includes prefix (.../usr/)
Product: Red Hat Developer Toolset Reporter: Frank Ch. Eigler <fche>
Component: scl-utilsAssignee: Jindrich Novy <jnovy>
Status: CLOSED NEXTRELEASE QA Contact: Martin Cermak <mcermak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: fche, jzeleny, mgoodwin, mnewsome, mpolacek, nathans, pknirsch
Target Milestone: beta1   
Target Release: 1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-20 08:06:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Ch. Eigler 2012-08-14 02:26:56 UTC
In the 3.6.5-0.3 builds, the various logs are put under /opt/rh/devtoolset-1.1/root/usr/var/log/pcp/*/*.log.  Note the extraneous /usr.

Comment 4 Nathan Scott 2012-08-14 23:57:19 UTC
Since pcp-3.6.6 will have the autoconf/prefix rework included, is this
bug worth investigating at this stage?  (given any 3.6.5 fix is certain
not to be applicable for 3.6.6, which is just around the corner).

Or is the -0.3 extension indicating a patched pcp-3.6.5, with --prefix
rework patched in?  Using http://brewweb.devel.redhat.com pointer from
late yesterday, I'm not finding the -0.3 build.

Comment 5 Frank Ch. Eigler 2012-08-18 03:23:08 UTC
According to /etc/rpm/macros.scl from scl-utils-build-20120423-2.el6:

%global _prefix %{_scl_root}/usr
%global _localstatedir %{_prefix}/var

_localstatedir should actually just be %{_scl_root}/var; compare /usr/lib/rpm/redhat/macros.  There might be other mismatches.

Comment 7 Jan Zeleny 2012-08-20 08:06:04 UTC
This is fixed in latest version of scl-utils that will be part of DTS 1.1. Closing the bug.