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

Packages missing for debootstrapping Debian/riscv64 (was: Bug#906429: systemd: Please raise timeout for tests (for riscv64))



On Fri, Aug 17, 2018 at 04:24:15PM +0200, Manuel A. Fernandez Montecelo wrote:
> Source: systemd
> Version: 239-7
> Severity: normal
> Tags: upstream patch
> User: debian-riscv@lists.debian.org
> Usertags: riscv64
> 
> Hi,
> 
> This package fails to build in riscv64 due to timeout of the
> tests (it varies, but it's often around 5 test cases of the
> current ~300).
> 
> systemd is one of the two remaining packages left from the base
> set that we have to patch and ship from "unreleased" instead of
> "unstable", and possibly the only remaining one that makes
> impossible to use "debootstrap" at the moment, so it would be
> very nice if this could be sorted out soonish.
[...]
> To try to address it, I first tried to increase the timeout
> only for the riscv64 architecture, with this recipe in
> debian/rules (the lines added and commented out):

Hello Manuel,

life is strange ;-).  I've tried a similar approach yesterday
evening, had the test build finished today and just wanted to
send off the bugreport when I have received your mail.  A timeout
increase to 300 seconds looks good - in my test builds on an
otherwise idle system, the longest test took ~100 seconds, so 300
seconds should provide a reasonable security margin for a loaded
buildd.

Regarding stuff missing in unstable for properly debootstrapping
a system: there is at least one other package, and that is
libffi, which is used by apt.  Unfortunately upstream support for
RISC-V is only available in libffi git head, but not yet in an
official release.  Upstream had originally planned to release a
new libffi version (3.3) in May 2018, but that didn't work out
and AIUI there are a number of (not riscv64-related) regressions
compared to version 3.2.1 that need to be sorted out before a
release can happen.

Another package that is currently only in unreleased and which is
required at least for debootstrapping with --variant=buildd is
elfutils.  Elfutils actually builds fine but fails a number of
tests.  Andreas Schwab (from SUSE) has recently contributed some
RISC-V-related updates, but current elfutils git head still fails
some tests on riscv64.  Unfortunately I know way too little about
ELF internals to debug those failures :-(.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.


Reply to: