Package: systemd Version: 232-25+deb9u1 Severity: serious Tags: upstream Justification: fails to build from source (but built successfully in the past)
Dear Maintainer, I try to build systemd-232.25 from sources. I downloaded it from here: https://launchpad.net/debian/+source/systemd/232-25 I first build debian 9 stretch: #!/bin/bash INCLUDEDCOMPS="ssh,vim,dbus,python-dbus,python-gobject,python-psutil,jq,iptables-persistent,vnstat,curl,ntp,ntpdate,software-properties-common,lrzsz,sudo,dosfstools,mtd-utils,debsig-verify,unzip,file,libxslt1.1,alsa-utils,mediainfo,zip,net-tools" TARGET="omnia-stretch" CURDIR=$(pwd) [ -d ${TARGET_DIR} ] && sudo rm -rf ${TARGET_DIR} mkdir -p ${TARGET_DIR} sudo qemu-debootstrap \ --arch=armhf \ --components=main,contrib,non-free \ --include=${INCLUDEDCOMPS} \ --exclude=nano \ --foreign \ stretch \ ${TARGET} \ http://ftp.debian.org/debian sudo cp ${CURDIR}/user/gst/gst.apt ${TARGET}/etc/apt/sources.list sudo chroot ${TARGET} apt-get -y --allow-unauthenticated install gstreamer1.0-x gstreamer1.0-tools gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-alsa exit 0 Then I run make systemd: TARGET := $(TARGET_DIR) USERDIR := $(CURDIR)/.. SYSTEMD_DIR := $(CURDIR) .PHONY: systemd systemd: CC = systemd: sudo chroot $(TARGET) apt-get install -y --allow-unauthenticated dpkg-dev aptitude mkdir -p $(SYSTEMD_DIR)/.build/src mkdir -p $(SYSTEMD_DIR)/.build/result mkdir -p $(SYSTEMD_DIR)/.build/aptcache mkdir -p $(SYSTEMD_DIR)/.build/build if [ ! -d $(TARGET)/var/cache/apt/archives ]; then\ sudo mkdir -p $(TARGET)/var/cache/apt/archives;\ fi cd $(SYSTEMD_DIR);\ tar -xvf systemd_232.tar.gz -C $(SYSTEMD_DIR)/.build/src;\ cd $(SYSTEMD_DIR)/.build/src/systemd-232;\ quilt import $(SYSTEMD_DIR)/patches/new-ouput-format-precise-iso.patch;\ pdebuild --buildresult $(SYSTEMD_DIR)/.build/result -- --no-targz --distribution stretch --architecture armhf --aptcache $(SYSTEMD_DIR)/.build/aptcache --buildplace $(TARGET) --logfile $(SYSTEMD_DIR)/log systemd_232.tar.gz was done with command: tar cfz systemd_232.tar.gz systemd_232.orig.tar.gz systemd_232-25+deb9u1.dsc systemd_232-25+deb9u1.debian.tar.xz systemd-232 I cross-compile the systemd for armhf with debian 9 stretch from: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS" NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.1 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" UBUNTU_CODENAME=xenial The compilation stops on override_dh_auto_test. The tests that fail are: FAIL: test-loopback FAIL: test-path-util FAIL: test-util FAIL: test-process-util FAIL: test-fileio FAIL: test-sigbus FAIL: test-bus-creds FAIL: test-netlink FAIL: test-local-addresses FAIL: test-journal-send FAIL: test-compress FAIL: test-network FAIL test-bus-creds (exit status: 134) FAIL test-compress (exit status: 134) FAIL test-fileio (exit status: 134) FAIL test-journal-send (exit status: 134) FAIL test-local-addresses (exit status: 134) FAIL test-loopback (exit status: 1) FAIL test-netlink (exit status: 134) FAIL test-network (exit status: 134) FAIL test-path-util (exit status: 134) FAIL test-process-util (exit status: 134) FAIL test-sigbus (exit status: 139) FAIL: test-loopback FAIL test-loopback (exit status: 1) FAIL: test-path-util FAIL test-path-util (exit status: 134) FAIL: test-util FAIL test-util (exit status: 134) FAIL: test-process-util FAIL test-process-util (exit status: 134) FAIL: test-fileio FAIL test-fileio (exit status: 134) FAIL: test-sigbus FAIL test-sigbus (exit status: 139) FAIL: test-bus-creds FAIL test-bus-creds (exit status: 134) FAIL: test-netlink FAIL test-netlink (exit status: 134) FAIL: test-local-addresses FAIL test-local-addresses (exit status: 134) FAIL: test-journal-send FAIL test-journal-send (exit status: 134) FAIL: test-compress FAIL test-compress (exit status: 134) FAIL: test-network FAIL test-network (exit status: 134) FAIL test-util (exit status: 134) Here is the piece of log: ==== test-loopback.log ==== Unsupported setsockopt level=270 optname=3 loopback: Protocol not available FAIL test-loopback (exit status: 1) ==== test-path-util.log ==== Found container virtualization none ---/a/b/c/d--- ---/a/b/c--- ---/a/b--- ---/a--- ------ ---/a/b/c--- ---/a/b--- ---/a--- ------ Assertion 'path_is_mount_point("/sys", AT_SYMLINK_FOLLOW) > 0' failed at ../src/test/test-path-util.c:349, function test_path_is_mount_point(). Aborting. /bin/sh /build/systemd-232/build-deb/.libs/lt-test-path-util /bin/sh qemu: uncaught target signal 6 (Aborted) - core dumped FAIL test-path-util (exit status: 134) ==== test-util.log ==== Executing /tmp/test-readlink_and_make_absolute-hi.Xqgxb21/script2 Executing /tmp/test-readlink_and_make_absolute-lo.X2rAY25/script Executing /tmp/test-readlink_and_make_absolute-hi.Xqgxb21/overridden before clone: getpid()->11513 Assertion 'pid >= 0' failed at ../src/test/test-util.c:250, function test_raw_clone(). Aborting. qemu: uncaught target signal 6 (Aborted) - core dumped FAIL test-util (exit status: 134) ==== test-process-util.log ==== PID13013 comm: 'lt-test-process' PID13013 cmdline: '/build/systemd-232/build-deb/.libs/lt-test-process-util' PID13013 cmdline truncated to 8: '/bui...' PID13013 cmdline truncated to 1: '' PID13013 PPID: 0 Assertion 'pid == 1 ? e == 0 : e > 0' failed at ../src/test/test-process-util.c:78, function test_get_process_comm(). Aborting. systemd not booted skipping 'test_get_process_comm(1)' qemu: uncaught target signal 6 (Aborted) - core dumped FAIL test-process-util (exit status: 134) ==== test-fileio.log ==== Got: <one=BAR> Got: <two=bar> Got: <three=333 xxxx> Got: <four=44"44> Got: <five=55'55FIVEcinco> Got: <six=seis sechs sis> Got: <seven=sevenval#nocomment> Got: <eight=eightval #nocomment> Got: <export nine=nineval> Got: <ten=> one=[BAR] two=[bar] three=[333 xxxx] four=[44"44] five=[55'55FIVEcinco] six=[seis sechs sis] seven=[sevenval#nocomment] eight=[eightval #nocomment] export nine=[nineval] ten=[nineval] Got: <one=BAR VAR GAR> Got: <two=bar var gar> Got: <tri=bar var gar > Assertion 'streq(t, "1")' failed at ../src/test/test-fileio.c:249, function test_status_field(). Aborting. 2 qemu: uncaught target signal 6 (Aborted) - core dumped FAIL test-fileio (exit status: 134) ==== test-sigbus.log ==== qemu: uncaught target signal 11 (Segmentation fault) - core dumped FAIL test-sigbus (exit status: 139) ==== test-bus-creds.log ==== Found container virtualization none sd_bus_creds_new_from_pid: No such file or directory Assertion 'r >= 0' failed at ../src/libsystemd/sd-bus/test-bus-creds.c:41, function main(). Aborting. qemu: uncaught target signal 6 (Aborted) - core dumped FAIL test-bus-creds (exit status: 134) ==== test-netlink.log ==== Unsupported setsockopt level=270 optname=3 Assertion 'sd_netlink_open(&rtnl) >= 0' failed at ../src/libsystemd/sd-netlink/test-netlink.c:331, function test_match(). Aborting. qemu: uncaught target signal 6 (Aborted) - core dumped FAIL test-netlink (exit status: 134) And so on. Do I do anything wrong? What could be a reason of the tests failure? Thank you, Elena -- Package-specific info: -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: armhf (armv7l) Kernel: Linux 4.8.0-53-generic Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968), LANGUAGE=en_US (charmap=/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages systemd depends on: ii adduser 3.115 ii libacl1 2.2.52-3+b1 ii libapparmor1 2.11.0-3 ii libaudit1 1:2.6.7-2 ii libblkid1 2.29.2-1 ii libc6 2.24-11+deb9u1 ii libcap2 1:2.25-1 ii libcryptsetup4 2:1.7.3-4 ii libgcc1 1:6.3.0-18 ii libgcrypt20 1.7.6-2+deb9u2 ii libgpg-error0 1.26-2 ii libidn11 1.33-1 ii libip4tc0 1.6.0+snapshot20161117-6 ii libkmod2 23-2 ii liblz4-1 0.0~r131-2+b1 ii liblzma5 5.2.2-1.2+b1 ii libmount1 2.29.2-1 ii libpam0g 1.1.8-3.6 ii libseccomp2 2.3.1-2.1 ii libselinux1 2.6-3+b3 ii libsystemd0 232-25+deb9u1 ii mount 2.29.2-1 ii procps 2:3.3.12-3 ii util-linux 2.29.2-1 Versions of packages systemd recommends: ii dbus 1.10.22-0+deb9u1 pn libpam-systemd <none> Versions of packages systemd suggests: pn policykit-1 <none> pn systemd-container <none> pn systemd-ui <none> Versions of packages systemd is related to: pn dracut <none> pn initramfs-tools <none> ii udev 232-25+deb9u1 -- Configuration Files: /etc/systemd/journald.conf changed: [Journal] Storage=auto Compress=yes SplitMode=uid SyncIntervalSec=5s SystemMaxUse=1000M SystemKeepFree=10 SystemMaxFileSize=1M RuntimeMaxUse=100M RuntimeKeepFree=20 MaxLevelStore=info /etc/systemd/system.conf changed: [Manager] LogLevel=info LogTarget=journal RuntimeWatchdogSec=30 ShutdownWatchdogSec=1min DefaultCPUAccounting=yes DefaultBlockIOAccounting=yes DefaultMemoryAccounting=yes -- debconf information: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US", LC_ALL = (unset), LC_PAPER = "it_IT.UTF-8", LC_NUMERIC = "it_IT.UTF-8", LC_IDENTIFICATION = "it_IT.UTF-8", LC_MEASUREMENT = "it_IT.UTF-8", LC_NAME = "it_IT.UTF-8", LC_TELEPHONE = "it_IT.UTF-8", LC_ADDRESS = "it_IT.UTF-8", LC_MONETARY = "it_IT.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
[EXTENDED] /lib/systemd/system/systemd-resolved.service -> /lib/systemd/system/systemd-resolved.service.d/resolvconf.conf [EXTENDED] /lib/systemd/system/systemd-timesyncd.service -> /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf [EXTENDED] /lib/systemd/system/rc-local.service -> /lib/systemd/system/rc-local.service.d/debian.conf 3 overridden configuration files found.
==> /var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/apt-daily.timer <== ==> /var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/apt-daily-upgrade.timer <== ==> /var/lib/systemd/deb-systemd-helper-enabled/apt-daily.timer.dsh-also <== /etc/systemd/system/timers.target.wants/apt-daily.timer ==> /var/lib/systemd/deb-systemd-helper-enabled/rsyslog.service.dsh-also <== /etc/systemd/system/multi-user.target.wants/rsyslog.service /etc/systemd/system/syslog.service ==> /var/lib/systemd/deb-systemd-helper-enabled/cron.service.dsh-also <== /etc/systemd/system/multi-user.target.wants/cron.service ==> /var/lib/systemd/deb-systemd-helper-enabled/networking.service.dsh-also <== /etc/systemd/system/multi-user.target.wants/networking.service /etc/systemd/system/network-online.target.wants/networking.service ==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.socket.dsh-also <== /etc/systemd/system/sockets.target.wants/ssh.socket ==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.service.dsh-also <== /etc/systemd/system/multi-user.target.wants/ssh.service /etc/systemd/system/sshd.service ==> /var/lib/systemd/deb-systemd-helper-enabled/syslog.service <== ==> /var/lib/systemd/deb-systemd-helper-enabled/apt-daily-upgrade.timer.dsh-also <== /etc/systemd/system/timers.target.wants/apt-daily-upgrade.timer ==> /var/lib/systemd/deb-systemd-helper-enabled/network-online.target.wants/networking.service <== ==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ssh.service <== ==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/networking.service <== ==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/vnstat.service <== ==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/netfilter-persistent.service <== ==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/rsyslog.service <== ==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cron.service <== ==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cloud.service <== ==> /var/lib/systemd/deb-systemd-helper-enabled/cloud.service.dsh-also <== /etc/systemd/system/multi-user.target.wants/cloud.service ==> /var/lib/systemd/deb-systemd-helper-enabled/netfilter-persistent.service.dsh-also <== /etc/systemd/system/multi-user.target.wants/netfilter-persistent.service ==> /var/lib/systemd/deb-systemd-helper-enabled/vnstat.service.dsh-also <== /etc/systemd/system/multi-user.target.wants/vnstat.service ==> /var/lib/systemd/deb-systemd-helper-enabled/sshd.service <==
/dev/mtdblock6 /mnt/NOR6 jffs2 auto,nofail,noatime,x-systemd.automount 0 0 /dev/mmcblk1p4 /mnt/DATA ext4 auto,nofail,noatime,x-systemd.automount 0 2 /dev/mmcblk1p3 /mnt/ROOTFS ext4 ro,noauto,nofail,noatime,x-systemd.automount 0 2 /dev/mmcblk1p1 /mnt/KERN1 vfat noauto,nofail,noatime,x-systemd.device-timeout=5s 0 0 /dev/mmcblk1p2 /mnt/KERN2 vfat noauto,nofail,noatime,x-systemd.device-timeout=5s 0 0 /dev/mmcblk1gp0p1 /mnt/GP0 vfat noauto,nofail,noatime,x-systemd.device-timeout=5s 0 0 /dev/mmcblk1gp1p1 /mnt/GP1 vfat noauto,nofail,noatime,x-systemd.device-timeout=5s 0 0 /dev/mmcblk1gp2p1 /mnt/GP2 vfat noauto,nofail,noatime,x-systemd.device-timeout=5s 0 0 /dev/mmcblk1gp3p1 /mnt/GP3 vfat noauto,nofail,noatime,x-systemd.device-timeout=5s 0 0
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers