Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation of Stanchion 2.1.2 fails on Raspbian (RasPiOS) = Debian 10 (Buster) #112

Open
christianbaun opened this issue Jun 10, 2020 · 0 comments

Comments

@christianbaun
Copy link

christianbaun commented Jun 10, 2020

I have some trouble during installation of Stanchion 2.1.2 on latest Raspbian (RasPiOS) which is based on Debian 10 (Buster).

Steps to reproduce the issue:

$ cd ~
$ wget https://github.com/basho/stanchion/archive/2.1.2.tar.gz
$ tar xvzf 2.1.2.tar.gz 
$ cd stanchion-2.1.2
$ make rel
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
==> rel (get-deps)
==> stanchion-2.1.2 (get-deps)
Pulling lager from {git,"git://github.com/basho/lager",{tag,"2.2.0"}}
Cloning into 'lager'...
Pulling lager_syslog from {git,"git://github.com/basho/lager_syslog",
                               {tag,"2.1.1"}}
...<many lines>...
Compiled src/stanchion_wm_user.erl
Compiled src/stanchion_sup.erl
Compiled src/stanchion_acl_utils.erl
Compiled src/stanchion_utils.erl
ERROR: git describe --always --tags failed with error: 128 and output:
fatal: not a git repository (or any of the parent directories): .git

ERROR: compile failed while processing /home/pi/stanchion-2.1.2: rebar_abort
make: *** [Makefile:17: compile] Error 1

Some infrmation about the system:

$ uname -a
Linux raspberrypi 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux
$ cat /etc/debian_version 
10.4

Update

When I clone the stanchion git repository and compile it with make rel, the issue does not appear.

$ git clone https://github.com/basho/stanchion.git
$ cd stanchion/
$ make rel
==> rel (get-deps)
==> stanchion (get-deps)
...<many lines>...
==> rel (compile)
==> stanchion (compile)
==> rel (generate)
Schema: ["/home/pi/stanchion/rel/stanchion/lib/00-stanchion.schema",
         "/home/pi/stanchion/rel/stanchion/lib/11-erlang_vm.schema"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant