Hurd Traffic #92 For 30 May 2001

Editor: Zack Brown

By Paul Emsley

Mach 4 ( | Hurd Servers ( | Debian Hurd Home ( | Debian Hurd FAQ ( | debian-hurd List Archives ( | bug-hurd List Archives ( | help-hurd List Archive ( | Hurd Reference Manual ( | Hurd Installation Guide ( | Cross-Compiling GNUMach ( | Hurd Hardware Compatibility Guide (

Table Of Contents


Want to help write KC Debian Hurd? See the KC Authorship page (../author.html) the KC Debian Hurd homepage (index.html) , and the Thread Summary FAQ (../summaryfaq.html) . Send any questions to the KCDevel mailing list. (


1. The Hurd F2 iso images
13 May 2001 - 15 May 2001 (11 posts) Archive Link: "The Hurd F2 iso images available"
Summary By Paul Emsley
People: Philip CharlesOystein ViggenJeff BaileyJames MorrisonMarcus Brinkmann

Philip Charles informed us of the availability of the F2 iso images. "The images were built using and as at 4 May. The removal of non-free has meant that there is no non-US on the first CD and what is on the second is rather useless. "

The images can be retried from the following locations:

There followed a brief discussion about whether crypto (non-US) should be included - the general feeling that it was OK to include next time.

A subthread was started by James Morrison who described his compilation problem with w3m and asked for proftpd to be added to turtle. Marcus Brinkmann did not like the sound of w3m's architecture-dependency code and said that turtle-add requests should be sent to Jeff Bailey.

Oystein Viggen commented that proftpd "has build-depends on libmysqlclient-dev, postgresql-dev, and libldap2-dev, none of which are available in Debian GNU Hurd, so building might be a problem."

Jeff Bailey replied with "openldap2 will be available mid next week - Ben has applied all of the patches and the source now builds cleanly. However, it depends on cyrus-sasl which has not had the upstream patches applied." Jeff was considering an NMU. As for the MySQL and Postgres dependences, he did not know if the bugs that they used to trigger in the Hurd have been fixed.


2. Setting up XFree86 (Reprise)
14 May 2001 - 22 May 2001 (4 posts) Archive Link: "Success with Hurd XFree86 - Notes"
Summary By Paul Emsley
People: Douglas HiltonPaul Emsley

Douglas Hilton got X working:

[I needed to tinker] with the kbd and mouse translators. It appears to run fine, other than the weird effect of the console text becoming progressively darker upon each shutdown of X.

For an experiment I tried running the Python browser Grail-0.6 although it crashes while initializing with a segmentation fault.

Also, I dug this out of the mailing list archives, but maybe it should be added to the Hurd FAQ

--- <snip> ---

Q. How do I set up my PS/2 mouse with XFree86

A. First start the translator like this:

settrans -cg /dev/mouse
chown root /dev/mouse
chmod 444 /dev/mouse
settrans /dev/mouse /hurd/mouse --protocol=ps/2

Then edit the Pointer section of /etc/X11/XF86Config

   Section "Pointer"
      Protocol "osmouse"
      Device   "/dev/mouse/index.html"

Douglas also mentioned problems with update-menus and emacs.

When asked where he got the information about the mouse setup, Douglas replied:

(ed. [Paul Emsley] So, we are of some use :-) )


Marcus suggested debugging update-menus and grail and that now the glibc bug is fixed, he would try to update emacs soon.


3. New X And The 1Gig Limit
15 May 2001 - 16 May 2001 (5 posts) Archive Link: "xfree86_4.0.3-3_hurd-i386.changes INSTALLED"
Summary By Paul Emsley
Topics: FS: NFS
People: Marcus BrinkmannNiels MöllerIan Duggan

Marcus Brinkmann had been working with X:

With the bug reports I send in for this version, we are back in sync with everyone else. Building X is very much like building it for i386-linux. The only difference is that we don't build the linux specific drivers like v4l and DRI, and that we don't have osmesa. That's basically all. I'd be very happy if someone who enjoys X hacking would take over from here and upload X regularly (we could add it to the autobuilder, but the problem is that it takes a lot of disk space, more than 1 GB.

You must mount a seperate partition for the debian/ directory after unpacking the sources, so some manual operation is required until we have the ~1Gb filesystem limitation removed).

Ian Duggan asked if the 1Gb limit applied to NFS mounted partitions. "No" said Niels Möller. Interestingly, Marcus added "Since I fixed libstore to use off64_t, it should support stores [used by the ext and ufs servers] up to 2 Terabytes or so. There is an overflow in the encode/decode RPC interface, which still uses 32 byte, but that will be fixed later. Any filesystem server that mmaps the whole store is limited in this way, though. "


4. ftpfs
17 May 2001 - 18 May 2001 (6 posts) Archive Link: "ftpfs"
Summary By Paul Emsley
Topics: FS: FTPFS
People: Oystein Viggen

Aneesh Kumar asked for help setting up a ftpfs translator. Joost van Baal and Oystein Viggen suggested:

which allows:

Note that there have been some problems using ftpfs with wu-ftp servers. If you need a password, it can be passed as user:password@hostname:/.


5. ftpfs And updatedb
18 May 2001 (5 posts) Archive Link: "ftpfs and updatedb"
Summary By Paul Emsley
Topics: FS: FTPFS
People: Marcus BrinkmannOystein Viggen

Oystein Viggen asked whether updatedb will include ftpfs translators since he didn't think that 100 users trying to index (or similar) would really be a good idea...

Marcus Brinkmann said that this was a symptom of a larger problem: programs that are not Hurd-aware and therefore don't see the translator will follow the node. Programs such as ls, tar etc also has similar problems. Marcus went on to say:

If you use hostmux with ftpfs, the directory will appear to be empty (ls /ftp returns an mepty directory, ls /ftp/ the debian ftp archive) etc. This helps a bit.

In general, we will have to implement special Hurd support in programs like tar, with options that make it possible to control how translators should be treated. Like you need to special case device files and /proc and mount points. Just that we need finer control because translators do so much more things (potentially at least).


6. gcc Cross Compilation
19 May 2001 - 22 May 2001 (7 posts) Archive Link: "gcc: installation problem, cannot exec `cpp0'"
Summary By Paul Emsley
People: Marco ParroneDouglas HiltonMarcus Brinkmann

Marco Parrone was trying to get the cross compiler to work, he asked "i've installed the linux's package gcc-i386-gnu, that is a cross-compiler for the hurd, but if i try to compile a c program with it i386-gnu-gcc prova.c i receive an error:
gcc: installation problem, cannot exec `cpp0': No such file or directory
what should i do? "

Douglas Hilton replied with:

First prepend /usr/i386-gnu/bin to your path, then run it:


$ cd /usr/src/myprogram

$ vi myprog.c

$ export PATH=/usr/i386-gnu/bin:$PATH

$ gcc -o myprog myprog.c

This goes for everything, just issue

$ export PATH=/usr/i386-gnu/bin:$PATH

before running configure, make, etc. Then it will make Hurd binaries.

Marcus Brinkmann made more suggestions:

Note that for GNU programs which use autoconf and co properly, it is better to do:

../configure --build i386-linux --host i386-gnu

because this leaves the possibility of building programs for the build platform (like code generators etc). Sometimes this is mandatory (ncurses, bash, glibc, ...)


7. Debian GNU/Hurd On a Laptop
20 May 2001 (5 posts) Archive Link: "Is it wise to try hurd at mobile computer?"
Summary By Paul Emsley
People: Daniel Baumann

In reply to a question about whether GNU/Hurd runs on a laptop, Daniel Baumann replied:

I am successfully running the Hurd on a Gateway Solo 2150 laptop. Some people may encounter hardware problems if they are sharing an IRQ or something, but for me the Hurd boots up fine on my laptop. You need to provide us with the complete error message or with more information on what it is doing and also maybe 'cat /proc/interrupts' from GNU/Linux too.

Also, there's no pcmcia support so unless you have a NIC installed on the PCI +bus or whatever you won't be able to do networking with it.

Daniel added: " You need to do ./MAKEDEV hdX where X is the ide number starting at 0 for the first ide, etc. so use the one for your CD-ROM (assuming you're not using SCSI). Then set up the translator:



8. The Archive, Exim Dependencies
22 May 2001 - 24 May 2001 (10 posts) Archive Link: "current status of the archive"
Summary By Paul Emsley
People: Marcus BrinkmannJeff BaileyPhilip Charles

Marcus Brinkmann announced that he had installed a cron job at sourceforge to update a turtle database

The setup isn't too complex, if this should be somewhere else, I'd be just as happy with another location. The whole setup takes probaly 50 MB disk space and 5 minutes system time for each update.

Here is the statistics: There are 4180 packages in this group. 129 packages are out of date, and need to be updated. 2512 packages are missing from the binary archive.

This means 1539 source packages are taken care of (either unapplicable, binary-all or up-to-date). Of the 2512 missing packages, some are debian-installer packages which exist (a hand full), some are linux-any but declared as any (many dozens, probably 100-200), but most are simply not yet tried/ported. I don't log these numbers currently, but if anybody is interested in the hacking, it wouldn't be too hard to collocate the statistics on each run. (This is something that can probably be integrated into turtle properly).

Philip Charles voiced his continuing concern about exim and ae, but these seem beyond turtle's reptilian intelligence.

Marcus said that slang and ae are up-to-date, so turtle's job with them is finished. Marcus had uploaded pcre3 and cyrus-sasl and when someone does openldap, exim can be compiled.

Jeff Bailey said that openldap would soon be caught by turtle1 now that cyrus-sasl is in the archive. Marcus replied that he had uploaded cyrus-sasl to because he had to change the source (he reported this upstream of course).

Jeff later added "I have all of the build-deps for openldap2 now fixed (including the corrected m4, which has been annoying me all day!"


9. F2 Impressions, Archive Packages
23 May 2001 - 25 May 2001 (6 posts) Archive Link: "Some feedback on Hurd-F2"
Summary By Paul Emsley
People: Johannes RohrMarcus Brinkmann

Johannes Rohr wrote about his experiences with the Hurd F2 CDs. He managed to get exim to install by compiling and installing libpcre2 (from the potato source CD).

Johannes reported that now xterm and rxvt didn't work. Marcus Brinkmann thought that that was strange. There was also a dependency problem with xfonts: "xfonts-base, xfonts-75dpi, xfonts-100dpi and xfonts-scalable require xutils >= 4.0.3, but the version on the CD is 4.0.2-4." It appears that Marcus updated the archive version of xutils after the CD image was created.

the burden [of providing the Hurd binary deb for a package] lies on individual Hurd enthusiastics, so please bear with us ;) Phil [Charles] does the CD images and checks for dependencies, but he is not in a position to update packages or compile missing packages, so he can only report back to us what is causing the worst problems. If you want to help him with that, for example by writing a dependency checker that helps us to prioritize, then that would be greatly appreciated.

The current state of the archive is at right now. You will see that most packages are missing (> 2000 source packages).

Compiling packages is done by multiple people, but mostly by Jeff and me (I did a lot in the past, and concentrate on individual packages now, while Jeff is doing the bunch of it for quite some time now). Whenever you find a package that works out of the box, drop a message to Jeff (CC the list), and he will add it to the automatic process. We don't want to add all packages right now, as then the autobuilder would be busy with 2200 source packages were we don't know the status of, and waste a lot of time and other resources. But this will gradually improve, and wishlist items are accepted, esp when we know that it already compiles and works, and we just need to add the name to a list.

The Debian maintainer is only responsible for the source of the package. He isn't require to produce any binaries.


10. Libident-dev Problems
24 May 2001 - 25 May 2001 (9 posts) Archive Link: "dpkg-checkbuilddeps brokeness"
Summary By Paul Emsley
People: Marcus BrinkmannJeff Bailey

Jeff Bailey had a problem in that dpkg-checkbuilddeps didn't see that libident-dev was installed on his system. Sylvain Dusart reported that he has a similar problem and so editted his debian/control file so that the dependencies were on the same line. Jeff also fixed his file too and started building exim.

Later, Marcus Brinkmann finished up with: " Jeff has found the real problem. (No, I won't tell you, it's too embarrassing ;). dpkg 1.9.6 has indeed the proper fix."


11. Prngd Provides A Random Pool For Openssh
25 May 2001 (3 posts) Archive Link: "openssh on hurd"
Summary By Paul Emsley
People: Oystein Viggen

Jérôme Magnin needed a ranom number generator to create seeds to compile openssh. Oystein Viggen advised him:

You can use prngd to provide a random pool and then compile openssh with something like --with-egd-pool=/where/you/find/the/thing as an argument to configure.

Note that sshd will more probably crash pfinet rather than actually work, though. The ssh client should be fine.







We Hope You Enjoy Hurd Traffic

Kernel Traffic is grateful to be developed on a computer donated by Professor Greg Benson and Professor Allan Cruse in the Department of Computer Science at the University of San Francisco. This is the same department that invented FlashMob Computing. Kernel Traffic is hosted by the generous folks at All pages on this site are copyright their original authors, and distributed under the terms of the GNU General Public License, version 2.0.