Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try without catch-- WinRPM under 1.0.0-rc1, Windows10, new package manager #154

Open
StephenVavasis opened this issue Aug 8, 2018 · 2 comments

Comments

@StephenVavasis
Copy link

I tried to install HDF5 using the new package manager, Windows 10, julia 1.0.0-rc1, and here's what happened.

(IntPtProj) pkg> add HDF5
 Resolving package versions...
 Installed WinRPM ───── v0.3.3
 Installed BinDeps ──── v0.8.9
 Installed Parameters ─ v0.9.2
  Updating `Project.toml`
  [f67ccb44] + HDF5 v0.9.3
  Updating `Manifest.toml`
  [9e28174c] + BinDeps v0.8.9
  [b99e7846] + BinaryProvider v0.4.0
  [a74b3585] + Blosc v0.5.0
  [e1450e63] + BufferedStreams v0.4.1
  [d5fb7624] + CMakeWrapper v0.2.0
  [864edb3b] + DataStructures v0.11.0
  [f67ccb44] + HDF5 v0.9.3
  [0862f596] + HTTPClient v0.2.1
  [d9be37ee] + Homebrew v0.6.4
  [b27032c2] + LibCURL v0.2.2
  [522f3ed2] + LibExpat v0.4.2
  [2ec943e9] + Libz v0.4.0
  [d96e819e] + Parameters v0.9.2
  [30578b45] + URIParser v0.4.0
  [c17dfb99] + WinRPM v0.3.3
┌ Warning: Dependency graph not a DAG, linearizing anyway
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:985
  Building WinRPM → `C:\Users\vavasis\.julia\packages\WinRPM\0uTA1\deps\build.log`
┌ Error: Error building `WinRPM`:
│ ERROR: LoadError: syntax: try without catch or finally
│ Stacktrace:
│  [1] include at .\boot.jl:317 [inlined]
│  [2] include_relative(::Module, ::String) at .\loading.jl:1038
│  [3] include(::Module, ::String) at .\sysimg.jl:29
│  [4] top-level scope at none:2
│  [5] eval at .\boot.jl:319 [inlined]
│  [6] eval(::Expr) at .\client.jl:389
│  [7] top-level scope at .\none:3
│ in expression starting at C:\Users\vavasis\.julia\packages\WinRPM\0uTA1\src\WinRPM.jl:118
│ ERROR: LoadError: Failed to precompile WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] to C:\Users\vavasis\.julia\compiled\v1.0\WinRPM\ko3j0.ji.
│ Stacktrace:
│  [1] error(::String) at .\error.jl:33
│  [2] macro expansion at .\logging.jl:313 [inlined]
│  [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
│  [4] _require(::Base.PkgId) at .\logging.jl:311
│  [5] require(::Base.PkgId) at .\loading.jl:852
│  [6] macro expansion at .\logging.jl:311 [inlined]
│  [7] require(::Module, ::Symbol) at .\loading.jl:834
│  [8] top-level scope at C:\Users\vavasis\.julia\packages\WinRPM\0uTA1\deps\build.jl:2
│  [9] include at .\boot.jl:317 [inlined]
│  [10] include_relative(::Module, ::String) at .\loading.jl:1038
│  [11] include(::Module, ::String) at .\sysimg.jl:29
│  [12] include(::String) at .\client.jl:388
│  [13] top-level scope at none:0
│ in expression starting at C:\Users\vavasis\.julia\packages\WinRPM\0uTA1\deps\build.jl:1
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1068

(IntPtProj) pkg>
@PaulSoderlind
Copy link

I did the same (install HDF5) on Julia 1.0.0/Win 64 today (17 Aug). At building, I get error messages pointing to LibExpat

(1.0.0) pkg> build HDF5
  Building LibCURL ─→ `C:\Users\Me\.julia\packages\LibCURL\Qs5og\deps\build.log`
  Building WinRPM ──→ `C:\Users\Me\.julia\packages\WinRPM\rDDZz\deps\build.log`
┌ Error: Error building `WinRPM`:
│ ERROR: LoadError: LoadError: UndefVarError: Void not defined
│ Stacktrace:
│  [1] top-level scope at C:\Users\Me\.julia\packages\LibExpat\FAade\src\lX_common_h.jl:10
│  [2] include at .\boot.jl:317 [inlined]
│  [3] include_relative(::Module, ::String) at .\loading.jl:1038
│  [4] include at .\sysimg.jl:29 [inlined]
│  [5] include(::String) at C:\Users\Me\.julia\packages\LibExpat\FAade\src\LibExpat.jl:3
│  [6] top-level scope at none:0
│  [7] include at .\boot.jl:317 [inlined]
│  [8] include_relative(::Module, ::String) at .\loading.jl:1038
│  [9] include(::Module, ::String) at .\sysimg.jl:29
│  [10] top-level scope at none:2
│  [11] eval at .\boot.jl:319 [inlined]
│  [12] eval(::Expr) at .\client.jl:389
│  [13] top-level scope at .\none:3
│ in expression starting at C:\Users\Me\.julia\packages\LibExpat\FAade\src\lX_common_h.jl:18
│ in expression starting at C:\Users\Me\.julia\packages\LibExpat\FAade\src\LibExpat.jl:16
│ ERROR: LoadError: Failed to precompile LibExpat [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] to C:\Users\Me\.julia\compiled\v1.0\LibExpat\MYp8o.ji.

@songroom2016
Copy link

songroom2016 commented Aug 17, 2018

julia:1.0/win10

julia> Pkg.add("HDF5")
Updating registry at C:\Users\wowotuo\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions...
Updating C:\Users\wowotuo\.julia\environments\v1.0\Project.toml
[f67ccb44] + HDF5 v0.9.4
Updating C:\Users\wowotuo\.julia\environments\v1.0\Manifest.toml
[a74b3585] + Blosc v0.5.1
[631607c0] + CMake v1.0.1
[d5fb7624] + CMakeWrapper v0.2.2
[f67ccb44] + HDF5 v0.9.4
[d9be37ee] + Homebrew v0.7.0
[d96e819e] + Parameters v0.9.2

julia> using HDF
ERROR: ArgumentError: Package HDF not found in current path:

  • Run Pkg.add("HDF") to install the HDF package.

Stacktrace:
[1] require(::Module, ::Symbol) at .\loading.jl:817

julia> using HDF5
[ Info: Precompiling HDF5 [f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f]
WARNING: could not import Base.endof into HDF5
ERROR: LoadError: HDF5 not properly installed. Please run Pkg.build("HDF5")
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] top-level scope at C:\Users\wowotuo.julia\packages\HDF5\jDzcD\src\HDF5.jl:45
[3] include at .\boot.jl:317 [inlined]
[4] include_relative(::Module, ::String) at .\loading.jl:1038
[5] include(::Module, ::String) at .\sysimg.jl:29
[6] top-level scope at none:2
[7] eval at .\boot.jl:319 [inlined]
[8] eval(::Expr) at .\client.jl:389
[9] top-level scope at .\none:3
in expression starting at C:\Users\wowotuo.julia\packages\HDF5\jDzcD\src\HDF5.jl:42
ERROR: Failed to precompile HDF5 [f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f] to C:\Users\wowotuo.julia\compiled\v1.0\HDF5\L7Dga.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] macro expansion at .\logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
[4] _require(::Base.PkgId) at .\logging.jl:311
[5] require(::Base.PkgId) at .\loading.jl:852
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:834

julia> Pkg.build("HDF5")
Building LibCURL ─→ C:\Users\wowotuo\.julia\packages\LibCURL\Qs5og\deps\build.log
Building WinRPM ──→ C:\Users\wowotuo\.julia\packages\WinRPM\rDDZz\deps\build.log
┌ Error: Error building WinRPM:
│ ERROR: LoadError: LoadError: UndefVarError: Void not defined
│ Stacktrace:
│ [1] top-level scope at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\lX_common_h.jl:10
│ [2] include at .\boot.jl:317 [inlined]
│ [3] include_relative(::Module, ::String) at .\loading.jl:1038
│ [4] include at .\sysimg.jl:29 [inlined]
│ [5] include(::String) at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\LibExpat.jl:3
│ [6] top-level scope at none:0
│ [7] include at .\boot.jl:317 [inlined]
│ [8] include_relative(::Module, ::String) at .\loading.jl:1038
│ [9] include(::Module, ::String) at .\sysimg.jl:29
│ [10] top-level scope at none:2
│ [11] eval at .\boot.jl:319 [inlined]
│ [12] eval(::Expr) at .\client.jl:389
│ [13] top-level scope at .\none:3
│ in expression starting at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\lX_common_h.jl:18
│ in expression starting at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\LibExpat.jl:16
│ ERROR: LoadError: Failed to precompile LibExpat [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] to C:\Users\wowotuo.julia\compiled\v1.0\LibExpat\MYp8o.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] macro expansion at .\logging.jl:313 [inlined]
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
│ [4] _require(::Base.PkgId) at .\logging.jl:311
│ [5] require(::Base.PkgId) at .\loading.jl:852
│ [6] macro expansion at .\logging.jl:311 [inlined]
│ [7] require(::Module, ::Symbol) at .\loading.jl:834
│ [8] include at .\boot.jl:317 [inlined]
│ [9] include_relative(::Module, ::String) at .\loading.jl:1038
│ [10] include(::Module, ::String) at .\sysimg.jl:29
│ [11] top-level scope at none:2
│ [12] eval at .\boot.jl:319 [inlined]
│ [13] eval(::Expr) at .\client.jl:389
│ [14] top-level scope at .\none:3
│ in expression starting at C:\Users\wowotuo.julia\packages\WinRPM\rDDZz\src\WinRPM.jl:12
│ ERROR: LoadError: Failed to precompile WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] to C:\Users\wowotuo.julia\compiled\v1.0\WinRPM\ko3j0.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] macro expansion at .\logging.jl:313 [inlined]
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
│ [4] _require(::Base.PkgId) at .\logging.jl:311
│ [5] require(::Base.PkgId) at .\loading.jl:852
│ [6] macro expansion at .\logging.jl:311 [inlined]
│ [7] require(::Module, ::Symbol) at .\loading.jl:834
│ [8] top-level scope at C:\Users\wowotuo.julia\packages\WinRPM\rDDZz\deps\build.jl:2
│ [9] include at .\boot.jl:317 [inlined]
│ [10] include_relative(::Module, ::String) at .\loading.jl:1038
│ [11] include(::Module, ::String) at .\sysimg.jl:29
│ [12] include(::String) at .\client.jl:388
│ [13] top-level scope at none:0
│ in expression starting at C:\Users\wowotuo.julia\packages\WinRPM\rDDZz\deps\build.jl:1
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1068
Building Homebrew → C:\Users\wowotuo\.julia\packages\Homebrew\l8kUw\deps\build.log
Building CMake ───→ C:\Users\wowotuo\.julia\packages\CMake\GhlEs\deps\build.log
Building Blosc ───→ C:\Users\wowotuo\.julia\packages\Blosc\lzFr0\deps\build.log
Building HDF5 ────→ C:\Users\wowotuo\.julia\packages\HDF5\jDzcD\deps\build.log
┌ Error: Error building HDF5:
│ ERROR: LoadError: LoadError: UndefVarError: Void not defined
│ Stacktrace:
│ [1] top-level scope at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\lX_common_h.jl:10
│ [2] include at .\boot.jl:317 [inlined]
│ [3] include_relative(::Module, ::String) at .\loading.jl:1038
│ [4] include at .\sysimg.jl:29 [inlined]
│ [5] include(::String) at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\LibExpat.jl:3
│ [6] top-level scope at none:0
│ [7] include at .\boot.jl:317 [inlined]
│ [8] include_relative(::Module, ::String) at .\loading.jl:1038
│ [9] include(::Module, ::String) at .\sysimg.jl:29
│ [10] top-level scope at none:2
│ [11] eval at .\boot.jl:319 [inlined]
│ [12] eval(::Expr) at .\client.jl:389
│ [13] top-level scope at .\none:3
│ in expression starting at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\lX_common_h.jl:18
│ in expression starting at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\LibExpat.jl:16
│ ERROR: LoadError: Failed to precompile LibExpat [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] to C:\Users\wowotuo.julia\compiled\v1.0\LibExpat\MYp8o.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] macro expansion at .\logging.jl:313 [inlined]
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
│ [4] _require(::Base.PkgId) at .\logging.jl:311
│ [5] require(::Base.PkgId) at .\loading.jl:852
│ [6] macro expansion at .\logging.jl:311 [inlined]
│ [7] require(::Module, ::Symbol) at .\loading.jl:834
│ [8] include at .\boot.jl:317 [inlined]
│ [9] include_relative(::Module, ::String) at .\loading.jl:1038
│ [10] include(::Module, ::String) at .\sysimg.jl:29
│ [11] top-level scope at none:2
│ [12] eval at .\boot.jl:319 [inlined]
│ [13] eval(::Expr) at .\client.jl:389
│ [14] top-level scope at .\none:3
│ in expression starting at C:\Users\wowotuo.julia\packages\WinRPM\rDDZz\src\WinRPM.jl:12
│ ERROR: LoadError: Failed to precompile WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] to C:\Users\wowotuo.julia\compiled\v1.0\WinRPM\ko3j0.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] macro expansion at .\logging.jl:313 [inlined]
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
│ [4] _require(::Base.PkgId) at .\logging.jl:311
│ [5] require(::Base.PkgId) at .\loading.jl:852
│ [6] macro expansion at .\logging.jl:311 [inlined]
│ [7] require(::Module, ::Symbol) at .\loading.jl:834
│ [8] top-level scope at C:\Users\wowotuo.julia\packages\HDF5\jDzcD\deps\build.jl:29
│ [9] include at .\boot.jl:317 [inlined]
│ [10] include_relative(::Module, ::String) at .\loading.jl:1038
│ [11] include(::Module, ::String) at .\sysimg.jl:29
│ [12] include(::String) at .\client.jl:388
│ [13] top-level scope at none:0
│ in expression starting at C:\Users\wowotuo.julia\packages\HDF5\jDzcD\deps\build.jl:28
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1068

@songroom2016
Copy link

julia> Pkg.build("WinRPM")
Building LibCURL → C:\Users\wowotuo\.julia\packages\LibCURL\Qs5og\deps\build.log
Building WinRPM ─→ C:\Users\wowotuo\.julia\packages\WinRPM\rDDZz\deps\build.log
┌ Error: Error building WinRPM:
│ ERROR: LoadError: LoadError: UndefVarError: Void not defined
│ Stacktrace:
│ [1] top-level scope at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\lX_common_h.jl:10
│ [2] include at .\boot.jl:317 [inlined]
│ [3] include_relative(::Module, ::String) at .\loading.jl:1038
│ [4] include at .\sysimg.jl:29 [inlined]
│ [5] include(::String) at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\LibExpat.jl:3
│ [6] top-level scope at none:0
│ [7] include at .\boot.jl:317 [inlined]
│ [8] include_relative(::Module, ::String) at .\loading.jl:1038
│ [9] include(::Module, ::String) at .\sysimg.jl:29
│ [10] top-level scope at none:2
│ [11] eval at .\boot.jl:319 [inlined]
│ [12] eval(::Expr) at .\client.jl:389
│ [13] top-level scope at .\none:3
│ in expression starting at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\lX_common_h.jl:18
│ in expression starting at C:\Users\wowotuo.julia\packages\LibExpat\FAade\src\LibExpat.jl:16
│ ERROR: LoadError: Failed to precompile LibExpat [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] to C:\Users\wowotuo.julia\compiled\v1.0\LibExpat\MYp8o.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] macro expansion at .\logging.jl:313 [inlined]
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
│ [4] _require(::Base.PkgId) at .\logging.jl:311
│ [5] require(::Base.PkgId) at .\loading.jl:852
│ [6] macro expansion at .\logging.jl:311 [inlined]
│ [7] require(::Module, ::Symbol) at .\loading.jl:834
│ [8] include at .\boot.jl:317 [inlined]
│ [9] include_relative(::Module, ::String) at .\loading.jl:1038
│ [10] include(::Module, ::String) at .\sysimg.jl:29
│ [11] top-level scope at none:2
│ [12] eval at .\boot.jl:319 [inlined]
│ [13] eval(::Expr) at .\client.jl:389
│ [14] top-level scope at .\none:3
│ in expression starting at C:\Users\wowotuo.julia\packages\WinRPM\rDDZz\src\WinRPM.jl:12
│ ERROR: LoadError: Failed to precompile WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] to C:\Users\wowotuo.julia\compiled\v1.0\WinRPM\ko3j0.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] macro expansion at .\logging.jl:313 [inlined]
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
│ [4] _require(::Base.PkgId) at .\logging.jl:311
│ [5] require(::Base.PkgId) at .\loading.jl:852
│ [6] macro expansion at .\logging.jl:311 [inlined]
│ [7] require(::Module, ::Symbol) at .\loading.jl:834
│ [8] top-level scope at C:\Users\wowotuo.julia\packages\WinRPM\rDDZz\deps\build.jl:2
│ [9] include at .\boot.jl:317 [inlined]
│ [10] include_relative(::Module, ::String) at .\loading.jl:1038
│ [11] include(::Module, ::String) at .\sysimg.jl:29
│ [12] include(::String) at .\client.jl:388
│ [13] top-level scope at none:0
│ in expression starting at C:\Users\wowotuo.julia\packages\WinRPM\rDDZz\deps\build.jl:1
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1068

julia>

@omus
Copy link

omus commented Aug 18, 2018

Original issue should be addressed by: #155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants