flapjack / omnibus-flapjack

Flapjack packages for all! Build the packages, and update the repositories.
http://flapjack.io
23 stars 14 forks source link

Package build failure at flapjackfeeder - hiredis.h not found #102

Closed jessereynolds closed 9 years ago

jessereynolds commented 9 years ago
Failed build of Flapjack v1.6.0rc4 for ubuntu precise package (experimental) in 14m 1s, log: http://is.gd/3IXxVc Is also failing on CentOS 6, probably Trusty and Wheezy also. ``` [31mThe following shell command exited with status 1: $ LC_ALL=C export gem_home=/`/opt/flapjack/embedded/bin/gem list --all --details flapjack | grep 'Installed at' | sed 's/^.* \///'` ; echo "gem_home: ${gem_home}" ; export installed_gem=`ls -dtr ${gem_home}/gems/flapjack* | tail -1` ; cd ${installed_gem} && if [ ! -d hiredis ] ; then git clone https://github.com/redis/hiredis.git hiredis ; fi && cd hiredis && git checkout v0.12.1 && make hiredis-example && cd .. && if [ ! -d flapjackfeeder ] ; then git clone https://github.com/flapjack/flapjackfeeder.git flapjackfeeder ; fi && cd flapjackfeeder && (cd src ; gcc -fPIC -g -O2 -DHAVE_CONFIG_H -DNSCORE -o flapjackfeeder.o flapjackfeeder.c -shared -fPIC ../../hiredis/libhiredis.a ;strip flapjackfeeder.o) && cd .. && cp flapjackfeeder/src/flapjackfeeder.o . && rm -r flapjackfeeder hiredis Output: gem_home: /opt/flapjack/embedded/lib/ruby/gems/2.1.0 cc -o examples/hiredis-example -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb -I. examples/example.c libhiredis.a Error: HEAD is now at 9be3a07... Release hiredis 0.12.1 flapjackfeeder.c:50:32: fatal error: ../hiredis/hiredis.h: No such file or directory compilation terminated. strip: 'flapjackfeeder.o': No such file ```
Sarah-E-Greene commented 9 years ago

Fixed.

jessereynolds commented 9 years ago

\0/