Package Details: tezos-mainnet-git r3797.a67ca32c6-1

Git Clone URL: (read-only, click to copy)
Package Base: tezos-mainnet-git
Description: Tezos is a distributed consensus platform with meta-consensus capability.
Upstream URL:
Licenses: MIT
Provides: tezos-admin-client, tezos-client, tezos-node, tezos-protocol-compiler, tezos-signer
Submitter: dbrgn
Maintainer: dbrgn
Last Packager: dbrgn
Votes: 1
Popularity: 0.000000
First Submitted: 2018-11-19 10:13
Last Updated: 2019-10-14 13:59

Latest Comments

Phlogiston commented on 2019-10-14 13:58

We should add --no-opamrc and set --root= to a directory inside fakeroot?

dbrgn commented on 2019-10-14 13:20

@Phlogiston: Hm, I assumed that since makepkg runs the build steps in fakeroot, that the build should be isolated. But it seems that it indeed uses ~/.opam/ for caching.

That means that the provided makefiles are really bad for packaging. Creating a package should not depend on system or user configuration.

Are you aware of a way to use a build-local opam directory?

Phlogiston commented on 2019-10-14 12:59

@dbrgn:You might need to clean the cache, see:

It seems that bwrap is still used.

//Update Works for me using yay:

dbrgn commented on 2019-10-14 11:13

@Phlogiston: Thanks. I'm getting the following error:

#=== ERROR while compiling ocaml-base-compiler.4.07.1 =========================#
# context     2.0.5 | linux/x86_64 |  | git+
# path        /mnt/data/Data/.pkg/tezos-mainnet-git/src/tezos/_opam/.opam-switch/build/ocaml-base-compiler.4.07.1
# command     ~/.opam/opam-init/hooks/ build ./configure -prefix /mnt/data/Data/.pkg/tezos-mainnet-git/src/tezos/_opam -with-debug-runtime
# exit-code   1
# env-file    ~/.opam/log/ocaml-base-compiler-209592-05296d.env
# output-file ~/.opam/log/ocaml-base-compiler-209592-05296d.out
### output ###
# bwrap: Can't bind mount /oldroot/mnt/data/Caches/.ccache on /newroot/home/danilo/.ccache: No such file or directory

Seems that we need to disable sandboxing (since AUR already does that). I tried to add --disable-sandboxing to the opam init command, but that didn't work. Any ideas? (I'm not very familiar with the OCaml ecosystem.)

Phlogiston commented on 2019-08-09 05:50

Fixed version: Missed "opam init --bare" command. I added it non interactive with (-n).