Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 161448 Details for
Bug 233077
Add QA check for respecting LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
portage-LDFLAGS.patch (text/plain), 1.87 KB, created by
Arfrever Frehtes Taifersar Arahesis (RETIRED)
on 2008-07-26 23:47:10 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis (RETIRED)
Created:
2008-07-26 23:47:10 UTC
Size:
1.87 KB
patch
obsolete
>Index: bin/misc-functions.sh >=================================================================== >--- bin/misc-functions.sh (revision 11201) >+++ bin/misc-functions.sh (working copy) >@@ -158,6 +158,30 @@ > sleep 1 > fi > >+ # Check for files built without respecting LDFLAGS >+ if [[ "${LDFLAGS}" == *--hash-style=gnu* ]] && [[ "${PN}" != *-bin ]] ; then >+ f=$(scanelf -qyRF '%k %p' -k .hash "${D}" | sed -e "s:\.hash ::") >+ if [[ -n ${f} ]] ; then >+ echo "${f}" > "${T}"/scanelf-ignored-LDFLAGS.log >+ for file in ${QA_DT_HASH} ; do >+ sed -i -e "s:^${file}$::" "${T}"/scanelf-ignored-LDFLAGS.log >+ done >+ sed -i -e "/^$/d" -e "s:^:/:" "${T}"/scanelf-ignored-LDFLAGS.log >+ f=$(<"${T}"/scanelf-ignored-LDFLAGS.log) >+ if [[ -n ${f} ]] ; then >+ vecho -ne '\a\n' >+ eqawarn "\e[31mQA Notice: Files built without respecting LDFLAGS have been detected\e[0m" >+ eqawarn " Please include this file in your report:" >+ eqawarn " ${T}/scanelf-ignored-LDFLAGS.log" >+ for file in ${f} ; do >+ eqawarn ${file} >+ done >+ vecho -ne '\a\n' >+ sleep 1 >+ fi >+ fi >+ fi >+ > # Save NEEDED information after removing self-contained providers > scanelf -qyRF '%a;%p;%S;%r;%n' "${D}" | { while IFS= read l; do > arch=${l%%;*}; l=${l#*;} >Index: man/ebuild.5 >=================================================================== >--- man/ebuild.5 (revision 11201) >+++ man/ebuild.5 (working copy) >@@ -422,6 +422,11 @@ > This should contain a list of file paths, relative to the image directory, of > files that contain writable and executable segments. These are rare. > The paths may contain regular expressions. >+.TP >+\fBQA_DT_HASH\fR >+This should contain a list of file paths, relative to the image directory, of >+files that contain .hash sections. The paths may contain regular expressions >+with escape\-quoted special characters. > .SH "PORTAGE DECLARATIONS" > .TP > .B inherit
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 233077
: 161448