Opened 6 years ago

Closed 6 years ago

#57675 closed defect (fixed)

libhttpseverywhere @0.8.3: error: 1 extra arguments for `Archive.Result Archive.Read.open_memory (uint8[])'

Reported by: chavrill Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: libhttpseverywhere

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--->  Building libhttpseverywhere
Error: Failed to build libhttpseverywhere: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_libhttpseverywhere/libhttpseverywhere/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port libhttpseverywhere failed
:info:build FAILED: src/src@@httpseverywhere-0.8@sha/context.c src/src@@httpseverywhere-0.8@sha/ruleset.c src/src@@httpseverywhere-0.8@sha/update.c src/httpseverywhere.h src/httpseverywhere-0.8.vapi src/HTTPSEverywhere-0.8.gir 
:info:build valac -C --debug --debug --pkg libarchive --pkg gee-0.8 --pkg gio-2.0 --pkg libsoup-2.4 --pkg json-glib-1.0 --pkg gobject-2.0 --pkg glib-2.0 --color=always --directory src/src@@httpseverywhere-0.8@sha --basedir ../libhttpseverywhere-0.8.3/src --library httpseverywhere-0.8 --header src/httpseverywhere.h --vapi ../httpseverywhere-0.8.vapi --gir ../HTTPSEverywhere-0.8.gir ../libhttpseverywhere-0.8.3/src/context.vala ../libhttpseverywhere-0.8.3/src/ruleset.vala ../libhttpseverywhere-0.8.3/src/update.vala
:info:build ../libhttpseverywhere-0.8.3/src/update.vala:191.13-191.52: error: 1 extra arguments for `Archive.Result Archive.Read.open_memory (uint8[])'
:info:build             zipreader.open_memory(output, size_read);
:info:build             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:info:build ../libhttpseverywhere-0.8.3/src/update.vala:201.33-201.73: error: 1 extra arguments for `ssize_t Archive.Read.read_data (uint8[])'
:info:build                         var r = zipreader.read_data(jsonblock, 1024*1024);
:info:build                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:info:build Compilation failed: 2 error(s), 0 warning(s)
:info:build ninja: build stopped: subcommand failed.
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_libhttpseverywhere/libhttpseverywhere/work/build" && /opt/local/bin/ninja -j2 
:info:build Exit code: 1
:error:build Failed to build libhttpseverywhere: command execution failed
:debug:build Error code: CHILDSTATUS 8981 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_libhttpseverywhere/libhttpseverywhere/main.log for details

Attachments (1)

main.log (146.6 KB) - added by chavrill 6 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_libhttpseverywhere/libhttpseverywhere/main.log

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by chavrill

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_libhttpseverywhere/libhttpseverywhere/main.log

comment:1 Changed 6 years ago by kencu (Ken)

Description: modified (diff)
Summary: Can't build libhttpseverywherelibhttpseverywhere@0.83: error: 1 extra arguments for `Archive.Result Archive.Read.open_memory (uint8[])'

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

Description: modified (diff)
Summary: libhttpseverywhere@0.83: error: 1 extra arguments for `Archive.Result Archive.Read.open_memory (uint8[])'libhttpseverywhere @0.8.3: error: 1 extra arguments for `Archive.Result Archive.Read.open_memory (uint8[])'

Upstream bug report 3 months ago; no activity. No commits to master since the release of 0.8.3.

comment:3 Changed 6 years ago by dbevans (David B. Evans)

Owner: set to dbevans
Resolution: fixed
Status: newclosed

In b893f386b784194f536c6797764ee76431ad775d/macports-ports (master):

libhttpseverywhere: fix build with vala 0.42, rebuild

Due to vala Archive.Read API changes.

Closes #57675

Note: See TracTickets for help on using tickets.