From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: Timothy <tecosaur@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Help with packaging: Dendrite (Matrix), Gitea, Caddy
Date: Thu, 14 Jan 2021 08:00:33 +1100
Message-ID: <878s8w7dse.fsf@zancanaro.id.au> (raw)
In-Reply-To: <87sg74sqe8.fsf@gmail.com>
Hi Timothy,
On Thu, Jan 14 2021, Timothy wrote:
> For the past ~month I've been trying to package Dendrite (a
> second generation reference Matrix server implementation, set to
> succeed Synapse when feature parity is reached), Gitea, and
> Caddy.
I took a look at dendrite, and it looks like it needs some
dependencies. In the build output I saw a bunch of:
src/github.com/matrix-org/dendrite/internal/consumers.go:21:2:
cannot find package "github.com/Shopify/sarama" in any of:
/gnu/store/cb9kqjg7m6xk1wz7ap8as792fd5kcmd2-go-1.14.10/src/github.com/Shopify/sarama
(from $GOROOT)
/tmp/guix-build-dendrite-0.3.1.drv-0/src/github.com/Shopify/sarama
(from $GOPATH)
src/github.com/matrix-org/dendrite/appservice/appservice.go:23:2:
cannot find package "github.com/gorilla/mux" in any of:
/gnu/store/cb9kqjg7m6xk1wz7ap8as792fd5kcmd2-go-1.14.10/src/github.com/gorilla/mux
(from $GOROOT)
/tmp/guix-build-dendrite-0.3.1.drv-0/src/github.com/gorilla/mux
(from $GOPATH)
...
From what I can see of the other Go packages in Guix, each of the
dependencies needs to be added to the propagated-inputs of the
dendrite package to make it build.
I don't think we have all of these dependencies packaged in Guix
at the moment, so you will have to write some package definitions
for these dependencies before you can package dendrite. I'm not
up-to-date on the state of Go in Guix, but I think there are some
patches for a Go importer floating around on the mailing list, if
you wanted to try automatically importing package definitions.
I hope that helps,
Carlo
prev parent reply other threads:[~2021-01-13 21:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 17:18 Timothy
2021-01-13 21:00 ` Carlo Zancanaro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878s8w7dse.fsf@zancanaro.id.au \
--to=carlo@zancanaro.id.au \
--cc=guix-devel@gnu.org \
--cc=tecosaur@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
unofficial mirror of guix-devel@gnu.org
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://yhetil.org/guix-devel/0 guix-devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 guix-devel guix-devel/ https://yhetil.org/guix-devel \
guix-devel@gnu.org
public-inbox-index guix-devel
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.yhetil.org/yhetil.gnu.guix.devel
nntp://news.gmane.io/gmane.comp.gnu.guix.devel
AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git