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 - valgrind required but not available on all arches
Summary: valgrind required but not available on all arches
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: drpm
Version: 22
Hardware: s390
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matěj Chalk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2015-06-16 07:42 UTC by Dan Horák
Modified: 2016-09-20 05:19 UTC (History)
6 users (show)

Fixed In Version: drpm-0.1.3-4.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-03 18:51:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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