Port-arm archive

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

Re: evbarm,armeb: distribution build fails with error "non-terminated string echo armcp... at source line 37"



2015-06-06 12:32 GMT+03:00 Eddy Petrișor <eddy.petrisor%gmail.com@localhost>:
> 2015-06-05 22:07 GMT+03:00 Eddy Petrișor <eddy.petrisor%gmail.com@localhost>:
>> 2015-06-05 13:32 GMT+03:00 Martin Husemann <martin%duskware.de@localhost>:
>>> I don't see anything wrong here, so my wild guess would be a shell bug.
>>> This all is run with HOST_SH, so probably bash in your build environment?
>>
>> On my system (GNU/Debian Linux amd64) /bin/sh is a symlink to dash
>> (not bash) and my interactive shell is bash.
> [..]
> I got the same results with /bin/sh linked to bash and HOST_SH set as /bin/bash

If the build.sh command is ran again after the failure from the
command line without a clean, the command is successfull.

I don't remember getting this kind of error with NetBSD 6.1.5. I tried
with the NetBSD code from branch netbsd_7 and got the same results:

#    create  set lists
cd /home/eddy/usr/src/netbsd/net/src/distrib/sets &&
DESTDIR=/home/eddy/usr/src/netbsd/net/src/obj/destdir.evbarm
MACHINE=evbarm  MACHINE_ARCH=armeb
AWK=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbawk
 CKSUM=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbcksum
 DB=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbdb
 HOST_SH=/bin/bash
MAKE=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbmake
 MKTEMP=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbmktemp
 MTREE=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbmtree
 PAX=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbpax
 COMPRESS_PROGRAM=gzip  GZIP=-n
PKG_CREATE=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbpkg_create
 SED=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbsed
 TSORT=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbtsort\
-q  /bin/bash ./maketars -S -d
/home/eddy/usr/src/netbsd/net/src/obj/destdir.evbarm   -M
/home/eddy/usr/src/netbsd/net/src/obj/destdir.evbarm/METALOG.sanitised
 -N /home/eddy/usr/src/netbsd/net/src/etc -L base -t
/home/eddy/usr/src/netbsd/net/src/obj/releasedir/evbarm/binary/sets
/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbawk:
non-terminated string echo armcp... at source line 37
 context is
                    wanted["machine_cpu=" "echo arm >>>
 <<<
DEBUG: list_set_files: ./lists/base/mi
DEBUG: list_set_files: ./lists/base/shl.mi
DEBUG: list_set_files: ./lists/base/module.mi
DEBUG: list_set_files: ./lists/base/rescue.mi
xargs: /home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbsed:
terminated by signal 13
makeflist output is empty for base
*** [makesetfiles] Error code 1

nbmake[2]: stopped in /home/eddy/usr/src/netbsd/net/src/distrib/sets
1 error

nbmake[2]: stopped in /home/eddy/usr/src/netbsd/net/src/distrib/sets
*** [distribution] Error code 2

nbmake[1]: stopped in /home/eddy/usr/src/netbsd/net/src/etc
1 error

nbmake[1]: stopped in /home/eddy/usr/src/netbsd/net/src/etc
*** [distribution] Error code 2

nbmake: stopped in /home/eddy/usr/src/netbsd/net/src
1 error

nbmake: stopped in /home/eddy/usr/src/netbsd/net/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***

real    125m11.184s
user    171m46.552s
sys    19m30.220s



The most recent commit on the netbsd_7 branch is (from the Git clone
made by Joerg Sonnenberger):

* commit 57568d0ad536f599a49810bcbddbb374cd6f3858 (HEAD,
origin/netbsd_7, netbsd_7)
| Author: msaitoh <msaitoh>
| Date:   Thu Jun 4 09:45:43 2015 +0000
|
|     Ticket 822.


> I am using this script to do the clean builds:
>
> https://github.com/eddyp/netbsd-build-scripts/blob/master/cleanbuild_bisect.sh


> --
> Eddy Petrișor



-- 
Eddy Petrișor


Home | Main Index | Thread Index | Old Index