On Fri, 2013-06-28 at 10:39 +0200, Jens Neu wrote: > > more specific: the error comes from lines 103-107, which I commented > out now, build & %install works fine. As I understand this just links > some header files to tcl-private/generic/ instead of having them use > up space twice. I will test the package with this limitation for now, > maybe some shell- expert can tell me where this exit-not-null comes > from... So how about replacing [ -f $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic/$i ] && ln -sf ../../$i $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic ; with [ -f $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic/$i ] && ln -sf ../../$i $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic || true ; and if this takes care of it, then insert some debugging statements to find out why exactly does it fail. -- Sincerely yours, Yury V. Zaytsev