cowdancer: Build everything except qemubuilder on Architecture: any

James Clarke jrtc27 at jrtc27.com
Wed Mar 16 12:03:12 UTC 2016


Hi,
As promised, here are changes to build everything except qemubuilder on any
architecture, not just linux-any. I have built it from source (with the test
suite), created a base.cow, and re-built it from source in that chroot with
"gbp buildpackage --git-pbuilder" (with the test suite) on both kfreebsd-amd64
and hurd-i386. I also tested it still built from source on amd64.

On kFreeBSD, USEDEVFS needs to be yes in pbuilderrc, as debootstrap mounts a
devfs which is unmounted on exit, leaving the chroot with an empty /dev. I have
added a patch to #630813 (filed against pbuilder).

On the Hurd,
https://anonscm.debian.org/cgit/pbuilder/pbuilder.git/commit/?id=c9968d7f564ed23a843cf0137c573799db0f8650
is needed (not yet released). This has the side-effect of cowbuilder emitting a
non-fatal error and warning when trying to run cowdancer-ilistcreate in the
chroot, but the fallback method does work. This is because
cowdancer-ilistcreate needs to be able to create pipes; on the Hurd, this is
done using a local socket, using /servers/socket/local, which is symlinked to
/servers/socket/1. However, inside the chroot, the commit mentioned above means
that there is pflocal translator for that file, and so you get "(ipc/mig) bad
request message ID". Once .ilist is created, pbuilder is invoked and
bind-mounts /servers, so there are no issues beyond that point.

Regards,
James

The following changes since commit dd1ebda8c2070bbba394a70a60565fe5cb84fc68:

  debian/control: Bump Standards-Version to 3.9.7, no changes needed. (2016-02-02 12:14:52 +0000)

are available in the git repository at:

  https://anonscm.debian.org/git/users/jrtc27-guest/cowdancer.git arch-any

for you to fetch changes up to 17cbf37f9cd3b8a7aa4f899cbef4dac2280caf73:

  tests/016_memleakcheck.c: Use /proc/<pid>/maps over /proc/self/maps (2016-03-15 23:18:15 +0000)

----------------------------------------------------------------
James Clarke (6):
      debian/control: Added myself to Uploaders
      debian/control: Drop unused busybox-static from Build-Depends
      Build everything except qemubuilder on Architecture: any
      Fixed open/open64 giving SIGILL on kFreeBSD
      tests/016_memleakcheck.c: Check result of opening /proc/self/maps for NULL
      tests/016_memleakcheck.c: Use /proc/<pid>/maps over /proc/self/maps

 Makefile                 | 40 ++++++++++++++++++++++++++++++----------
 cowdancer.c              |  9 +++++++--
 debian/control           | 14 +++++++-------
 tests/016_memleakcheck.c | 24 ++++++++++++++++++------
 4 files changed, 62 insertions(+), 25 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20160316/f9d4bd85/attachment.sig>


More information about the Pbuilder-maint mailing list