FS#61178 - [guile] (web client) is broken

Attached to Project: Arch Linux
Opened by swedebugia (swedebugia) - Wednesday, 26 December 2018, 19:12 GMT
Last edited by Toolybird (Toolybird) - Monday, 02 January 2023, 01:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Backtrace is:
Backtrace:
7 (apply-smob/1 #<catch-closure 5616e49aa660>)
In ice-9/boot-9.scm:
705:2 6 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
619:8 5 (_ #(#(#<directory (guile-user) 5616e4a65140>)))
In ice-9/boot-9.scm:
2312:4 4 (save-module-excursion _)
3831:12 3 (_)
In test.scm:
6:2 2 (_)
In web/client.scm:
461:0 1 (http-post "http://query.wikidata.org/sparql" #:body _ # …)
179:16 0 (open-socket-for-uri _)

web/client.scm:179:16: In procedure open-socket-for-uri:
In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f

Additional info:
* i'm on parabola but this is guile from upstream extra.
* see attached file
* package version(s): 2.2.4-1
* config and/or log files etc.: no
* might be related to this: https://bugs.archlinux.org/task/61095?string=guile&project=1&search_name=&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=

Steps to reproduce:
git clone https://github.com/roelj/guile-sparql.git
cd guile-sparql
/usr/bin/guile -L . -s test.scm

If you install guix via the install script in the manual and install guile via guix it works as expected:
$ which guile
/home/egil/.guix-profile/bin/guile
$ guile -L . -s test.scm
guile: warning: failed to install locale
#<<response> version: (1 . 1) code: 403 reason-phrase: "Insecure Request Forbidden - use HTTPS - https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-May/000110.html&quot; headers: ((date . #<date nanosecond: 0 second: 0 minute: 8 hour: 19 day: 26 month: 12 year: 2018 zone-offset: 0>) (server . "Varnish") (x-varnish . "636882281") (x-cache . "cp3033 int") (x-cache-status . "int-front") (server-timing . "cache;desc=\"int-front\"") (set-cookie . "WMF-Last-Access=26-Dec-2018;Path=/;HttpOnly;secure;Expires=Sun, 27 Jan 2019 12:00:00 GMT") (set-cookie . "WMF-Last-Access-Global=26-Dec-2018;Path=/;Domain=.wikidata.org;HttpOnly;secure;Expires=Sun, 27 Jan 2019 12:00:00 GMT") (x-client-ip . "79.102.25.212") (content-type text/html (charset . "utf-8")) (content-length . 1923) (connection close)) port: #<input-output: socket 9>>
   test.scm (0.6 KiB)
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 02 January 2023, 01:02 GMT
Reason for closing:  None
Additional comments about closing:  Stale bug report. Please request reopen if you can repro with current pkgs.
Comment by swedebugia (swedebugia) - Wednesday, 26 December 2018, 19:24 GMT
Comment by Stefan Husmann (stefanhusmann) - Friday, 11 November 2022, 16:33 GMT
I think this report is no longer relevant. Guile is a 3.0.8.

Loading...