Red Hat Bugzilla – Bug 974270
Build dependencies should include valgrind-devel
Last modified: 2015-06-30 18:05:14 EDT
Description of problem:
jemalloc wants to build with Valgrind support by default, and we don't explicitly disable it. But, if valgrind-devel isn't installed, jemalloc builds without Valgrind support and doesn't return any errors.
Valgrind support is good to have for troubleshooting purposes, and it has no impact on use of jemalloc outside of Valgrind. jemalloc automatically detects when it runs within Valgrind and enables the support.
Alternatively, we should explicitly disable Valgrind support. We certainly should be building something different just because valgrind-devel is installed or not.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Build Valgrind from the SRPM
No support for Valgrind
Support for default capabilities, like Valgrind
Official downstream packages are built by mock in koji, does not pull inn valgrind, and would thus not enable valgrind support.
Also, if building the package by mock locally, valgrind support will not be enabled by the same reason.
When building packages in an "uncontrolled" environment, like a developer's workstation, anything may happen.
On the other hand, having valgrind support sounds like a nice thing to enable, so I'll consider it for the next package.
> Also, if building the package by mock locally, valgrind support will not be enabled by the same reason.
That doesn't seem to be the case. See my attached builds using mock, with and without Valgrind installed to my "onebox VM" system.
Created attachment 761392 [details]
Created attachment 761393 [details]
I don't follow you there. id=761392 may be a mock build. It's not clear if it is.
The default build system tries to enable valgrind, but fails
./configure (...) --enable-valgrind (...)
valgrind is compilable... no
valgrind : 0
So valgrind is not enabled, since it's not available. Which is as it should be as the package today.
Installing valgrind and building the package locally (not with mock), enables valgrind support, of course. This is what you do in your second attachment, id=761393.
I'll just repeat what I stated earlier: In an uncontrolled or "polluted" build environment, anything may happen. We don't control what upstream may automatically enable based on what a system looks like. Which is why we use a controlled, minimal environment, like koji/mock, to build distribution-quality packages.
According to upstream, adding valgrind support has very low runtime footprint if valgrind is not installed. So enabling valgrind support to the build requirements (though not to the install requirements) should be OK. Thus valgrind may be available for the users, but not compulsory to install.
Ah, I see my confusion here. Despite the build process I run (1) building within the current user's home directory and (2) only allowing itself to run if there's a mockbuild user on the system, it's not a mock build unless I use the command "mock" to kick off the build.
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.
More information and reason for this action is here:
jemalloc-3.6.0-6.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing jemalloc-3.6.0-6.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
jemalloc-3.6.0-8.fc20 has been submitted as an update for Fedora 20.
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 20 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.
This was actually fixed in jemalloc-3.6.0-6.fc20, so I change the closed status to CLOSED ERRATA.