Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 13:14:32 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Sean Bruno <sbruno@freebsd.org>, Adrian Chadd <adrian.chadd@gmail.com>
Cc:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: metalog -> makefs is broken again in -HEAD
Message-ID:  <270be6c4-16f9-3b89-c3b3-5983ec85834f@FreeBSD.org>
In-Reply-To: <4c28236a-f9ca-4601-336f-0829842b6d1a@freebsd.org>
References:  <CAJ-VmoknWRf0bkfksp61pamKsLky_b=indGogS%2BJtFrFa%2BXaFw@mail.gmail.com> <78463d96-4dc3-b9a1-4793-05d6c6a76537@freebsd.org> <CAJ-Vmok1weKRsS4F_QWJP5-h%2BTBjAqQE2=PxSFStjh_VZqPF6w@mail.gmail.com> <b3a107fd-80d5-20aa-1f2b-ff60a75b8f94@freebsd.org> <8b012527-e76c-060d-be5b-547deca5cb07@FreeBSD.org> <01069203-3566-12f7-993b-10e8e43be1ac@freebsd.org> <0dbec794-9dc2-4e72-6114-1e4b0968dae5@FreeBSD.org> <60a8da58-dbd5-dd26-6047-745bcf6a21f4@freebsd.org> <894b4841-166c-422f-9fe8-50ed261d76bb@FreeBSD.org> <1836ae28-b510-06dd-b83f-d08060cf87ac@freebsd.org> <8478b8aa-b8cf-7383-9923-249fced3dac3@FreeBSD.org> <4c28236a-f9ca-4601-336f-0829842b6d1a@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--BVfxOd82Br4ohdeUrfdNe8OoWXivqHut9
Content-Type: multipart/mixed; boundary="buAH4Ihxbk458f658wbfbdL3sqPkPwruG"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Sean Bruno <sbruno@freebsd.org>, Adrian Chadd <adrian.chadd@gmail.com>
Cc: "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Message-ID: <270be6c4-16f9-3b89-c3b3-5983ec85834f@FreeBSD.org>
Subject: Re: metalog -> makefs is broken again in -HEAD
References: <CAJ-VmoknWRf0bkfksp61pamKsLky_b=indGogS+JtFrFa+XaFw@mail.gmail.com>
 <78463d96-4dc3-b9a1-4793-05d6c6a76537@freebsd.org>
 <CAJ-Vmok1weKRsS4F_QWJP5-h+TBjAqQE2=PxSFStjh_VZqPF6w@mail.gmail.com>
 <b3a107fd-80d5-20aa-1f2b-ff60a75b8f94@freebsd.org>
 <8b012527-e76c-060d-be5b-547deca5cb07@FreeBSD.org>
 <01069203-3566-12f7-993b-10e8e43be1ac@freebsd.org>
 <0dbec794-9dc2-4e72-6114-1e4b0968dae5@FreeBSD.org>
 <60a8da58-dbd5-dd26-6047-745bcf6a21f4@freebsd.org>
 <894b4841-166c-422f-9fe8-50ed261d76bb@FreeBSD.org>
 <1836ae28-b510-06dd-b83f-d08060cf87ac@freebsd.org>
 <8478b8aa-b8cf-7383-9923-249fced3dac3@FreeBSD.org>
 <4c28236a-f9ca-4601-336f-0829842b6d1a@freebsd.org>
In-Reply-To: <4c28236a-f9ca-4601-336f-0829842b6d1a@freebsd.org>

--buAH4Ihxbk458f658wbfbdL3sqPkPwruG
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 8/19/16 1:11 PM, Sean Bruno wrote:
>>>
>>> --- full script output ---
>>> + X_BASEDIR=3D../freebsd-wifi-build/build/bin/../
>>> + INSTALL_PROG=3D'install -U -M
>>> /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp -D
>>> /home/sbruno/bsd/fbsd_head/../mfsroot/malta'
>>> + echo '*** Deleting old file system..'
>>> *** Deleting old file system..
>>> + install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.t=
mp
>>> -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -d
>>> /home/sbruno/bsd/fbsd_head/../mfsroot/malta
>>> install: open /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp=
:
>>> No such file or directory
>>
>> My guess is that at this point in the install the directory for
>> METALOG.malta.tmp is likely missing and not created yet.  In the faili=
ng
>> command -d is being used to create mfsroot/malta.  -d creates parents,=

>> so perhaps mfsroot/ is not present yet either.
>>
>=20
> Hrm ... I added a "ls -ld" to the script immediately preceding the
> install directive, it appears to be there.
>=20
>=20
>=20
> + INSTALL_PROG=3D'install -U -M
> /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp -D
> /home/sbruno/bsd/fbsd_head/../mfsroot/malta'
> + echo '*** Deleting old file system..'
> *** Deleting old file system..
> + ls -ld /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp
> -rw-r--r--  1 sbruno  sbruno  203 Aug 19 13:45
> /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp
> + install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp=

> -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -d
> /home/sbruno/bsd/fbsd_head/../mfsroot/malta

There seems to be no error now?

> + chflags -R noschg /home/sbruno/bsd/fbsd_head/../mfsroot/malta
> + rm -rf /home/sbruno/bsd/fbsd_head/../mfsroot/malta
> + rm -rf /home/sbruno/bsd/fbsd_head/../tmp/malta
> + echo '*** Creating new filesystem...'
> *** Creating new filesystem...
> + mkdir -p /home/sbruno/bsd/fbsd_head/../mfsroot/malta
> + mkdir -p /home/sbruno/bsd/fbsd_head/../tmp/malta
> + rsync -arH /home/sbruno/bsd/fbsd_head/../root/mips/
> /home/sbruno/bsd/fbsd_head/../mfsroot/malta
> + echo '/dev/ada0 / ufs rw 1 1'
> + install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp=

> -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -m 644 -o root -g wheel
> /home/sbruno/bsd/fbsd_head/../tmp/malta/fstab
> /home/sbruno/bsd/fbsd_head/../mfsroot/malta/etc/
> + echo 'autosize_enable=3D"YES"'
> + echo 'autosize_rootfs=3D"/dev/ada0"'
> + echo 'sshd_enable=3D"YES"'
> + install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp=

> -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -m 644 -o root -g wheel
> /home/sbruno/bsd/fbsd_head/../tmp/malta/rc.conf
> /home/sbruno/bsd/fbsd_head/../mfsroot/malta/etc/
> + install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp=

> -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -m 755 -o root -g wheel
> ../freebsd-wifi-build/build/bin/..//files.full/autosize
> /home/sbruno/bsd/fbsd_head/../mfsroot/malta/etc/rc.d/
> + ../freebsd-wifi-build/build/bin/filter.pl
> /home/sbruno/bsd/fbsd_head/../root/mips/METALOG
> /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp
> /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.mfsroot
> + echo '**** Done.'
> **** Done.
> *** Target Done.
> *** Target              : fullfsimage
> *** Running makefs to build image ..
> *** from /home/sbruno/bsd/fbsd_head/../mfsroot/malta ..
> makefs: ./usr/local/bin: missing directory in specification
> makefs: failed at line 26660 of the specification
>=20
>=20


--=20
Regards,
Bryan Drewery


--buAH4Ihxbk458f658wbfbdL3sqPkPwruG--

--BVfxOd82Br4ohdeUrfdNe8OoWXivqHut9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJXt2ipAAoJEDXXcbtuRpfPBvMH/2aV8FIVYIC/QzTvd0lhD4yl
5bnakZHJYUZ3m9YS6xAU9kH0B97mAwayWKl6UPQ+6RBLFJHhdtT3mPSZHY+LxVeq
JgItdA+CdWdZfLn3M4zel9TymLwyDjvEeO8Jv18a4k8wWyAW/W5Rbhj/bH5ZU3Ax
fcajyY0KQQaQPn/OSJQZJbzIqSaINSOyoYfyAgItVIPzttGeY6T+rtApQHGes4Rd
n2xM3aBWigx3a2UvsSZcXslibcn6oqKYqlWRFeWNtW+EZV6SkmYiUBhQbH5xzQnK
RwRj9zNH0UpCbpLM74ckToCTTGm79Nal7VvrSacrQPn9yFc0wRggZyWiePRyEac=
=5G3l
-----END PGP SIGNATURE-----

--BVfxOd82Br4ohdeUrfdNe8OoWXivqHut9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?270be6c4-16f9-3b89-c3b3-5983ec85834f>