From: jwodder Date: Thu, 8 Oct 2020 13:02:20 +0000 (+0000) Subject: (no commit message) X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~106^2~110^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d4cb2e044b0994470ea035dc8debcba5981ceef9;p=git-annex.git --- diff --git a/doc/bugs/__34__Variable_not_in_scope__34___when_compiling_on_Windows.mdwn b/doc/bugs/__34__Variable_not_in_scope__34___when_compiling_on_Windows.mdwn new file mode 100644 index 0000000000..84d8b1cfd3 --- /dev/null +++ b/doc/bugs/__34__Variable_not_in_scope__34___when_compiling_on_Windows.mdwn @@ -0,0 +1,20 @@ +Attempting to build commit 7fcbb92 on Windows 7 by running "stack build" fails with the following error: + +[[!format sh """ +[571 of 636] Compiling Utility.WebApp + +Utility\WebApp.hs:93:17: error: + Variable not in scope: inet_addr :: [Char] -> IO HostAddress + | +93 | addr <- inet_addr "127.0.0.1" + | ^^^^^^^^^ + +Utility\WebApp.hs:96:33: error: + Variable not in scope: aNY_PORT :: PortNumber + | +96 | bind sock (SockAddrInet aNY_PORT addr) + | ^^^^^^^^ +"""]] + +- stack version: 2.3.3 +- Windows version: Windows 7 Enterprise, version 6.1