JuliaStrings / ICU.jl

Julia wrapper for the International Components for Unicode (ICU) library
MIT License
10 stars 19 forks source link

Error loading ICU #5

Closed aviks closed 10 years ago

aviks commented 10 years ago
             _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-prerelease+695 (2013-12-27 05:27 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 47915f3* (0 days old master)
|__/                   |  x86_64-apple-darwin11.4.2

julia> using Calendar
ERROR: could not open file /Users/aviks/.julia/ICU/src/../deps/deps.jl
 in reload_path at loading.jl:146
 in _require at loading.jl:59
 in require at loading.jl:46
 in reload_path at loading.jl:146
 in _require at loading.jl:59
 in require at loading.jl:43
while loading /Users/aviks/.julia/ICU/src/ICU.jl, in expression starting on line 18
while loading /Users/aviks/.julia/Calendar/src/Calendar.jl, in expression starting on line 1

ICU is on v0.2.3

aviks commented 10 years ago

Fixed by a Pkg.build()

I had a very old installation of the ICU checked out on the master, from before the Bindeps integration. Invocations of Pkg.update() since then had updated the code to the latest master, but did nor run Pkg.build() when ICU got its own build.jl. Neither did a subsequent Pkg.free().

So a rare edge case, but unsure if there is a bug in there.

@StefanKarpinski is this something that can be fixed in Pkg?