JuliaAstro / FITSIO.jl

Flexible Image Transport System (FITS) file support for Julia
http://juliaastro.org/FITSIO.jl/
MIT License
55 stars 29 forks source link

[PkgEval] FITSIO may have a testing issue on Julia 0.3 (2014-08-16) #13

Closed IainNZ closed 10 years ago

IainNZ commented 10 years ago

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.3

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("FITSIO")' log
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 4541k  100 4541k    0     0  4082k      0  0:00:01  0:00:01 --:--:-- 4083k
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gfortran... gfortran
checking whether we are using GNU Fortran... 
yes
cfitsio: == Adding wrapper support for GNU Fortran... 
 done
... truncated ...
a - zlib/inftrees.o
a - zlib/trees.o
a - zlib/uncompr.o
a - zlib/zcompress.o
a - zlib/zuncompress.o
a - zlib/zutil.o
a - f77_wrap1.o
a - f77_wrap2.o
a - f77_wrap3.o
a - f77_wrap4.o
/bin/cp -a libcfitsio* /home/idunning/pkgtest/.julia/v0.3/FITSIO/deps/usr/lib
/bin/cp fitsio.h fitsio2.h longnam.h drvrsmem.h /home/idunning/pkgtest/.julia/v0.3/FITSIO/deps/usr/include
/bin/cp cfitsio.pc /home/idunning/pkgtest/.julia/v0.3/FITSIO/deps/usr/lib/pkgconfig
INFO: Cloning cache of FITSIO from git://github.com/JuliaAstro/FITSIO.jl.git
INFO: Installing BinDeps v0.3.0
INFO: Installing FITSIO v0.4.0
INFO: Installing SHA v0.0.2
INFO: Installing URIParser v0.0.2
INFO: Building FITSIO
INFO: Attempting to Create directory /home/idunning/pkgtest/.julia/v0.3/FITSIO/deps/downloads
INFO: Downloading file ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3360.tar.gz
INFO: Done downloading file ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3360.tar.gz
INFO: Attempting to Create directory /home/idunning/pkgtest/.julia/v0.3/FITSIO/deps/src
INFO: Attempting to Create directory /home/idunning/pkgtest/.julia/v0.3/FITSIO/deps
INFO: Directory /home/idunning/pkgtest/.julia/v0.3/FITSIO/deps already created
INFO: Attempting to Create directory /home/idunning/pkgtest/.julia/v0.3/FITSIO/deps/src/cfitsio
INFO: Changing Directory to /home/idunning/pkgtest/.julia/v0.3/FITSIO/deps/src/cfitsio
INFO: Package database updated
INFO: METADATA is out-of-date a you may not have the latest version of FITSIO
INFO: Use `Pkg.update()` to get the latest versions of your packages

>>> 'using FITSIO' log

>>> test log

ERROR: type: ccall: expected Symbol, got Array{Any,1}
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
 in _start_3B_1699 at /home/idunning/julia03/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.3/FITSIO/test/runtests.jl, in expression starting on line 11

>>> end of log
kbarbary commented 10 years ago

This is due to a change in BinDeps. Here's the relevant email from the julia-dev list:

Recent changes to BinDeps silently broke the old @BinDeps.load_dependencies syntax. You'll have to update FLANN to use the include("../deps/deps.jl") style, which is unfortunately undocumented, although you can take a look at the fix for NLopt: https://github.com/JuliaOpt/NLopt.jl/commit/8616a099521d15bd65eeddfa763a1177525a096f.