Skip to content

Instantly share code, notes, and snippets.

@commandodev
Created April 23, 2015 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save commandodev/219f81469cba3255ff9b to your computer and use it in GitHub Desktop.
Save commandodev/219f81469cba3255ff9b to your computer and use it in GitHub Desktop.
Hydra horror
./dev-shell
[nix-shell:~/dev/hydra]$ ./configure $configureFlags --prefix=/opt/hydra
bash: ./configure: No such file or directory
[nix-shell:~/dev/hydra]$ ls
bootstrap configure.ac COPYING dev-shell doc hydra-module.nix INSTALL Makefile.am README.md release.nix src tests version
[nix-shell:~/dev/hydra]$ ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /nix/store/yawrm1sljj4gmpvl56pz3wj7n106dwws-autoconf-2.69/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:10: installing './config.guess'
configure.ac:10: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
src/c/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
[nix-shell:~/dev/hydra]$ make
make: *** No targets specified and no makefile found. Stop.
[nix-shell:~/dev/hydra]$ ./configure $configureFlags --prefix=/opt/hydra
checking for a BSD-compatible install... /nix/store/h4ssyq8lac0ywmn8j0lsichvj9fvcfyd-coreutils-8.23/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/h4ssyq8lac0ywmn8j0lsichvj9fvcfyd-coreutils-8.23/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether ln -s works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/pvylk9549spwycylhn27qyggs3xnlwyv-gnused-4.2.2/bin/sed
checking for grep that handles long lines and -e... /nix/store/6y37f4lbj1gampn4b79xy9qcyib44qby-gnugrep-2.20/bin/grep
checking for egrep... /nix/store/6y37f4lbj1gampn4b79xy9qcyib44qby-gnugrep-2.20/bin/grep -E
checking for fgrep... /nix/store/6y37f4lbj1gampn4b79xy9qcyib44qby-gnugrep-2.20/bin/grep -F
checking for ld used by cc... /nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/ld
checking if the linker (/nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /nix/store/wr5c9d4mjb4c7gqvpv2qzg2z4h4lry17-binutils-2.23.1/bin/nm -B
checking the name lister (/nix/store/wr5c9d4mjb4c7gqvpv2qzg2z4h4lry17-binutils-2.23.1/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /nix/store/wr5c9d4mjb4c7gqvpv2qzg2z4h4lry17-binutils-2.23.1/bin/nm -B output from cc object... ok
checking for sysroot... no
./configure: line 6591: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/ld
checking if the linker (/nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/ld) is GNU ld... yes
checking whether the c++ linker (/nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking for dblatex... /nix/store/81yyrr630jhiisf02c2xi0l3w1il9d4v-dblatex-0.3.4/bin/dblatex
checking for xsltproc... /nix/store/4bsr5sbrahf2v8z28hgjyhq2fdqw1v48-libxslt-1.1.28/bin/xsltproc
checking for perl... /nix/store/482l1wbyrbqzy8pm0mh9psvk7f7x2qnf-perl-5.20.1/bin/perl
checking for nix-store... /nix/store/qhl5hf32k1w8g8wdliifvsz7pff45cgg-hydra-perl-deps/bin/nix-store
checking whether /nix/store/qhl5hf32k1w8g8wdliifvsz7pff45cgg-hydra-perl-deps/bin/nix-store is recent enough... yes
checking for pkg-config... /nix/store/iwp040j07bs77nc315azx3aizbfnri0w-pkg-config-0.28/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NIX... yes
checking for GUILE... yes
checking for guile... /nix/store/wkbwjzc1zvblhpibxbwckh4dnm2bv2gr-guile-2.0.11/bin/guile
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/manual/Makefile
config.status: creating src/Makefile
config.status: creating src/c/Makefile
config.status: creating src/sql/Makefile
config.status: creating src/xsl/Makefile
config.status: creating src/ttf/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/root/Makefile
config.status: creating src/script/Makefile
config.status: creating src/script/hydra-eval-guile-jobs
config.status: creating tests/Makefile
config.status: creating tests/jobs/config.nix
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing executable-scripts commands
[nix-shell:~/dev/hydra]$ make
Making all in src
make[1]: Entering directory `/home/ben/dev/hydra/src'
Making all in c
make[2]: Entering directory `/home/ben/dev/hydra/src/c'
c++ -DPACKAGE_NAME=\"Hydra\" -DPACKAGE_TARNAME=\"hydra\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"Hydra\ 0.1\" -DPACKAGE_BUGREPORT=\"nix-dev@cs.uu.nl\" -DPACKAGE_URL=\"http://nixos.org/hydra/\" -DPACKAGE=\"hydra\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix -I/nix/store/c4r2j7bikc64sqk7psng48vzam8735hg-boehm-gc-7.2f/include -g -O2 -std=c++0x -MT hydra-eval-jobs.o -MD -MP -MF .deps/hydra-eval-jobs.Tpo -c -o hydra-eval-jobs.o hydra-eval-jobs.cc
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:101:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default]
#define PACKAGE_BUGREPORT ""
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:104:0: warning: "PACKAGE_NAME" redefined [enabled by default]
#define PACKAGE_NAME "nix"
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:107:0: warning: "PACKAGE_STRING" redefined [enabled by default]
#define PACKAGE_STRING "nix 1.9pre4020_f6716e9"
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:110:0: warning: "PACKAGE_TARNAME" redefined [enabled by default]
#define PACKAGE_TARNAME "nix"
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:113:0: warning: "PACKAGE_URL" redefined [enabled by default]
#define PACKAGE_URL ""
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:116:0: warning: "PACKAGE_VERSION" redefined [enabled by default]
#define PACKAGE_VERSION "1.9pre4020_f6716e9"
^
<command-line>:0:0: note: this is the location of the previous definition
hydra-eval-jobs.cc: In lambda function:
hydra-eval-jobs.cc:215:16: error: ‘initGC’ was not declared in this scope
initGC();
^
make[2]: *** [hydra-eval-jobs.o] Error 1
make[2]: Leaving directory `/home/ben/dev/hydra/src/c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ben/dev/hydra/src'
make: *** [all-recursive] Error 1
[nix-shell:~/dev/hydra]$ make install
Making install in src
make[1]: Entering directory `/home/ben/dev/hydra/src'
Making install in c
make[2]: Entering directory `/home/ben/dev/hydra/src/c'
c++ -DPACKAGE_NAME=\"Hydra\" -DPACKAGE_TARNAME=\"hydra\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"Hydra\ 0.1\" -DPACKAGE_BUGREPORT=\"nix-dev@cs.uu.nl\" -DPACKAGE_URL=\"http://nixos.org/hydra/\" -DPACKAGE=\"hydra\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix -I/nix/store/c4r2j7bikc64sqk7psng48vzam8735hg-boehm-gc-7.2f/include -g -O2 -std=c++0x -MT hydra-eval-jobs.o -MD -MP -MF .deps/hydra-eval-jobs.Tpo -c -o hydra-eval-jobs.o hydra-eval-jobs.cc
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:101:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default]
#define PACKAGE_BUGREPORT ""
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:104:0: warning: "PACKAGE_NAME" redefined [enabled by default]
#define PACKAGE_NAME "nix"
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:107:0: warning: "PACKAGE_STRING" redefined [enabled by default]
#define PACKAGE_STRING "nix 1.9pre4020_f6716e9"
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:110:0: warning: "PACKAGE_TARNAME" redefined [enabled by default]
#define PACKAGE_TARNAME "nix"
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:113:0: warning: "PACKAGE_URL" redefined [enabled by default]
#define PACKAGE_URL ""
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/types.hh:3:0,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/util.hh:3,
from /nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/shared.hh:3,
from hydra-eval-jobs.cc:6:
/nix/store/iz44qvki1553qlmvfk3jxmwg4iqs3dwq-nix-1.9pre4020_f6716e9/include/nix/config.h:116:0: warning: "PACKAGE_VERSION" redefined [enabled by default]
#define PACKAGE_VERSION "1.9pre4020_f6716e9"
^
<command-line>:0:0: note: this is the location of the previous definition
hydra-eval-jobs.cc: In lambda function:
hydra-eval-jobs.cc:215:16: error: ‘initGC’ was not declared in this scope
initGC();
^
make[2]: *** [hydra-eval-jobs.o] Error 1
make[2]: Leaving directory `/home/ben/dev/hydra/src/c'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ben/dev/hydra/src'
make: *** [install-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment