[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#819207: marked as done (ITP: arch-test -- detect architectures supported by your machine/kernel)



Your message dated Mon, 11 Apr 2016 22:00:26 +0000
with message-id <E1apjsg-0004MZ-BL@franck.debian.org>
and subject line Bug#819207: fixed in arch-test 0.2-1
has caused the Debian Bug report #819207,
regarding ITP: arch-test -- detect architectures supported by your machine/kernel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
819207: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819207
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Severity: wishlist
Owner: Adam Borowski <kilobyte@angband.pl>

* Package name    : arch-detect
  Upstream Author : me
* URL             : https://github.com/kilobyte/arch-detect
* License         : MIT
  Programming Lang: mostly assembler
  Description     : detect architectures supported by your machine/kernel

 This package lets you enumerate architectures that your kernel can run.
 The check is for the ability to run machine code and supporting appropriate
 syscall ABI -- you may need to install userland libraries in a chroot,
 container or via multiarch to actually execute non-static binaries of such
 architectures.
 .
 Architectures detected by this version of arch-detect are:
  * amd64, i386, x32
  * mips, mipsel, mips64, mips64el
  * arm, armel, armhf, arm64
  * powerpc, ppc64, ppc64el
  * m68k
  * sh4
  * s390x
  * sparc64
  * illumos-amd64
  * win32, win64

My reason here is that x32 can't be detected other than trying a syscall and
seeing if it fails.  But then, we don't want a 344 byte package -- so here's
one that handles all release archs and most -ports ones.  Most of these can
be detected by reading /proc and binfmts, but that's neither easy nor
reliable -- testing empirically works better.

Some quirks:
* ppc64el: I check "mtvsrd r0, r0" to fail qemu if it suffers from #813698
* armhf: "dmb" nicely SIGILLs on RPi 1, are there other ARMv7-but-not-armhf
  in the wild worth checking?
* arm: untested (does anyone have that old hardware?) -- fails on all
  porterboxes but succeeds on both kernel 3.8 on Odroid-U2 and 4.1 on
  Raspbian RPI 1.

Archs that are missing:
* kfreebsd-*: no cross binutils in unstable (uses a different format, unlike
  hurd and Solaris which share it with Linux)
* hurd: how do you even do syscalls there?!?  Trying to figure it out
  exhausted my attention span.  RTFSing glibc, I see it's something bizarre:
  _exit() requests some server to terminate the process then goes into an
  endless loop of dividing 1/0.
* alpha: no machine to test it on, I'm reluctant to trust qemu exclusively
* hppa: no machine to test, not even supported by qemu
* ia64: no cross binutils
* sparc: binutils can multilib it, does anyone still want it?
* powerpcspe: no machine, debootstrap in qemu fails

Naming issues:
* illumos-amd64: (Solaris): dpkg's table has different names; I used this
  one as it's an established unofficial port in a pretty good shape; you
  may argue a different name though -- like, something that mentions that
  this syscall ABI works on real Solaris...
* win32, win64: should I name them -i386, -amd64?  Not sure if detecting
  them even makes sense -- binfmts exist but you're not going to chroot/
  multiarch those...

--- End Message ---
--- Begin Message ---
Source: arch-test
Source-Version: 0.2-1

We believe that the bug you reported is fixed in the latest version of
arch-test, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 819207@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Borowski <kilobyte@angband.pl> (supplier of updated arch-test package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 11 Apr 2016 21:08:00 +0200
Source: arch-test
Binary: arch-test
Architecture: source all
Version: 0.2-1
Distribution: unstable
Urgency: medium
Maintainer: Adam Borowski <kilobyte@angband.pl>
Changed-By: Adam Borowski <kilobyte@angband.pl>
Description:
 arch-test  - detect architectures supported by your machine/kernel
Closes: 819207
Changes:
 arch-test (0.2-1) unstable; urgency=medium
 .
   * Initial release (Closes: #819207)
Checksums-Sha1:
 cbcb1a94f0024b3825fe77171ee40d5f73e215bc 1710 arch-test_0.2-1.dsc
 1a3f95ed5529821e5b46787538774bed75916f85 4992 arch-test_0.2.orig.tar.xz
 9ca1abaf6e4cd1b6123f05f4a9bfba246c7094d0 2612 arch-test_0.2-1.debian.tar.xz
 6cdee0e3192694a0e12bfadf2428b56e49d4d2a8 16402 arch-test_0.2-1_all.deb
Checksums-Sha256:
 3f08f5846391a42d0af6ad3f00cca17371619bae9e3fe6be22a1708037ba733d 1710 arch-test_0.2-1.dsc
 5aaf4a05b312e6672568bd9dca60829e02843ec1eab9500efdcf0ac33eb188e3 4992 arch-test_0.2.orig.tar.xz
 9b14b4077160850c06d2eeae5117face862189cb17dd5d1e6df56b7c3adddc26 2612 arch-test_0.2-1.debian.tar.xz
 266d49ea9957c680155f21e46addafa0356a02459b4631f1ca43055576ce7b2c 16402 arch-test_0.2-1_all.deb
Files:
 ad0ab3419cb333a4de9cb3ef97f8ebd1 1710 admin optional arch-test_0.2-1.dsc
 f2ab2151918164e52a2c607dc9e771a1 4992 admin optional arch-test_0.2.orig.tar.xz
 20ff35efdf67a8d03e3e698511b89f13 2612 admin optional arch-test_0.2-1.debian.tar.xz
 25fd790e0661e02b1c64df6225b87717 16402 admin optional arch-test_0.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJXC/epAAoJECw7Q2/qxoEBoIkH/1NCQ1xleegccbF+i4VyntCV
Tzhc11U8KSA3i5PGiStSSh6yEqHGUAlWqrqUaVWWb+AzAlmkhOyqy4ZP7B9BYRkA
maKSIR7s6SlFdUm+MdrdIs86NfmOSAtHJbnqnzY1tKL2L1BmUkUnOvjsB3gbFN4k
fQI7oJIrxJCrXWL4NUfSRIK0y2YYAoAKnXTSXwd3BHVldgIZN/yfuEshRxQ8dKNh
hKqcGSiFAJpAtDozVK5EpEw8K896nApL85DbLy2j9BcPm+cKmfqVHwnse21+dpbJ
Qegg2m/eeRiSzlFpiQie6fZISnE54rq1910IqNQMawGjI3Cw5ELo9dnSazVXOEc=
=F9/6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: