{"action":"created","issue":{"url":"https://api.github.com/repos/rubinius/rubinius/issues/3492","labels_url":"https://api.github.com/repos/rubinius/rubinius/issues/3492/labels{/name}","comments_url":"https://api.github.com/repos/rubinius/rubinius/issues/3492/comments","events_url":"https://api.github.com/repos/rubinius/rubinius/issues/3492/events","html_url":"https://github.com/rubinius/rubinius/issues/3492","id":103586940,"number":3492,"title":"Build failure on Alpine Linux (in Docker)","user":{"login":"CpuID","id":916201,"avatar_url":"https://avatars.githubusercontent.com/u/916201?v=3","gravatar_id":"","url":"https://api.github.com/users/CpuID","html_url":"https://github.com/CpuID","followers_url":"https://api.github.com/users/CpuID/followers","following_url":"https://api.github.com/users/CpuID/following{/other_user}","gists_url":"https://api.github.com/users/CpuID/gists{/gist_id}","starred_url":"https://api.github.com/users/CpuID/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CpuID/subscriptions","organizations_url":"https://api.github.com/users/CpuID/orgs","repos_url":"https://api.github.com/users/CpuID/repos","events_url":"https://api.github.com/users/CpuID/events{/privacy}","received_events_url":"https://api.github.com/users/CpuID/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rubinius/rubinius/labels/build","name":"build","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-08-27T20:20:01Z","updated_at":"2015-08-27T23:09:37Z","closed_at":null,"body":"Had to install LLVM/clang 3.5.1 (by building the older .apk packages in their aports repo) due to https://github.com/rubinius/rubinius/pull/3367 not being ready, but running on Alpine 3.2, getting the following:\r\n\r\n```\r\n4: CXX vm/util/file.cpp\r\n4: CXX vm/util/logger.cpp\r\nvm/util/logger.cpp:386:54: error: use of undeclared identifier 'LOCK_EX'\r\n        utilities::file::LockGuard guard(logger_fd_, LOCK_EX);\r\n                                                     ^\r\n1 error generated.\r\nrake aborted!\r\nError compiling\r\n\r\nTasks: TOP => install => build:build => vm/vm\r\n(See full trace by running task with --trace)\r\nError: clang++ -I/usr/src/rubinius-2.5.8/vm -I/usr/src/rubinius-2.5.8/vm/include -I/usr/src/rubinius-2.5.8/vm/builtin -I. -Ivm/test/cxxtest -I/usr/src/rubinius-2.5.8/vendor/libsodium/src/libsodium/include -I/usr/src/rubinius-2.5.8/vendor/udis86 -I/usr/src/rubinius-2.5.8/vendor/libffi/include -Ivendor/double-conversion/src -DHAVE_CONFIG_H -I/usr/src/rubinius-2.5.8/vm/include/capi -I/usr/src/rubinius-2.5.8/vendor/oniguruma -I/usr/src/rubinius-2.5.8/vendor/libtommath -pipe -Wall -fno-omit-frame-pointer -g -mno-omit-leaf-frame-pointer -fPIC  -O2 -DHAVE_SPT_REUSEARGV -DHAVE_CLOCK_GETTIME -DHAVE_NL_LANGINFO -DHAVE_POSIX_FADVISE -DHAVE_STRNLEN -DHAVE_TIMERFD -DHAVE_INOTIFY -DHAVE_TM_GMTOFF -DHAVE_TM_ZONE -DHAVE_TIMEZONE -DHAVE_TZNAME -DHAVE_DAYLIGHT -DHAVE_ALLOCA_H -DHAVE_STRING_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TIMES_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -I/usr/include -I/usr/include -D_DEBUG -D_GNU_SOURCE -fPIC -DENABLE_LLVM -Wno-unused-function -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fvisibility-inlines-hidden    -std=c++11 -c -o vm/util/artifacts/logger.cpp.o vm/util/logger.cpp\r\nThe command '/bin/sh -c cd \"/usr/src/rubinius-${RUBINIUS_VERSION}\" && gem install bundler && bundle install && ./configure --llvm-config=/usr/bin/llvm-config --libc=musl && rake install' returned a non-zero code: 1\r\n```\r\n\r\nHopefully all of the required debug info is available above (including the clang++ command), let me know if you need anything else."},"comment":{"url":"https://api.github.com/repos/rubinius/rubinius/issues/comments/135579551","html_url":"https://github.com/rubinius/rubinius/issues/3492#issuecomment-135579551","issue_url":"https://api.github.com/repos/rubinius/rubinius/issues/3492","id":135579551,"user":{"login":"jemc","id":4623870,"avatar_url":"https://avatars.githubusercontent.com/u/4623870?v=3","gravatar_id":"","url":"https://api.github.com/users/jemc","html_url":"https://github.com/jemc","followers_url":"https://api.github.com/users/jemc/followers","following_url":"https://api.github.com/users/jemc/following{/other_user}","gists_url":"https://api.github.com/users/jemc/gists{/gist_id}","starred_url":"https://api.github.com/users/jemc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemc/subscriptions","organizations_url":"https://api.github.com/users/jemc/orgs","repos_url":"https://api.github.com/users/jemc/repos","events_url":"https://api.github.com/users/jemc/events{/privacy}","received_events_url":"https://api.github.com/users/jemc/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T23:09:37Z","updated_at":"2015-08-27T23:09:37Z","body":"> It should really be in the format of type mode_t(args);\r\nWhy would it be in that format?  It's a type definition, not a function."}}