flake-nimble icon indicating copy to clipboard operation
flake-nimble copied to clipboard

httpbeast fails to build

Open getchoo opened this issue 2 years ago • 0 comments

currently working on making a flake for a nim project when i found this. the build fails (log below), and to me it looks like it'd be something to do with asynctools but that builds fine. compiling asynctools myself with nim directly at the current commit triggered the same issue however..but it's still not reproducible with nix when running nix path-info nimble#asynctools | xargs nix store remove && nix build nimble#asynctools

when attempting to build the latest commit, the issue is resolved. i tried to update the commit in the package myself with nix run .#package-updater generate asynctools and see if that would fix it, but no update was ever detected. i've had trouble figuring out how to do this manually as well, so sorry i can't make a pr :(

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/igfzbvbgp18wihxajmj58yjivylfzh8n-httpbeast-abc13d1
source root is httpbeast-abc13d1
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
generating config.nims
found nimble input /nix/store/19bw7c216rj118hhm5ln3alihvg5ilj1-asynctools-2021-02-14
@nix { "action": "setPhase", "phase": "buildPhase" }
building
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
check job 0: nim r tests/tester.nim
Hint: used config file '/nix/store/8f9nw66cvicq3jmsv2sqifchdp7c8la1-x86_64-unknown-linux-gnu-nim-wrapper-1.6.2/etc/nim/>
Hint: used config file '/nix/store/8f9nw66cvicq3jmsv2sqifchdp7c8la1-x86_64-unknown-linux-gnu-nim-wrapper-1.6.2/etc/nim/>
Hint: used config file '/build/httpbeast-abc13d1/config.nims' [Conf]
Hint: used config file '/build/httpbeast-abc13d1/tests/nim.cfg' [Conf]
........................................................................................................................
/nix/store/19bw7c216rj118hhm5ln3alihvg5ilj1-asynctools-2021-02-14/asynctools/asyncdns.nim:562:49 template/generic insta>
/nix/store/19bw7c216rj118hhm5ln3alihvg5ilj1-asynctools-2021-02-14/asynctools/asyncdns.nim:580:16 Error: undeclared iden>
candidates (edit distance, scope distance); see '--spellSuggest':
 (5, 7): 'createAsyncNativeSocket' [proc declared in /nix/store/nkr1779hca3jmv88z3ql6hphg2m0grng-nim-unwrapped-1.6.2/ni>
 (5, 7): 'createAsyncNativeSocket' [proc declared in /nix/store/nkr1779hca3jmv88z3ql6hphg2m0grng-nim-unwrapped-1.6.2/ni>
check phase failed

getchoo avatar Feb 22 '23 06:02 getchoo