Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86698 Details for
Bug 131779
QA_TEXTRELS support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove processing from ebuild.sh that's now done in scanelf (2.0), including QA_WX_LOAD support
portage-2.0-svn-3341-qainscanelf-wx_load.patch (text/plain), 2.29 KB, created by
Kevin F. Quinn (RETIRED)
on 2006-05-13 06:07:52 UTC
(
hide
)
Description:
Remove processing from ebuild.sh that's now done in scanelf (2.0), including QA_WX_LOAD support
Filename:
MIME Type:
Creator:
Kevin F. Quinn (RETIRED)
Created:
2006-05-13 06:07:52 UTC
Size:
2.29 KB
patch
obsolete
>Index: bin/ebuild.sh >=================================================================== >--- bin/ebuild.sh (revision 3341) >+++ bin/ebuild.sh (working copy) >@@ -1065,19 +1065,9 @@ > qa_var="QA_TEXTRELS_${ARCH}" > [[ -n ${!qa_var} ]] && QA_TEXTRELS=${!qa_var} > [[ -n ${QA_STRICT_TEXTRELS} ]] && QA_TEXTRELS="" >- QA_TEXTRELS=$(echo ${QA_TEXTRELS}) # strip newlines >- f="" >- s=$(scanelf -qyRF '"#t%p"' "${D}" | grep -v 'usr/lib/debug/') >- s=$(echo ${s}) # strip newlines >- # eval needed to get ${QA_TEXTRELS} expanded so bash splits >- # words taking account of spaces in quoted words. >- eval "for s in ${s}; do >- for t in ${QA_TEXTRELS}; do >- [[ \${s} =~ \"^\${t}$\" ]] && continue 2 >- done >- f=\"\${f}\${s}\n\" >- done" >- if [[ -n ${f[@]} ]] ; then >+ export QA_TEXTRELS >+ f=$(scanelf -qyRF '"%t %p"' "${D}" | grep -v 'usr/lib/debug/') >+ if [[ -n ${f} ]] ; then > echo -ne '\a\n' > echo "QA Notice: the following files contain runtime text relocations" > echo " Text relocations require a lot of extra work to be preformed by the" >@@ -1085,7 +1075,7 @@ > echo " and might not function properly on other architectures hppa for example." > echo " If you are a programmer please take a closer look at this package and" > echo " consider writing a patch which addresses this problem." >- printf "${f}" >+ echo "${f}" > echo -ne '\a\n' > [[ ${FEATURES/stricter} != "${FEATURES}" ]] \ > && die "Aborting due to textrels" >@@ -1110,17 +1100,11 @@ > qa_var="QA_EXECSTACK_${ARCH}" > [[ -n ${!qa_var} ]] && QA_EXECSTACK=${!qa_var} > [[ -n ${QA_STRICT_EXECSTACK} ]] && QA_EXECSTACK="" >- QA_EXECSTACK=$(echo ${QA_EXECSTACK}) # strip newlines >- s=$(scanelf -qyRF '"#e%p"' "${D}" | grep -v 'usr/lib/debug/') >- s=$(echo ${s}) # strip newlines >- # eval needed to get ${QA_TEXTRELS} expanded so bash splits >- # words taking account of spaces in quoted words. >- eval "for s in ${s}; do >- for e in ${QA_EXECSTACK}; do >- [[ \${s} =~ \"^\${e}$\" ]] && continue 2 >- done >- f=\"\${f}\${s}\n\" >- done" >+ qa_var="QA_WX_LOAD_${ARCH}" >+ [[ -n ${!qa_var} ]] && WX_LOAD=${!qa_var} >+ [[ -n ${QA_STRICT_EXECSTACK} ]] && WX_LOAD="" >+ export QA_EXECSTACK QA_WX_LOAD >+ f=$(scanelf -qyRF '"%e %p"' "${D}" | grep -v 'usr/lib/debug/') > ;; > esac > ;;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131779
:
85819
|
85820
|
85978
|
85979
|
86077
|
86079
|
86099
|
86124
|
86246
|
86247
|
86248
|
86249
|
86470
|
86474
|
86667
|
86668
|
86696
|
86697
|
86698
|
86699
|
87360
|
87361
|
87405