NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/48833 (build.sh don't work inside the directory "/common".)



The following reply was made to PR toolchain/48833; it has been noted by GNATS.

From: Ilia Zykov <netbsd%izyk.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost, toolchain-manager%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
dholland%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/48833 (build.sh don't work inside the directory 
"/common".)
Date: Mon, 26 May 2014 00:36:30 +0400

 I had looked up a new wild combination with this regex:
 egrep -o '/([0-9A-Za-z]+)/(\.\./)+\1 ' 'Output from correct build.sh -N3' 
|sort|uniq
 /lib/../lib
 /common/../common
 
 And after I had put the source inside '/common/lib':
 
 dependall ===> external/gpl3/gcc/usr.bin/cpp
 dependall ===> external/gpl3/gcc/usr.bin/g++
 dependall ===> external/gpl3/gcc/usr.bin/gcc
 dependall ===> external/gpl3/gcc/usr.bin/include
 dependall ===> rescue
 rm -f rescue.conf rescue.conf.tmp
 Run "make -f rescue.mk objs exe" to build crunched binary.
 nbmake[7]: "(stdin)" line 3: Cannot open /common/lib/src/bin/rcorder/Makefile
 nbmake[7]: Fatal errors encountered -- cannot continue
 nbmake[7]: stopped in /common/lib/amd64/B1405240105/obj/rescue/rcorder
 *** Failed target:  rcorder_make
 *** Failed command: ( cd rcorder; printf '.PATH: 
/common/lib/src/bin/rcorder\n.CURDIR:= /common/lib/src/bin/rcorder\n.include 
"${.CURDIR}/Makefile"\n' | /common/lib/amd64/B1405240105/tools/bin/nbmake -f- 
CRUNCHEDPROG=1 DBG="-O2 -Os" LDSTATIC="-static" depend )
 *** Error code 1
 Stop.
 nbmake[6]: stopped in /common/lib/amd64/B1405240105/obj/rescue
 --- rescue ---
 *** [rescue] Error code 1
 nbmake[5]: stopped in /common/lib/src/rescue
 1 error
 nbmake[5]: stopped in /common/lib/src/rescue
 
 also: 
 egrep -o '/([0-9A-Za-z]+)/(\.\./)+\1' 'Output from correct build.sh -N3' 
|sort|uniq
 
 /biosboot/../biosboot
 /common/../common
 /gcc/../gcc
 /gptmbr/../gptmbr
 /lib/../../../../lib
 /lib/../lib
 /libnet/../libnet
 /mbr/../mbr
 /sys/../sys
 
 But I don't test this yet.
 
 Ilia.
 


Home | Main Index | Thread Index | Old Index