#65774 closed defect (fixed)
gnome-dictionary @3.26.1: ERROR: Function does not take positional arguments
Reported by: | jettero-jet | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | MarjaE2, barracuda156, dbevans (David B. Evans) | |
Port: | gnome-dictionary |
Description (last modified by jmroot (Joshua Root))
Hello to all,
I have a problem installing Gnome from Macports.
Once it lists the dependencies, I validate the command with "yes".
And once it installs the packages, I get this:
---> Fetching archive for gnome-dictionary ---> Attempting to fetch gnome-dictionary-3.26.1_0.darwin_21.x86_64.tbz2 from packages.macports.org/gnome-dictionary ---> Attempting to fetch gnome-dictionary-3.26.1_0.darwin_21.x86_64.tbz2 from ywg.ca.packages.macports.org/mirror/macports/packages/gnome-dictionary ---> Attempting to fetch gnome-dictionary-3.26.1_0.darwin_21.x86_64.tbz2 from mse.uk.packages.macports.org/gnome-dictionary ---> Configuring gnome-dictionary Error: Failed to configure gnome-dictionary: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work/build/meson-logs/meson-log.txt Error: Failed to configure gnome-dictionary: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/main.log for details. Error: Follow guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port gnome failed
I couldn't find a solution on google with some of these keywords.
Have you ever encountered this situation?
Thank you, Jet
Attachments (2)
Change History (10)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Milestone: | MacPorts Future |
Owner: | set to dbevans |
Port: | gnome-dictionary added; gnome-desktop removed |
Status: | new → assigned |
Summary: | Gnome-desktop installation problem → gnome-dictionary @3.26.1 configure failure |
comment:2 Changed 2 years ago by jettero-jet
meson-log.txt
UW PICO 5.09 File: meson-log.txt Build started at 2022-09-05T14:47:29.574153 Main binary: /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 Build Options: -Dprefix=/opt/local Python system: Darwin The Meson build system Version: 0.63.0 Source dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work/gnome-dictionary-3.26.1 Build dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work/build Build type: native build Project name: gnome-dictionary Project version: 3.26.1 Sanity testing C compiler: /usr/bin/clang Is cross compiler: False. Sanity check compiler command line: /usr/bin/clang sanitycheckc.c -o sanitycheckc.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -I/opt/local/include -isy$ Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work/build/meso$ C compiler for the host machine: /usr/bin/clang (clang 13.1.6 "Apple clang version 13.1.6 (clang-1316.0.21.2.5)") C linker for the host machine: /usr/bin/clang ld64 764 Sanity testing C compiler: /usr/bin/clang Is cross compiler: False. Sanity check compiler command line: /usr/bin/clang sanitycheckc.c -o sanitycheckc.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -I/opt/local/include -isy$ Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work/build/meso$ C compiler for the build machine: /usr/bin/clang (clang 13.1.6 "Apple clang version 13.1.6 (clang-1316.0.21.2.5)") C linker for the build machine: /usr/bin/clang ld64 764 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: x86_64 Target machine cpu: x86_64 Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work/build/meson-private$ Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dict$ Code: #ifdef __has_include #if !__has_include("unistd.h") #error "Header 'unistd.h' could not be found" #endif #else #include <unistd.h> #endif Compiler stdout: Compiler stderr: Has header "unistd.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work/build/meson-private$ Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dict$ Code: extern int i;
main.log
UW PICO 5.09 File: main.log version:1 :debug:clean Starting logging for gnome-dictionary @3.26.1_0 :debug:sysinfo macOS 12.5.1 (darwin/21.6.0) arch i386 :debug:sysinfo MacPorts 2.7.2 :debug:sysinfo Xcode none :debug:sysinfo SDK 12 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0 :debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work /opt/loc$ :debug:clean dropping privileges: euid changed to 502, egid changed to 501. :debug:main Executing org.macports.main (gnome-dictionary) :debug:main Privilege de-escalation not attempted as not running as root. :debug:archivefetch archivefetch phase started at Mon Sep 5 09:39:24 CEST 2022 :msg:archivefetch ---> Fetching archive for gnome-dictionary :debug:archivefetch Executing org.macports.archivefetch (gnome-dictionary) :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports :debug:archivefetch euid/egid changed to: 502/501 :info:archivefetch ---> gnome-dictionary-3.26.1_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch gnome-dictionary-3.26.1_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/gnome-dictionary :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 :msg:archivefetch ---> Attempting to fetch gnome-dictionary-3.26.1_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gnome-dictionary :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 :msg:archivefetch ---> Attempting to fetch gnome-dictionary-3.26.1_0.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/gnome-dictionary :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Mon Sep 5 09:39:25 CEST 2022 :notice:fetch ---> Fetching distfiles for gnome-dictionary :debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0. :debug:fetch dropping privileges: euid changed to 502, egid changed to 501. :debug:fetch Executing org.macports.fetch (gnome-dictionary) :info:fetch ---> gnome-dictionary-3.26.1.tar.xz does not exist in /opt/local/var/macports/distfiles/gnome-dictionary :notice:fetch ---> Attempting to fetch gnome-dictionary-3.26.1.tar.xz from https://distfiles.macports.org/gnome-dictionary :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Mon Sep 5 09:39:25 CEST 2022 :notice:checksum ---> Verifying checksums for gnome-dictionary :debug:checksum Executing org.macports.checksum (gnome-dictionary) :info:checksum ---> Checksumming gnome-dictionary-3.26.1.tar.xz :debug:checksum Calculated (rmd160) is 2cc3598c4edc75e0fce395d272b86470dc595633 :debug:checksum Correct (rmd160) checksum for gnome-dictionary-3.26.1.tar.xz :debug:checksum Calculated (sha256) is 16b8bc248dcf68987826d5e39234b1bb7fd24a2607fcdbf4258fde88f012f300 :debug:checksum Correct (sha256) checksum for gnome-dictionary-3.26.1.tar.xz :debug:checksum Calculated (size) is 662048 :debug:checksum Correct (size) checksum for gnome-dictionary-3.26.1.tar.xz :debug:checksum Privilege de-escalation not attempted as not running as root. :debug:extract extract phase started at Mon Sep 5 09:39:25 CEST 2022 :notice:extract ---> Extracting gnome-dictionary :debug:extract setting option extract.cmd to /opt/local/bin/xz :debug:extract Executing org.macports.extract (gnome-dictionary) :info:extract ---> Extracting gnome-dictionary-3.26.1.tar.xz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/gnome-dictionary/gnome-dictionary-3.26.1.tar.xz' :debug:extract Environment: :debug:extract CC_PRINT_OPTIONS='YES' :debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work/.$ :debug:extract CPATH='/opt/local/include' :debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:extract LIBRARY_PATH='/opt/local/lib' :debug:extract MACOSX_DEPLOYMENT_TARGET='12.0' :debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk' :info:extract Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work" && /opt/$ :debug:extract system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work" && /opt/lo$ :debug:extract euid/egid changed to: 0/0 :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-dictionary/gnome-dictionary/work to macports :debug:extract euid/egid changed to: 502/501 :debug:extract Privilege de-escalation not attempted as not running as root. :debug:patch patch phase started at Mon Sep 5 09:39:25 CEST 2022 :debug:patch Executing org.macports.patch (gnome-dictionary)
comment:3 Changed 2 years ago by jmroot (Joshua Root)
Please use the "Attach file" button to upload the complete files.
Changed 2 years ago by jettero-jet
Attachment: | meson-log.txt added |
---|
Changed 2 years ago by jettero-jet
comment:4 follow-up: 5 Changed 2 years ago by jmroot (Joshua Root)
The relevant error appears to be
data/meson.build:1:5: ERROR: Function does not take positional arguments.
It looks like the meson.build file needs to be updated for compatibility with the current version of meson.
comment:5 Changed 2 years ago by jettero-jet
Thank you for seeing this. Well, I've been looking to update this file but I can't find it anywhere. Do you have any advice on how to do this?
Replying to jmroot:
The relevant error appears to be
data/meson.build:1:5: ERROR: Function does not take positional arguments.It looks like the meson.build file needs to be updated for compatibility with the current version of meson.
comment:6 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | MarjaE2 barracuda156 dbevans added |
---|---|
Owner: | changed from dbevans to ryandesign |
Status: | assigned → accepted |
Summary: | gnome-dictionary @3.26.1 configure failure → gnome-dictionary @3.26.1: ERROR: Function does not take positional arguments |
comment:7 follow-up: 8 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:8 Changed 3 months ago by barracuda156
Replying to ryandesign:
In 798c311f33bf38e349393cdf0e13131702abd538/macports-ports (master):
Thank you! This works now.
Please attach the two log files mentioned in the error messages.