Date: Mon, 10 Sep 2018 21:35:15 -0700 From: Lee Brown <leeb@ratnaling.org> To: FreeBSD Toolchain <freebsd-toolchain@freebsd.org> Subject: is make release broken? Message-ID: <CAFPNf58PBLkm7zjF-i=y01pK1JKom=WVrAfMn8pfjURKXU1zMw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
apologies if this is the wrong mailing list. Before I file a bug report, am I doing this wrong? I'm trying to build an 11.2 releng on a 11.1 release box and am having trouble with the 'make release' step. I've reduced the build script to this, which is almost the same as described in release(7) except the working directory. #!/bin/sh base=/work/11.2-releng export MAKEOBJDIRPREFIX=${base}/obj chflags -R noschg ${MAKEOBJDIRPREFIX} rm -rf ${MAKEOBJDIRPREFIX} cd ${base}/src make -j16 buildworld buildkernel cd release make release make install DESTDIR=/work/freebsd-generic svnlite info /work/11.2-releng/src reports revision 338570 uname is 11.1-RELEASE #0 r321309 /etc/src.conf and /etc/make.conf do not exist /usr/src and /usr/obj do not exist When it tries to execute makefs in line 58 of release/amd64/mkisoimages.sh it's using an option -o platformid=efi which is unrecognised, the setup is on line 41. Thanks for looking and any /hints/smack up the side of the head/ are welcome. I thought the general rule was you could build version X.* from version (X-1).* newfs_msdos: trim 25 sectors to adjust to a multiple of 63 /dev/md0: 1532 sectors in 1532 FAT12 clusters (512 bytes/cluster) BytesPerSec=512 SecPerClust=1 ResSectors=1 FATs=2 RootDirEnts=512 Sectors=1575 Media=0xf8 FATsecs=5 SecPerTrack=63 Heads=1 HiddenSecs=0 makefs: Unknown option `platformid' usage: makefs [-t fs-type] [-o fs-options] [-d debug-mask] [-B endian] [-S sector-size] [-M minimum-size] [-m maximum-size] [-R roundup-size] [-s image-size] [-b free-blocks] [-f free-files] [-F mtree-specfile] [-xZ] [-N userdb-dir] [-T <timestamp/file>] image-file directory | manifest [extra-directory ...] sh /work/11.2-releng/src/release/amd64/make-memstick.sh disc1 memstick.img Calculated size of `memstick.img.part': 686432256 bytes, 11997 inodes Extent size set to 8192 memstick.img.part: 654.6MB (1340688 sectors) block size 8192, fragment size 1024 using 13 cylinder groups of 54.52MB, 6979 blks, 1024 inodes. super-block backups (for fsck -b #) at: 144, 111808, 223472, 335136, 446800, 558464, 670128, 781792, 893456, 1005120, 1116784, 1228448, 1340112, Populating `memstick.img.part' Image `memstick.img.part' complete mkimg: invalid option -- a mkimg: error: unknown option usage: mkimg <options> options: --formats - list image formats --schemes - list partition schemes --version - show version information -b <file> - file containing boot code -c <num> - capacity (in bytes) of the disk -f <format> -o <file> - file to write image into -p <partition> -s <scheme> -v - increase verbosity -y - [developers] enable unit test -H <num> - number of heads to simulate -P <num> - physical sector size -S <num> - logical sector size -T <num> - number of tracks to simulate formats: qcow - QEMU Copy-On-Write, version 1 qcow2 - QEMU Copy-On-Write, version 2 raw - Raw Disk vhd - Virtual Hard Disk vhdf - Fixed Virtual Hard Disk vmdk - Virtual Machine Disk schemes: apm - Apple Partition Map bsd - BSD disk label ebr - Extended Boot Record gpt - GUID Partition Table mbr - Master Boot Record pc98 - PC-9800 disk partitions vtoc8 - SMI VTOC8 disk labels partition specification: <t>[/<l>]::<size> - empty partition of given size <t>[/<l>]:=<file> - partition content and size are determined by the named file <t>[/<l>]:-<cmd> - partition content and size are taken from the output of the command to run - - unused partition entry where: <t> - scheme neutral partition type <l> - optional scheme-dependent partition label *** Error code 64 Stop. make[1]: stopped in /work/11.2-releng/src/release *** Error code 1 Stop. make: stopped in /work/11.2-releng/src/release mkdir -p /work/freebsd-generic cp -a ftp /work/freebsd-generic/ cp -p disc1.iso /work/freebsd-generic/FreeBSD-11.2-RELEASE-p2-amd64-disc1.iso cp: disc1.iso: No such file or directory *** Error code 1 Stop. make: stopped in /work/11.2-releng/src/release root@Green:~ #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFPNf58PBLkm7zjF-i=y01pK1JKom=WVrAfMn8pfjURKXU1zMw>