Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2016 20:10:22 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        sjg@FreeBSD.org
Cc:        Mark Millard <markmi@dsl-only.net>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: 11.0 -r301815 to -r310873 using WITH_META_MODE=yes : an empty filename failure
Message-ID:  <ace89886-e99e-8fc4-93d2-dc3c7e22acb7@FreeBSD.org>
In-Reply-To: <65e079c5-6b69-1b94-6bc8-ee32269cc98c@FreeBSD.org>
References:  <85435AE2-3F2C-4330-9751-729D99716A8C@dsl-only.net> <65e079c5-6b69-1b94-6bc8-ee32269cc98c@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)
--d151cTHJ06EGLHGB7NAeR7FW1kftGI9IG
Content-Type: multipart/mixed; boundary="J32D0TWoq2G66l8WCkGsEX6FSEqIDmOX1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: sjg@FreeBSD.org
Cc: Mark Millard <markmi@dsl-only.net>,
 FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <ace89886-e99e-8fc4-93d2-dc3c7e22acb7@FreeBSD.org>
Subject: Re: 11.0 -r301815 to -r310873 using WITH_META_MODE=yes : an empty
 filename failure
References: <85435AE2-3F2C-4330-9751-729D99716A8C@dsl-only.net>
 <65e079c5-6b69-1b94-6bc8-ee32269cc98c@FreeBSD.org>
In-Reply-To: <65e079c5-6b69-1b94-6bc8-ee32269cc98c@FreeBSD.org>

--J32D0TWoq2G66l8WCkGsEX6FSEqIDmOX1
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 6/13/16 7:56 PM, Bryan Drewery wrote:
> On 6/13/2016 7:26 PM, Mark Millard wrote:
>> [The following is after the svnltie update -r301873 /usr/src .]
>>
>> For the following in a amd64 rebuild on amd64 (a WITH_META_MODE=3Dyes =
buidlworld buidlkernel just after a without meta mode buildworld buildker=
nel [no install]). . .
>>
>>> # more sys/modules/drm2/radeonkmsfw/Makefile.inc=20
>>> # $FreeBSD: head/sys/modules/drm2/radeonkmsfw/Makefile.inc 254885 201=
3-08-25 19:37:15Z dumbbell $
>>> #
>>> # Common rules for building firmware.  Note this gets auto-included
>>> # by the subdir Makefile's as a consequence of included bsd.kmod.mk.
>>>
>>> _FIRM=3D  ${IMG}.bin
>>>
>>> CLEANFILES+=3D    ${_FIRM}
>>>
>>> FIRMWS=3D ${_FIRM}:${KMOD}
>>>
>>> #
>>> # Note that a license ack is not needed for iwn.
>>> #
>>> #FIRMWARE_LICENSE=3D
>>>
>>> ${_FIRM}: ${.CURDIR}/../../../../contrib/dev/drm2/radeonkmsfw/${_FIRM=
}.uu
>>>         uudecode -p $? > ${.TARGET}
>>
>>
>> I just had . . .
>> (Note the uudecode line in the .meta file, the reference to stdin, and=
 the resultant "begin" line error.)
>>
>>> # more /usr/obj/clang/amd64.amd64/usr/src/sys/GENERIC-NODEBUG/modules=
/usr/src/sys/modules/drm2/radeonkmsfw/ARUBA_me/ARUBA_me.bin.meta=20
>>> # Meta data file /usr/obj/clang/amd64.amd64/usr/src/sys/GENERIC-NODEB=
UG/modules/usr/src/sys/modules/drm2/radeonkmsfw/ARUBA_me/ARUBA_me.bin.met=
a
>>> CMD uudecode -p  > ARUBA_me.bin
>>> CWD /usr/obj/clang/amd64.amd64/usr/src/sys/GENERIC-NODEBUG/modules/us=
r/src/sys/modules/drm2/radeonkmsfw/ARUBA_me
>>> TARGET ARUBA_me.bin
>>> -- command output --
>>> uudecode: stdin: missing or bad "begin" line
>>> *** Error code 1
>>>
>>> -- filemon acquired metadata --
>>> # filemon version 5
>>> # Target pid 7146
>>> # Start 1465867565.855820
>>> V 5
>>> E 7163 /bin/sh
>>> R 7163 /etc/libmap.conf
>>> R 7163 /var/run/ld-elf.so.hints
>>> R 7163 /lib/libedit.so.7
>>> R 7163 /lib/libc.so.7
>>> R 7163 /lib/libncursesw.so.8
>>> F 7163 7164
>>> W 7164 ARUBA_me.bin
>>> E 7164 /usr/bin/uudecode
>>> R 7164 /etc/libmap.conf
>>> R 7164 /var/run/ld-elf.so.hints
>>> R 7164 /lib/libc.so.7
>>> X 7164 1 0
>>> X 7163 1 0
>>> # Stop 1465867565.868045
>>> # Bye bye
>>
>>
>=20
> I don't know what's going on here at first glance but it doesn't look
> related to META_MODE.  I'm not too familiar with $?.
>=20

Actually it does seem to be meta-missing bug since $? (.OODATE) is empty
and yet it is requiring a .meta file.

Easy way to recreate it:

cd sys/modules/drm2/radeonkmsfw/ARUBA_me
make cleandir
make obj
make
make -dM # it notes that ARUBA_me.bin cannot be compared due to .OODATE
rm $(make whereobj)/ARUBA_me.bin.meta
make -dM

> /usr/obj/root/git/freebsd/sys/modules/drm2/radeonkmsfw/ARUBA_me/ARUBA_m=
e.bin.meta: required but missing
> Building /usr/obj/root/git/freebsd/sys/modules/drm2/radeonkmsfw/ARUBA_m=
e/ARUBA_me.bin
>=20
> load: 17.72  cmd: uudecode 86777 [ttyin] 9.98r 0.00u 0.00s 0% 2052k




--=20
Regards,
Bryan Drewery


--J32D0TWoq2G66l8WCkGsEX6FSEqIDmOX1--

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

iQEcBAEBCgAGBQJXX3WfAAoJEDXXcbtuRpfPB80H/2KLCUl2idyz8Kv9QcX1RPef
Z6ysn4cq0UlxkdnjzHrGHOvNKNrJQhMQoLPdyNswfskKIpTT94oYt++Bklp9C4Gp
0mXrjEvdKQVxzOsSxIgW/a0oUTBrWrnXxdNiO00+ACn23+KsupMgB8qifrVC+CYp
TSs8waHpdVq8uLJIOgg+Blk4S7nBZ0L1wQjccaLzRFLcaeM99ajuJHBvP60d2y+w
9thpoQSHTJrB+ji4BWzA6ilmsQTVEW2UMjtRIXCwbiApF1c9v+lcMfP55UmpIpeE
A9iwmdVgVkJGIa7BwBlhhRShJd8rkzqtLnCkWJ5DPBg9d4jurDoltBolfsPTP5o=
=IM/T
-----END PGP SIGNATURE-----

--d151cTHJ06EGLHGB7NAeR7FW1kftGI9IG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ace89886-e99e-8fc4-93d2-dc3c7e22acb7>