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

Git Clone URL: https://aur.archlinux.org/tezos-mainnet-git.git (read-only, click to copy)
Package Base: tezos-mainnet-git
Description: Tezos is a distributed consensus platform with meta-consensus capability.
Upstream URL: https://gitlab.com/tezos/tezos
Licenses: MIT
Provides: tezos-admin-client, tezos-client, tezos-node, tezos-protocol-compiler, tezos-signer
Submitter: dbrgn
Maintainer: None
Last Packager: dbrgn
Votes: 1
Popularity: 0.000000
First Submitted: 2018-11-19 10:13 (UTC)
Last Updated: 2021-12-06 09:28 (UTC)

Latest Comments

dbrgn commented on 2021-12-06 11:30 (UTC)

Note: If you just want to build from source, the tezos-serokell package might be an alternative.

dbrgn commented on 2021-12-06 09:28 (UTC)

I'm orphaning this package, I don't understand enough about opam to be able to maintain it.

Right now, it complains about a too-new opam version being used by Arch:

Makefile:11: ** Unexpected opam version (found: 2.1.1, expected: 2.0.). Stop.

Phlogiston commented on 2019-10-14 13:58 (UTC) (edited on 2019-10-14 14:07 (UTC) by Phlogiston)

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

dbrgn commented on 2019-10-14 13:20 (UTC)

@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 (UTC) (edited on 2019-10-14 13:09 (UTC) by Phlogiston)

@dbrgn:You might need to clean the cache, see: https://github.com/ocaml/opam/issues/3634

It seems that bwrap is still used.

//Update Works for me using yay: https://pastebin.com/TcdQNVS2

dbrgn commented on 2019-10-14 11:13 (UTC) (edited on 2019-10-14 11:13 (UTC) by dbrgn)

@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+https://gitlab.com/tezos/opam-repository.git#b98d1114e1bafbe50f017e619cbfcede77df0149
# 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/sandbox.sh 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 (UTC)

Fixed version: https://pastebin.com/raw/xVmhpM3z Missed "opam init --bare" command. I added it non interactive with (-n).