Package Details: nomad 0.9.1-1

Git Clone URL: (read-only)
Package Base: nomad
Description: A Distributed, Highly Available, Datacenter-Aware Scheduler
Upstream URL:
Licenses: MPL
Submitter: mtorromeo
Maintainer: mtorromeo
Last Packager: mtorromeo
Votes: 15
Popularity: 0.523899
First Submitted: 2016-02-25 21:45
Last Updated: 2019-04-30 07:32

Latest Comments

1 2 Next › Last »

bruno.unna commented on 2019-03-15 11:25

I have created a patch that seems to fix the issue I reported yesterday:

diff --git a/PKGBUILD b/PKGBUILD
index 1ef58da..fa12719 100644
@@ -2,7 +2,7 @@

 pkgdesc="A Distributed, Highly Available, Datacenter-Aware Scheduler"
 arch=('i686' 'x86_64')
@@ -18,14 +18,16 @@ backup=(etc/nomad/{server,client}.conf)
-               golang-crypto.patch)
+               golang-crypto.patch
+               container.patch)
-            '75583a195b43d7345449bbac60359bf54661ccbd699386a6e59bb483c6054338')
+            '75583a195b43d7345449bbac60359bf54661ccbd699386a6e59bb483c6054338'
+           'd7f483250456cb7b92a437661999786b7295628fc09e1a3b0769606902d82ef0')

 prepare() {
        mkdir -p src/
@@ -54,6 +56,10 @@ prepare() {

        pushd vendor/
        patch -p1 -i "$srcdir"/golang-crypto.patch
+       popd
+       pushd vendor/
+       patch -p0 -i "$srcdir"/container.patch

 build() {
diff --git a/container.patch b/container.patch
new file mode 100644
index 0000000..228f3d1
--- /dev/null
+++ b/container.patch
@@ -0,0 +1,11 @@
+--- ../../../../../nomad-0.8.7.orig/vendor/ 2019-03-15 09:59:16.230241650 +0000
++++ container.go       2019-03-15 10:00:22.343574744 +0000
+@@ -767,7 +767,7 @@
+       defer
+-      var keys *_Ctype_char
++      var keys *C.char
+       if key != nil && len(key) == 1 {
+               ckey := C.CString(key[0])

Please validate and if it seems correct, feel free to use it.

bruno.unna commented on 2019-03-14 15:44

Hi all. I've built this package in the past (weeks ago, very same version). I'm doing it again, but now it's failing with:

patching file blake2b/blake2b_amd64.go
patching file blake2b/blake2b_amd64.s
==> Starting build()...
vendor/ identifier "_Ctype_char" may conflict with identifiers generated by cgo
==> ERROR: A failure occurred in build().

The machine is newly installed. go was installed as a dependency of this build process. Any logs/versions/output of commands is available on request.

I'm a bit lost, really. Ideas and pointers will be greatly appreciated. Thanks in advance.

leothrix commented on 2019-02-12 04:48

I've been using nomad with success on a few ARM architectures - could we get the following architectures added to arch=() and the $CARCH conditionals updated in the PKGBUILD?

  • armv7h
  • aarch64

leothrix commented on 2018-07-29 17:11

The bump to 0.8.4 seems to have changed something with the build process, because now the binary doesn't show the UI anymore when trying to view :4646/ui:

Nomad UI is not available in this binary.

You can check the complete output by running the binary and browsing :4646, but it suggests either using make release, an official binary release, or make dev-ui. Not sure what the best approach to fixing it may be (either tweaking the go compilation command or using make release and grabbing the compilation artifact instead).

mtorromeo commented on 2018-07-11 11:25

Applied patch to fix the build

Svenstaro commented on 2018-07-09 18:30

Seems to be broken right now:

In file included from vendor/ ./lxc-binding.h:76:8: error: redefinition of 'struct migrate_opts' struct migrate_opts { ^~~~~~~~~~~~

jshuping commented on 2017-09-11 15:40

They've changed the build logic in 0.6.2, there is no longer a

==> Extracting sources...
-> Extracting nomad-0.6.2.tar.gz with bsdtar
==> Starting prepare()...
sed: can't read scripts/ No such file or directory
==> ERROR: A failure occurred in prepare().

thaewrapt commented on 2017-07-03 14:59

Works like charm w/o 'tree' now, thanks!

grossws commented on 2017-06-22 14:20

It seems that `tree` should be added to build deps.

mtorromeo commented on 2017-01-07 09:54

What I was explaining in previous comments is that the version was never updated from rc1 to stable in the git repo.

Here you can see that it was only bumped less than 24h ago from 0.5.2-rc1 to 0.5.3-dev, with no stable version in between the two:

Anyway, this is only cosmetic.