Re: Disk errors on PowerBook 180

Martin Husemann <[email protected]> Mon, 18 May 2026 16:02:39 +0200
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <[email protected]>
On Mon, May 18, 2026 at 01:54:49PM +0000, luRaichu wrote:
> ===> Updated makewrapper: /home/roy/obj/tooldir.NetBSD-11.0_RC4-amd64/bin/nbmake-mac68k
> + pkgroot=/home/roy/obj/pkgroot
> + mkdir -p /home/roy/obj/pkgroot
> + unset PWD
> + cd /home/roy/obj/pkgroot
> + exec pwd -P 2>/dev/null
> + pkgroot=/home/roy/obj/pkgroot
> + makejobsarg='--make-jobs 2'
> + makejobsvar=MAKE_JOBS=2
> + '[' '' -eq 0 ']'
> [: buildpkg: '': bad number
> + quiet=''

This looks like a simple bug testing MAKEVERBOSE (which is set via the optional
-N argument, but here is tested unconditionally).

Try this patch:

--- build.sh    16 Nov 2025 00:44:47 -0000      1.401
+++ build.sh    18 May 2026 14:01:11 -0000
@@ -2499,7 +2499,7 @@
                ;;
        esac
 
-       if [ "${MAKEVERBOSE}" -eq 0 ]
+       if [ ${MAKEVERBOSE:-2} -eq 0 ]
        then
                quiet="--quiet"
        else


Martin