From: Josh Boyer <jwboyer@fedoraproject.org>
To: "sriram@marirs.net.in" <sriram@marirs.net.in>,
Thomas Renninger <trenn@suse.de>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Bad rpath in cpupower with 4.0-rcX
Date: Fri, 6 Mar 2015 08:47:45 -0500 [thread overview]
Message-ID: <20150306134745.GC4801@hansolo.redhat.com> (raw)
Hi All,
Commit 5c1de006e8e66 (cpupower Makefile change to help run the tool
without 'make install') added an rpath to the cpupower binary. From
what I can understand, this is to make it easier to run cpupower from
the local build directory without having to run make install. It does
accomplish that, but it also leaves the binary with the rpath in it
which is considered bad practice. It also causes cpupower to fail in
rpmbuild with the following error:
ERROR 0004: file '/usr/bin/cpupower' contains an insecure rpath './'
in [./]
error: Bad exit status from /var/tmp/rpm-tmp.A6u26r (%install)
Bad exit status from /var/tmp/rpm-tmp.A6u26r (%install)
I understand the want for eased development, but couldn't people just
set LD_LIBRARY_PATH instead?
josh
next reply other threads:[~2015-03-06 13:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-06 13:47 Josh Boyer [this message]
2015-03-10 12:33 ` Bad rpath in cpupower with 4.0-rcX Josh Boyer
2015-03-10 22:30 ` Rafael J. Wysocki
2015-03-11 11:53 ` Thomas Renninger
2015-03-11 12:20 ` sriram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150306134745.GC4801@hansolo.redhat.com \
--to=jwboyer@fedoraproject.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=sriram@marirs.net.in \
--cc=trenn@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox