Package: runit
Version: 2.1.1-6.2
Severity: serious
Justification: FTBFS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On the powerpc arch, runit fails to build, but only when booted from a 
32-bit kernel (Mac Mini G4).  The build freezes at the test stage:

+ cd compile
+ exec make check
make[1]: Entering directory `/tmp/runit/runit-2.1.1/runit-2.1.1/compile'
./check-local chpst runit runit-init runsv runsvchdir runsvdir sv svlogd utmpset
Checking chpst...
Checking runit...
Checking runit-init...
Checking runsv...

Reproducing what the check does reveals a SIGILL exit:

$ gdb /tmp/runit/runit-2.1.1/runit-2.1.1/compile/runsv
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/runit/runit-2.1.1/runit-2.1.1/compile/runsv...(no 
debugging symbols found)...done.
(gdb) run /tmp/runit/runit-2.1.1/runit-2.1.1/compile/check-tmp
Starting program: /tmp/runit/runit-2.1.1/runit-2.1.1/compile/runsv 
/tmp/runit/runit-2.1.1/runit-2.1.1/compile/check-tmp

Program received signal SIGILL, Illegal instruction.
0x10002bc8 in taia_approx ()
(gdb) starting

(gdb) bt
#0  0x10002bc8 in taia_approx ()
#1  0x10002a80 in iopause ()
#2  0x10000894 in main ()
(gdb) 


I ran the same build on a similar system with success: powerpc arch, 
32-bit userland (Debian does not produce a 64-bit userland), but G5 
system so it was a 64-bit kernel.  The binaries produced on the G5 
system work correctly on the G4 system.

Going back to the last Debian buildd of runit on powerpc shows it was 
built on a 64-bit kernel, most likely a G5, which explains why it did 
not originally FTBFS:

https://buildd.debian.org/status/fetch.php?pkg=runit&arch=powerpc&ver=2.1.1-6.2&stamp=1295216762
Kernel: Linux 2.6.26-2-powerpc64 powerpc (ppc64)


- -- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-4-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlJXhroACgkQKZYQqSA+yiX20QCdH+ovFa0YqU6TFn+j8O37A7de
F0cAn0Zu8Y6vbc3F7JDJzosM4aCipBIg
=GPK4
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to