Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 182882 | Differences between
and this patch

Collapse All | Expand All

(-)revdep-rebuild-rewrite.orig (-6 / +11 lines)
Lines 208-213 Link Here
208
			;;
208
			;;
209
		-P|--no-progress)
209
		-P|--no-progress)
210
			progress() { :; }
210
			progress() { :; }
211
			;;
211
		-q|--quiet)
212
		-q|--quiet)
212
			echo_v() { :; }
213
			echo_v() { :; }
213
			progress() { :; }
214
			progress() { :; }
Lines 583-597 Link Here
583
		done
584
		done
584
		if [[ $SEARCH_BROKEN ]]; then
585
		if [[ $SEARCH_BROKEN ]]; then
585
			# Look for missing version
586
			# Look for missing version
586
			for target_file in $(
587
			while read target_file; do
587
				awk '/no version information available/{
588
				echo "obj $target_file" >> "$LIST.3_rebuild"
589
				echo_v "  broken $target_file (no version information available)"
590
			done < <(
591
				awk -v ldmask="($LD_LIBRARY_MASK)" '
592
					BEGIN{ gsub(/\n/, "|", ldmask) }
593
					/no version information available/{
588
					gsub("[()]", "", $NF);
594
					gsub("[()]", "", $NF);
595
						if (seen[$NF]++)  next;
596
						if ($NF ~ ldmask) next;
589
					print $NF
597
					print $NF
590
				}' "$LIST.3_ldd_errors" | sort -u
598
					}' "$LIST.3_ldd_errors"
591
			); do
599
			); do
592
				echo "obj $target_file" >> "$LIST.3_rebuild"
593
				echo_v "  broken $target_file (no version information available)"
594
			done
595
		fi
600
		fi
596
		[[ -r $LIST.3_rebuild && -s $LIST.3_rebuild ]] || clean_exit
601
		[[ -r $LIST.3_rebuild && -s $LIST.3_rebuild ]] || clean_exit
597
		einfo "Generated new $LIST.3_rebuild"
602
		einfo "Generated new $LIST.3_rebuild"

Return to bug 182882