all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#63274: dia: Fails to build (Meson: Function does not take positional arguments)
@ 2023-05-04 15:26 Ivan Vilata i Balaguer
  2023-05-05 13:39 ` bug#63274: [PATCH] gnu: dia: Update to 0.97.3-4.b903dd8 Giovanni Biscuolo
  2023-05-19 16:06 ` bug#63274: dia: Fails to build (Meson: Function does not take positional arguments) Ivan Vilata i Balaguer
  0 siblings, 2 replies; 9+ messages in thread
From: Ivan Vilata i Balaguer @ 2023-05-04 15:26 UTC (permalink / raw)
  To: 63274

[-- Attachment #1: Type: text/plain, Size: 2395 bytes --]

Hi!  It looks like the Meson build of `dia` fails to complete in the version
of Guix shown below:

```
$ LANG=C 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-dia-0.97.3-3.0997887.drv-0/source
Build dir: /tmp/guix-build-dia-0.97.3-3.0997887.drv-0/build
Build type: native build
Project name: dia
Project version: 0.97.3
C compiler for the host machine: gcc (gcc 11.3.0 "gcc (GCC) 11.3.0")
C linker for the host machine: gcc ld.bfd 2.38
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (GCC) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
[…]
Message: wpg_filter
Message: xfig_filter

../source/sheets/meson.build:47:32: ERROR: Function does not take positional arguments.

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

I know nothing about Meson, but the error reminds me of
<https://issues.guix.gnu.org/53182>, and I see that its fix 3969dc45 added
`(arguments `(#:meson ,meson-0.59))`, which was removed later in f38d8e05.

Thanks and have a nice day!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#63274: [PATCH] gnu: dia: Update to 0.97.3-4.b903dd8
  2023-05-04 15:26 bug#63274: dia: Fails to build (Meson: Function does not take positional arguments) Ivan Vilata i Balaguer
@ 2023-05-05 13:39 ` Giovanni Biscuolo
  2023-05-15 14:52   ` Giovanni Biscuolo
  2023-05-20  9:57   ` bug#63274: [PATCH v2] gnu: dia: Update to 0.97.3-4.b903dd8 to fix Meson build Ivan Vilata i Balaguer
  2023-05-19 16:06 ` bug#63274: dia: Fails to build (Meson: Function does not take positional arguments) Ivan Vilata i Balaguer
  1 sibling, 2 replies; 9+ messages in thread
From: Giovanni Biscuolo @ 2023-05-05 13:39 UTC (permalink / raw)
  To: 63274; +Cc: Giovanni Biscuolo

* gnu/packages/gnome.scm (dia): Update to 0.97.3-4.b903dd8
---
 gnu/packages/gnome.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3d49ec3de5..d58b578a04 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1939,8 +1939,8 @@ (define-public dia
   ;; recent versions of the build tools.  The latest activity on the
   ;; pre-GNOME version has been in 2014, while GNOME has continued applying
   ;; fixes since.
-  (let ((commit "0997887d97f01be28bf3886dfd3e2002de437930")
-        (revision "3"))
+  (let ((commit "b903dd83aa5aab1b41c7864dd5027d1b6a0a190c")
+        (revision "4"))
     (package
       (name "dia")
       (version (git-version "0.97.3" revision commit))
@@ -1952,7 +1952,7 @@ (define-public dia
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "199b4n1jydg1g9lnz0r8xx67h7s2ac2lfj89zp015lbs0qqfkmsh"))))
+                  "0j5q7whwpzzfsinjryp3g0xh3cyy88drwyr0w8x0666mj6h70h6a"))))
       (build-system meson-build-system)
       ;; XXX: Parallel builds may cause: [74/566] [...]
       ;; fatal error: dia-lib-enums.h: No such file or directory

base-commit: f0a51a2bda26f9cc1e0b54b48712bd7cc54408e9
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 9+ messages in thread

* bug#63274: [PATCH] gnu: dia: Update to 0.97.3-4.b903dd8
  2023-05-05 13:39 ` bug#63274: [PATCH] gnu: dia: Update to 0.97.3-4.b903dd8 Giovanni Biscuolo
@ 2023-05-15 14:52   ` Giovanni Biscuolo
  2023-05-21 20:40     ` bug#63592: " Liliana Marie Prikler
  2023-05-20  9:57   ` bug#63274: [PATCH v2] gnu: dia: Update to 0.97.3-4.b903dd8 to fix Meson build Ivan Vilata i Balaguer
  1 sibling, 1 reply; 9+ messages in thread
From: Giovanni Biscuolo @ 2023-05-15 14:52 UTC (permalink / raw)
  To: 63274; +Cc: Raghav Gururajan, Liliana Marie Prikler, Maxim Cournoyer

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

Hello,

gentle ping (and I forgot to Cc: the gnome team)

Thanks! Gio'

Giovanni Biscuolo <g@xelera.eu> writes:

[...]

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#63274: dia: Fails to build (Meson: Function does not take positional arguments)
  2023-05-04 15:26 bug#63274: dia: Fails to build (Meson: Function does not take positional arguments) Ivan Vilata i Balaguer
  2023-05-05 13:39 ` bug#63274: [PATCH] gnu: dia: Update to 0.97.3-4.b903dd8 Giovanni Biscuolo
@ 2023-05-19 16:06 ` Ivan Vilata i Balaguer
  2023-05-20  8:15   ` Giovanni Biscuolo
  1 sibling, 1 reply; 9+ messages in thread
From: Ivan Vilata i Balaguer @ 2023-05-19 16:06 UTC (permalink / raw)
  To: 63274

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

Ivan Vilata i Balaguer (2023-05-04 17:26:48 +0200) wrote:

> Hi!  It looks like the Meson build of `dia` fails to complete in the version
> of Guix shown below:
> 
> ```
> […]
>     commit: 3f8c4899a9a67bb509a603bd21dcfcfab88c0e8e
> ```
> 
> This is the final part of the build log:
> 
> ```
> starting phase `configure'
> The Meson build system
> […]
> ../source/sheets/meson.build:47:32: ERROR: Function does not take positional arguments.
> […]
> ```

The latest commit in Dia's Git repo (just 3 after the one use by Guix) states
"build: Fix deprecated positional argument for i18n.merge_file":
<https://gitlab.gnome.org/GNOME/dia/-/commit/6ef461d8a04ffcd23df26fc4749cebc6322a5322>

Building `--with-commit=dia=6ef461d8a04ffcd23df26fc4749cebc6322a5322` is successful.

I'll send a patch to fix this.

Cheers!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#63274: dia: Fails to build (Meson: Function does not take positional arguments)
  2023-05-19 16:06 ` bug#63274: dia: Fails to build (Meson: Function does not take positional arguments) Ivan Vilata i Balaguer
@ 2023-05-20  8:15   ` Giovanni Biscuolo
  2023-05-20  9:58     ` Ivan Vilata i Balaguer
  0 siblings, 1 reply; 9+ messages in thread
From: Giovanni Biscuolo @ 2023-05-20  8:15 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer, 63274

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

Hello Ivan,

Ivan Vilata i Balaguer <ivan@selidor.net> writes:

> The latest commit in Dia's Git repo (just 3 after the one use by Guix) states
> "build: Fix deprecated positional argument for i18n.merge_file":
> <https://gitlab.gnome.org/GNOME/dia/-/commit/6ef461d8a04ffcd23df26fc4749cebc6322a5322>
>
> Building `--with-commit=dia=6ef461d8a04ffcd23df26fc4749cebc6322a5322` is successful.
>
> I'll send a patch to fix this.

I sent a patch on May 5th as #63274 [1] using commit
b903dd83aa5aab1b41c7864dd5027d1b6a0a190c, please send a V2 patch if you
think is better

Thanks! Gio'

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63274

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#63274: [PATCH v2] gnu: dia: Update to 0.97.3-4.b903dd8 to fix Meson build.
  2023-05-05 13:39 ` bug#63274: [PATCH] gnu: dia: Update to 0.97.3-4.b903dd8 Giovanni Biscuolo
  2023-05-15 14:52   ` Giovanni Biscuolo
@ 2023-05-20  9:57   ` Ivan Vilata i Balaguer
  1 sibling, 0 replies; 9+ messages in thread
From: Ivan Vilata i Balaguer @ 2023-05-20  9:57 UTC (permalink / raw)
  To: 63274; +Cc: Giovanni Biscuolo

[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]

Fixes <https://issues.guix.gnu.org/63274>.

* gnu/packages/gnome.scm (dia): Update to 0.97.3-4.b903dd8
---
 gnu/packages/gnome.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 754bb668ba..ae891d6cc3 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -74,6 +74,7 @@
 ;;; Copyright © 2022 Alexandros Theodotou <alex@zrythm.org>
 ;;; Copyright © 2022 Arjan Adriaanse <arjan@adriaan.se>
 ;;; Copyright © 2023 Kaelyn Takata <kaelyn.alexi@protonmail.com>
+;;; Copyright © 2023 Giovanni Biscuolo <g@xelera.eu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1951,8 +1952,8 @@ (define-public dia
   ;; recent versions of the build tools.  The latest activity on the
   ;; pre-GNOME version has been in 2014, while GNOME has continued applying
   ;; fixes since.
-  (let ((commit "0997887d97f01be28bf3886dfd3e2002de437930")
-        (revision "3"))
+  (let ((commit "b903dd83aa5aab1b41c7864dd5027d1b6a0a190c")
+        (revision "4"))
     (package
       (name "dia")
       (version (git-version "0.97.3" revision commit))
@@ -1964,7 +1965,7 @@ (define-public dia
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "199b4n1jydg1g9lnz0r8xx67h7s2ac2lfj89zp015lbs0qqfkmsh"))))
+                  "0j5q7whwpzzfsinjryp3g0xh3cyy88drwyr0w8x0666mj6h70h6a"))))
       (build-system meson-build-system)
       ;; XXX: Parallel builds may cause: [74/566] [...]
       ;; fatal error: dia-lib-enums.h: No such file or directory

base-commit: 0aab24855238cc7c7a31066ab39cd94e534b857f
-- 
2.39.2


-- 
Ivan Vilata i Balaguer -- https://elvil.net/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* bug#63274: dia: Fails to build (Meson: Function does not take positional arguments)
  2023-05-20  8:15   ` Giovanni Biscuolo
@ 2023-05-20  9:58     ` Ivan Vilata i Balaguer
  0 siblings, 0 replies; 9+ messages in thread
From: Ivan Vilata i Balaguer @ 2023-05-20  9:58 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: 63274, Ivan Vilata i Balaguer

[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]

Giovanni Biscuolo (2023-05-20 10:15:58 +0200) wrote:

> Hello Ivan,
> 
> Ivan Vilata i Balaguer <ivan@selidor.net> writes:
> 
> > The latest commit in Dia's Git repo (just 3 after the one use by Guix) states
> > "build: Fix deprecated positional argument for i18n.merge_file":
> > <https://gitlab.gnome.org/GNOME/dia/-/commit/6ef461d8a04ffcd23df26fc4749cebc6322a5322>
> >
> > Building `--with-commit=dia=6ef461d8a04ffcd23df26fc4749cebc6322a5322` is successful.
> >
> > I'll send a patch to fix this.
> 
> I sent a patch on May 5th as #63274 [1] using commit
> b903dd83aa5aab1b41c7864dd5027d1b6a0a190c, please send a V2 patch if you
> think is better
> 
> Thanks! Gio'
> 
> [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63274

Thanks Giovanni!  Sorry that I didn't know about your patch, it looks like
Guix debbugs doesn't send copies of messages in the bug thread to involved
addresses (not even to the original poster 🙁)…  I kinda assumed it behaved
like Debian's.  I'll remember to check the issue page and use "reply to all"
next time, just in case.

Yesterday I sent patch <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63592>
(v2), not knowing about yours.  I just checked your patch and it points to a
more recent commit than my patch, so I guess it fixes even more stuff, and I
see that Guix' version has anyway been quite ahead 1.9.5 for a while.  So I
guess that your patch makes more sense.  However, I see that you forgot to add
your copyright entry at the beginning of the file, and you may want to specify
that the patch fixes this issue too (you may want to adapt the commit message
from my v2 patch).

I sent a new version of your patch which just fixes that.  I'll ask to close
my other patch issue.

Thanks again!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#63592: [PATCH] gnu: dia: Update to 0.97.3-4.b903dd8
  2023-05-15 14:52   ` Giovanni Biscuolo
@ 2023-05-21 20:40     ` Liliana Marie Prikler
  2023-05-22 14:25       ` [bug#63592] " Maxim Cournoyer
  0 siblings, 1 reply; 9+ messages in thread
From: Liliana Marie Prikler @ 2023-05-21 20:40 UTC (permalink / raw)
  To: Giovanni Biscuolo, 63274-done, 63592-done
  Cc: Raghav Gururajan, Maxim Cournoyer

Am Montag, dem 15.05.2023 um 16:52 +0200 schrieb Giovanni Biscuolo:
> Hello,
> 
> gentle ping (and I forgot to Cc: the gnome team)
Pushed now.

Cheers




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#63592] [PATCH] gnu: dia: Update to 0.97.3-4.b903dd8
  2023-05-21 20:40     ` bug#63592: " Liliana Marie Prikler
@ 2023-05-22 14:25       ` Maxim Cournoyer
  0 siblings, 0 replies; 9+ messages in thread
From: Maxim Cournoyer @ 2023-05-22 14:25 UTC (permalink / raw)
  To: Liliana Marie Prikler
  Cc: Giovanni Biscuolo, 63592-done, Raghav Gururajan, 63274-done

Hi,

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:

> Am Montag, dem 15.05.2023 um 16:52 +0200 schrieb Giovanni Biscuolo:
>> Hello,
>> 
>> gentle ping (and I forgot to Cc: the gnome team)
> Pushed now.

Thanks, Liliana!

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-05-22 14:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 15:26 bug#63274: dia: Fails to build (Meson: Function does not take positional arguments) Ivan Vilata i Balaguer
2023-05-05 13:39 ` bug#63274: [PATCH] gnu: dia: Update to 0.97.3-4.b903dd8 Giovanni Biscuolo
2023-05-15 14:52   ` Giovanni Biscuolo
2023-05-21 20:40     ` bug#63592: " Liliana Marie Prikler
2023-05-22 14:25       ` [bug#63592] " Maxim Cournoyer
2023-05-20  9:57   ` bug#63274: [PATCH v2] gnu: dia: Update to 0.97.3-4.b903dd8 to fix Meson build Ivan Vilata i Balaguer
2023-05-19 16:06 ` bug#63274: dia: Fails to build (Meson: Function does not take positional arguments) Ivan Vilata i Balaguer
2023-05-20  8:15   ` Giovanni Biscuolo
2023-05-20  9:58     ` Ivan Vilata i Balaguer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.