{"action":"closed","issue":{"url":"https://api.github.com/repos/fingolfin/gap/issues/82","repository_url":"https://api.github.com/repos/fingolfin/gap","labels_url":"https://api.github.com/repos/fingolfin/gap/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/fingolfin/gap/issues/82/comments","events_url":"https://api.github.com/repos/fingolfin/gap/issues/82/events","html_url":"https://github.com/fingolfin/gap/issues/82","id":214370600,"number":82,"title":"Ward build fails on Travis CI","user":{"login":"alex-konovalov","id":5751387,"avatar_url":"https://avatars2.githubusercontent.com/u/5751387?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-konovalov","html_url":"https://github.com/alex-konovalov","followers_url":"https://api.github.com/users/alex-konovalov/followers","following_url":"https://api.github.com/users/alex-konovalov/following{/other_user}","gists_url":"https://api.github.com/users/alex-konovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-konovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-konovalov/subscriptions","organizations_url":"https://api.github.com/users/alex-konovalov/orgs","repos_url":"https://api.github.com/users/alex-konovalov/repos","events_url":"https://api.github.com/users/alex-konovalov/events{/privacy}","received_events_url":"https://api.github.com/users/alex-konovalov/received_events","type":"User","site_admin":false},"labels":[{"id":494304158,"url":"https://api.github.com/repos/fingolfin/gap/labels/HPC-GAP","name":"HPC-GAP","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-15T12:13:36Z","updated_at":"2017-03-15T17:46:16Z","closed_at":"2017-03-15T17:46:16Z","body":"In PR #81 I am trying to add Travis CI builds with `--enable-hpcgap` option. Building Lua fails as e.g. in https://travis-ci.org/fingolfin/gap/jobs/211320936 (see below). @rbehrends maybe you have an idea?\r\n\r\n```\r\n+git clone https://github.com/gap-system/ward\r\nCloning into 'ward'...\r\nremote: Counting objects: 1987, done.\r\nremote: Compressing objects: 100% (40/40), done.\r\nremote: Total 1987 (delta 22), reused 0 (delta 0), pack-reused 1947\r\nReceiving objects: 100% (1987/1987), 6.34 MiB | 0 bytes/s, done.\r\nResolving deltas: 100% (172/172), done.\r\nChecking connectivity... done.\r\n+cd ward\r\n+./build.sh\r\nSH: rm -rf build\r\nSH: cp -pRf ext build\r\nSH: tools/run-python scons/scons -j 4 -C build/lua-5.1.5 prefix=\"/home/travis/build/fingolfin/gap/ward/lua\" install\r\nscons: Entering directory `/home/travis/build/fingolfin/gap/ward/build/lua-5.1.5'\r\nscons: Reading SConscript files ...\r\nChecking for C library readline... no\r\nChecking for C library dl... no\r\nChecking for C library ncurses... no\r\nChecking for C library m... no\r\nChecking whether linker supports -Wl,-E ... no\r\nscons: done reading SConscript files.\r\nscons: Building targets ...\r\nMakeLuaConf([\"include/luaconf.h\"], [\"src/luaconf.h.in\"])\r\nInstall file: \"src/lauxlib.h\" as \"/home/travis/build/fingolfin/gap/ward/lua/include/lauxlib.h\"\r\nInstall file: \"src/lua.h\" as \"/home/travis/build/fingolfin/gap/ward/lua/include/lua.h\"\r\nInstall file: \"etc/lua.hpp\" as \"/home/travis/build/fingolfin/gap/ward/lua/include/lua.hpp\"\r\ngcc -o obj/liolib.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/liolib.c\r\ngcc -o obj/lvm.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lvm.c\r\ngcc -o obj/linit.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/linit.c\r\ngcc -o obj/print.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/print.c\r\ngcc -o obj/lstate.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lstate.c\r\ngcc -o obj/lgc.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lgc.c\r\ngcc -o obj/lparser.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lparser.c\r\ngcc -o obj/lfunc.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lfunc.c\r\ngcc -o obj/lstring.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lstring.c\r\ngcc -o obj/loslib.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/loslib.c\r\ngcc -o obj/ldump.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/ldump.c\r\ngcc -o obj/lopcodes.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lopcodes.c\r\ngcc -o obj/lua.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lua.c\r\ngcc -o obj/lzio.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lzio.c\r\ngcc -o obj/lobject.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lobject.c\r\ngcc -o obj/ltablib.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/ltablib.c\r\ngcc -o obj/ldebug.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/ldebug.c\r\ngcc -o obj/loadlib.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/loadlib.c\r\ngcc -o obj/lundump.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lundump.c\r\ngcc -o obj/ldblib.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/ldblib.c\r\ngcc -o obj/lapi.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lapi.c\r\ngcc -o obj/lmem.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lmem.c\r\ngcc -o obj/lstrlib.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lstrlib.c\r\ngcc -o obj/lcode.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lcode.c\r\ngcc -o obj/lmathlib.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lmathlib.c\r\ngcc -o obj/luac.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/luac.c\r\ngcc -o obj/ltm.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/ltm.c\r\ngcc -o obj/lbaselib.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lbaselib.c\r\ngcc -o obj/ltable.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/ltable.c\r\ngcc -o obj/llex.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/llex.c\r\ngcc -o obj/ldo.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/ldo.c\r\ngcc -o obj/lauxlib.o -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX src/lauxlib.c\r\nInstall file: \"include/luaconf.h\" as \"/home/travis/build/fingolfin/gap/ward/lua/include/luaconf.h\"\r\nInstall file: \"src/lualib.h\" as \"/home/travis/build/fingolfin/gap/ward/lua/include/lualib.h\"\r\ngcc -o obj/lapi.os -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX -fPIC src/lapi.c\r\ngcc -o obj/lauxlib.os -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX -fPIC src/lauxlib.c\r\ngcc -o obj/lbaselib.os -c -Iinclude -O2 -DLUA_DL_DLOPEN -DLUA_USE_POSIX -fPIC src/lbaselib.c\r\nar rc lib/liblua.a obj/lapi.o obj/lauxlib.o obj/lbaselib.o obj/lcode.o obj/ldblib.o obj/ldebug.o obj/ldo.o obj/ldump.o obj/lfunc.o obj/lgc.o obj/linit.o obj/liolib.o obj/llex.o obj/lmathlib.o obj/lmem.o obj/loadlib.o obj/lobject.o obj/lopcodes.o obj/loslib.o obj/lparser.o obj/lstate.o obj/lstring.o obj/lstrlib.o obj/ltable.o obj/ltablib.o obj/ltm.o obj/lundump.o obj/lvm.o obj/lzio.o obj/print.o\r\nranlib lib/liblua.a\r\nInstall file: \"lib/liblua.a\" as \"/home/travis/build/fingolfin/gap/ward/lua/lib/liblua.a\"\r\ngcc -o bin/lua obj/lua.o lib/liblua.a\r\nlib/liblua.a(lmathlib.o): In function `math_tan':\r\nlmathlib.c:(.text+0x9f): undefined reference to `tan'\r\nlib/liblua.a(lmathlib.o): In function `math_tanh':\r\nlmathlib.c:(.text+0xcf): undefined reference to `tanh'\r\nlib/liblua.a(lmathlib.o): In function `math_sqrt':\r\nlmathlib.c:(.text+0x11c): undefined reference to `sqrt'\r\nlib/liblua.a(lmathlib.o): In function `math_sin':\r\nlmathlib.c:(.text+0x13f): undefined reference to `sin'\r\nlib/liblua.a(lmathlib.o): In function `math_sinh':\r\nlmathlib.c:(.text+0x16f): undefined reference to `sinh'\r\nlib/liblua.a(lmathlib.o): In function `math_floor':\r\nlmathlib.c:(.text+0x29f): undefined reference to `floor'\r\nlib/liblua.a(lmathlib.o): In function `math_random':\r\nlmathlib.c:(.text+0x3a5): undefined reference to `floor'\r\nlmathlib.c:(.text+0x3f9): undefined reference to `floor'\r\nlib/liblua.a(lmathlib.o): In function `math_pow':\r\nlmathlib.c:(.text+0x48c): undefined reference to `pow'\r\nlib/liblua.a(lmathlib.o): In function `math_log':\r\nlmathlib.c:(.text+0x50f): undefined reference to `log'\r\nlib/liblua.a(lmathlib.o): In function `math_log10':\r\nlmathlib.c:(.text+0x53f): undefined reference to `log10'\r\nlib/liblua.a(lmathlib.o): In function `math_fmod':\r\nlmathlib.c:(.text+0x60c): undefined reference to `fmod'\r\nlib/liblua.a(lmathlib.o): In function `math_exp':\r\nlmathlib.c:(.text+0x63f): undefined reference to `exp'\r\nlib/liblua.a(lmathlib.o): In function `math_cos':\r\nlmathlib.c:(.text+0x66f): undefined reference to `cos'\r\nlib/liblua.a(lmathlib.o): In function `math_cosh':\r\nlmathlib.c:(.text+0x69f): undefined reference to `cosh'\r\nlib/liblua.a(lmathlib.o): In function `math_ceil':\r\nlmathlib.c:(.text+0x6cf): undefined reference to `ceil'\r\nlib/liblua.a(lmathlib.o): In function `math_atan':\r\nlmathlib.c:(.text+0x6ff): undefined reference to `atan'\r\nlib/liblua.a(lmathlib.o): In function `math_atan2':\r\nlmathlib.c:(.text+0x74c): undefined reference to `atan2'\r\nlib/liblua.a(lmathlib.o): In function `math_asin':\r\nlmathlib.c:(.text+0x77f): undefined reference to `asin'\r\nlib/liblua.a(lmathlib.o): In function `math_acos':\r\nlmathlib.c:(.text+0x7af): undefined reference to `acos'\r\nlib/liblua.a(loadlib.o): In function `ll_loadfunc':\r\nloadlib.c:(.text+0x88a): undefined reference to `dlsym'\r\nloadlib.c:(.text+0x8c9): undefined reference to `dlerror'\r\nloadlib.c:(.text+0x8e9): undefined reference to `dlopen'\r\nloadlib.c:(.text+0x8fc): undefined reference to `dlerror'\r\nlib/liblua.a(loadlib.o): In function `gctm':\r\nloadlib.c:(.text+0xbbc): undefined reference to `dlclose'\r\nlib/liblua.a(lvm.o): In function `Arith':\r\nlvm.c:(.text+0x335): undefined reference to `pow'\r\nlvm.c:(.text+0x364): undefined reference to `floor'\r\nlib/liblua.a(lvm.o): In function `luaV_execute':\r\nlvm.c:(.text+0x223a): undefined reference to `floor'\r\nlvm.c:(.text+0x237a): undefined reference to `pow'\r\nlib/liblua.a(lcode.o): In function `codearith':\r\nlcode.c:(.text+0xf61): undefined reference to `pow'\r\nlcode.c:(.text+0xf89): undefined reference to `floor'\r\ncollect2: error: ld returned 1 exit status\r\nscons: *** [bin/lua] Error 1\r\nscons: building terminated because of errors.\r\nCommand failed: tools/run-python scons/scons -j 4 -C build/lua-5.1.5 prefix=\"/home/travis/build/fingolfin/gap/ward/lua\" install\r\n```"}}
{"actor":{"display_login":"alex-konovalov"}}