NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/48833: build.sh don't work inside the directory "/common".
>Number: 48833
>Category: toolchain
>Synopsis: build.sh don't work inside the directory "/common".
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 23 07:25:01 +0000 2014
>Originator: Ilia
>Release: NetBSD 6.99.40
>Organization:
izyk
>Environment:
NetBSD 6.99.40 (GENERIC) #0: Tue May 6 04:20:54 UTC 2014
builds%b2.netbsd.org@localhost:/home/builds/ab/HEAD/amd64/201405060250Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC
amd64
>Description:
If build system with this command:
./build.sh -m amd64 -U -j4 -N0 -T /common/orig/amd64/B140522125912/tools -O
/common/orig/amd64/B140522125912/obj release
build errors:
[...]
In file included from /common/orig/src/external/bsd/nvi/dist/regex/regex.h:46:0,
from
/common/orig/src/external/bsd/nvi/dist/common/../common/common.h:31,
from /common/orig/src/external/bsd/nvi/dist/common/api.c:36:
./common_extern.h:85:26: error: unknown type name 'CL_PRIVATE'
int cl_omesg __P((SCR *, CL_PRIVATE *, int));
^
/common/orig/src/external/bsd/nvi/usr.bin/nvi/port.h:28:21: note: in definition
of macro '__P'
#define __P(protos) protos /* ANSI C prototypes */
^
./common_extern.h:234:25: error: unknown type name 'VCS'
int cs_init __P((SCR *, VCS *));
[...]
>How-To-Repeat:
Put the source tree inside "/common" and try build the system.
For instance:
cd /common/orig/src
./build.sh -m amd64 -U -j4 -N0 -T /common/orig/amd64/tools -O
/common/orig/amd64/obj release
>Fix:
Home |
Main Index |
Thread Index |
Old Index