From owner-freebsd-current@freebsd.org Sun Nov 18 23:37:54 2018 Return-Path: Delivered-To: freebsd-current@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 AAD241128B64 for ; Sun, 18 Nov 2018 23:37:54 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C57CB76698; Sun, 18 Nov 2018 23:37:52 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:references:subject :subject:from:from; s=201508; t=1542584270; bh=xQDlAPIXOTH/SJbp2 DoXv3KArdXKvvT5cvrF5sCOzLQ=; b=h+uxiFCGwg8lvgpKJcmgO3Kgy7+wQYTwl xrBJrfZE5W4KTBkY9ptJ1XjBX67EiDZUyKsCnhr7Ldq/WS9+NqYiqP0vaPgCzf+U CEnxargiiwM3iB6KL03x0DiZIPA8FA/41a+ekt8kkiumqzRQ2HsHfCgb94VPWEtZ HFLKzJNeEw= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 4936B3DD5; Sun, 18 Nov 2018 18:37:50 -0500 (EST) From: Michael Butler Subject: building release images broken? To: freebsd-current@freebsd.org Cc: emaste@freebsd.org References: <0d00d29f-5ff5-8507-d8ae-fe8b32ef3513@protected-networks.net> Openpgp: preference=signencrypt Message-ID: <4c71eb4d-376b-20aa-d46b-8383e77a8926@protected-networks.net> Date: Sun, 18 Nov 2018 18:37:49 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <0d00d29f-5ff5-8507-d8ae-fe8b32ef3513@protected-networks.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: C57CB76698 X-Spamd-Result: default: False [-3.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[protected-networks.net]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[protected-networks.net]; DKIM_TRACE(0.00)[protected-networks.net:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[sarah.protected-networks.net,mail.protected-networks.net,sarah.protected-networks.net,mail.protected-networks.net]; NEURAL_HAM_SHORT(-0.91)[-0.914,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; IP_SCORE(-1.65)[ipnet: 2001:470::/32(-4.55), asn: 6939(-3.58), country: US(-0.09)]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2018 23:37:54 -0000 On 11/17/18 5:35 PM, Michael Butler wrote: > Any clues as to what's broken here? I'm trying to build a CD and/or DVD > image. > > My tree is at SVN r340525. > > -------------------------------------------------------------- >>>> Kernel build for GENERIC completed on Sat Nov 17 22:19:48 UTC 2018 > -------------------------------------------------------------- > make -C /usr/src/release obj > make -C /usr/src/release ftp cdrom dvdrom memstick.img mini-memstick.img > `ftp' is up to date. > sh /usr/src/release/amd64/mkisoimages.sh -b 13_0_CURRENT_amd64_CD > disc1.iso disc1 > 200+0 records in > 200+0 records out > 819200 bytes transferred in 0.003692 secs (221856674 bytes/sec) > newfs_msdos: cannot get number of sectors per track: Operation not supported > newfs_msdos: cannot get number of heads: Operation not supported > /dev/md0: 1557 sectors in 1557 FAT12 clusters (512 bytes/cluster) > BytesPerSec=512 SecPerClust=1 ResSectors=1 FATs=2 RootDirEnts=512 > Sectors=1600 Media=0xf8 FATsecs=5 SecPerTrack=63 Heads=1 HiddenSecs=0 > mkdir: efi: File exists > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src/release > *** Error code 1 > > Stop. > make: stopped in /usr/src/release Answering my own question .. seems there's one 'mkdir' without the '-p' option .. this fixes it .. *** release/amd64/mkisoimages.sh~ Mon Oct 22 16:41:26 2018 --- release/amd64/mkisoimages.sh Sun Nov 18 11:42:09 2018 *************** *** 46,52 **** dd if=/dev/zero of=efiboot.img bs=4k count=200 device=`mdconfig -a -t vnode -f efiboot.img` newfs_msdos -F 12 -m 0xf8 /dev/$device ! mkdir efi mount -t msdosfs /dev/$device efi mkdir -p efi/efi/boot cp -p "$BASEBITSDIR/boot/loader.efi" efi/efi/boot/bootx64.efi --- 46,52 ---- dd if=/dev/zero of=efiboot.img bs=4k count=200 device=`mdconfig -a -t vnode -f efiboot.img` newfs_msdos -F 12 -m 0xf8 /dev/$device ! mkdir -p efi mount -t msdosfs /dev/$device efi mkdir -p efi/efi/boot cp -p "$BASEBITSDIR/boot/loader.efi" efi/efi/boot/bootx64.efi