summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-06 00:49:11 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-06 00:49:11 +0000
commit537acfac455a1904313edb6030c67426bb76817f (patch)
tree8def1673c08d9728bc25f4427cd8ed59114e8b66 /bin
parent5ae8672880eb9672c4f3f8d44b0592b44543da77 (diff)
downloadportage-537acfac455a1904313edb6030c67426bb76817f.tar.gz
portage-537acfac455a1904313edb6030c67426bb76817f.tar.bz2
portage-537acfac455a1904313edb6030c67426bb76817f.zip
generate a log file for users to attach to bug reports
svn path=/main/trunk/; revision=2539
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 141c5712f..1f573a44f 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1061,12 +1061,15 @@ dyn_install() {
# TEXTREL's are baaaaaaaad
f=$(scanelf -qyRF '%t %p' "${D}")
if [[ -n ${f} ]] ; then
+ scanelf -qyRF '%T %p' "${WORKDIR}"/ &> "${T}"/scanelf-textrel.log
echo -ne '\a\n'
echo "QA Notice: the following files contain runtime text relocations"
echo " Text relocations force the dynamic linker to perform extra"
echo " work at startup, waste system resources, and may pose a security"
echo " risk. On some architectures, the code may not even function"
echo " properly, if at all."
+ echo " Please include this file in your report:"
+ echo " ${T}/scanelf-textrel.log"
echo "${f}"
echo -ne '\a\n'
die_msg="${die_msg} textrels,"
@@ -1083,11 +1086,15 @@ dyn_install() {
f="" ;;
esac
if [[ -n ${f} ]] ; then
+ # One more pass to help devs track down the source
+ scanelf -qyRF '%e %p' "${WORKDIR}"/ &> "${T}"/scanelf-exec.log
echo -ne '\a\n'
echo "QA Notice: the following files contain executable stacks"
echo " Files with executable stacks will not work properly (or at all!)"
echo " on some architectures/operating systems. A bug should be filed"
echo " at http://bugs.gentoo.org/ to make sure the file is fixed."
+ echo " Please include this file in your report:"
+ echo " ${T}/scanelf-exec.log"
echo "${f}"
echo -ne '\a\n'
die_msg="${die_msg} execstacks"