Current-Users archive

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

Re: 'build.sh release' failure with MAKEVERBOSE=4



Based on examination of the code in src/distrib/sets/sets.subr it looks like there should be no difference with MAKEVERBOSE=3 or =4.

And indeed, I have confirmed that the same failure occurs, at the same point, with MAKEVERBOSE=3

In sets.subr around line 286 (shell function list_set_files()) we query $MAKEVERBOSE and set shell variable verbose to either true or false.

verbose is not used anywhere else directly within list_set_files() but it is available to other functions which can get called, such as print_set_lists() function where it is used to control execution of the
code

			if $verbose; then
				echo >&2 "DEBUG: list_set_files: $l"
			fi

It's not obvious to me why this is causing a problem, but it is ...


On Wed, 20 Apr 2016, Paul Goyette wrote:

As reported earlier, this command does indeed fail, in the 'create sets lists" step. The actual error is listed below; a complete log for th 'create sets list' step is contained in the attachment.

<snip>
+ echo 'x86_64'
DEBUG: list_set_files: ./lists/base/mi
DEBUG: list_set_files: ./lists/base/md.amd64
DEBUG: list_set_files: ./lists/base/shl.mi
DEBUG: list_set_files: ./lists/base/module.mi
DEBUG: list_set_files: ./lists/base/rescue.mi
/build/netbsd-local/tools/x86_64/amd64/bin/nbawk: non-terminated string echo x86
_6... at source line 70
context is
wanted["machine_cpu=" "echo x86_64

<<<
xargs: /build/netbsd-local/tools/x86_64/amd64/bin/nbsed terminated by SIGPIPE
makeflist output is empty for base
+ exit 1


Perhaps a missing quote somewhere?


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+

+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index