Current-Users archive

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

Re: build.sh install-image fails on amd64



It creeps up in a few more places - e.g. i386 bootcd, bootcd-com and installcd:

---
         cd "/home/sysbuild/i386/obj/home/sysbuild/src/distrib/i386/cdroms/installcd";
         done;                                                   fi
Copying boot.cfg to /home/sysbuild/i386/obj/home/sysbuild/src/distrib/i386/cdroms/installcd/cdrom ...
usage: i486--netbsdelf-install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B suffix]
           [-a aftercmd] [-f flags] [-m mode] [-N dbdir] [-o owner] [-g group]
           [-l linkflags] [-h hash] [-S stripflags] file1 file2
       i486--netbsdelf-install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B suffix]
           [-a aftercmd] [-f flags] [-m mode] [-N dbdir] [-o owner] [-g group]
           [-l linkflags] [-h hash] [-S stripflags] file1 ... fileN directory
       i486--netbsdelf-install -d [-Up] [-M log] [-D dest] [-T tags] [-a aftercmd] [-m mode]
           [-N dbdir] [-o owner] [-g group] directory ...
....

but the script apparently completes OK and generates the images and the iso files. This is from a tree updated an hour ago. 

Chavdar

On Sat, 11 Feb 2017 at 12:43 Paul Goyette <paul%whooppee.com@localhost> wrote:

On Sat, 11 Feb 2017, Chavdar Ivanov wrote:

> ... and on a second attempt it ran OK.

Yes - I fixed it!   :)


> On Sat, 11 Feb 2017 at 11:01 Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
>> Same here.
>>
>> On Sat, 11 Feb 2017, 07:50 Paul Goyette, <paul%whooppee.com@localhost> wrote:
>>
>> With sources updated just a short time ago, I have successfully
>> completed a "build.sh release sourcesets iso-image-source"
>>
>> However, when trying to "build.sh install-image" it fails with the
>> following in the log file:
>>
>> Copying secondary boot...
>> /build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-install -c -m
>> 0644 -fwork/usr/mdec/boot work
>> usage: x86_64--netbsd-install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B
>> suffix]
>>             [-a aftercmd] [-f flags] [-m mode] [-N dbdir] [-o owner] [-g
>> group]
>>             [-l linkflags] [-h hash] [-S stripflags] file1 file2
>>         x86_64--netbsd-install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B
>> suffix]
>>             [-a aftercmd] [-f flags] [-m mode] [-N dbdir] [-o owner] [-g
>> group]
>>             [-l linkflags] [-h hash] [-S stripflags] file1 ... fileN
>> directory
>>         x86_64--netbsd-install -d [-Up] [-M log] [-D dest] [-T tags] [-a
>> aftercmd] [-m mode]
>>             [-N dbdir] [-o owner] [-g group] directory ...
>> *** Failed target:  imgroot.fs
>> *** Failed command:
>> /build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-install -c -m
>> 0644 -f work/usr/mdec/boot work
>> *** Error code 1
>> Stop.
>>
>>
>> Looks to me like the -f option (flags) needs a value?
>>
>>
>>
>> +------------------+--------------------------+------------------------+
>> | 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 |
>> +------------------+--------------------------+------------------------+
>>
>>
>
>
> !DSPAM:589efa52228011932318037!
>

+------------------+--------------------------+------------------------+
| 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