Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#65295 closed defect (fixed)

glade @3.38.2_1 +python39+quartz+webkit2gtk: data/meson.build:4:5: ERROR: Function does not take positional arguments.

Reported by: cooljeanius (Eric Gallager) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: dbevans (David B. Evans)
Port: glade

Description

I'm on Big Sur with Xcode 13 trying to upgrade glade:

The Meson build system
Version: 0.62.1
Source dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glade/glade/work/glade-3.38.2
Build dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glade/glade/work/build
Build type: native build
Project name: glade
Project version: 3.38.2
C compiler for the host machine: /usr/bin/clang (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C linker for the host machine: /usr/bin/clang ld64 711
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wnested-externs: YES 
Found pkg-config: /opt/local/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.64.6
Run-time dependency gio-2.0 found: YES 2.64.6
Run-time dependency gmodule-2.0 found: YES 2.64.6
Run-time dependency gmodule-export-2.0 found: YES 2.64.6
Run-time dependency gtk+-3.0 found: YES 3.24.34
Run-time dependency libxml-2.0 found: YES 2.9.14
Library m found: YES
Checking for function "gtk_print_unix_dialog_new" with dependency gtk+-3.0: YES 
Checking for function "_gtk_widget_class_template_unset_only_for_glade" with dependency gtk+-3.0: NO 
Checking if "how to copy va_list" : links: YES 
Dependency gjs-1.0 skipped: feature gjs disabled
Run-time dependency pygobject-3.0 found: YES 3.42.0
Program python3 found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10)
Run-time dependency webkit2gtk-4.0 found: YES 2.28.2
Run-time dependency gdk-3.0 found: YES 3.24.34
Program msgfmt found: YES (/opt/local/bin/msgfmt)
Program msginit found: YES (/opt/local/bin/msginit)
Program msgmerge found: YES (/opt/local/bin/msgmerge)
Program xgettext found: YES (/opt/local/bin/xgettext)
Configuring org.gnome.Glade.desktop.in using configuration

data/meson.build:4:5: ERROR: Function does not take positional arguments.

A full log can be found at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glade/glade/work/build/meson-logs/meson-log.txt
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glade/glade/work/glade-3.38.2" && /opt/local/bin/meson --prefix=/opt/local -Dgladeui=true -Dgjs=disabled -Dpython=enabled -Dwebkit2gtk=enabled /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glade/glade/work/glade-3.38.2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glade/glade/work/build 
Exit code: 1
Error: Failed to configure glade: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glade/glade/work/build/meson-logs/meson-log.txt
Error: Failed to configure glade: configure failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glade/glade/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Attachments (2)

glade_main.log (14.5 KB) - added by cooljeanius (Eric Gallager) 2 years ago.
main.log for glade
glade_meson-log.txt (30.0 KB) - added by cooljeanius (Eric Gallager) 2 years ago.
meson-log.txt for glade

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by cooljeanius (Eric Gallager)

Attachment: glade_main.log added

main.log for glade

Changed 2 years ago by cooljeanius (Eric Gallager)

Attachment: glade_meson-log.txt added

meson-log.txt for glade

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Solution is as discussed in #65205.

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In a7a78d92cd230c28192152521b22724b13282699/macports-ports (master):

glade: Fix configure failure with meson 0.60

Closes: #65295

comment:3 Changed 2 years ago by cooljeanius (Eric Gallager)

Uh... so now the error is:

help/meson.build:6:6: ERROR: Tried to create target "help-glade-da-update-po", but a target of that name already exists.

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

In 293604c2d15b1b6f82dd8a1f13d3b6347085d9cc/macports-ports (master):

glade: Fix other configure failure with meson 0.60

See: #65295

Note: See TracTickets for help on using tickets.