yglukhov / nimx

GUI library
MIT License
1.08k stars 76 forks source link

error nimble install nimx #489

Open rforcen opened 2 years ago

rforcen commented 2 years ago

Linux desktop 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

asd@desktop:~/Documents/nim$ nimble install nimx Downloading https://github.com/yglukhov/nimx using git Verifying dependencies for nimx@0.1 Info: Dependency on sdl2@any version already satisfied Verifying dependencies for sdl2@2.0.2 Installing opengl@#head Downloading https://github.com/nim-lang/opengl using git Verifying dependencies for opengl@#head Info: Dependency on x11@>= 1.1 already satisfied Verifying dependencies for x11@1.1 Installing opengl@#head Success: opengl installed successfully. Info: Dependency on nimsl@>= 0.3 already satisfied Verifying dependencies for nimsl@0.3.2 Info: Dependency on variant@any version already satisfied Verifying dependencies for variant@0.2.11 Installing jnim@any version Downloading https://github.com/yglukhov/jnim using git Verifying dependencies for jnim@0.5.1 Installing jnim@0.5.1 Success: jnim installed successfully. Installing nake@any version Downloading https://github.com/fowlmouth/nake using git Warning: Package 'nake' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'nake.nim', but a file named 'nakefile.nim' was found. This will be an error in the future. Hint: If this is the primary source file in the package, rename it to 'nake.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'nake', then move it into a 'nakepkg/' subdirectory. If it's a test file or otherwise not required to build the the package 'nake.nim', prevent its installation by adding skipFiles = @["nakefile.nim"] to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info. Verifying dependencies for nake@1.9.4 Installing nake@1.9.4 Building nake/nake using c backend Success: nake installed successfully. Installing closure_compiler@>= 0.3.1 Downloading https://github.com/yglukhov/closure_compiler.git using git Verifying dependencies for closure_compiler@0.3.5 Installing closure_compiler@0.3.5 Building closure_compiler/closure_compiler using c backend /tmp/nimble_15805/githubcom_yglukhovclosurecompilergit_0.3.1/closure_compiler.nim(149, 12) Warning: Use the 'parseopt' module instead; parseopt2 is deprecated [Deprecated] /tmp/nimble_15805/githubcom_yglukhovclosurecompilergit_0.3.1/closure_compiler.nim(1, 59) Warning: imported and not used: 'streams' [UnusedImport] Success: closure_compiler installed successfully. Installing plists@any version Downloading https://github.com/yglukhov/plists using git Verifying dependencies for plists@0.2.0 Installing darwin@any version Downloading https://github.com/yglukhov/darwin using git Verifying dependencies for darwin@0.1.0 Installing darwin@0.1.0 Success: darwin installed successfully. Installing plists@0.2.0 Success: plists installed successfully. Info: Dependency on variant@>= 0.2 & < 0.3 already satisfied Verifying dependencies for variant@0.2.11 Installing kiwi@any version Downloading https://github.com/yglukhov/kiwi using git Verifying dependencies for kiwi@0.1.0 Installing kiwi@0.1.0 Success: kiwi installed successfully. Installing https://github.com/yglukhov/ttf@>= 0.2.9 & < 0.3 Downloading https://github.com/yglukhov/ttf using git Verifying dependencies for ttf@0.2.12 Installing nimBMP@any version Downloading https://github.com/jangko/nimBMP using git Verifying dependencies for nimBMP@0.1.8 Installing nimBMP@0.1.8 Success: nimBMP installed successfully. Installing ttf@0.2.12 Success: ttf installed successfully. Installing https://github.com/yglukhov/async_http_request@any version Downloading https://github.com/yglukhov/async_http_request using git Verifying dependencies for async_http_request@0.1.4 Installing jsbind@any version Downloading https://github.com/yglukhov/jsbind using git Verifying dependencies for jsbind@0.1.1 Installing https://github.com/yglukhov/wasmrt@any version Downloading https://github.com/yglukhov/wasmrt using git Verifying dependencies for wasmrt@0.1.0 Installing wasmrt@0.1.0 Success: wasmrt installed successfully. Installing jsbind@0.1.1 Success: jsbind installed successfully. Installing async_http_request@0.1.4 Success: async_http_request installed successfully. Info: Dependency on jsbind@any version already satisfied Verifying dependencies for jsbind@0.1.1 Info: Dependency on https://github.com/yglukhov/wasmrt@any version already satisfied Verifying dependencies for wasmrt@0.1.0 Installing rect_packer@any version Downloading https://github.com/yglukhov/rect_packer using git Verifying dependencies for rect_packer@0.1.0 Installing rect_packer@0.1.0 Success: rect_packer installed successfully. Installing https://github.com/yglukhov/android@any version Downloading https://github.com/yglukhov/android using git Verifying dependencies for android@0.1.0 Info: Dependency on jnim@any version already satisfied Verifying dependencies for jnim@0.5.1 Installing android@0.1.0 Success: android installed successfully. Info: Dependency on https://github.com/yglukhov/darwin@any version already satisfied Verifying dependencies for darwin@0.1.0 Installing os_files@any version Downloading https://github.com/tormund/os_files using git Verifying dependencies for os_files@0.1.2 Installing oldgtk3@any version Downloading https://github.com/stefansalewski/oldgtk3 using git Verifying dependencies for oldgtk3@0.1.0 Installing oldgtk3@0.1.0 Success: oldgtk3 installed successfully. Info: Dependency on jsbind@any version already satisfied Verifying dependencies for jsbind@0.1.1 Info: Dependency on https://github.com/yglukhov/wasmrt@any version already satisfied Verifying dependencies for wasmrt@0.1.0 Info: Dependency on https://github.com/yglukhov/darwin@any version already satisfied Verifying dependencies for darwin@0.1.0 Installing os_files@0.1.2 Success: os_files installed successfully. Installing https://github.com/tormund/nester@any version Downloading https://github.com/tormund/nester using git Warning: Package 'nester' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'nester.nim', but a file named 'nestd.nim' was found. This will be an error in the future. Hint: If this is the primary source file in the package, rename it to 'nester.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'nester', then move it into a 'nester/' subdirectory. If it's a test file or otherwise not required to build the the package 'nester.nim', prevent its installation by adding skipFiles = @["nestd.nim"] to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info. Verifying dependencies for nester@0.2.0 Installing https://github.com/kedean/nest@any version Downloading https://github.com/kedean/nest using git Verifying dependencies for nest@0.1.0 Installing nest@0.1.0 Success: nest installed successfully. Installing cligen@any version Downloading https://github.com/c-blake/cligen.git using git Verifying dependencies for cligen@1.5.9 Installing cligen@1.5.9 Success: cligen installed successfully. Installing nester@0.2.0 Building nester/nestd using c backend /tmp/nimble_15805/githubcom_tormundnester/src/nester.nim(153, 57) template/generic instantiation of async from here /tmp/nimble_15805/githubcom_tormundnester/src/nester.nim(166, 24) Warning: use fileExists; existsFile is deprecated [Deprecated] /tmp/nimble_15805/githubcom_tormundnester/src/nester.nim(153, 57) template/generic instantiation of async from here /tmp/nimble_15805/githubcom_tormundnester/src/nester.nim(176, 34) Error: 'anonymousIter' is not GC-safe as it performs an indirect call here Tip: 379 messages have been suppressed, use --verbose to show them. Error: Build failed for package: nester ... Execution failed with exit code 1 ... Command: /usr/local/bin/nim c --colors:on --noNimblePath -d:release -d:NimblePkgVersion=0.2.0 --path:/home/asd/.nimble/pkgs/nest-0.1.0 --path:/home/asd/.nimble/pkgs/cligen-1.5.9 --hints:off -o:/tmp/nimble_15805/githubcom_tormundnester/nestd /tmp/nimble_15805/githubcom_tormundnester/src/nestd.nim

Tormund commented 2 years ago

Hello, which nim version are you using?

Tormund commented 2 years ago

Should be fixed in https://github.com/Tormund/nester/commit/15e612c52e8d487bff324a2b5453b2d11d65b410
please try again

rforcen commented 2 years ago

hi, Nim Compiler Version 1.4.8 [Linux: amd64]

On Thu, Aug 12, 2021 at 11:22 AM Volodymyr Melnychuk < @.***> wrote:

Hello, which nim version are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yglukhov/nimx/issues/489#issuecomment-897483822, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNCSL3VKY35ESB6ZPQ3T2LT4OHGBANCNFSM5CAQXI3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .