Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1232157

Summary: valgrind required but not available on all arches
Product: [Fedora] Fedora Reporter: Dan Horák <dhorak>
Component: drpmAssignee: Matěj Chalk <mchalk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bugs.michael, jorton, jzeleny, mchalk, panemade, tmlcoch
Target Milestone: ---   
Target Release: ---   
Hardware: s390   
OS: Unspecified   
Whiteboard:
Fixed In Version: drpm-0.1.3-4.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-03 18:51:01 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:
Bug Depends On:    
Bug Blocks: 467765    

Description Dan Horák 2015-06-16 07:42:54 UTC
With drpm 0.1.3 valgring is required but it is not available on all arches like 
on s390. When I add

@@ -14,7 +14,9 @@ BuildRequires:  bzip2-devel
 BuildRequires:  xz-devel
 BuildRequires:  cmake >= 2.8
 BuildRequires:  libcmocka-devel >= 1.0
+%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64
 BuildRequires:  valgrind
+%endif
 
 %package devel
 Summary:        C interface for the drpm library

the build still fails.

ake[3]: Leaving directory '/builddir/build/BUILD/drpm-0.1.3'
make -f CMakeFiles/check.dir/build.make CMakeFiles/check.dir/build
make[3]: Entering directory '/builddir/build/BUILD/drpm-0.1.3'
/usr/bin/ctest --output-on-failure
Test project /builddir/build/BUILD/drpm-0.1.3
    Start 1: drpm_test
1/2 Test #1: drpm_test ........................   Passed    0.00 sec
    Start 2: drpm_test_valgrind
Could not find executable valgrind
Looked in the following places:
valgrind
valgrind
Release/valgrind
Release/valgrind
Debug/valgrind
Debug/valgrind
MinSizeRel/valgrind
MinSizeRel/valgrind
RelWithDebInfo/valgrind
RelWithDebInfo/valgrind
Deployment/valgrind
Deployment/valgrind
Development/valgrind
Development/valgrind
2/2 Test #2: drpm_test_valgrind ...............***Not Run   0.00 sec
Unable to find executable: valgrind
Errors while running CTest
50% tests passed, 1 tests failed out of 2
Total Test time (real) =   0.00 sec
The following tests FAILED:
	  2 - drpm_test_valgrind (Not Run)
CMakeFiles/check.dir/build.make:52: recipe for target 'CMakeFiles/check' failed


Version-Release number of selected component (if applicable):
drpm-0.1.3-1.fc22

Comment 2 Fedora Update System 2015-06-19 14:23:32 UTC
drpm-0.1.3-4.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/drpm-0.1.3-4.fc22

Comment 3 Fedora Update System 2015-06-20 23:57:52 UTC
Package drpm-0.1.3-4.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing drpm-0.1.3-4.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10138/drpm-0.1.3-4.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-07-03 18:51:01 UTC
drpm-0.1.3-4.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.