unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: svante.signell@gmail.com
Cc: 25081@debbugs.gnu.org
Subject: bug#25081: Anybody needs help to set up a qemu VM for GNU/Hurd?
Date: Wed, 7 Dec 2016 14:36:57 -0800	[thread overview]
Message-ID: <94f4d6ff-a8fa-45c3-b15b-e4a4af04dca6@cs.ucla.edu> (raw)
In-Reply-To: <1480603974.27168.10.camel@gmail.com>

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.






  parent reply	other threads:[~2016-12-07 22:36 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 15:20 bug#24857: emacs24/25 FTBFS since a long time on GNU/Hurd Paul Eggert
2016-11-02 16:46 ` Eli Zaretskii
2016-11-02 17:38   ` Svante Signell
2016-11-10 11:57     ` Svante Signell
2016-11-10 16:00       ` Eli Zaretskii
2016-11-10 20:35         ` Svante Signell
2016-11-11  7:48           ` Eli Zaretskii
2016-11-11  9:50             ` Svante Signell
2016-11-11 10:06               ` Eli Zaretskii
2016-11-11 10:32                 ` Svante Signell
2016-11-11 10:59                   ` Eli Zaretskii
2016-11-11 11:18                     ` Svante Signell
2016-11-11 14:03                       ` Eli Zaretskii
2016-11-11 15:04                         ` Svante Signell
2016-11-11 15:33                           ` Eli Zaretskii
2016-11-21 16:57                             ` Eli Zaretskii
2017-07-14 12:21                               ` Paul Eggert
2017-09-02 13:45                                 ` Eli Zaretskii
2017-09-02 14:10                                   ` Svante Signell
2017-09-02 14:27                                     ` Eli Zaretskii
2017-09-02 14:43                                       ` Svante Signell
2017-09-02 15:04                                         ` Eli Zaretskii
2017-09-02 18:11                                         ` Paul Eggert
2016-11-11 11:03                   ` Eli Zaretskii
2016-11-11 11:33                     ` Svante Signell
2016-11-11 14:06                       ` Eli Zaretskii
2016-11-12 18:12                       ` Paul Eggert
2016-11-04 20:17 ` bug#24857: Anybody needs help to set up a qemu VM for GNU/Hurd? Svante Signell
2016-11-29 21:14   ` Clément Pit--Claudel
2016-12-01 14:52   ` bug#25081: " Svante Signell
2016-12-01 16:48     ` bug#24857: " Clément Pit--Claudel
2016-12-01 17:29       ` Svante Signell
2016-12-01 19:25         ` Glenn Morris
2016-12-01 22:09           ` Svante Signell
2016-12-07 22:36     ` Paul Eggert [this message]
2016-12-07 23:00       ` bug#25081: " Svante Signell
     [not found]       ` <1481151606.9077.59.camel@gmail.com>
2016-12-08  0:45         ` Paul Eggert
2016-12-08  9:12           ` bug#24857: " Svante Signell
2016-12-08 15:50             ` Paul Eggert
2016-12-08  0:54       ` bug#25081: " Clément Pit--Claudel
2016-12-08  1:01         ` Paul Eggert
2016-12-08  1:15           ` Clément Pit--Claudel
2016-12-08  1:05         ` Glenn Morris
2017-11-02  1:10   ` bug#24857: " Noam Postavsky
2017-11-02 17:49   ` Noam Postavsky
2018-01-06 23:20     ` Noam Postavsky
2016-12-08 17:01 ` bug#24857: Sorry, reopening this bug Svante Signell
2016-12-08 17:25   ` Eli Zaretskii
2016-12-08 17:34     ` Svante Signell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94f4d6ff-a8fa-45c3-b15b-e4a4af04dca6@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=25081@debbugs.gnu.org \
    --cc=svante.signell@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).