Hi guys,
I am experiencing the following build error (Ubuntu 20.04):
Code
PROJECT=Generic DEVICE=Generic ARCH=x86_64 make image -j 96
...
<<< systemd:target seq 189 <<<
BUILD systemd (target)
TOOLCHAIN meson (auto-detect)
/home/ubuntu/LibreELEC.tv/packages/sysutils/systemd/package.mk: line 108: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
Executing (target): meson --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --buildtype=plain -Dstrip=true --cross-file=/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/bui
ld/systemd-251.3/.x86_64-libreelec-linux-gnu/meson.conf --libdir=/usr/lib -Drootprefix=/usr -Dsplit-usr=false -Dsplit-bin=true -Ddefault-hierarchy=unified -Dtty-gid=5 -Dtests=false -Dseccomp=false -Dselinux=false -Dapparmor=false -Dpolkit=false -Dacl=false -Daudit=false -
Dblkid=true -Dfdisk=false -Dkmod=true -Dpam=false -Dpwquality=false -Dmicrohttpd=false -Dlibcryptsetup=false -Dlibcurl=false -Dlibidn=false -Dlibidn2=true -Dlibiptc=false -Dqrencode=false -Dgcrypt=false -Dgnutls=false -Dopenssl=false -Dp11kit=false -Delfutils=false -Dzlib
=false -Dbzip2=false -Dxz=false -Dlz4=false -Dxkbcommon=false -Dpcre2=false -Dglib=false -Ddbus=false -Ddefault-dnssec=no -Dimportd=false -Dremote=false -Dutmp=true -Dhibernate=false -Denvironment-d=false -Dbinfmt=false -Drepart=false -Dcoredump=false -Dresolve=false -Dlo
gind=true -Dhostnamed=true -Dlocaled=false -Dmachined=false -Dportabled=false -Duserdb=false -Dhomed=false -Dnetworkd=false -Dtimedated=false -Dtimesyncd=true -Dfirstboot=false -Drandomseed=false -Dbacklight=false -Dvconsole=false -Dquotacheck=false -Dsysusers=false -Dtmp
files=true -Dhwdb=true -Drfkill=false -Dldconfig=false -Defi=false -Dtpm=false -Dima=false -Dsmack=false -Dgshadow=false -Didn=false -Dnss-myhostname=false -Dnss-mymachines=false -Dnss-resolve=false -Dnss-systemd=false -Dman=false -Dhtml=false -Dlink-udev-shared=true -Dli
nk-systemctl-shared=true -Dlink-networkd-shared=false -Dbashcompletiondir=no -Dzshcompletiondir=no -Dkmod-path=/usr/bin/kmod -Dmount-path=/usr/bin/mount -Dumount-path=/usr/bin/umount -Ddebug-tty=/dev/tty3 -Dpkgconfigdatadir=/usr/lib/pkgconfig -Dversion-tag=251.3 /home/ubu
ntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/systemd-251.3
The Meson build system
Version: 0.63.0
Source dir: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/systemd-251.3
Build dir: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/systemd-251.3/.x86_64-libreelec-linux-gnu
Build type: cross build
Project name: systemd
Project version: 251
C compiler for the host machine: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc (gcc 12.1.0 "x86_64-libreelec-linux-gnu-gcc-12.1.0 (GCC) 12.1.0")
C linker for the host machine: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc ld.bfd 2.38
C compiler for the build machine: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/host-gcc (gcc 9.4.0 "gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C linker for the build machine: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/host-gcc ld.bfd 2.34
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Program tools/add-git-hook.sh found: YES (/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/systemd-251.3/tools/add-git-hook.sh)
Program tools/meson-build.sh found: YES (/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/systemd-251.3/tools/meson-build.sh)
C++ compiler for the build machine: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/host-g++ (gcc 9.4.0 "g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C++ linker for the build machine: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/host-g++ ld.bfd 2.34
C++ compiler for the host machine: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ (gcc 12.1.0 "x86_64-libreelec-linux-gnu-g++-12.1.0 (GCC) 12.1.0")
C++ linker for the host machine: /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ ld.bfd 2.38
Compiler for C supports arguments -Wno-format-signedness: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wdate-time: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Werror=format=2: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=int-conversion: YES
Compiler for C supports arguments -Werror=overflow: YES
Compiler for C supports arguments -Werror=override-init: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=shift-count-overflow: YES
Compiler for C supports arguments -Werror=shift-overflow=2: YES
Compiler for C supports arguments -Werror=undef: YES
Compiler for C supports arguments -Wfloat-equal: YES
Compiler for C supports arguments -Wimplicit-fallthrough=5: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES
Compiler for C supports arguments -Wunused-function: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wno-error=#warnings: NO
Compiler for C supports arguments -Wno-string-plus-int: NO
Compiler for C supports arguments -Wno-unused-result: YES
Compiler for C supports arguments -Werror=missing-declarations: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -fdiagnostics-show-option: YES
Compiler for C supports arguments -fno-common: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -fstack-protector: YES
Compiler for C supports arguments -fstack-protector-strong: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments --param=ssp-buffer-size=4: YES
Compiler for C supports arguments -ffunction-sections: YES
Compiler for C supports arguments -fdata-sections: YES
Compiler for C supports link arguments -Wl,--fatal-warnings: YES
Compiler for C supports link arguments -Wl,-z,now: YES
Compiler for C supports link arguments -Wl,-z,relro: YES
Compiler for C supports link arguments -fstack-protector: YES
Compiler for C supports link arguments -Wl,--warn-common: YES
Compiler for C supports link arguments -Wl,--gc-sections: YES
Compiler for C supports arguments -Wzero-length-bounds: YES
Checking if "-Werror=shadow with local shadowing" compiles: YES
Compiler for C++ supports arguments -Wno-format-signedness: YES
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wstringop-truncation: YES
Checking for size of "dev_t" : 8
Checking for size of "ino_t" : 8
Checking for size of "time_t" : 8
Checking for size of "rlim_t" : 8
Checking for size of "typeof(((struct timex *)0)->freq)" : 8
Checking for size of "char16_t" : 2
Checking for size of "char32_t" : 4
Checking for size of "struct mount_attr" : 32
Checking for size of "struct statx" : 256
Checking for function "secure_getenv" : YES
Checking for function "__secure_getenv" : NO
Checking for function "memfd_create" : YES
Checking for function "gettid" : YES
Checking for function "pivot_root" : NO
Checking for function "ioprio_get" : NO
Checking for function "ioprio_set" : NO
Checking for function "name_to_handle_at" : YES
Checking for function "setns" : YES
Checking for function "renameat2" : YES
Checking for function "kcmp" : NO
Checking for function "keyctl" : NO
Checking for function "copy_file_range" : YES
Checking for function "bpf" : NO
Checking for function "statx" : YES
Checking for function "explicit_bzero" : YES
Checking for function "reallocarray" : YES
Checking for function "set_mempolicy" : NO
Checking for function "get_mempolicy" : NO
Checking for function "pidfd_send_signal" : NO
Checking for function "pidfd_open" : NO
Checking for function "rt_sigqueueinfo" : NO
Checking for function "mallinfo" : YES
Checking for function "mallinfo2" : YES
Checking for function "execveat" : YES
Checking for function "close_range" : YES
Checking for function "epoll_pwait2" : YES
Checking for function "mount_setattr" : YES
Checking for function "move_mount" : YES
Checking for function "open_tree" : YES
Checking for function "getdents64" : YES
Checking for function "getrandom" : YES
Configuring version.h using configuration
Program sh found: YES (/usr/bin/sh)
Program echo found: YES (/usr/bin/echo)
Program sed found: YES (/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/sed)
Program awk found: YES (/usr/bin/awk)
Program stat found: YES (/usr/bin/stat)
Program ln found: YES (/usr/bin/ln)
Program git found: YES (/usr/bin/git)
Program env found: YES (/usr/bin/env)
Program perl found: YES (/usr/bin/perl)
Program rsync found: YES (/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/rsync)
Program quotaon /usr/sbin/quotaon /sbin/quotaon found: NO
Program quotacheck /usr/sbin/quotacheck /sbin/quotacheck found: NO
Message: Using /usr/bin/kmod for kmod
Program kexec /usr/sbin/kexec /sbin/kexec found: NO
Program sulogin found: YES (/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/sbin/sulogin)
Message: Using /usr/bin/mount for mount
Message: Using /usr/bin/umount for umount
Program loadkeys /usr/sbin/loadkeys /sbin/loadkeys found: NO
Program setfont /usr/sbin/setfont /sbin/setfont found: NO
Program nologin found: YES (/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/sbin/nologin)
Program python3 found: YES (/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/python3)
../meson.build:673:8: ERROR: Problem encountered: python3 jinja2 missing
A full log can be found at /home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/systemd-251.3/.x86_64-libreelec-linux-gnu/meson-logs/meson-log.txt
FAILURE: scripts/build systemd:target during configure_target (default)
*********** FAILED COMMAND ***********
CC="${HOST_CC}" CXX="${HOST_CXX}" meson ${TARGET_MESON_OPTS} --cross-file=${MESON_CONF} ${PKG_MESON_OPTS_TARGET} ${PKG_MESON_SCRIPT%/*}
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
**************************************
FAILURE: scripts/install systemd:target has failed!
The following log for this failure is available:
/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/.threads/logs/189.log
>>> systemd:target seq 189 >>>
[208/291] [FAIL] install systemd:target
The following log for this failure is available:
/home/ubuntu/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/.threads/logs/189.log
Parallel build failure - see log for details. Time of failure: Mon Aug 8 10:28:28 CEST 2022
make: *** [Makefile:10: image] Error 1
...
Display More
HEAD is 67dac15b1571642baee1b548dade3c6d19c274ae
Thanks in advance!
Max