d-feet: Fails to build (Function does not take positional arguments)

  • Open
  • quality assurance status badge
Details
3 participants
  • Zhu Zihao
  • Ivan Vilata i Balaguer
  • Liliana Marie Prikler
Owner
unassigned
Submitted by
Ivan Vilata i Balaguer
Severity
normal
I
I
Ivan Vilata i Balaguer wrote on 4 May 2023 17:13
(address . bug-guix@gnu.org)
ZFPLhEZaKG3XfACX@sax
Hi! It looks like the Meson build of `d-feet` fails to complete in the
version of Guix shown below:

```
$ guix describe
Generation 56 May 02 2023 11:25:26 (current)
guix 3f8c489
branch: master
commit: 3f8c4899a9a67bb509a603bd21dcfcfab88c0e8e
```

This is the final part of the build log:

```
starting phase `configure'
The Meson build system
Version: 1.1.0
Source dir: /tmp/guix-build-d-feet-0.3.16.drv-0/d-feet-0.3.16
Build dir: /tmp/guix-build-d-feet-0.3.16.drv-0/build
Build type: native build
Project name: d-feet
Project version: 0.3.16
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/bin/python3)
Found pkg-config: /gnu/store/jz5dwdxq4di29cd0rjjzkw356dhkzjil-pkg-config-0.29.2/bin/pkg-config (0.29.2)
Run-time dependency gtk+-3.0 found: YES 3.24.37
Run-time dependency gobject-introspection-1.0 found: YES 1.72.0
Run-time dependency gio-2.0 found: YES 2.72.3
Program msgfmt found: YES (/gnu/store/5d0fgnmh63yx98s1kfp57rc2x05xqk1d-gettext-minimal-0.21/bin/msgfmt)
Program msginit found: YES (/gnu/store/5d0fgnmh63yx98s1kfp57rc2x05xqk1d-gettext-minimal-0.21/bin/msginit)
Program msgmerge found: YES (/gnu/store/5d0fgnmh63yx98s1kfp57rc2x05xqk1d-gettext-minimal-0.21/bin/msgmerge)
Program xgettext found: YES (/gnu/store/5d0fgnmh63yx98s1kfp57rc2x05xqk1d-gettext-minimal-0.21/bin/xgettext)
Configuring d-feet using configuration
Configuring tests.py using configuration
Program pep8 found: YES (/gnu/store/09j78kk5zw662qw8y949ndswqp23193b-python-pep8-1.7.0/bin/pep8)
Configuring org.gnome.dfeet.desktop.in using configuration

../d-feet-0.3.16/data/meson.build:15:5: ERROR: Function does not take positional arguments.

A full log can be found at /tmp/guix-build-d-feet-0.3.16.drv-0/build/meson-logs/meson-log.txt
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program: "meson" arguments: ("setup" "--prefix=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16" "--buildtype=debugoptimized" "-Dc_link_args=-Wl,-rpath=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16/lib" "-Dcpp_link_args=-Wl,-rpath=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16/lib" "/tmp/guix-build-d-feet-0.3.16.drv-0/d-feet-0.3.16") exit-status: 1 term-signal: #f stop-signal: #f>
phase `configure' failed after 0.7 seconds
command "meson" "setup" "--prefix=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16" "--buildtype=debugoptimized" "-Dc_link_args=-Wl,-rpath=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16/lib" "-Dcpp_link_args=-Wl,-rpath=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16/lib" "/tmp/guix-build-d-feet-0.3.16.drv-0/d-feet-0.3.16" failed with status 1
```

Unfortunately I know nothing about Meson, so I can't suggest a way to go…

Thanks and have a nice day!

--
Ivan Vilata i Balaguer -- https://elvil.net/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEHpvwBPZcchIQr6TuPezBBfXdI4IFAmRTy3kACgkQPezBBfXd
I4JDtg/8CaPzoG7HX4LfGBHfV3vGU0QMCj4CTPvkhDU7If+JsQDJZk2coNAcBCGy
ZlGjL+nM2/JD0EevsiwpCE4HOxj/BEzJkkMW6dpE7zd+jnAOVhINe7lSz3MlRq9T
KDM0W7CZ/KnfSL+OF66bxStd2iQmoMwdN5nQpAWKrQP3baLxOwiYM425kXQA+QGi
TSs8FaMvny0IZwoMMgSEiBxCAieJ/e3hYGhLNAKH9rPOdGlbZZo7TpXPixmWz4Sj
H+xDycHnc+ruSUOPagBZ0P8MHmzVWU038hV3+AKabgDW7kTSsviUaE707QjXBztx
tzpirHD2rB/nGUjXP9ZPy/+Z+clPfb82kNftSkmKkWaC8cVr1jRT1o9VQqvpvAEZ
1rpkHuXCT9E1RZ9HMhmxmHHe1vW5Hv71OIpPAhNYVPdpWgm9jFA18g4NmNtFPDTl
FvsUa5hUaqk7f6dXXvLZ8ckypZ23rtKhmHH8V99aRnF/5Q1Y2v6rqnxtrW00JHVo
CVXMugu7eAFR7dH7FQHZsmJLnPWL6YpUhyaUInwih29q5HBas1fBikmPn6PG7860
yQtny9ZjtKpUIRCcY0gjuvumcB7gaybDaor7aDehq3yv5g92prVEpENWFP8xGhsd
K4SCpiH71MWGQDgEAlm6OmkISsqKNrEZoixVpr76aF4fCZP9k0o=
=0wPP
-----END PGP SIGNATURE-----


L
L
Liliana Marie Prikler wrote on 4 May 2023 19:48
b7fbd9d2ce7598fe228e58635f7b1be857388c6c.camel@gmail.com
Am Donnerstag, dem 04.05.2023 um 17:13 +0200 schrieb Ivan Vilata i
Balaguer:
Toggle quote (80 lines)
> Hi!  It looks like the Meson build of `d-feet` fails to complete in
> the version of Guix shown below:
>
> ```
> $ guix describe
> Generation 56   May 02 2023 11:25:26    (current)
>   guix 3f8c489
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 3f8c4899a9a67bb509a603bd21dcfcfab88c0e8e
> ```
>
> This is the final part of the build log:
>
> ```
> starting phase `configure'
> The Meson build system
> Version: 1.1.0
> Source dir: /tmp/guix-build-d-feet-0.3.16.drv-0/d-feet-0.3.16
> Build dir: /tmp/guix-build-d-feet-0.3.16.drv-0/build
> Build type: native build
> Project name: d-feet
> Project version: 0.3.16
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Program python3 found: YES
> (/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-
> 3.10.7/bin/python3)
> Found pkg-config: /gnu/store/jz5dwdxq4di29cd0rjjzkw356dhkzjil-pkg-
> config-0.29.2/bin/pkg-config (0.29.2)
> Run-time dependency gtk+-3.0 found: YES 3.24.37
> Run-time dependency gobject-introspection-1.0 found: YES 1.72.0
> Run-time dependency gio-2.0 found: YES 2.72.3
> Program msgfmt found: YES
> (/gnu/store/5d0fgnmh63yx98s1kfp57rc2x05xqk1d-gettext-minimal-
> 0.21/bin/msgfmt)
> Program msginit found: YES
> (/gnu/store/5d0fgnmh63yx98s1kfp57rc2x05xqk1d-gettext-minimal-
> 0.21/bin/msginit)
> Program msgmerge found: YES
> (/gnu/store/5d0fgnmh63yx98s1kfp57rc2x05xqk1d-gettext-minimal-
> 0.21/bin/msgmerge)
> Program xgettext found: YES
> (/gnu/store/5d0fgnmh63yx98s1kfp57rc2x05xqk1d-gettext-minimal-
> 0.21/bin/xgettext)
> Configuring d-feet using configuration
> Configuring tests.py using configuration
> Program pep8 found: YES (/gnu/store/09j78kk5zw662qw8y949ndswqp23193b-
> python-pep8-1.7.0/bin/pep8)
> Configuring org.gnome.dfeet.desktop.in using configuration
>
> ../d-feet-0.3.16/data/meson.build:15:5: ERROR: Function does not take
> positional arguments.
>
> A full log can be found at /tmp/guix-build-d-feet-0.3.16.drv-
> 0/build/meson-logs/meson-log.txt
> error: in phase 'configure': uncaught exception:
> %exception #<&invoke-error program: "meson" arguments: ("setup" "--
> prefix=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16" "--
> buildtype=debugoptimized" "-Dc_link_args=-Wl,-
> rpath=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16/lib"
> "-Dcpp_link_args=-Wl,-
> rpath=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16/lib"
> "/tmp/guix-build-d-feet-0.3.16.drv-0/d-feet-0.3.16") exit-status: 1
> term-signal: #f stop-signal: #f>
> phase `configure' failed after 0.7 seconds
> command "meson" "setup" "--
> prefix=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16" "--
> buildtype=debugoptimized" "-Dc_link_args=-Wl,-
> rpath=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16/lib"
> "-Dcpp_link_args=-Wl,-
> rpath=/gnu/store/y414lsncri13kn6wz1hzhgzy6lpbivlf-d-feet-0.3.16/lib"
> "/tmp/guix-build-d-feet-0.3.16.drv-0/d-feet-0.3.16" failed with
> status 1
> ```
>
> Unfortunately I know nothing about Meson, so I can't suggest a way to
> go…
>
> Thanks and have a nice day!
Looking at d-feet itself, it appears as though it has been all but
deprecated in the favour of d-spy. Perhaps guix should simply declare
it a deprecated package instead of attempting to patch it – a patch has
already been filed upstream previously, but is not yet merged any
branch as far as I'm aware.

Cheers
I
I
Ivan Vilata i Balaguer wrote on 19 May 2023 14:50
(name . Liliana Marie Prikler)(address . liliana.prikler@gmail.com)
ZGdwq7xpAlcfesHr@sax
Liliana Marie Prikler (2023-05-04 19:48:34 +0200) wrote:

Toggle quote (12 lines)
> Am Donnerstag, dem 04.05.2023 um 17:13 +0200 schrieb Ivan Vilata i
> Balaguer:
> > ```
> > ../d-feet-0.3.16/data/meson.build:15:5: ERROR: Function does not take
> > positional arguments.
> > ```
> Looking at d-feet itself, it appears as though it has been all but
> deprecated in the favour of d-spy. Perhaps guix should simply declare
> it a deprecated package instead of attempting to patch it – a patch has
> already been filed upstream previously, but is not yet merged any
> branch as far as I'm aware.

Thanks for the info! For reference, this looks like the mentioned patch:

Cheers!

--
Ivan Vilata i Balaguer -- https://elvil.net/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEHpvwBPZcchIQr6TuPezBBfXdI4IFAmRncKMACgkQPezBBfXd
I4JPlQ/9GuLeDqv+0HxecbgpHUNo2BEsuO7q97I5qQqFUF9uhqp/AUUo+iEECqfS
IbnkZw4m5CJjjDx6z+zK5QOV8l00V26IHvigcPGdKEj4ShGuhWwpE/y6dVvOEB00
fSFZ+sb798V3vigLEOHZC0NpRx649mW+qvuwIvSWXnL9qQOrff9ysRfXdN/xoO+8
/SxPifumP2FQDn+Dzzw6NO3CeVWDoxRm4j+cClFYOWERzNcWFLVoOSBUgJWRmGEP
3NIHfWfV+5LjEtFC8NWQuJUxIiS6ireDLmI46KtXLtO5GXoPwLA/pdslMhV3K7O7
kQf/R/Q4hjJfOYPRDp8DY4Wg50IgGgPlFl0iycTXETOY1UbySc2hI0g+HysFE7uf
bql5Ihn9FLcREH1PdC6rGPqU1cIFf61yHr90WWzdd6crNAxSGEm+t82YLnbMHpgZ
nJLuWkSEw2D2I32t6NjSgo8aHqEDhqybdFs1L/HR8ds0xueJoUXZddHIOPHUhp5m
ZJNBTDIVLixRuB5jEdH7jQnKtPeKgwqpDxeSSPo5294e2mx8eBXOo/+YBcV0mbRJ
+3l+f+a+TIgeK0tUEFNaf7aqZFEBCsh/I+aDSPX2+9c3eNtjMWfKFSznIMeSPDmT
30GsQJeUo4r91rAl1VUM/6zkR5LzxdgMa77vzVMhcoV9nePLLJ8=
=587J
-----END PGP SIGNATURE-----


Z
Z
Zhu Zihao wrote on 29 May 2023 17:05
(address . 63270@debbugs.gnu.org)
864jnvxjks.fsf@163.com
I fix this in https://issues.guix.gnu.org/63270and it's pending to be
merged.

You can also try d-spy which IMO it's very good alternate.
--
Retrieve my PGP public key:

gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC

Zihao
-----BEGIN PGP SIGNATURE-----

iIsEARYIADMWIQT4UAIrVkIEZilSHr2K2nJqP6LM8gUCZHS/oxUcYWxsX2J1dF9s
YXN0QDE2My5jb20ACgkQitpyaj+izPLrEAEAlYLnN8SV+SFZAogurVvDGHAJvwAZ
5db2kb9uiN5JX2YBAIn+o8KYbFZl8oas+MWyb7VjIOwmln7B0NiAgZeaEcAP
=D66g
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 63270@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 63270
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch