JuliaWeb / GnuTLS.jl

Transport Level Security for Julia Streams provided by GnuTLS
Other
8 stars 13 forks source link

GnuTLS does not build on OSX Mavericks #25

Closed aviks closed 9 years ago

aviks commented 9 years ago

This repository is littered with "wont build" issues, but here's hoping. I haven't seen this particular message being reported.

Julia 0.3.4-pre with Pkg.update() as of today

INFO: Installing GnuTLS v0.0.1
INFO: Building Homebrew
HEAD is now at ecefec0 libmemcached: update 1.0.18_1 bottle.
HEAD is now at 1804e9f Add barebones SCS formula
INFO: Building Nettle
INFO: Building GnuTLS
=====================================================================[ ERROR: GnuTLS ]======================================================================

Will not force Homebrew to rebuild dependency "gnutls".
Please make any necessary adjustments manually (This might just be a version upgrade)
while loading /Users/aviks/.julia/v0.3/GnuTLS/deps/build.jl, in expression starting on line 55

============================================================================================================================================================

======================================================================[ BUILD ERRORS ]======================================================================

WARNING: GnuTLS had build errors.

 - packages with build errors remain installed in /Users/aviks/.julia/v0.3
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

============================================================================================================================================================
julia> Homebrew.list()
16-element Array{BrewPkg,1}:
 cairo: 1.12.16                
 fontconfig: 2.11.1            
 freetype: 2.5.4               
 gettext: 0.19.2               
 glib: 2.40.0+1                
 gmp: 6.0.0-a                  
 gobject-introspection: 1.40.0 
 harfbuzz: 0.9.33              
 icu4c: 52.1.0                 
 libffi: 3.0.13                
 libpgm: 5.2.122               
 libpng: 1.6.15                
 nettle: 2.7.1                 
 pango: 1.36.5                 
 pixman: 0.32.6                
 zeromq32: 3.2.4       
julia> Pkg.status()
14 required packages:
 - Cairo                         0.2.21
 ....
59 additional packages:
 ...
 - BinDeps                       0.3.7
...
 - GnuTLS                        0.0.1
 ...
 - Homebrew                      0.1.12
 - HttpCommon                    0.0.10
 - HttpParser                    0.0.10
 - HttpServer                    0.0.11
 .....
 - Nettle                        0.1.7
aviks commented 9 years ago

Workaround is to do Homebrew.add("GnuTLS")

However, I am uncertain if the error is a sign of a borked homebrew/OS setup.

tkelman commented 9 years ago

Case sensitivity at https://github.com/JuliaWeb/GnuTLS.jl/blob/f271c27cbfa0fe74ed6cfcab5cbecabdf315bbf8/deps/build.jl#L37 maybe?

sbromberger commented 9 years ago

We're seeing successful builds now so I'll close this out. If you're still having problems, please feel free to open a new issue as we'll want to take a closer look. Thanks.