View | Details | Raw Unified | Return to bug 218029
Collapse All | Expand All

(-)Mk/Scripts/do-depends.sh (-1 / +6 lines)
Lines 93-98 Link Here
93
93
94
anynotfound=0
94
anynotfound=0
95
err=0
95
err=0
96
notfoundlist=
96
for _line in ${dp_RAWDEPENDS} ; do
97
for _line in ${dp_RAWDEPENDS} ; do
97
	myifs=${IFS}
98
	myifs=${IFS}
98
	IFS=:
99
	IFS=:
Lines 161-167 Link Here
161
	if ${fct} "${pattern}" ; then
162
	if ${fct} "${pattern}" ; then
162
		continue
163
		continue
163
	fi
164
	fi
164
	[ ${pattern} = "/nonexistent" ] || anynotfound=1
165
	if [ ${pattern} != "/nonexistent" ]; then
166
		anynotfound=1
167
		notfoundlist="${notfoundlist} ${pattern}"
168
	fi
165
169
166
	if [ ! -f "${origin}/Makefile" ]; then
170
	if [ ! -f "${origin}/Makefile" ]; then
167
		echo "Error a dependency refers to a non existing origin: ${origin} in ${dp_DEPTYPE}" >&2
171
		echo "Error a dependency refers to a non existing origin: ${origin} in ${dp_DEPTYPE}" >&2
Lines 184-188 Link Here
184
if [ -n "${dp_STRICT_DEPENDS}" -a ${anynotfound} -eq 1 ]; then \
188
if [ -n "${dp_STRICT_DEPENDS}" -a ${anynotfound} -eq 1 ]; then \
185
	echo "===>   dp_STRICT_DEPENDS set - Not installing missing dependencies."
189
	echo "===>   dp_STRICT_DEPENDS set - Not installing missing dependencies."
186
	echo "       This means a dependency is wrong since it was not satisfied in the ${dp_DEPTYPE} phase."
190
	echo "       This means a dependency is wrong since it was not satisfied in the ${dp_DEPTYPE} phase."
191
	echo "       List of not found patterns:${notfoundlist}"
187
	exit 1
192
	exit 1
188
fi
193
fi

Return to bug 218029