FS#48337 - [nimble] Failed to build packages which config file is written in nimscript.
Attached to Project:
Community Packages
Opened by wicastC (wicast) - Thursday, 25 February 2016, 11:07 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 12 March 2016, 10:38 GMT
Opened by wicastC (wicast) - Thursday, 25 February 2016, 11:07 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 12 March 2016, 10:38 GMT
|
Details
Description:
For those using nimscript to write nimble config,it will failed with these message: $ nimble build FAILURE: Could not read package info file in /home/wicast/Thrid-part/nim-readJson-benchmarks/json_reader.nimble; Reading as ini file failed with: Invalid section: . Evaluating as NimScript file failed with: Cannot find nimscriptapi.nim. Additional info: * package version(s): 1:0.7.2-1 Nimble need extra source file for nimscript support. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Saturday, 12 March 2016, 10:38 GMT
Reason for closing: Upstream
Additional comments about closing: Found a workaround, but this is still an issue. The installation method Upstream provides does not work.
Saturday, 12 March 2016, 10:38 GMT
Reason for closing: Upstream
Additional comments about closing: Found a workaround, but this is still an issue. The installation method Upstream provides does not work.
Package versions:
- nim: 0.13.0-2
- nimble: 1:0.7.2-1
Exact same error if you're wondering:
FAILURE: Could not read package info file in /home/shrike/confmacs/confmacs.nimble;
Reading as ini file failed with:
Invalid section: .
Evaluating as NimScript file failed with:
Cannot find nimscriptapi.nim.
This is the error I get:
CC: stdlib_linenoise
CC: stdlib_browsers
CC: clinenoise
Hint: [Link]
Hint: operation successful (93025 lines compiled; 18.860 sec total; 199.204MB; Debug Build) [SuccessX]
Traceback (most recent call last)
nimble.nim(962) nimble
nimble.nim(887) doAction
nimble.nim(869) execHook
packageparser.nim(230) readPackageInfo
Error: unhandled exception: Could not read package info file in /build/nimble/src/nimble/nimble.nimble;
Reading as ini file failed with:
Invalid section: .
Evaluating as NimScript file failed with:
Error: cannot open '/build/nimble/src/nimble/lib/system.nim'. [NimbleError]
Error: execution of an external program failed: '/build/nimble/src/nimble/src/nimble install'
Please report upstream.
Wish nimble came with a working installation method.