From owner-freebsd-toolchain@freebsd.org Tue Sep 11 04:35:17 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9441310A891A for ; Tue, 11 Sep 2018 04:35:17 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F8BE84870 for ; Tue, 11 Sep 2018 04:35:17 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: by mail-it0-x229.google.com with SMTP id p129-v6so31695996ite.3 for ; Mon, 10 Sep 2018 21:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratnaling-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=PpoQ0oebWvmyNSuSj2CviVsa5TYQGlKINSljL0dBRHA=; b=FGL66BUqxM+T3OzyfaItjySxsW8SWAUI4GqMOXY9uhYoxL8ssoaUq0aSbjevZzj+Yh EYQfrq4+ybBHh1vzHqhXMJ+gYkHS3RtZHG4aOqC1IGgwr4Caz8g2UM5/XDyiZBffeExL 5TbpwFAUZejh9UYxfYVoqYuqLpb3yEzo2uA5DXljM6jHw/WFcHkScezuuIV0CgIRYxKt ro/WUNXQgz83LxeGLJOy8VXLV+s57MLEDoX3sklUCW6VehbsJcxNWBLBll/EY6uJu2ou P+Q7O3VxaRZzJsNOCv8wuONaACle4p9XwImL4HcquIbhps+qE3LiZaLrziPleOuOTyu6 S2pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PpoQ0oebWvmyNSuSj2CviVsa5TYQGlKINSljL0dBRHA=; b=ox4lWE3VAD+tceieDsldYVu0WtHRDzF+1hwoLLfK0I+g20DnsVQoDGpbfAf9ieKLtB 9UuaFfPxpEMyOS9jLh+h1a6nvTrHDcZPGluTuE7aFKzUpkNK1h8/aw9jLd/c+duN0E06 VAD71y+Q7OzvQa2U3pV2p15nQhidgs8HpCJKG6Y/SI7sIsoXiPbukmI9B5JL86qiTnn3 /RMbIsNeX7P/08Kj1Y015NTADVonDugArzWF4R71aDQ0WTFPKba58al5ACRFIQGzmG4n Vs05v8mHFMVnUh0x/axZxqK1dP7mibfR2UbvCGBgZ9jtHonTNmIgypLloW/YgxFH34mA JMLA== X-Gm-Message-State: APzg51CWp9HRwX+e5wIpwy1Vy+BPlNqX4Qho2TvnVW7V958Zs4M7XuLQ AGMjF8HQcA1ZaDdn2jvZ4vvFXNG9CkhoKuUPIWdOdN6oHhqZjw== X-Google-Smtp-Source: ANB0VdaFf9HLYP1Ugxt6vureNwKZiC7qEZYv/Il8bsWgdsUI2p1dmUETlhtp5JdCt++f/LW0ypEV6sewGL8TxtyfFQ0= X-Received: by 2002:a24:67cf:: with SMTP id u198-v6mr20417656itc.149.1536640515994; Mon, 10 Sep 2018 21:35:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:d104:0:0:0:0:0 with HTTP; Mon, 10 Sep 2018 21:35:15 -0700 (PDT) From: Lee Brown Date: Mon, 10 Sep 2018 21:35:15 -0700 Message-ID: Subject: is make release broken? To: FreeBSD Toolchain Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2018 04:35:17 -0000 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 ] 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: --formats - list image formats --schemes - list partition schemes --version - show version information -b - file containing boot code -c - capacity (in bytes) of the disk -f -o - file to write image into -p -s -v - increase verbosity -y - [developers] enable unit test -H - number of heads to simulate -P - physical sector size -S - logical sector size -T - 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: [/]:: - empty partition of given size [/]:= - partition content and size are determined by the named file [/]:- - partition content and size are taken from the output of the command to run - - unused partition entry where: - scheme neutral partition type - 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:~ #