From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Cyprien Nicolas Newsgroups: gmane.lisp.guile.bugs Subject: bug#36340: Test failures when networking is disabled Date: Sun, 23 Jun 2019 13:44:26 +0200 Message-ID: <52873187-7898-41ff-be3c-fd9fe2a8802b@nicolas.tf> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="217145"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 To: 36340@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Jun 23 13:45:12 2019 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hf0vn-000uM7-9s for guile-bugs@m.gmane.org; Sun, 23 Jun 2019 13:45:11 +0200 Original-Received: from localhost ([::1]:44156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf0vm-00072F-9a for guile-bugs@m.gmane.org; Sun, 23 Jun 2019 07:45:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37518) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf0vg-00071t-Al for bug-guile@gnu.org; Sun, 23 Jun 2019 07:45:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hf0vf-0005xr-4k for bug-guile@gnu.org; Sun, 23 Jun 2019 07:45:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39388) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hf0ve-0005wa-WF for bug-guile@gnu.org; Sun, 23 Jun 2019 07:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hf0ve-0005f5-Qf for bug-guile@gnu.org; Sun, 23 Jun 2019 07:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Cyprien Nicolas Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 23 Jun 2019 11:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36340 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156129028221710 (code B ref -1); Sun, 23 Jun 2019 11:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Jun 2019 11:44:42 +0000 Original-Received: from localhost ([127.0.0.1]:52932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf0vJ-0005e5-LV for submit@debbugs.gnu.org; Sun, 23 Jun 2019 07:44:41 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf0vG-0005dx-Mr for submit@debbugs.gnu.org; Sun, 23 Jun 2019 07:44:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37432) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf0vF-0006yC-Is for bug-guile@gnu.org; Sun, 23 Jun 2019 07:44:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hf0vE-0003tB-H6 for bug-guile@gnu.org; Sun, 23 Jun 2019 07:44:37 -0400 Original-Received: from cubran.fulax.net ([2a03:7220:8081:7e00::1]:53452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hf0vE-0003Wk-2J for bug-guile@gnu.org; Sun, 23 Jun 2019 07:44:36 -0400 Original-Received: from [192.168.1.9] (static-176-139-30-77.ftth.abo.bbox.fr [176.139.30.77]) by cubran.fulax.net (Postfix) with ESMTPSA id 0CA319600B for ; Sun, 23 Jun 2019 11:44:27 +0000 (UTC) Authentication-Results: cubran.fulax.net; dmarc=none header.from=nicolas.tf DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolas.tf; s=beta; t=1561290267; bh=XD1LbDW/ykmKAV3U7Xg6rBb0GpktVd0mVm+eiS2WYSE=; h=To:From:Subject:Date:From; b=fEeSn0A35Qb+N2s49gtBv3ce0/W2r3XYpAJyez03UVnNd6EfQMmAgFRVAKngRqPV1 y2cBXWdq4DMjIILzb0Ur+/xDLbL2MEgMTJBfpKNoD2It3In4ekUU2OpdlBvmHA27sH PEMdu/pVQf/7IkTU/U7bjTWDCt1wupaNwgNXEAQ0c3pNdj+ZAFzzFVYiZjQdfudUk1 Y2WVCCnuYrMW8WgECyvdmhdjM+mLBsLhk1CCQ6zDjnjfOiRC8GSX+e+Rjz2R04LBaP 8BMiFyEMWSmR6AlSZvB0NZ4qol98fyK6qQGGzot28mGBJFlpz4PQ4Hz0962VkNWxkE 0x7wAQHgo86DmeAhGUirk7yHNNPgi1N+WNrqV1yN9dp2xxWIpVRWsRe5q0gSuF37wQ APCllYOF8+rOJBeVyinvZo+AyJ522aX+9bB3Fb1cWsG4zN+gia4Mmv0/PdmqpnpbLT qDtgEQv4nJVKt41KIoeRdhdIZ/krMwJ/lsAzS45FFdn5SlznYKS2coZ0Nthc/MuMPv Zvagk0MEhAZlI01Kkyx6wgzcAbX6NENlwGA+WzBZmeaBpGeZHwR4bt1B+nSMEuW6Yf fLWBW/zBRCGaBCYXLVAJDDu7SzfApoRFRE8+mgvqz6rVjNLT4RPEcFMqsgZrLt6skk qINpGGgvKV5vV9D02VToEnFw= Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9355 Archived-At: Hello, Guile's configure script offers an option to disable networking support, but when disabled, some test won't pass. -----8<-----8<-----8<-----8<-----8<----- Running 00-repl-server.test ERROR: 00-repl-server.test: repl-server: simple expression - arguments: ((unbound-variable #f "Unbound variable: ~S" (make-socket-address) #f)) ERROR: 00-repl-server.test: repl-server: HTTP inter-protocol attack - arguments: ((unbound-variable #f "Unbound variable: ~S" (make-socket-address) #f)) ----->8----->8----->8----->8----->8----- The error is obviously related to the configure option. I have a patch for catching unbound-variable and throw unresolved instead, tested on 2.2 and 2.0 branches. Reference: https://bugs.gentoo.org/629004 That patch is enough for stable-2.0 but there is another failure in suspendable-ports in 2.2.5, as the suspendable-ports ice-9 module overrides accept and connect functions, missing when networking is disabled. -----8<-----8<-----8<-----8<-----8<----- $ guile-2.2 GNU Guile 2.2.5 Copyright (C) 1995-2019 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (use-modules (ice-9 suspendable-ports)) While compiling expression: In procedure public-lookup: No variable bound to accept in module (guile) ----->8----->8----->8----->8----->8----- Is guile configured with --disable-networking still a supported configuration? Thanks, Cyprien