FS#73879 - [malcontent] FTBFS for i18n.merge_file no positional arguments in Meson now
Attached to Project:
Arch Linux
Opened by Celeste (Coelacanthus) - Saturday, 19 February 2022, 08:30 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 20 February 2022, 20:29 GMT
Opened by Celeste (Coelacanthus) - Saturday, 19 February 2022, 08:30 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 20 February 2022, 20:29 GMT
|
Details
Description:
FTBFS for i18n.merge_file no positional arguments in Meson now it will lead this error: malcontent/accounts-service/meson.build:1:5: ERROR: Function does not take positional arguments. It can be fixed by applying this patch ``` diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 46fa545..2cfe4aa 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -11,8 +11,10 @@ depends=(accountsservice dbus flatpak glib2 gtk3 polkit appstream-glib) makedepends=(git meson gobject-introspection gtk-doc libglib-testing yelp-tools) provides=(libmalcontent{,-ui}-${pkgver%%.*}.so) _commit=9dd47e5abcbddb8b08c29be0304ead70cee1c5bc # tags/0.10.3^0 -source=("git+https://gitlab.freedesktop.org/pwithnall/malcontent.git#commit=$_commit") -sha256sums=('SKIP') +source=("git+https://gitlab.freedesktop.org/pwithnall/malcontent.git#commit=$_commit" + "https://gitlab.freedesktop.org/pwithnall/malcontent/-/commit/f433aaf8c8f82f0aeaedee664f08bc6fcad47b0d.patch") +sha256sums=('SKIP' + '9986d46c6b52e57278b1422fda22048cba3bdb8aefadc6904505b944969c08b3') pkgver() { cd $pkgname @@ -21,6 +23,7 @@ pkgver() { prepare() { cd $pkgname + patch -Np1 -i ../f433aaf8c8f82f0aeaedee664f08bc6fcad47b0d.patch } build() { ``` I try to add `git cherry-pick f433aaf8c8f82f0aeaedee664f08bc6fcad47b0d` to prepare function because we use git source. But it will lead `Committer identity unknown` problem, so I choose patch. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Sunday, 20 February 2022, 20:29 GMT
Reason for closing: Fixed
Additional comments about closing: malcontent 0.10.3-2
Sunday, 20 February 2022, 20:29 GMT
Reason for closing: Fixed
Additional comments about closing: malcontent 0.10.3-2

oh, it can be fixed by adding `git cherry-pick -n
f433aaf8c8f82f0aeaedee664f08bc6fcad47b0d` to prepare function