[MacPorts] #70479: gnome-calculator 46.1 does not build: error: The name `send_and_splice_async' does not exist in the context of `Soup.Session' (libsoup-3.0)
MacPorts
noreply at macports.org
Fri Aug 2 10:19:41 UTC 2024
#70479: gnome-calculator 46.1 does not build: error: The name
`send_and_splice_async' does not exist in the context of `Soup.Session'
(libsoup-3.0)
--------------------------+------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: gnome-calculator
--------------------------+------------------------------
Something is broken now:
{{{
:info:build [137/292] /opt/local/bin/meson --internal msgfmthelper
--msgfmt=/opt/local/bin/msgfmt data/org.gnome.Calculator.desktop.in
data/org.gnome.Calculator.desktop desktop
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_gnome_gnome-calculator/gnome-
calculator/work/gnome-calculator-46.1/po
:info:build [138/292] valac -C --debug --pkg posix
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_gnome_gnome-calculator/gnome-
calculator/work/gnome-calculator-46.1/vapi/mpfr.vapi
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_gnome_gnome-calculator/gnome-
calculator/work/gnome-calculator-46.1/vapi/mpc.vapi --pkg libxml-2.0 --pkg
libsoup-3.0 --pkg libadwaita-1 --pkg gtksourceview-5 --pkg gtk4 --pkg
gobject-2.0 --target-glib ' 2.40.0' --pkg glib-2.0 --pkg gio-2.0
--color=always --directory lib/libcalculator.a.p --basedir ../gnome-
calculator-46.1/lib --library calculator --header lib/calculator.h --vapi
../calculator.vapi --target-glib 2.40.0 ../gnome-
calculator-46.1/lib/currency.vala ../gnome-calculator-46.1/lib/currency-
provider.vala ../gnome-calculator-46.1/lib/equation.vala ../gnome-
calculator-46.1/lib/equation-lexer.vala ../gnome-calculator-46.1/lib
/equation-parser.vala ../gnome-calculator-46.1/lib/financial.vala
../gnome-calculator-46.1/lib/function-manager.vala ../gnome-
calculator-46.1/lib/math-equation.vala ../gnome-calculator-46.1/lib/math-
function.vala ../gnome-calculator-46.1/lib/math-variables.vala ../gnome-
calculator-46.1/lib/number.vala ../gnome-
calculator-46.1/lib/serializer.vala ../gnome-calculator-46.1/lib/unit.vala
libmpfr/mpfrg.vapi
:info:build FAILED: lib/libcalculator.a.p/currency.c lib/libcalculator.a.p
/currency-provider.c lib/libcalculator.a.p/equation.c
lib/libcalculator.a.p/equation-lexer.c lib/libcalculator.a.p/equation-
parser.c lib/libcalculator.a.p/financial.c lib/libcalculator.a.p/function-
manager.c lib/libcalculator.a.p/math-equation.c lib/libcalculator.a.p
/math-function.c lib/libcalculator.a.p/math-variables.c
lib/libcalculator.a.p/number.c lib/libcalculator.a.p/serializer.c
lib/libcalculator.a.p/unit.c lib/calculator.h lib/calculator.vapi
:info:build valac -C --debug --pkg posix
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_gnome_gnome-calculator/gnome-
calculator/work/gnome-calculator-46.1/vapi/mpfr.vapi
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_gnome_gnome-calculator/gnome-
calculator/work/gnome-calculator-46.1/vapi/mpc.vapi --pkg libxml-2.0 --pkg
libsoup-3.0 --pkg libadwaita-1 --pkg gtksourceview-5 --pkg gtk4 --pkg
gobject-2.0 --target-glib ' 2.40.0' --pkg glib-2.0 --pkg gio-2.0
--color=always --directory lib/libcalculator.a.p --basedir ../gnome-
calculator-46.1/lib --library calculator --header lib/calculator.h --vapi
../calculator.vapi --target-glib 2.40.0 ../gnome-
calculator-46.1/lib/currency.vala ../gnome-calculator-46.1/lib/currency-
provider.vala ../gnome-calculator-46.1/lib/equation.vala ../gnome-
calculator-46.1/lib/equation-lexer.vala ../gnome-calculator-46.1/lib
/equation-parser.vala ../gnome-calculator-46.1/lib/financial.vala
../gnome-calculator-46.1/lib/function-manager.vala ../gnome-
calculator-46.1/lib/math-equation.vala ../gnome-calculator-46.1/lib/math-
function.vala ../gnome-calculator-46.1/lib/math-variables.vala ../gnome-
calculator-46.1/lib/number.vala ../gnome-
calculator-46.1/lib/serializer.vala ../gnome-calculator-46.1/lib/unit.vala
libmpfr/mpfrg.vapi
:info:build ../gnome-calculator-46.1/lib/currency-
provider.vala:161.19-161.47: error: The name `send_and_splice_async' does
not exist in the context of `Soup.Session' (libsoup-3.0)
:info:build 161 | yield session.send_and_splice_async
(message, output,
:info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ../gnome-calculator-46.1/lib/currency-
provider.vala:158.17-158.23: note: `session' was declared here
:info:build 158 | var session = new Soup.Session ();
:info:build | ^~~~~~~
:info:build ../gnome-calculator-46.1/lib/currency-
provider.vala:135.13-135.35: error: The name `send_and_splice' does not
exist in the context of `Soup.Session' (libsoup-3.0)
:info:build 135 | session.send_and_splice (message, output,
:info:build | ^~~~~~~~~~~~~~~~~~~~~~~
:info:build ../gnome-calculator-46.1/lib/currency-
provider.vala:132.17-132.23: note: `session' was declared here
:info:build 132 | var session = new Soup.Session ();
:info:build | ^~~~~~~
:info:build Compilation failed: 2 error(s), 0 warning(s)
}}}
P. S. Also, this flag is clang-specific:
{{{
cc1: note: unrecognized command-line option '-Wno-incompatible-function-
pointer-types' may have been intended to silence earlier diagnostics
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70479>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list