rebuilding systemd in armhf chroot

Falk Niebuhr niebuhrf at gmail.com
Fri Apr 27 08:49:50 BST 2018


Hi,

for a Debian Jessie based ARM device I try to rebuild the systemd package
from the backports.
Unfortunately this does not work, the build never ends and hangs.

My build environment is:
- A Debian 8 armhf chroot.
- I set up the chroot with debootstrap on an Debian 8 AMD64.
- Added jessie-backports to sources-list.
- Run apt-get update.

For the build I did the follwoing steps:
- set up the chroot image
- apt-get -t jessie-backports source systemd
- apt-get -t jessie-backports build-dep systemd
- cd systemd-230
 -time DEB_BUILD_OPTIONS="parallel=8" dpkg-buildpackage -us -uc -tc

This build runs overnight but never stops, it shows some FAILs and hangs
after the passed test-dhcp-option.

The last ouput:
/usr/bin/make --no-print-directory check-recursive
Making check in .
/usr/bin/make --no-print-directory  test/sys
rm -rf test/sys
/bin/mkdir -p test/
tar -C test/ -xJf ../test/sys.tar.xz
touch test/sys
/usr/bin/make --no-print-directory check-TESTS
PASS: test-daemon
PASS: test-log
FAIL: test-loopback
FAIL: test-engine
PASS: test-watchdog
PASS: test-cgroup-mask
PASS: test-job-type
PASS: test-env-util
PASS: test-strbuf
FAIL: test-strv
FAIL: test-path
FAIL: test-path-util
PASS: test-strxcpyx
PASS: test-siphash24
PASS: test-unit-name
FAIL: test-unit-file
PASS: test-utf8
PASS: test-ellipsize
FAIL: test-util
PASS: test-cpu-set-util
PASS: test-hexdecoct
PASS: test-escape
PASS: test-alloc-util
FAIL: test-proc-cmdline
PASS: test-io-util
PASS: test-glob-util
FAIL: test-xattr-util
PASS: test-fs-util
PASS: test-web-util
PASS: test-stat-util
PASS: test-fd-util
PASS: test-string-util
PASS: test-extract-word
PASS: test-parse-util
PASS: test-user-util
PASS: test-hostname-util
FAIL: test-process-util
PASS: test-terminal-util
PASS: test-path-lookup
SKIP: test-barrier
FAIL: test-tmpfiles
FAIL: test-namespace
PASS: test-date
PASS: test-sleep
PASS: test-replace-var
FAIL: test-sched-prio
PASS: test-calendarspec
PASS: test-strip-tab-ansi
PASS: test-cgroup-util
PASS: test-fstab-util
PASS: test-prioq
FAIL: test-fileio
PASS: test-time
PASS: test-clock
PASS: test-hashmap
PASS: test-set
PASS: test-bitmap
PASS: test-list
PASS: test-unaligned
PASS: test-tables
PASS: test-device-nodes
PASS: test-xml
FAIL: test-architecture
PASS: test-socket-util
FAIL: test-fdset
PASS: test-conf-files
PASS: test-conf-parser
SKIP: test-capability
FAIL: test-async
PASS: test-ratelimit
FAIL: test-condition
PASS: test-uid-range
PASS: test-locale-util
SKIP: test-execute
PASS: test-copy
FAIL: test-cap-list
FAIL: test-sigbus
PASS: test-verbs
PASS: test-af-list
PASS: test-arphrd-list
PASS: test-dns-domain
PASS: test-install-root
PASS: test-rlimit-util
PASS: test-signal-util
PASS: test-selinux
PASS: test-sizeof
PASS: test-acl-util
SKIP: test-boot-timestamps
SKIP: test-bus-marshal
PASS: test-bus-signature
SKIP: test-bus-benchmark
FAIL: test-bus-chat
SKIP: test-bus-cleanup
PASS: test-bus-server
SKIP: test-bus-match
SKIP: test-bus-kernel
SKIP: test-bus-kernel-bloom
SKIP: test-bus-zero-copy
PASS: test-bus-introspect
PASS: test-bus-objects
PASS: test-bus-error
FAIL: test-bus-creds
SKIP: test-bus-gvariant
FAIL: test-event
FAIL: test-netlink
FAIL: test-local-addresses
FAIL: test-resolve
PASS: test-dhcp-option

I did a first package rebuilding in this chroot with less. I only wanted
to test if this works and I could rebuild the less package in this chroot.

Do I have to take care of something special to rebuild systemd?
Do I have to disable the tests?

I could provide a much bigger log, generated with tee, but this log has
over 6000 lines and this is too much paste.debian.net.

Best regards
Falk



More information about the Pkg-systemd-maintainers mailing list