FreeBSD Bugzilla – Attachment 172568 Details for
Bug 211146
[PATCH] baselibs stage-qa test only looks for elfs in a fixed set of locations, and misses other elfs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
stage-qa-basedirs-elf-fix.patch (text/plain), 1.02 KB, created by
Yuri Victorovich
on 2016-07-15 23:15:08 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-07-15 23:15:08 UTC
Size:
1.02 KB
patch
obsolete
>Index: Mk/Scripts/qa.sh >=================================================================== >--- Mk/Scripts/qa.sh (revision 417902) >+++ Mk/Scripts/qa.sh (working copy) >@@ -20,6 +20,10 @@ > echo "Error: $@" >&2 > } > >+list_stagedir_elfs() { >+ cd ${STAGEDIR} && find -s . -type f \( -perm +111 -o -name '*.so*' \) >+} >+ > shebangonefile() { > local f interp rc > >@@ -115,9 +119,7 @@ > ;; > esac > done <<-EOF >- $(find ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/sbin \ >- ${STAGEDIR}${PREFIX}/lib ${STAGEDIR}${PREFIX}/libexec \ >- -type f -exec readelf -d {} + 2>/dev/null) >+ $(list_stagedir_elfs | xargs readelf -d 2>/dev/null) > EOF > if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then > warn "you need USES=ssl" >@@ -614,7 +616,7 @@ > !/^\// && section<=1 && ($3 ~ "^'${PREFIX}'" || $3 ~ "^'${LOCALBASE}'") {print $3}') > EOT > done <<-EOT >- $(cd ${STAGEDIR} && find -s . -type f \( -perm +111 -o -name '*.so*' \) | \ >+ $(list_stagedir_elfs | \ > file -F $'\1' -f - | \ > grep -a 'ELF.*dynamically linked' | \ > cut -f 1 -d $'\1'| \
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 211146
:
172560
| 172568