From owner-freebsd-ports-bugs@freebsd.org Sat May 4 08:16:17 2019 Return-Path: Delivered-To: freebsd-ports-bugs@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 9EA961585B26 for ; Sat, 4 May 2019 08:16:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 388A37660B for ; Sat, 4 May 2019 08:16:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EDA7D1585B23; Sat, 4 May 2019 08:16:16 +0000 (UTC) Delivered-To: ports-bugs@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 C9DA51585B22 for ; Sat, 4 May 2019 08:16:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 669BF76607 for ; Sat, 4 May 2019 08:16:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AD7421929F for ; Sat, 4 May 2019 08:16:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x448GF3A035815 for ; Sat, 4 May 2019 08:16:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x448GFdP035814 for ports-bugs@FreeBSD.org; Sat, 4 May 2019 08:16:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237746] emulators/qemu-user-static: exits with status 127 Date: Sat, 04 May 2019 08:16:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sbruno@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 May 2019 08:16:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237746 Bug ID: 237746 Summary: emulators/qemu-user-static: exits with status 127 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sbruno@FreeBSD.org Reporter: d8zNeCFG@aon.at Assignee: sbruno@FreeBSD.org Flags: maintainer-feedback?(sbruno@FreeBSD.org) Summary: An amd64 and an armv6 installation running HEAD have been updated = from r343663 to r346961; now, the armv6 installation cannot be executed any more using qemu-arm-static. This used to work before. Scenario: - VirtualBox client running head (13.0-CURRENT FreeBSD 13.0-CURRENT #0 r346= 961M amd64) (host running 12.0-RELEASE-p3 amd64) - (everything below refers to what is happening in the client which, apart = from being a VM, works like a normal host) - Upgraded from r343663 to r346961 using make buildworld/buildkernel, make installkernel/installworld, mergemaster - Rebuilt all ports, amongst them qemu-user-static - In a separate subtree (/d/rpi-b) there exists a complete FreeBSD armv6 installation for a RPI-B target (this can be used for netbooting a physical Raspberry Pi B+, but that is of no concern here) - Upgraded this RPI-B installation just like the native amd64 install from r343663 to r346961 using make buildworld/buildkernel, make installkernel/installworld, mergemaster using the appropriate cross-compila= tion flags - /usr/local/etc/rc.d/qemu_user_static is enabled, resulting in the correct binmiscctl - /usr/local/bin/qemu-arm-static has been copied to /d/rpi-b/usr/local/bin/qemu-arm-static - Trying to execute chroot /d/rpi-b /bin/zsh -l Result: - The chroot returns with exit status 127 and no further output - HOWEVER, a very few times the zsh executed, but then any further commands executed inside it immediately returned with exit status 127 and no further output Expected result: - The chroot starts the armv6 zsh binary and it is possible to continue in = the chrooted environment - Note that this worked in r343663 (i.e., before upgrading the systems and recompiling all ports) Scenario (continued): - The armv6 ports are not yet recompiled (including zsh) - Therefore instead try to execute chroot /d/rpi-b /bin/sh Result (continued): - Same as above, the chroot returns immediately with exit status 127 and no further output Notes: - kern.elf{32,64}.aslr.enable are 0 -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=