From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#25081: Anybody needs help to set up a qemu VM for GNU/Hurd? Date: Wed, 7 Dec 2016 14:36:57 -0800 Organization: UCLA Computer Science Department Message-ID: <94f4d6ff-a8fa-45c3-b15b-e4a4af04dca6@cs.ucla.edu> References: <1480603974.27168.10.camel@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1481150293 14124 195.159.176.226 (7 Dec 2016 22:38:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2016 22:38:13 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 Cc: 25081@debbugs.gnu.org To: svante.signell@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 07 23:38:08 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 1cEkql-0002hv-QY for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Dec 2016 23:38:08 +0100 Original-Received: from localhost ([::1]:42711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEkqp-0005Kz-Pz for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Dec 2016 17:38:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEkqj-0005KR-Vz for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 17:38:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEkqg-0005GD-Rw for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 17:38:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cEkqg-0005G9-Nc for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 17:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cEkqg-0005nU-F3 for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 17:38:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <1480603974.27168.10.camel@gmail.com> Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Dec 2016 22:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25081 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25081-submit@debbugs.gnu.org id=B25081.148115022722223 (code B ref 25081); Wed, 07 Dec 2016 22:38:02 +0000 Original-Received: (at 25081) by debbugs.gnu.org; 7 Dec 2016 22:37:07 +0000 Original-Received: from localhost ([127.0.0.1]:60422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEkpm-0005mN-Pc for submit@debbugs.gnu.org; Wed, 07 Dec 2016 17:37:06 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEkpl-0005lu-H7 for 25081@debbugs.gnu.org; Wed, 07 Dec 2016 17:37:06 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5B234160111; Wed, 7 Dec 2016 14:36:59 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 4dv9TpX0kzW3; Wed, 7 Dec 2016 14:36:58 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4FDF5160112; Wed, 7 Dec 2016 14:36:58 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HE1_68-Sg2UP; Wed, 7 Dec 2016 14:36:58 -0800 (PST) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 35E5D160111; Wed, 7 Dec 2016 14:36:58 -0800 (PST) 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:126709 Archived-At: I tried to get a qemu VM running for GNU/Hurd on my platform (Fedora 24 x86-64), and did not succeed. The instructions in https://people.debian.org/~sthibault/hurd-i386/installer/cdimage/ talk about running "apt-get install qemu-kvm". Obviously this won't work on Fedora. I'm not a big fan of virtualization to be honest, but after messing with it a bit I found that the following Unix shell commands sort-of worked: sudo dnf install @virtualization qemu-kvm -net user,hostfwd=tcp:127.0.0.1:2222-:22 -net nic -drive file=debian-hurd-20160824.img,cache=writeback -m 1G The latter command outputs the somewhat scary-looking: WARNING: Image format was not specified for 'debian-hurd-20160824.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. and gives me a screen where I can log in as root and type the command "password demo" to change the password, and then from another terminal window I can run "ssh demo@localhost -p 2222" to login to GNU/Hurd, and after creating .ssh/authorized_keys with my key, I can run "scp -P 2222 emacs.tar.gz demo@localhost:". (This "emacs.tar.gz" was created by running "make dist" followed by "tar cf emacs.tar.gz emacs-26.0.50" on my development machine, in the master branch.) Although all this is obvious if you're a VM expert and like messing with VMs, it's not written down in the instructions. (Plus, I hate having to type Ctrl-Alt-G all the time while configuring the VM -- that's not documented either.) On GNU/Hurd I tried several ways to configure Emacs. None worked. I made the most progess with this: tar xf emacs.tar.gz cd emacs-26.0.50 ./configure --without-x --with-gnutls=no This failed as follows: checking for library containing tputs... no configure: error: The required function 'tputs' was not found in any library. The following libraries were tried (in order): libtinfo, libncurses, libterminfo, libtermcap, libcurses Please try installing whichever of these libraries is most appropriate for your system, together with its header files. For example, a libncurses-dev(el) or similar package. At this point I gave up. I don't know where to grab GNU/Hurd packages from, and anyway this process is taking more of my time than I would like to spend. Perhaps you could build a GNU/Hurd image that already has all the packages needed to develop programs like Emacs, and then send a complete standalone recipe that will let someone easily reproduce the Emacs problem even if they dislike messing with VMs.