This must be the most reported problem with Julia packages.  Perhaps we've 
allowed the dependency stack to become much too long.  Typically the error 
trace is impenetrable to anyone but one of the package maintainers, and 
often not them because it's in a deeper dependency for which they're not 
responsible.  Something to think about long term as Julia becomes more 
widely used. This sort of stuff can drive people away quickly to more 
reliable stacks such as R and Python.  (Not saying better or that we can't 
use multiple tools, just that this kind of package mgmt. fragility is not a 
good thing.)

Mac OS X el capitan

julia-0.4.0-rc4

Here are the messages:

*==>** Installing staticfloat/juliadeps/cairo dependency: *
*staticfloat/juliadeps/pixma*

*==>** Downloading http://cairographics.org/releases/pixman-0.32.6.tar.gz*

Already downloaded: 
/Users/lewislevinmbr/Library/Caches/Homebrew.jl/pixman-0.32.6.tar.gz

*==>** ./configure --disable-silent-rules 
--prefix=/Users/lewislevinmbr/.julia/v0.4/Homebrew*

*==>** make install*

Last 15 lines from 
/Users/lewislevinmbr/Library/Logs/Homebrew/pixman/02.make:

/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I..     -g -O2 -Wall -Wdeclaration-after-statement -fno-strict-aliasing 
-fvisibility=hidden -c -o pixman-utils.lo pixman-utils.c

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall 
-Wdeclaration-after-statement -fno-strict-aliasing -fvisibility=hidden -c 
pixman-utils.c  -fno-common -DPIC -o .libs/pixman-utils.o

/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I..    -mmmx -Winline -g -O2 -Wall -Wdeclaration-after-statement 
-fno-strict-aliasing -fvisibility=hidden -c -o 
libpixman_mmx_la-pixman-mmx.lo `test -f 'pixman-mmx.c' || echo 
'./'`pixman-mmx.c

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -mmmx -Winline -g -O2 
-Wall -Wdeclaration-after-statement -fno-strict-aliasing 
-fvisibility=hidden -c pixman-mmx.c  -fno-common -DPIC -o 
.libs/libpixman_mmx_la-pixman-mmx.o

/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. 
-I..    -msse2 -Winline -g -O2 -Wall -Wdeclaration-after-statement 
-fno-strict-aliasing -fvisibility=hidden -c -o 
libpixman_sse2_la-pixman-sse2.lo `test -f 'pixman-sse2.c' || echo 
'./'`pixman-sse2.c

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -msse2 -Winline -g -O2 
-Wall -Wdeclaration-after-statement -fno-strict-aliasing 
-fvisibility=hidden -c pixman-sse2.c  -fno-common -DPIC -o 
.libs/libpixman_sse2_la-pixman-sse2.o

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall 
-Wdeclaration-after-statement -fno-strict-aliasing -fvisibility=hidden -c 
pixman-utils.c -o pixman-utils.o >/dev/null 2>&1

pixman-mmx.c:100:20: error: constraint 'K' expects an integer constant 
expression

        : "y" (__A), "K" (__N)

                          ^~~

1 error generated.

make[1]: *** [libpixman_mmx_la-pixman-mmx.lo] Error 1

make[1]: *** Waiting for unfinished jobs....

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -msse2 -Winline -g -O2 
-Wall -Wdeclaration-after-statement -fno-strict-aliasing 
-fvisibility=hidden -c pixman-sse2.c -o libpixman_sse2_la-pixman-sse2.o 
>/dev/null 2>&1

make: *** [install-recursive] Error 1


READ THIS: https://git.io/brew-troubleshooting

If reporting this issue please do so at (not Homebrew/homebrew):

  https://github.com/staticfloat/homebrew-juliadeps/issues


Warning: 

*====================================[ ERROR: Cairo 
]=====================================*


*LoadError: failed process: 
Process(`/Users/lewislevinmbr/.julia/v0.4/Homebrew/deps/usr/bin/brew 
install --force-bottle staticfloat/juliadeps/cairo`, ProcessExited(1)) [1]*

*while loading /Users/lewislevinmbr/.julia/v0.4/Cairo/deps/build.jl, in 
expression starting on line 144*


*=========================================================================================*


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


*WARNING: Cairo had build errors.*


* - packages with build errors remain installed in 
/Users/lewislevinmbr/.julia/v0.4*

* - build the package(s) and all dependencies with `Pkg.build("Cairo")`*

* - build a single package by running its `deps/build.jl` script*


*=========================================================================================*


*Looks like pixma is the culprit.  I had other problems with Julia 0.3.11. 
Seems like 4.0 is getting so close that focus will shift.*

*Suggestions?*

Reply via email to