virgo-agent-toolkit / rackspace-monitoring-agent

Rackspace Cloud Monitoring Agent
http://virgoagent.com/rackspace-monitoring-agent/
Apache License 2.0
118 stars 39 forks source link

luvi-sigar issue on FreeBSD #929

Closed AlKult closed 8 years ago

AlKult commented 8 years ago

Hey,

At the make stage, it attempts to fetch https://github.com/virgo-agent-toolkit/luvi/releases/download/v2.6.1-sigar/luvi-sigar-FreeBSD_amd64 which doesn't exist at the destination. At later steps, it fails with "ENOENT: no such file or directory" because luvi-sigar wasn't downloaded earlier.

OS is 10.1-RELEASE-p15 FreeBSD 10.1-RELEASE-p15

root@tuovi:/home/hro/tmp # cd rackspace-monitoring-agent/
root@tuovi:/home/hro/tmp/rackspace-monitoring-agent # make
curl -L https://github.com/luvit/lit/raw/3.1.1/get-lit.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   126  100   126    0     0    288      0 --:--:-- --:--:-- --:--:--   287
100   494  100   494    0     0    844      0 --:--:-- --:--:-- --:--:--   844
Downloading https://github.com/luvit/luvi/releases/download/v2.6.1/luvi-regular-FreeBSD_amd64 to luvi
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   599    0   599    0     0   1425      0 --:--:-- --:--:-- --:--:--  1426
100 3923k  100 3923k    0     0   563k      0  0:00:06  0:00:06 --:--:--  686k
Downloading https://lit.luvit.io/packages/luvit/lit/v3.1.1.zip to lit.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 93068  100 93068    0     0  99677      0 --:--:-- --:--:-- --:--:-- 99644
lit version: 3.1.1
luvi version: v2.6.1
command: make lit.zip
load config: /root/.litconfig
compiling filter: ** excludes by default (first rule is positive)
including: commands/README
including: commands/add.lua
including: commands/auth.lua
including: commands/claim.lua
including: commands/config.lua
including: commands/down.lua
including: commands/get-luvi.lua
including: commands/help.lua
including: commands/init.lua
including: commands/install.lua
including: commands/ls.lua
including: commands/make.lua
including: commands/publish.lua
including: commands/serve.lua
including: commands/share.lua
including: commands/sync.lua
including: commands/unclaim.lua
including: commands/up.lua
including: commands/update.lua
including: init.lua
including: libs/api.lua
including: libs/auto-updater.lua
including: libs/autoconfig.lua
including: libs/calculate-deps.lua
including: libs/codec.lua
including: libs/core.lua
including: libs/db-fs.lua
including: libs/db.lua
including: libs/exec.lua
including: libs/export-zip.lua
including: libs/export.lua
including: libs/get-installed.lua
including: libs/github-request.lua
including: libs/handlers.lua
including: libs/import.lua
including: libs/install-deps.lua
including: libs/log.lua
including: libs/pkg.lua
including: libs/rdb.lua
including: libs/rules.lua
including: libs/verify-signature.lua
including: libs/vfs.lua
including: luvit-loader.lua
including: main.lua
including: package.lua
including dependency: coro-channel (deps/coro-channel.lua)
including dependency: coro-fs (deps/coro-fs.lua)
including dependency: coro-http (deps/coro-http.lua)
including dependency: coro-net (deps/coro-net.lua)
including dependency: coro-spawn (deps/coro-spawn.lua)
including dependency: coro-split (deps/coro-split.lua)
including dependency: coro-tls (deps/coro-tls.lua)
including dependency: coro-wrapper (deps/coro-wrapper.lua)
including dependency: git (deps/git/)
including dependency: http-codec (deps/http-codec.lua)
including dependency: json (deps/json.lua)
including dependency: pretty-print (deps/pretty-print.lua)
including dependency: prompt (deps/prompt.lua)
including dependency: readline (deps/readline.lua)
including dependency: semver (deps/semver.lua)
including dependency: ssh-rsa (deps/ssh-rsa.lua)
including dependency: websocket-codec (deps/websocket-codec.lua)
compiling filter: deps/git/** excludes by default (first rule is positive)
including: core.lua
including: db.lua
including: init.lua
including: package.lua
including: storage.lua
creating binary: /usr/home/hro/tmp/rackspace-monitoring-agent/lit
inserting luvi: /root/.litdb.git/cache/22b113a924aa8302abaaccf03f6a2ab6896184db/luvi
storing: commands/add.lua
compiling: commands/auth.lua (9.9% reduction)
storing: commands/claim.lua
storing: commands/config.lua
storing: commands/down.lua
compiling: commands/get-luvi.lua (20.7% reduction)
storing: commands/help.lua
compiling: commands/init.lua (14.9% reduction)
storing: commands/install.lua
compiling: commands/ls.lua (2.6% reduction)
storing: commands/make.lua
storing: commands/publish.lua
compiling: commands/serve.lua (11.1% reduction)
storing: commands/share.lua
storing: commands/sync.lua
storing: commands/unclaim.lua
storing: commands/up.lua
compiling: commands/update.lua (23.3% reduction)
compiling: deps/coro-channel.lua (20.4% reduction)
storing: deps/coro-fs.lua
compiling: deps/coro-http.lua (29.2% reduction)
compiling: deps/coro-net.lua (10.5% reduction)
compiling: deps/coro-spawn.lua (44% reduction)
compiling: deps/coro-split.lua (34.4% reduction)
compiling: deps/coro-tls.lua (19.4% reduction)
compiling: deps/coro-wrapper.lua (40.8% reduction)
compiling: deps/git/core.lua (3.4% reduction)
compiling: deps/git/db.lua (18.7% reduction)
storing: deps/git/init.lua
storing: deps/git/package.lua
compiling: deps/git/storage.lua (34.5% reduction)
compiling: deps/http-codec.lua (36.7% reduction)
compiling: deps/json.lua (30.7% reduction)
compiling: deps/pretty-print.lua (30.4% reduction)
compiling: deps/prompt.lua (43.4% reduction)
compiling: deps/readline.lua (19% reduction)
compiling: deps/semver.lua (28.2% reduction)
compiling: deps/ssh-rsa.lua (16.2% reduction)
compiling: deps/websocket-codec.lua (15.7% reduction)
storing: init.lua
compiling: libs/api.lua (28.8% reduction)
compiling: libs/auto-updater.lua (29% reduction)
compiling: libs/autoconfig.lua (32.3% reduction)
compiling: libs/calculate-deps.lua (30.4% reduction)
compiling: libs/codec.lua (31.4% reduction)
compiling: libs/core.lua (13.8% reduction)
compiling: libs/db-fs.lua (29.5% reduction)
compiling: libs/db.lua (38.2% reduction)
compiling: libs/exec.lua (45.1% reduction)
compiling: libs/export-zip.lua (36.4% reduction)
compiling: libs/export.lua (36.6% reduction)
compiling: libs/get-installed.lua (46.7% reduction)
compiling: libs/github-request.lua (49.8% reduction)
compiling: libs/handlers.lua (22.3% reduction)
compiling: libs/import.lua (27.6% reduction)
compiling: libs/install-deps.lua (38.4% reduction)
compiling: libs/log.lua (60.7% reduction)
compiling: libs/pkg.lua (37.1% reduction)
compiling: libs/rdb.lua (21.4% reduction)
compiling: libs/rules.lua (29.7% reduction)
compiling: libs/verify-signature.lua (40.8% reduction)
compiling: libs/vfs.lua (29.9% reduction)
compiling: luvit-loader.lua (28.3% reduction)
compiling: main.lua (24.8% reduction)
compiling: package.lua (13.7% reduction)
done building: /usr/home/hro/tmp/rackspace-monitoring-agent/lit
done: success

[ ! -x luvi-sigar ] && ./lit get-luvi -o luvi-sigar || exit 0
lit version: 3.1.1
luvi version: v2.6.1
command: get-luvi -o luvi-sigar
load config: /root/.litconfig
downloading: https://github.com/virgo-agent-toolkit/luvi/releases/download/v2.6.1-sigar/luvi-sigar-FreeBSD_amd64
fail: [string "bundle:libs/core.lua"]:228: Problem downloading custom luvi: https://github.com/virgo-agent-toolkit/luvi/releases/download/v2.6.1-sigar/luvi-sigar-FreeBSD_amd64
stack traceback:
        [C]: in function 'assert'
        [string "bundle:libs/core.lua"]:228: in function 'getLuvi'
        [string "bundle:commands/get-luvi.lua"]:34: in function <[string "bundle:commands/get-luvi.lua"]:1>
        [string "bundle:main.lua"]:52: in function <[string "bundle:main.lua"]:39>
        [C]: in function 'xpcall'
        [string "bundle:main.lua"]:39: in function <[string "bundle:main.lua"]:31>

cmake -H. -Bbuild
CMAKE_GENERATOR: Unix Makefiles
Packaging rackspace-monitoring-agent
CPACK_SYSTEM_NAME amd64
CPACK_PACKAGE_FILE_NAME rackspace-monitoring-agent-0.1.1-Source
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/home/hro/tmp/rackspace-monitoring-agent/build
cmake --build build
gmake[1]: Entering directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[2]: Entering directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[3]: Entering directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
Scanning dependencies of target agent
gmake[3]: Leaving directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[3]: Entering directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
[100%] Generating rackspace-monitoring-agent
lit version: 3.1.1
luvi version: v2.6.1
command: make .. rackspace-monitoring-agent ../luvi-sigar
load config: /root/.litconfig
compiling filter: /usr/home/hro/tmp/rackspace-monitoring-agent/** excludes by default (first rule is positive)
including: agent.lua
including: certs.lua
including: check/apache.lua
including: check/base.lua
including: check/cpu.lua
including: check/disk.lua
including: check/filesystem.lua
including: check/init.lua
including: check/load_average.lua
including: check/memory.lua
including: check/mysql.lua
including: check/network.lua
including: check/null.lua
including: check/plugin.lua
including: check/raxxen.lua
including: check/redis.lua
including: check/windows/entry_handlers.lua
including: check/windows/init.lua
including: check/windows/os.lua
including: check/windows/sqlserver.lua
including: check/windows/winbase.lua
including: client/virgo_client.lua
including: client/virgo_connection_stream.lua
including: confd.lua
including: constants.lua
skipping: contrib
including: endpoint.lua
including: features.lua
including: hostinfo/all.lua
including: hostinfo/apache2.lua
including: hostinfo/autoupdates.lua
including: hostinfo/base.lua
including: hostinfo/connections.lua
including: hostinfo/cpu.lua
including: hostinfo/cron.lua
including: hostinfo/cve.lua
including: hostinfo/date.lua
including: hostinfo/deleted_libs.lua
including: hostinfo/disk.lua
including: hostinfo/fail2ban.lua
including: hostinfo/fileperms.lua
including: hostinfo/filesystem.lua
including: hostinfo/fstab.lua
including: hostinfo/hostname.lua
including: hostinfo/init.lua
including: hostinfo/ip4routes.lua
including: hostinfo/ip6routes.lua
including: hostinfo/ip6tables.lua
including: hostinfo/iptables.lua
including: hostinfo/kernel_modules.lua
including: hostinfo/last_logins.lua
including: hostinfo/login.lua
including: hostinfo/lsyncd.lua
including: hostinfo/magento.lua
including: hostinfo/memory.lua
including: hostinfo/misc.lua
including: hostinfo/network.lua
including: hostinfo/nginx_config.lua
including: hostinfo/nil.lua
including: hostinfo/packages.lua
including: hostinfo/pam.lua
including: hostinfo/passwd.lua
including: hostinfo/php.lua
including: hostinfo/postfix.lua
including: hostinfo/procs.lua
including: hostinfo/remote_services.lua
including: hostinfo/services.lua
including: hostinfo/sshd.lua
including: hostinfo/sysctl.lua
including: hostinfo/system.lua
including: hostinfo/who.lua
including: hostinfo/wordpress.lua
including: hostname.lua
including: main.lua
including: package.lua
including: protocol/virgo_connection.lua
including: protocol/virgo_messages.lua
including: remote/http-auth.lua
including: remote/http.lua
including: remote/index.lua
including: remote/package.lua
including: remote/ping.lua
including: remote/tcp.lua
including: remote/test-http.lua
including: remote/test-ping.lua
including: remote/test-tcp.lua
including: remote/utils.lua
including: runners/check_runner.lua
including: runners/hostinfo_runner.lua
including: schedule/init.lua
including: schedule/scheduler.lua
including: setup.lua
including: staging.lua
skipping: tests
connecting: wss://lit.luvit.io/
including dependency: async (1.0.3)
including dependency: buffer (2.0.0)
including dependency: childprocess (2.0.0)
including dependency: codec (2.0.0)
including dependency: core (2.0.0)
including dependency: dgram (2.0.0)
including dependency: dns (2.0.0)
including dependency: fs (2.0.1)
including dependency: helpful (2.0.0)
including dependency: hooks (2.0.0)
including dependency: hsm (1.0.0)
including dependency: http (2.0.0)
including dependency: http-codec (2.0.0)
including dependency: https (2.0.0)
including dependency: json (2.5.2)
including dependency: keystone-client (0.3.5)
including dependency: line-emitter (0.6.1)
including dependency: logging (1.0.9)
including dependency: los (2.0.0)
including dependency: luvit (2.9.1)
including dependency: luvit-walk (1.0.2)
including dependency: net (2.0.0)
including dependency: options (0.0.5)
including dependency: path (2.0.0)
including dependency: pathjoin (2.0.0)
including dependency: pretty-print (2.0.0)
including dependency: process (2.0.0)
including dependency: querystring (2.0.0)
including dependency: rackspace-monitoring-client (0.3.8)
including dependency: readline (2.0.0)
including dependency: repl (2.0.0)
including dependency: request (1.1.0)
including dependency: require (2.0.1)
including dependency: resource (2.1.0)
including dependency: semver (1.0.4)
including dependency: split-stream (0.6.3)
including dependency: stream (2.0.0)
including dependency: tap (0.1.1)
including dependency: thread (2.0.0)
including dependency: timer (2.0.0)
including dependency: tls (2.0.0)
including dependency: url (2.0.0)
including dependency: utils (2.0.0)
including dependency: virgo (2.1.0)
compiling filter: deps/line-emitter/** excludes by default (first rule is positive)
including: package.lua
including: lib/emitter.lua
including: init.lua
compiling filter: deps/luvit-walk/** excludes by default (first rule is positive)
including: package.lua
including: lib/luvit-read-directory-recursive.lua
including: init.lua
compiling filter: deps/rackspace-monitoring-client/** excludes by default (first rule is positive)
including: package.lua
including: lib/misc.lua
including: lib/init.lua
including: lib/errors.lua
including: init.lua
including: examples/entities.lua
including: examples/checks.lua
compiling filter: deps/luvit/** excludes by default (first rule is positive)
including: package.lua
including: main.lua
including: init.lua
compiling filter: deps/hsm/** excludes by default (first rule is positive)
including: package.lua
including: init.lua
including: hsm.lua
compiling filter: deps/options/** excludes by default (first rule is positive)
including: package.lua
including: init.lua
compiling filter: deps/request/** excludes by default (first rule is positive)
including: package.lua
including: lib/request.lua
including: init.lua
compiling filter: deps/keystone-client/** excludes by default (first rule is positive)
including: package.lua
including: lib/keystone.lua
including: init.lua
compiling filter: deps/logging/** excludes by default (first rule is positive)
including: package.lua
including: init.lua
compiling filter: deps/virgo/** excludes by default (first rule is positive)
including: winsvcwrap.lua
including: utils.lua
including: util/win_paths.lua
including: util/uuid.lua
including: util/upgrade.lua
including: util/underscore.lua
including: util/test.lua
including: util/sigar.lua
including: util/prompt.lua
including: util/misc.lua
including: util/logging.lua
including: util/constants_ctx.lua
including: util/constants.lua
including: protocol/request.lua
including: protocol/messages.lua
including: protocol/errors.lua
including: protocol/connection.lua
including: package.lua
including: machineidentity.lua
including: init.lua
including: errors.lua
including: connection.lua
including: client/upgrade.lua
including: client/init.lua
including: client/endpoint.lua
including: client/connection_stream.lua
including: client/connection_statemachine.lua
including: client/connection_messages.lua
including: client/client.lua
compiling filter: deps/async/** excludes by default (first rule is positive)
including: test.lua
including: queue.lua
including: package.lua
including: init.lua
including: bourbon.lua
compiling filter: deps/split-stream/** excludes by default (first rule is positive)
including: package.lua
including: lib/split.lua
including: init.lua
creating binary: /usr/home/hro/tmp/rackspace-monitoring-agent/build/rackspace-monitoring-agent
using luvi from: /usr/home/hro/tmp/rackspace-monitoring-agent/luvi-sigar
fail: [string "bundle:libs/core.lua"]:374: ENOENT: no such file or directory: /usr/home/hro/tmp/rackspace-monitoring-agent/luvi-sigar
stack traceback:
        [C]: in function 'assert'
        [string "bundle:libs/core.lua"]:374: in function 'make'
        [string "bundle:commands/make.lua"]:11: in function <[string "bundle:commands/make.lua"]:1>
        [string "bundle:main.lua"]:52: in function <[string "bundle:main.lua"]:39>
        [C]: in function 'xpcall'
        [string "bundle:main.lua"]:39: in function <[string "bundle:main.lua"]:31>

gmake[3]: *** [rackspace-monitoring-agent] Error 255
gmake[3]: Leaving directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[2]: *** [CMakeFiles/agent.dir/all] Error 2
gmake[2]: Leaving directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
*** Error code 2

Stop.
make: stopped in /usr/home/hro/tmp/rackspace-monitoring-agent

If I download //github.com/virgo-agent-toolkit/luvi/archive/v2.6.1-sigar.tar.gz and rename it to luvi-sigar, it goes through, but fails later:

root@tuovi:/home/hro/tmp/rackspace-monitoring-agent # fetch https://github.com/virgo-agent-toolkit/luvi/archive/v2.6.1-sigar.tar.gz
fetch: https://github.com/virgo-agent-toolkit/luvi/archive/v2.6.1-sigar.tar.gz: size of remote file is not known
v2.6.1-sigar.tar.gz                                    122 kB  450 kBps 00m00s
root@tuovi:/home/hro/tmp/rackspace-monitoring-agent # tar -zxf v2.6.1-sigar.tar.gz
root@tuovi:/home/hro/tmp/rackspace-monitoring-agent # ls
.git                    CHANGELOG.old           Makefile                build                   confd.lua               features.lua            luvi-2.6.1-sigar        runners                 tests
.gitignore              CMakeLists.txt          README.md               certs.lua               constants.lua           hostinfo                main.lua                schedule                v2.6.1-sigar.tar.gz
.luacheckrc             Dockerfile              agent.ico               check                   contrib                 hostname.lua            package.lua             setup.lua
.travis.yml             LICENSE.txt             agent.lua               client                  docker-compose.yml      lit                     protocol                staging.lua
CHANGELOG               Make.bat                appveyor.yml            cmake                   endpoint.lua            luvi                    remote                  static
root@tuovi:/home/hro/tmp/rackspace-monitoring-agent # mv luvi-2.6.1-sigar luvi-sigar
root@tuovi:/home/hro/tmp/rackspace-monitoring-agent # make
cmake -H. -Bbuild
CMAKE_GENERATOR: Unix Makefiles
Packaging rackspace-monitoring-agent
CPACK_SYSTEM_NAME amd64
CPACK_PACKAGE_FILE_NAME rackspace-monitoring-agent-0.1.1-Source
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/home/hro/tmp/rackspace-monitoring-agent/build
cmake --build build
gmake[1]: Entering directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[2]: Entering directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[3]: Entering directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[3]: Leaving directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[3]: Entering directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
[100%] Generating rackspace-monitoring-agent
lit version: 3.1.1
luvi version: v2.6.1
command: make .. rackspace-monitoring-agent ../luvi-sigar
load config: /root/.litconfig
compiling filter: /usr/home/hro/tmp/rackspace-monitoring-agent/** excludes by default (first rule is positive)
including: agent.lua
including: certs.lua
including: check/apache.lua
including: check/base.lua
including: check/cpu.lua
including: check/disk.lua
including: check/filesystem.lua
including: check/init.lua
including: check/load_average.lua
including: check/memory.lua
including: check/mysql.lua
including: check/network.lua
including: check/null.lua
including: check/plugin.lua
including: check/raxxen.lua
including: check/redis.lua
including: check/windows/entry_handlers.lua
including: check/windows/init.lua
including: check/windows/os.lua
including: check/windows/sqlserver.lua
including: check/windows/winbase.lua
including: client/virgo_client.lua
including: client/virgo_connection_stream.lua
including: confd.lua
including: constants.lua
skipping: contrib
including: endpoint.lua
including: features.lua
including: hostinfo/all.lua
including: hostinfo/apache2.lua
including: hostinfo/autoupdates.lua
including: hostinfo/base.lua
including: hostinfo/connections.lua
including: hostinfo/cpu.lua
including: hostinfo/cron.lua
including: hostinfo/cve.lua
including: hostinfo/date.lua
including: hostinfo/deleted_libs.lua
including: hostinfo/disk.lua
including: hostinfo/fail2ban.lua
including: hostinfo/fileperms.lua
including: hostinfo/filesystem.lua
including: hostinfo/fstab.lua
including: hostinfo/hostname.lua
including: hostinfo/init.lua
including: hostinfo/ip4routes.lua
including: hostinfo/ip6routes.lua
including: hostinfo/ip6tables.lua
including: hostinfo/iptables.lua
including: hostinfo/kernel_modules.lua
including: hostinfo/last_logins.lua
including: hostinfo/login.lua
including: hostinfo/lsyncd.lua
including: hostinfo/magento.lua
including: hostinfo/memory.lua
including: hostinfo/misc.lua
including: hostinfo/network.lua
including: hostinfo/nginx_config.lua
including: hostinfo/nil.lua
including: hostinfo/packages.lua
including: hostinfo/pam.lua
including: hostinfo/passwd.lua
including: hostinfo/php.lua
including: hostinfo/postfix.lua
including: hostinfo/procs.lua
including: hostinfo/remote_services.lua
including: hostinfo/services.lua
including: hostinfo/sshd.lua
including: hostinfo/sysctl.lua
including: hostinfo/system.lua
including: hostinfo/who.lua
including: hostinfo/wordpress.lua
including: hostname.lua
including: luvi-sigar/samples/repl.app/main.lua
including: luvi-sigar/samples/repl.app/repl.lua
including: luvi-sigar/samples/repl.app/utils.lua
including: luvi-sigar/samples/test.app/add/a.lua
including: luvi-sigar/samples/test.app/add/b.lua
including: luvi-sigar/samples/test.app/add/init.lua
including: luvi-sigar/samples/test.app/main.lua
including: luvi-sigar/samples/test.app/utils.lua
including: luvi-sigar/samples/winsvc.app/main.lua
including: luvi-sigar/src/lua/init.lua
including: luvi-sigar/src/lua/luvibundle.lua
including: luvi-sigar/src/lua/luvipath.lua
including: main.lua
including: package.lua
including: protocol/virgo_connection.lua
including: protocol/virgo_messages.lua
including: remote/http-auth.lua
including: remote/http.lua
including: remote/index.lua
including: remote/package.lua
including: remote/ping.lua
including: remote/tcp.lua
including: remote/test-http.lua
including: remote/test-ping.lua
including: remote/test-tcp.lua
including: remote/utils.lua
including: runners/check_runner.lua
including: runners/hostinfo_runner.lua
including: schedule/init.lua
including: schedule/scheduler.lua
including: setup.lua
including: staging.lua
skipping: tests
connecting: wss://lit.luvit.io/
including dependency: async (1.0.3)
including dependency: buffer (2.0.0)
including dependency: childprocess (2.0.0)
including dependency: codec (2.0.0)
including dependency: core (2.0.0)
including dependency: dgram (2.0.0)
including dependency: dns (2.0.0)
including dependency: fs (2.0.1)
including dependency: helpful (2.0.0)
including dependency: hooks (2.0.0)
including dependency: hsm (1.0.0)
including dependency: http (2.0.0)
including dependency: http-codec (2.0.0)
including dependency: https (2.0.0)
including dependency: json (2.5.2)
including dependency: keystone-client (0.3.5)
including dependency: line-emitter (0.6.1)
including dependency: logging (1.0.9)
including dependency: los (2.0.0)
including dependency: luvit (2.9.1)
including dependency: luvit-walk (1.0.2)
including dependency: net (2.0.0)
including dependency: options (0.0.5)
including dependency: path (2.0.0)
including dependency: pathjoin (2.0.0)
including dependency: pretty-print (2.0.0)
including dependency: process (2.0.0)
including dependency: querystring (2.0.0)
including dependency: rackspace-monitoring-client (0.3.8)
including dependency: readline (2.0.0)
including dependency: repl (2.0.0)
including dependency: request (1.1.0)
including dependency: require (2.0.1)
including dependency: resource (2.1.0)
including dependency: semver (1.0.4)
including dependency: split-stream (0.6.3)
including dependency: stream (2.0.0)
including dependency: tap (0.1.1)
including dependency: thread (2.0.0)
including dependency: timer (2.0.0)
including dependency: tls (2.0.0)
including dependency: url (2.0.0)
including dependency: utils (2.0.0)
including dependency: virgo (2.1.0)
compiling filter: deps/line-emitter/** excludes by default (first rule is positive)
including: package.lua
including: lib/emitter.lua
including: init.lua
compiling filter: deps/luvit-walk/** excludes by default (first rule is positive)
including: package.lua
including: lib/luvit-read-directory-recursive.lua
including: init.lua
compiling filter: deps/rackspace-monitoring-client/** excludes by default (first rule is positive)
including: package.lua
including: lib/misc.lua
including: lib/init.lua
including: lib/errors.lua
including: init.lua
including: examples/entities.lua
including: examples/checks.lua
compiling filter: deps/luvit/** excludes by default (first rule is positive)
including: package.lua
including: main.lua
including: init.lua
compiling filter: deps/hsm/** excludes by default (first rule is positive)
including: package.lua
including: init.lua
including: hsm.lua
compiling filter: deps/options/** excludes by default (first rule is positive)
including: package.lua
including: init.lua
compiling filter: deps/request/** excludes by default (first rule is positive)
including: package.lua
including: lib/request.lua
including: init.lua
compiling filter: deps/keystone-client/** excludes by default (first rule is positive)
including: package.lua
including: lib/keystone.lua
including: init.lua
compiling filter: deps/logging/** excludes by default (first rule is positive)
including: package.lua
including: init.lua
compiling filter: deps/virgo/** excludes by default (first rule is positive)
including: winsvcwrap.lua
including: utils.lua
including: util/win_paths.lua
including: util/uuid.lua
including: util/upgrade.lua
including: util/underscore.lua
including: util/test.lua
including: util/sigar.lua
including: util/prompt.lua
including: util/misc.lua
including: util/logging.lua
including: util/constants_ctx.lua
including: util/constants.lua
including: protocol/request.lua
including: protocol/messages.lua
including: protocol/errors.lua
including: protocol/connection.lua
including: package.lua
including: machineidentity.lua
including: init.lua
including: errors.lua
including: connection.lua
including: client/upgrade.lua
including: client/init.lua
including: client/endpoint.lua
including: client/connection_stream.lua
including: client/connection_statemachine.lua
including: client/connection_messages.lua
including: client/client.lua
compiling filter: deps/async/** excludes by default (first rule is positive)
including: test.lua
including: queue.lua
including: package.lua
including: init.lua
including: bourbon.lua
compiling filter: deps/split-stream/** excludes by default (first rule is positive)
including: package.lua
including: lib/split.lua
including: init.lua
creating binary: /usr/home/hro/tmp/rackspace-monitoring-agent/build/rackspace-monitoring-agent
using luvi from: /usr/home/hro/tmp/rackspace-monitoring-agent/luvi-sigar
inserting luvi: /usr/home/hro/tmp/rackspace-monitoring-agent/luvi-sigar
compiling: agent.lua (6.5% reduction)
compiling: certs.lua (11.9% reduction)
compiling: check/apache.lua (22.9% reduction)
compiling: check/base.lua (15% reduction)
compiling: check/cpu.lua (32.1% reduction)
compiling: check/disk.lua (33.4% reduction)
compiling: check/filesystem.lua (31.4% reduction)
compiling: check/init.lua (27.9% reduction)
compiling: check/load_average.lua (5.2% reduction)
compiling: check/memory.lua (38.2% reduction)
compiling: check/mysql.lua (21% reduction)
compiling: check/network.lua (25.7% reduction)
compiling: check/null.lua (55.5% reduction)
compiling: check/plugin.lua (42.6% reduction)
compiling: check/raxxen.lua (5.7% reduction)
compiling: check/redis.lua (8.6% reduction)
compiling: check/windows/entry_handlers.lua (62.4% reduction)
compiling: check/windows/init.lua (64% reduction)
compiling: check/windows/os.lua (44.6% reduction)
compiling: check/windows/sqlserver.lua (28.5% reduction)
compiling: check/windows/winbase.lua (27.1% reduction)
compiling: client/virgo_client.lua (33.5% reduction)
storing: client/virgo_connection_stream.lua
compiling: confd.lua (21.8% reduction)
compiling: constants.lua (24.5% reduction)
storing: deps/async/bourbon.lua
compiling: deps/async/init.lua (4.4% reduction)
storing: deps/async/package.lua
compiling: deps/async/queue.lua (23.8% reduction)
storing: deps/async/test.lua
compiling: deps/buffer.lua (19.5% reduction)
compiling: deps/childprocess.lua (18.3% reduction)
compiling: deps/codec.lua (35.3% reduction)
compiling: deps/core.lua (57.3% reduction)
compiling: deps/dgram.lua (25.5% reduction)
compiling: deps/dns.lua (24.5% reduction)
compiling: deps/fs.lua (6.2% reduction)
compiling: deps/helpful.lua (43.2% reduction)
compiling: deps/hooks.lua (83.3% reduction)
compiling: deps/hsm/hsm.lua (18.8% reduction)
storing: deps/hsm/init.lua
storing: deps/hsm/package.lua
compiling: deps/http-codec.lua (36.7% reduction)
compiling: deps/http.lua (29.8% reduction)
compiling: deps/https.lua (45.6% reduction)
compiling: deps/json.lua (30.7% reduction)
storing: deps/keystone-client/init.lua
compiling: deps/keystone-client/lib/keystone.lua (24.1% reduction)
storing: deps/keystone-client/package.lua
storing: deps/line-emitter/init.lua
compiling: deps/line-emitter/lib/emitter.lua (34.2% reduction)
storing: deps/line-emitter/package.lua
compiling: deps/logging/init.lua (21.2% reduction)
storing: deps/logging/package.lua
compiling: deps/los.lua (76.9% reduction)
storing: deps/luvit-walk/init.lua
compiling: deps/luvit-walk/lib/luvit-read-directory-recursive.lua (29.5% reduction)
storing: deps/luvit-walk/package.lua
compiling: deps/luvit/init.lua (42.8% reduction)
compiling: deps/luvit/main.lua (21.3% reduction)
compiling: deps/luvit/package.lua (20.2% reduction)
compiling: deps/net.lua (13.9% reduction)
compiling: deps/options/init.lua (22.4% reduction)
storing: deps/options/package.lua
compiling: deps/path/base.lua (24.9% reduction)
compiling: deps/path/init.lua (49.7% reduction)
storing: deps/path/package.lua
compiling: deps/pathjoin.lua (33.5% reduction)
compiling: deps/pretty-print.lua (30.4% reduction)
compiling: deps/process.lua (17.2% reduction)
compiling: deps/querystring.lua (35.9% reduction)
compiling: deps/rackspace-monitoring-client/examples/checks.lua (42.7% reduction)
compiling: deps/rackspace-monitoring-client/examples/entities.lua (39% reduction)
compiling: deps/rackspace-monitoring-client/init.lua (83.6% reduction)
compiling: deps/rackspace-monitoring-client/lib/errors.lua (56.8% reduction)
compiling: deps/rackspace-monitoring-client/lib/init.lua (4% reduction)
compiling: deps/rackspace-monitoring-client/lib/misc.lua (63.2% reduction)
storing: deps/rackspace-monitoring-client/package.lua
compiling: deps/readline.lua (19% reduction)
compiling: deps/repl.lua (27.4% reduction)
storing: deps/request/init.lua
compiling: deps/request/lib/request.lua (20.8% reduction)
storing: deps/request/package.lua
compiling: deps/require.lua (23.7% reduction)
compiling: deps/resource.lua (31.5% reduction)
compiling: deps/semver.lua (21.2% reduction)
storing: deps/split-stream/init.lua
compiling: deps/split-stream/lib/split.lua (16.3% reduction)
compiling: deps/split-stream/package.lua (10% reduction)
compiling: deps/stream/init.lua (55.6% reduction)
storing: deps/stream/package.lua
compiling: deps/stream/stream_core.lua (38.5% reduction)
compiling: deps/stream/stream_duplex.lua (49.7% reduction)
compiling: deps/stream/stream_observable.lua (50.8% reduction)
compiling: deps/stream/stream_passthrough.lua (65.3% reduction)
compiling: deps/stream/stream_readable.lua (48.2% reduction)
compiling: deps/stream/stream_transform.lua (62% reduction)
compiling: deps/stream/stream_writable.lua (43% reduction)
compiling: deps/tap.lua (23.5% reduction)
compiling: deps/thread.lua (38.9% reduction)
compiling: deps/timer.lua (24% reduction)
compiling: deps/tls/common.lua (15.1% reduction)
compiling: deps/tls/init.lua (24.7% reduction)
compiling: deps/tls/lcrypto.lua (46.8% reduction)
compiling: deps/tls/package.lua (2.6% reduction)
compiling: deps/url.lua (48.9% reduction)
compiling: deps/utils.lua (39.7% reduction)
compiling: deps/virgo/client/client.lua (7% reduction)
storing: deps/virgo/client/connection_messages.lua
compiling: deps/virgo/client/connection_statemachine.lua (18.6% reduction)
compiling: deps/virgo/client/connection_stream.lua (15.3% reduction)
compiling: deps/virgo/client/endpoint.lua (29.5% reduction)
compiling: deps/virgo/client/init.lua (68.5% reduction)
compiling: deps/virgo/client/upgrade.lua (1.4% reduction)
compiling: deps/virgo/connection.lua (12.4% reduction)
compiling: deps/virgo/errors.lua (64.3% reduction)
compiling: deps/virgo/init.lua (36.7% reduction)
compiling: deps/virgo/machineidentity.lua (17% reduction)
compiling: deps/virgo/package.lua (10.5% reduction)
compiling: deps/virgo/protocol/connection.lua (20.9% reduction)
compiling: deps/virgo/protocol/errors.lua (36.9% reduction)
compiling: deps/virgo/protocol/messages.lua (31.2% reduction)
compiling: deps/virgo/protocol/request.lua (19.5% reduction)
storing: deps/virgo/util/constants.lua
compiling: deps/virgo/util/constants_ctx.lua (22.8% reduction)
compiling: deps/virgo/util/logging.lua (18.3% reduction)
compiling: deps/virgo/util/misc.lua (20.9% reduction)
storing: deps/virgo/util/prompt.lua
compiling: deps/virgo/util/sigar.lua (52.6% reduction)
compiling: deps/virgo/util/test.lua (23.6% reduction)
compiling: deps/virgo/util/underscore.lua (20.6% reduction)
compiling: deps/virgo/util/upgrade.lua (19.2% reduction)
compiling: deps/virgo/util/uuid.lua (36% reduction)
compiling: deps/virgo/util/win_paths.lua (8.2% reduction)
compiling: deps/virgo/utils.lua (29.5% reduction)
compiling: deps/virgo/winsvcwrap.lua (22.4% reduction)
compiling: endpoint.lua (41.7% reduction)
compiling: features.lua (44.6% reduction)
compiling: hostinfo/all.lua (17.1% reduction)
compiling: hostinfo/apache2.lua (6.7% reduction)
compiling: hostinfo/autoupdates.lua (19% reduction)
compiling: hostinfo/base.lua (28.8% reduction)
compiling: hostinfo/connections.lua (17.2% reduction)
compiling: hostinfo/cpu.lua (41.4% reduction)
compiling: hostinfo/cron.lua (22% reduction)
compiling: hostinfo/cve.lua (32.2% reduction)
compiling: hostinfo/date.lua (42.8% reduction)
compiling: hostinfo/deleted_libs.lua (28.2% reduction)
compiling: hostinfo/disk.lua (39.4% reduction)
compiling: hostinfo/fail2ban.lua (1.8% reduction)
compiling: hostinfo/fileperms.lua (35.4% reduction)
compiling: hostinfo/filesystem.lua (43.1% reduction)
compiling: hostinfo/fstab.lua (27.8% reduction)
compiling: hostinfo/hostname.lua (29.7% reduction)
compiling: hostinfo/init.lua (6.2% reduction)
compiling: hostinfo/ip4routes.lua (26.4% reduction)
compiling: hostinfo/ip6routes.lua (26.7% reduction)
compiling: hostinfo/ip6tables.lua (26.3% reduction)
compiling: hostinfo/iptables.lua (26.3% reduction)
compiling: hostinfo/kernel_modules.lua (24.2% reduction)
compiling: hostinfo/last_logins.lua (20.9% reduction)
compiling: hostinfo/login.lua (28.2% reduction)
compiling: hostinfo/lsyncd.lua (18.8% reduction)
compiling: hostinfo/magento.lua (6.7% reduction)
compiling: hostinfo/memory.lua (42.8% reduction)
compiling: hostinfo/misc.lua (14.9% reduction)
compiling: hostinfo/network.lua (41.9% reduction)
compiling: hostinfo/nginx_config.lua (3.3% reduction)
compiling: hostinfo/nil.lua (63.9% reduction)
compiling: hostinfo/packages.lua (22.9% reduction)
compiling: hostinfo/pam.lua (24.4% reduction)
compiling: hostinfo/passwd.lua (19.1% reduction)
compiling: hostinfo/php.lua (8.3% reduction)
compiling: hostinfo/postfix.lua (12.1% reduction)
compiling: hostinfo/procs.lua (37.6% reduction)
compiling: hostinfo/remote_services.lua (24.8% reduction)
compiling: hostinfo/services.lua (15% reduction)
compiling: hostinfo/sshd.lua (28.6% reduction)
compiling: hostinfo/sysctl.lua (28.1% reduction)
compiling: hostinfo/system.lua (46% reduction)
compiling: hostinfo/who.lua (42.7% reduction)
storing: hostinfo/wordpress.lua
compiling: hostname.lua (49.9% reduction)
storing: luvi-sigar/samples/repl.app/main.lua
compiling: luvi-sigar/samples/repl.app/repl.lua (32.1% reduction)
compiling: luvi-sigar/samples/repl.app/utils.lua (21.4% reduction)
storing: luvi-sigar/samples/test.app/add/a.lua
storing: luvi-sigar/samples/test.app/add/b.lua
storing: luvi-sigar/samples/test.app/add/init.lua
compiling: luvi-sigar/samples/test.app/main.lua (7.6% reduction)
compiling: luvi-sigar/samples/test.app/utils.lua (21.4% reduction)
compiling: luvi-sigar/samples/winsvc.app/main.lua (25.6% reduction)
compiling: luvi-sigar/src/lua/init.lua (29.3% reduction)
compiling: luvi-sigar/src/lua/luvibundle.lua (14.6% reduction)
compiling: luvi-sigar/src/lua/luvipath.lua (28.9% reduction)
compiling: main.lua (13.8% reduction)
compiling: package.lua (8.5% reduction)
storing: protocol/virgo_connection.lua
compiling: protocol/virgo_messages.lua (11.4% reduction)
compiling: remote/http-auth.lua (39.2% reduction)
compiling: remote/http.lua (46.3% reduction)
compiling: remote/index.lua (2.2% reduction)
storing: remote/package.lua
compiling: remote/ping.lua (27.2% reduction)
compiling: remote/tcp.lua (53.1% reduction)
compiling: remote/test-http.lua (1.1% reduction)
compiling: remote/test-ping.lua (7.6% reduction)
compiling: remote/test-tcp.lua (11.5% reduction)
storing: remote/utils.lua
compiling: runners/check_runner.lua (17% reduction)
compiling: runners/hostinfo_runner.lua (11.7% reduction)
compiling: schedule/init.lua (86.9% reduction)
compiling: schedule/scheduler.lua (21.4% reduction)
compiling: setup.lua (9.2% reduction)
compiling: staging.lua (59.8% reduction)
done building: /usr/home/hro/tmp/rackspace-monitoring-agent/build/rackspace-monitoring-agent
done: success

gmake[3]: Leaving directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
[100%] Built target agent
gmake[2]: Leaving directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
gmake[1]: Leaving directory `/usr/home/hro/tmp/rackspace-monitoring-agent/build'
build/rackspace-monitoring-agent -v
build/rackspace-monitoring-agent: 1: Syntax error: word unexpected (expecting ")")
*** Error code 2

Stop.
make: stopped in /usr/home/hro/tmp/rackspace-monitoring-agent

Best regards, Albert.

rphillips commented 8 years ago

I created a freebsd release. We don't officially support it, but it should work for you.