From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Svante Signell Newsgroups: gmane.emacs.bugs Subject: bug#24857: Anybody needs help to set up a qemu VM for GNU/Hurd? Date: Thu, 08 Dec 2016 10:12:03 +0100 Organization: Home Message-ID: <1481188323.9077.79.camel@gmail.com> References: <94f4d6ff-a8fa-45c3-b15b-e4a4af04dca6@cs.ucla.edu> <1481151606.9077.59.camel@gmail.com> <03dd4752-ebf7-c36f-0f49-e255d1e649d0@cs.ucla.edu> Reply-To: svante.signell@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1481188398 27724 195.159.176.226 (8 Dec 2016 09:13:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2016 09:13:18 +0000 (UTC) Cc: 24857@debbugs.gnu.org, 25081@debbugs.gnu.org To: Paul Eggert , =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 08 10:13:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEulM-00065t-AV for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Dec 2016 10:13:12 +0100 Original-Received: from localhost ([::1]:45017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEulQ-0002Mi-9I for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Dec 2016 04:13:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEulH-0002MR-VY for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 04:13:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEulC-0000HB-UU for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 04:13:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45362) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cEulC-0000Gz-RR for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 04:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cEulC-000744-GL for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 04:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Svante Signell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2016 09:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24857 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24857-submit@debbugs.gnu.org id=B24857.148118832827091 (code B ref 24857); Thu, 08 Dec 2016 09:13:02 +0000 Original-Received: (at 24857) by debbugs.gnu.org; 8 Dec 2016 09:12:08 +0000 Original-Received: from localhost ([127.0.0.1]:60761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEukJ-00072t-Q5 for submit@debbugs.gnu.org; Thu, 08 Dec 2016 04:12:08 -0500 Original-Received: from mail-wj0-f196.google.com ([209.85.210.196]:35604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEukG-00072D-Az; Thu, 08 Dec 2016 04:12:04 -0500 Original-Received: by mail-wj0-f196.google.com with SMTP id he10so39285043wjc.2; Thu, 08 Dec 2016 01:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:reply-to:to:cc:date:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=OZI0t3nm8uXDlMXZT7PQvHvSWGE4vNEgcnM8sYaOvRs=; b=PNUCv0zG8+zjTlsxPV34h2PnzIbCIAfZXDMEFx3FsaXYKY7Csav1M65W6XwdZTBGa9 1qRihHiP6+fwJ8Obrp4cvLnCLBeBSLdltw4HysSVhFarJfAXyDptUefRsStUcnE53BKG 3g1dmeyOaGeZfQwNaTBv+giCt8mQUXyjC+pkrHeKQkTeO6JmSi7zrcXTmWTHonxBiysJ WiDLASbTyRCBv7glrurGmDA2an71TUGIqopuLR7Ouf1URtCSQ5DkJoEuwCS5qTgkf6fG aorAT1OU7xuvZyXYCilQ69UnDxUwMkfc2JRYMHzGSaSbInaO/C25okOTgXtqV7ENQpUf dQIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :in-reply-to:references:organization:mime-version :content-transfer-encoding; bh=OZI0t3nm8uXDlMXZT7PQvHvSWGE4vNEgcnM8sYaOvRs=; b=RJvtSuuHASql9D8tQ+AiRbP/uzguk3J0XxFfryj8+gBUBjqguG1Kkt03rWWws7K9Xg 6X2nyaFdvdeja3L70ThAflP8OTkcGmdn1AhnX8M2GV90BpgVrrp1oV6d68FwoKmUMs5k Fd/CbJ/a8aE9JGSquyPAR+6xg4enBjHRKVpLaH3oJ5wBSNXSAYd3a72XNoe1as0p5Zk+ z4nnMV7y80xtnzYORcz8+14XWQ4pr/VsmC76fRcbcFEEx9oM2LbwMQEJolYEz24nO1m+ kC6mtcmtK5IRN/YrdUKSE+bRBkEEL7XeUBq5lUNWkjGUbJfDRnEz81GI3En6gPV9Jdxc nQLA== X-Gm-Message-State: AKaTC0061Ud30wCBj4hYjoCuvFJKb3dJZWFXuiIl+kJ0/iD75FcpCsosVBAB5E30TF5cWA== X-Received: by 10.46.76.2 with SMTP id z2mr32825128lja.32.1481188318401; Thu, 08 Dec 2016 01:11:58 -0800 (PST) Original-Received: from G3620 (178-78-231-178.customers.ownit.se. [178.78.231.178]) by smtp.gmail.com with ESMTPSA id a79sm5391138lfe.48.2016.12.08.01.11.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Dec 2016 01:11:57 -0800 (PST) In-Reply-To: <03dd4752-ebf7-c36f-0f49-e255d1e649d0@cs.ucla.edu> X-Mailer: Evolution 3.18.1-1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126732 Archived-At: (Adding #24857 and Clement to the recipients list.) On Wed, 2016-12-07 at 16:45 -0800, Paul Eggert wrote: > On 12/07/2016 03:00 PM, Svante Signell wrote: > > Hi, adding emacs-devel to the recipients > > I'm not sure emacs-devel is worth bothering over all the details here, > so I'll drop it from the CC: list for now. We can send emacs-devel a > summary later as needed. OK! > > > > I normally use: > > qemu-system-x86_64 -enable-kvm -m 2048 -net nic,model=rtl8139 -net > > user,hostfwd=tcp::-:22 -drive > > cache=writeback,index=0,media=disk,file=.img > > Thanks, that wasn't obvious, I used that. Perhaps make it part of the > brief HOWTO? I'll propose that to people who can make these changes. > > This is expected, since qemu does not know exactly in what format the file > > is > > in. Maybe just ignore that warning for now? I (and others) do. > > > > I'm a fan of fixing warnings; otherwise I find that I stop paying > attention to them. Surely there's some option I can give to qemu to > suppress the warning, and that could be part of the HOWTO? I still haven't bothered to find out which option to pass to qemu. Maybe its useful to find out and add it to the HOWTO too. > > It might be easier to use the debian tools: > > I assume these commands need to be run as root on the guest. > > > apt-get update > > apt-get dist-upgrade > > These work, thanks. The latter takes a looong time. Perhaps this should > be written down too. Noted! > > apt-get build-dep emacs24/emacs25 I was too brief here: apt-get build-dep emacs24 apt-get build-dep emacs25 > This fails with 'Reading package lists... Done > E: Unable to find a source package for emacs24/emacs25'. I forged ahead > by running just "apt-get build-dep emacs25" but that failed with: > > E: Failed to fetch > http://httpredir.debian.org/debian/pool/main/libx/libxdmcp/libxdmcp-dev_1.1.2- > 1.1_hurd-i386.deb > Error reading from server. Remote end closed connection [IP: > 5.153.231.35 80] > E: Unable to fetch some archives, maybe run apt-get update or try with > --fix-missing? > E: Failed to process build dependencies > > I tried running "apt-get build-dep emacs25" again. This time it finished. Probably just a network glitch. > > apt-get source emacs24/emacs25 As above: apt-get source emacs24 apt-get source emacs25 > I don't want to do this, as I want to build from the master branch. I > did that, with plain 'configure; make'. So you built from the tarball, right? > Emacs built and eventually attempted to dump itself, and while it was > doing so, the operating system crashed. When I attempted to reboot, fsck > failed. I ran fsck -y by hand (took a while) and rebooted. When the OS > came back up, temacs was size-0, so I removed it and ran 'make' again. > This time it worked, in the sense that I can now run Emacs in a tty window. I've also successfully built different emacs tarballs and git repos. The problem is building again, or worse: to build a Debian package, which copies the whole emacs tree into three different build directories: build-x, build-nox, build- lucid, as well as rebuilding all *.elc files. See bug #24857, especially comments #86,89,92,95 of that bug, for more info where Clément Pit--Claudel did the same as you. > So, it sounds like we can declare victory against this bug, at least for > the master branch. At least, it worked for me, if you ignore the OS > crashing during the build. Possibly the crash was because I didn't > reboot after the 'apt-get dist-upgrade' (you didn't say to reboot, so I > didn't....). Sorry, I should have added after dist-upgrade especially when gnumach/hurd/glibc are updated.