v++
Package builder / BuildPackage (push) Failing after 4m26s Details

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2023-10-30 11:38:17 +00:00
parent 87531a66cc
commit 7712472dc0
1 changed files with 22 additions and 6 deletions

View File

@ -69,23 +69,29 @@ build() {
)
local _meson_options=(
-Dversion-tag="${pkgver}-${pkgrel}-arch"
# internal version comparison is incompatible with pacman:
# 249~rc1 < 249 < 249.1 < 249rc
-Dversion-tag="${_tag_name/-/\~}-${pkgrel}-arch"
-Dshared-lib-tag="${pkgver}-${pkgrel}"
-Dmode=release
-Dgnu-efi=true
-Dbootloader=true
-Dbpf-framework=true
-Dima=false
-Dlibidn2=true
-Dlz4=true
-Dman=true
-Dnscd=false
# We disable DNSSEC by default, it still causes trouble:
# https://github.com/systemd/systemd/issues/10579
-Ddbuspolicydir=/usr/share/dbus-1/system.d
-Ddefault-dnssec=no
-Ddefault-hierarchy=hybrid
-Ddefault-hierarchy=unified
-Ddefault-kill-user-processes=false
-Ddefault-locale=C
-Ddefault-locale='C.UTF-8'
-Dlocalegen-path=/usr/bin/locale-gen
-Ddns-over-tls=openssl
-Dfallback-hostname='archlinux'
-Dnologin-path=/usr/bin/nologin
@ -94,11 +100,21 @@ build() {
-Drpmmacrosdir=no
-Dsysvinit-path=
-Dsysvrcnd-path=
-Dsbat-distro='arch'
-Dsbat-distro-summary='Arch Linux'
-Dsbat-distro-pkgname="${pkgname}"
-Dsbat-distro-version="${pkgver}"
-Dsbat-distro-url="https://archlinux.org/packages/core/x86_64/${pkgname}/"
)
arch-meson "systemd-stable" build "${_meson_options[@]}"
# this uses malloc_usable_size, which is incompatible with fortification level 3
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
ninja -C build
arch-meson "$pkgbase-stable" build "${_meson_options[@]}"
meson compile -C build
}
#check() { meson test -C build; }