Bug 1390334

Summary: Cannot rebuild devtoolset-6-valgrind package on ppc64
Product: Red Hat Developer Toolset Reporter: Miloš Prchlík <mprchlik>
Component: valgrindAssignee: Mark Wielaard <mjw>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DTS 6.0 RHEL 7CC: jakub, kanderso, mcermak, mnewsome, mprchlik
Target Milestone: alpha   
Target Release: 7.0   
Hardware: ppc64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-05 15:17:09 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:

Description Miloš Prchlík 2016-10-31 17:53:24 UTC
Description of problem:

Attempt to rebuild DTS valgrind srpm on ppc64 (ppc64le rebuild went fine) fails with the following message:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /usr/src/redhat/BUILDROOT/devtoolset-6-valgrind-3.12.0-1.el7.ppc64
error: Installed (but unpackaged) file(s) found:
   /opt/rh/devtoolset-6/root/usr/lib64/valgrind/libmpiwrap-ppc64be-linux.so



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

devtoolset-6-valgrind-3.12.0-1.el7



How reproducible:


Steps to Reproduce:
1. install devtoolset-6-{runtime,build} and build requires
2. rpmbuild --rebuild --define "dist .el7"  --define '_topdir /usr/src/redhat' --target=ppc64 devtoolset-6-valgrind-3.12.0-1.el7.src.rpm
3.

Actual results:


Expected results:


Additional info:

Comment 1 Mark Wielaard 2016-10-31 18:25:08 UTC
Do you have more build.logs?

Note the mpi support is guarded by %{is_scl} in the spec file:

# Note s390x doesn't have an openmpi port available.
# We never want the openmpi subpackage when building a software collecton
%if %{is_scl}
  %global build_openmpi 0
%else
  %ifarch %{ix86} x86_64 ppc ppc64 ppc64le %{arm} aarch64
    %global build_openmpi 1
  %else
    %global build_openmpi 0
  %endif
%endif

%if %{build_openmpi}
BuildRequires: openmpi-devel >= 1.3.3
%endif

The problem might just be that on one setup (ppc64le) openmpi-devel wasn't installed, but on (ppc64) it was installed?

Comment 3 Mark Wielaard 2017-01-11 20:40:30 UTC
Milos, could you take a look at comment #1 and let me know if this is a blocker for 6.1? Thanks, Mark.

Comment 4 Miloš Prchlík 2017-01-12 06:48:27 UTC
(In reply to Mark Wielaard from comment #3)
> Milos, could you take a look at comment #1 and let me know if this is a
> blocker for 6.1? Thanks, Mark.

I believe it's not a blocker for 6.1. To be honest, I forgot a bit about this one, but given the fact that the rebuild test passed I must have succeeded at dealing with this issue, without any nasty workarounds involved. I think it might have been the case of installed/missing openmpi-devel packages you suggested in comment #1. I'll rather make sure of that today but since the rebuild obviously worked when we were running TPS, I'd say it's definitely not a blocker.

Comment 5 Mark Wielaard 2017-01-12 07:11:42 UTC
Thanks, moving to 7.0.

Comment 6 Mark Wielaard 2017-07-05 15:17:09 UTC
We no longer build the valgrind-openmpi subpackage for DTS.
Given comment #4 ("given the fact that the rebuild test passed I must have succeeded at dealing with this issue, without any nasty workarounds involved") I will assume this isn't really an issue anymore.

If it does show up again please reopen this bug (or create a new one).