From owner-freebsd-ports@freebsd.org Sun Sep 22 17:00:45 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 210511270EA for ; Sun, 22 Sep 2019 17:00:45 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46btxm6Scwz3yyk; Sun, 22 Sep 2019 17:00:44 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [10.0.0.39] (c-73-26-3-98.hsd1.nm.comcast.net [73.26.3.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id B02FA1B703F; Sun, 22 Sep 2019 10:01:06 +0000 (UTC) Subject: Re: qemu error on startup To: Jan Beich , freebsd-ports@freebsd.org References: <20190922103148.GM41568@bastion.zyxst.net> From: Sean Bruno Autocrypt: addr=sbruno@freebsd.org; prefer-encrypt=mutual; keydata= mQENBFk+0UEBCADaf4bgxxKvMOhRV5NPoGWRCCGm49d6+1VFNlQ77WsY/+Zvf95TPULdRlnG w648KfxWt7+O3kdKhdRwnqlXWC7zA2Qt0dRE1yIqOGJ4jp4INvp/bcxWzgr0aoKOjrlnfxRV bh+s0rzdZt6TsNL3cVYxkC8oezjaUkHdW4mFJU249U1QJogkF8g0FeKNfEcjEkwJNX6lQJH+ EzCWT0NCk6J+Xyo+zOOljxPp1OUfdvZi3ulkU/qTZstGVWxFVsP8xQklV/y3AFcbIYx6iGJ4 5L7WuB0IWhO7Z4yHENr8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/H0UCK7xPOzC/aeUC4oygDQKAfkkNbCNTo3+A qDjBRA8qx0e9a/QjDL+RFgD4L5kLT4tToY8T8HaBp8h03LBfk510IaI8oL/Jg7vpM3PDtJMW tUi2H+yNFmL3NfM2oBToWKLFsoP54f/eeeImrNnrlLjLHPzqS+/9apgYqX2Jwiv3tHBc4FTO GuY8VvF7BpixJs8Pc2RUuCfSyodrp1YG1kRGlXAH0cqwwr0Zmk4+7dZvtVQMCl6kS6q1+84q JwtItxS2eXSEA4NO0sQ3BXUywANh Message-ID: Date: Sun, 22 Sep 2019 11:00:17 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GHG8eOCDuBtXgSvnUQyAajkeMkUcmTS9L" X-Rspamd-Queue-Id: 46btxm6Scwz3yyk X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-2.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; ASN(0.00)[asn:36236, ipnet:199.102.76.0/22, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Sep 2019 17:00:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GHG8eOCDuBtXgSvnUQyAajkeMkUcmTS9L Content-Type: multipart/mixed; boundary="EzPNgRpl8mVO3XVah9DqRGBwDXg6MQwia" --EzPNgRpl8mVO3XVah9DqRGBwDXg6MQwia Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2019-09-22 07:52, Jan Beich wrote: > tech-lists writes: >=20 >> Hello, >> >> context: 12.1-PRERELEASE r352514 amd64 >> qemu-user-static-2.11.50.g20190730 >> >> I have a rc.conf line like this: >> qemu_user_static_enable=3DYES >> >> when my machine boots, I see this before the login prompt: >> >> /etc/rc: interpreter /usr/local/bin/qemu-riscv64-static not found, can= not >> register.=20 >> Yes, it's not found (because it's not there) but the issue for me is >> why it's looking for riscv64 in the first place >=20 > I also see this. r507618 says "- add qemu-user-static redirection for > riscv64, no support, yet.", so the current behavior is expected. > Maybe the error should be hidden behind non-default rc_info=3DYES e.g.,= >=20 > --- emulators/qemu-sbruno/Makefile~ > +++ emulators/qemu-sbruno/Makefile > @@ -3,6 +3,7 @@ > =20 > PORTNAME=3D qemu > PORTVERSION=3D 2.11.50.g20190730 > +PORTREVISION=3D 1 > CATEGORIES=3D emulators > PKGNAMESUFFIX?=3D -sbruno > DIST_SUBDIR=3D qemu/${PORTVERSION} > diff --git emulators/qemu-sbruno/files/qemu_user_static.in emulators/qe= mu-sbruno/files/qemu_user_static.in > index 4022421f8963..52d690c79f54 100644 > --- emulators/qemu-sbruno/files/qemu_user_static.in > +++ emulators/qemu-sbruno/files/qemu_user_static.in > @@ -42,7 +42,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x= ff\xff\xfe\xff\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register armv6 interpreter styled 'arm' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}arm${QEMU_SUFFIX} > @@ -52,7 +52,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x= ff\xff\xfe\xff\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register armv7 interpreter styled 'arm' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}arm${QEMU_SUFFIX} > @@ -62,7 +62,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x= ff\xff\xfe\xff\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register aarch64 interpreter styled 'aarch64' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}aarch64${QEMU_SUFFIX} > @@ -72,7 +72,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x= ff\xff\xfe\xff\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register mips interpreter styled 'mips' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}mips${QEMU_SUFFIX} > @@ -82,7 +82,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xf= f\xff\xff\xfe\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register mipsle interpreter styled 'mipsel' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}mipsel${QEMU_SUFFIX} > @@ -92,7 +92,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xf= f\xff\xff\xfe\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register mips64 interpreter styled 'mips64' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}mips64${QEMU_SUFFIX} > @@ -102,7 +102,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x= ff\xff\xff\xfe\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register powerpc interpreter styled 'ppc' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}ppc${QEMU_SUFFIX} > @@ -112,7 +112,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xf= f\xff\xff\xfe\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register powerpc64 interpreter styled 'ppc64' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}ppc64${QEMU_SUFFIX} > @@ -122,7 +122,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xf= f\xff\xff\xfe\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register riscv64 interpreter styled 'riscv64' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}riscv64${QEMU_SUFFIX} > @@ -132,7 +132,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xf= f\xff\xfe\xff\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > # register sparc64 interpreter styled 'sparc64' > interpreter=3D${QEMU_DIR}/${QEMU_PREFIX}sparc64${QEMU_SUFFIX} > @@ -142,7 +142,7 @@ list_cmd=3D"${BINMISCCTL} list" > --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xf= f\xff\xff\xfe\xff\xff" \ > --size 20 --set-enabled > else > - echo "$0: interpreter ${interpreter} not found, cannot register." > + info "interpreter ${interpreter} not found, cannot register." > fi > } > =20 > @@ -159,6 +159,6 @@ list_cmd=3D"${BINMISCCTL} list" > ${BINMISCCTL} remove powerpc64 > ${BINMISCCTL} remove riscv64 > ${BINMISCCTL} remove sparc64 > -} > +} 2>/dev/null > =20 > run_rc_command "$1" >=20 It is safe to ignore this error for now. We are testing a riscv64 interpreter at this time and will update the port once that's in the git repo. sean --EzPNgRpl8mVO3XVah9DqRGBwDXg6MQwia-- --GHG8eOCDuBtXgSvnUQyAajkeMkUcmTS9L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAl2HqKFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /LbrFwf/ZjY3zrKEnw7m9zBj4Y7ozM/KMlwINTieX2mhcpBocl/qcg1anOXifbMq +a97O175J3tMhBx28xQALjnQytMyucsKZz87bjr9Afpw21i5yBF5da57IaIIoqDl y2zp3HGMtj15Szh2HkwVXX2SmRPvgpjOrFhJLA3LipgHCj1psiQkVI6r2LLv/rXh XQ/yhKCk7AxIug+Pfbv7wouuiO5Y6oQBw1il8oI8JJOEcFcXM9z3cEoJGmBOlK12 zRILqWLwpLcHfqwh1p6CANVeixN09qkdQyNGU3/T0jj4MubjiKJr+iooGTji+QEB 54FzL98HZYWWvGxD3qWFuP9x5Txqpw== =1Vuh -----END PGP SIGNATURE----- --GHG8eOCDuBtXgSvnUQyAajkeMkUcmTS9L--