all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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	[thread overview]
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


      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 Help with packaging: Dendrite (Matrix), Gitea, Caddy 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

* 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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.