From 9b33b7169b9c20e2485d1e411ad6da6e3dc9e957 Mon Sep 17 00:00:00 2001 From: Diego Elio 'Flameeyes' Pettenò Date: Tue, 24 Aug 2010 11:39:07 +0200 Subject: Add some safety checks to ensure that macros-now-gone won't cause undefined symbols on various kind of software. --- bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bashrc b/bashrc index 1d0eabe..4da89c1 100755 --- a/bashrc +++ b/bashrc @@ -71,6 +71,10 @@ post_src_install() { scanelf -qRs -$symbol "${D}" >> "${T}"/tinderbox-scanelf-insecure.log done + for symbolre in S_IS 'G[TD]K_'; do + scanelf -qRgs "-^${symbolre}*" "${D}" >> "${T}"/tinderbox-scanelf-badsymbols.log + done + scanelf -R "${D}"/usr/share > "${T}"/tinderbox-share-elfs.log if has binchecks ${RESTRICT}; then @@ -107,6 +111,7 @@ post_src_install() { eqawarn "Tinderbox QA Warning: No locales installed (bug #264114)" fi + tinderbox_if_file Warning tinderbox-scanelf-badsymbols.log "Bad undefined symbol (glibc-2.12, gtk+-2.20 errors)" tinderbox_if_file Warning tinderbox-scanelf-bundled.log "Possibly bundled libraries" tinderbox_if_file Warning tinderbox-invalid-directory.log "Invalid directories in image" tinderbox_if_file Warning tinderbox-osx-forkfile.log "OSX fork files found (._*)" -- cgit v1.2.3-65-gdbad