{"action":"opened","issue":{"url":"https://api.github.com/repos/traildb/traildb/issues/78","repository_url":"https://api.github.com/repos/traildb/traildb","labels_url":"https://api.github.com/repos/traildb/traildb/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/traildb/traildb/issues/78/comments","events_url":"https://api.github.com/repos/traildb/traildb/issues/78/events","html_url":"https://github.com/traildb/traildb/issues/78","id":160966211,"number":78,"title":"Build from master fails in docker","user":{"login":"radekg","id":62946,"avatar_url":"https://avatars.githubusercontent.com/u/62946?v=3","gravatar_id":"","url":"https://api.github.com/users/radekg","html_url":"https://github.com/radekg","followers_url":"https://api.github.com/users/radekg/followers","following_url":"https://api.github.com/users/radekg/following{/other_user}","gists_url":"https://api.github.com/users/radekg/gists{/gist_id}","starred_url":"https://api.github.com/users/radekg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radekg/subscriptions","organizations_url":"https://api.github.com/users/radekg/orgs","repos_url":"https://api.github.com/users/radekg/repos","events_url":"https://api.github.com/users/radekg/events{/privacy}","received_events_url":"https://api.github.com/users/radekg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-17T20:13:26Z","updated_at":"2016-06-17T20:13:26Z","closed_at":null,"body":"I am trying to build TrailDB from master on Ubuntu Xenial in Docker. First of all, your build dependencies are incorrect, they should be:\r\n\r\n`apt-get install -y git libjudy-dev libarchive-dev pkg-config autoconf libtool`\r\n\r\nHowever, going further:\r\n\r\n```\r\n$ ./autogen.sh\r\nautoreconf: Entering directory `.'\r\nautoreconf: configure.ac: not using Gettext\r\nautoreconf: running: aclocal -I m4\r\nautoreconf: configure.ac: tracing\r\nautoreconf: running: libtoolize --copy\r\nautoreconf: running: /usr/bin/autoconf\r\nautoreconf: configure.ac: not using Autoheader\r\nautoreconf: running: automake --add-missing --copy --no-force\r\nautoreconf: Leaving directory `.'\r\n$ ./configure\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... /bin/mkdir -p\r\nchecking for gawk... no\r\nchecking for mawk... mawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether make supports nested variables... yes\r\nchecking for style of include used by make... GNU\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables...\r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking whether gcc understands -c and -o together... yes\r\nchecking dependency style of gcc... gcc3\r\nchecking for ar... ar\r\nchecking the archiver (ar) interface... ar\r\nchecking build system type... x86_64-pc-linux-gnu\r\nchecking host system type... x86_64-pc-linux-gnu\r\nchecking how to print strings... printf\r\nchecking for a sed that does not truncate output... /bin/sed\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for fgrep... /bin/grep -F\r\nchecking for ld used by gcc... /usr/bin/ld\r\nchecking if the linker (/usr/bin/ld) is GNU ld... yes\r\nchecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B\r\nchecking the name lister (/usr/bin/nm -B) interface... BSD nm\r\nchecking whether ln -s works... yes\r\nchecking the maximum length of command line arguments... 1572864\r\nchecking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop\r\nchecking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop\r\nchecking for /usr/bin/ld option to reload object files... -r\r\nchecking for objdump... objdump\r\nchecking how to recognize dependent libraries... pass_all\r\nchecking for dlltool... no\r\nchecking how to associate runtime and link libraries... printf %s\\n\r\nchecking for archiver @FILE support... @\r\nchecking for strip... strip\r\nchecking for ranlib... ranlib\r\nchecking command to parse /usr/bin/nm -B output from gcc object... ok\r\nchecking for sysroot... no\r\nchecking for a working dd... /bin/dd\r\nchecking how to truncate binary pipes... /bin/dd bs=4096 count=1\r\nchecking for mt... no\r\nchecking if : is a manifest tool... no\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking for dlfcn.h... yes\r\nchecking for objdir... .libs\r\nchecking if gcc supports -fno-rtti -fno-exceptions... no\r\nchecking for gcc option to produce PIC... -fPIC -DPIC\r\nchecking if gcc PIC flag -fPIC -DPIC works... yes\r\nchecking if gcc static flag -static works... yes\r\nchecking if gcc supports -c -o file.o... yes\r\nchecking if gcc supports -c -o file.o... (cached) yes\r\nchecking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes\r\nchecking whether -lc should be explicitly linked in... no\r\nchecking dynamic linker characteristics... GNU/Linux ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking whether stripping libraries is possible... yes\r\nchecking if libtool supports shared libraries... yes\r\nchecking whether to build shared libraries... yes\r\nchecking whether to build static libraries... yes\r\nchecking for gcc... (cached) gcc\r\nchecking whether we are using the GNU C compiler... (cached) yes\r\nchecking whether gcc accepts -g... (cached) yes\r\nchecking for gcc option to accept ISO C89... (cached) none needed\r\nchecking whether gcc understands -c and -o together... (cached) yes\r\nchecking dependency style of gcc... (cached) gcc3\r\nchecking for JudyHSIns in -lJudy... yes\r\nchecking Judy.h usability... yes\r\nchecking Judy.h presence... yes\r\nchecking for Judy.h... yes\r\nchecking that Judy is not broken... not broken\r\nchecking archive.h usability... yes\r\nchecking archive.h presence... yes\r\nchecking for archive.h... yes\r\nchecking for archive_write_new in -larchive... yes\r\nchecking for __uint128_t... yes\r\nchecking size of off_t... 8\r\nchecking size of size_t... 8\r\nchecking that generated files are newer than configure... done\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: executing depfiles commands\r\nconfig.status: executing libtool commands\r\n$ make\r\nmake\r\n/bin/bash ./libtool  --tag=CC   --mode=link gcc -Isrc/ -DJUDYERROR=judyerror_macro_missing_fix_this -O3 -g -Wall    -o tdbcli/tdb tdbcli/tdbcli_tdb-main.o tdbcli/tdbcli_tdb-op_dump.o tdbcli/tdbcli_tdb-op_make.o tdbcli/jsmn/tdbcli_tdb-jsmn.o libtraildb.la -larchive -lJudy\r\nlibtool: link: gcc -Isrc/ -DJUDYERROR=judyerror_macro_missing_fix_this -O3 -g -Wall -o tdbcli/.libs/tdb tdbcli/tdbcli_tdb-main.o tdbcli/tdbcli_tdb-op_dump.o tdbcli/tdbcli_tdb-op_make.o tdbcli/jsmn/tdbcli_tdb-jsmn.o  ./.libs/libtraildb.so -larchive -lJudy\r\ntdbcli/tdbcli_tdb-op_dump.o: In function `op_dump':\r\n/tmp/traildb/tdbcli/op_dump.c:215: undefined reference to `parse_filter'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:627: recipe for target 'tdbcli/tdb' failed\r\nmake: *** [tdbcli/tdb] Error 1\r\n```\r\n\r\nMissing dependency again? Or source code issue. Thanks for any info."}}
{"actor":{"display_login":"radekg"}}