Subject: toolchain/26333: texinfo writes outside OBJDIR, breaking builds from read-only src
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 07/15/2004 13:33:15
>Number: 26333
>Category: toolchain
>Synopsis: texinfo writes outside OBJDIR, breaking builds from read-only src
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 15 11:34:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Lubomir Sedlacik
>Release: NetBSD -current, Thu Jul 15 13:29:50 CEST 2004
>Organization:
>Environment:
System: Linux 2.4.25
Architecture: i386
Machine: i386
>Description:
while building tools (but not limited to), texinfo executes the following in
src/gnu/dist/texinfo/util/Makefile:
texinfo.cat: texinfo-cat.in $(top_srcdir)/doc/version.texi
sed 's/__VERSION__/@VERSION@/g' $(srcdir)/texinfo-cat.in >$@
resulting in:
sed 's/__VERSION__/4.7/g' /www/src/NetBSD/src/tools/texinfo/../../gnu/dist/texinfo/util/texinfo-cat.in >/www/src/NetBSD/src/tools/texinfo/../../gnu/dist/texinfo/util/texinfo.cat
/bin/sh: /www/src/NetBSD/src/tools/texinfo/../../gnu/dist/texinfo/util/texinfo.cat: Permission denied
*** Failed target: texinfo.cat
*** Failed command: sed 's/__VERSION__/4.7/g' /www/src/NetBSD/src/tools/texinfo/../../gnu/dist/texinfo/util/texinfo-cat.in >/www/src/NetBSD/src/tools/texinfo/../../gnu/dist/texinfo/util/texinfo.cat
*** Error code 1
Stop.
nbmake: stopped in /www/src/obj/tools/texinfo/build/util
>How-To-Repeat:
build -current from read-only src tree
>Fix:
generate the file in OBJDIR (patch not provided, sorry)
>Release-Note:
>Audit-Trail:
>Unformatted: