Bug 1108376

Summary: libdrm: please enable valgrind support when building
Product: [Fedora] Fedora Reporter: austinenglish
Component: libdrmAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ajax, rclark
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libdrm-2.4.58-3.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-06 09:58:47 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 austinenglish 2014-06-11 21:25:04 UTC
Description of problem:
libdrm needs valgrind support when building, see https://bugs.freedesktop.org/show_bug.cgi?id=77863#c1

Version-Release number of selected component (if applicable):
mesa-10.2.1-1.20140608.fc21

Additional info:
Patch:
$ diff -ur mesa.spec.orig mesa.spec
--- mesa.spec.orig	2014-06-10 21:23:30.202777244 -0700
+++ mesa.spec	2014-06-10 21:23:44.815861902 -0700
@@ -109,6 +109,7 @@
 BuildRequires: elfutils
 BuildRequires: python
 BuildRequires: gettext
+BuildRequires: valgrind-devel
 %if 0%{?with_llvm}
 %if 0%{?with_private_llvm}
 BuildRequires: mesa-private-llvm-devel

Comment 1 austinenglish 2014-06-11 23:53:50 UTC
Wrong patch, sorry. Correct patch:

[austin@localhost SPECS]$ diff -ur libdrm.spec.orig libdrm.spec
--- libdrm.spec.orig	2014-06-11 16:06:33.274346570 -0700
+++ libdrm.spec	2014-06-11 16:08:32.026021847 -0700
@@ -27,6 +27,7 @@
 BuildRequires: libatomic_ops-devel
 BuildRequires: libpciaccess-devel
 BuildRequires: libxslt docbook-style-xsl
+BuildRequires: valgrind-devel
 
 Source2: 91-drm-modeset.rules
 
# First, build our new source rp

Comment 2 Fedora Update System 2014-11-18 17:16:01 UTC
libdrm-2.4.58-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/libdrm-2.4.58-2.fc21

Comment 3 Fedora Update System 2014-11-19 03:09:49 UTC
Package libdrm-2.4.58-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libdrm-2.4.58-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15369/libdrm-2.4.58-2.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-11-19 09:05:22 UTC
libdrm-2.4.58-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/libdrm-2.4.58-3.fc21

Comment 5 Fedora Update System 2014-12-06 09:58:47 UTC
libdrm-2.4.58-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.