Index: Mk/Scripts/qa.sh =================================================================== --- Mk/Scripts/qa.sh +++ Mk/Scripts/qa.sh @@ -668,6 +674,11 @@ while read dep_file; do # No results presents a blank line from heredoc. [ -z "${dep_file}" ] && continue + # Special case when dependency can't be found by ldd + if [ "${dep_file}" = "not" ]; then + err "${file} dependency doesn't exist" + continue + fi # Skip files we already checked. if listcontains ${dep_file} "${already}"; then continue @@ -698,7 +709,7 @@ awk '\ BEGIN {section=0}\ /^\// {section++}\ - !/^\// && section<=1 && ($3 ~ "^'${PREFIX}'" || $3 ~ "^'${LOCALBASE}'") {print $3}') + !/^\// && section<=1 && ($3 ~ "^'${PREFIX}'" || $3 ~ "^'${LOCALBASE}'" || $3 == "not") {print $3}') EOT done <<-EOT $(list_stagedir_elfs | \