unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / Atom feed
* Help with packaging: Dendrite (Matrix), Gitea, Caddy
@ 2021-01-13 17:18 Timothy
  2021-01-13 21:00 ` Carlo Zancanaro
  0 siblings, 1 reply; 2+ messages in thread
From: Timothy @ 2021-01-13 17:18 UTC (permalink / raw)
  To: guix-devel

Hi All,

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.

However, I have had issues with all three, and am just staring at error
messages in futility at this point.

If I could get these working, I'd be happy to try to get them into
Guix's repos :)

For anyone willing to give this a look (any form of help would be
massively appreciated!), see any of:
- https://tecosaur.com/public/guix-config.html#dendrite
- https://tecosaur.com/public/guix-config.html#gitea
- https://tecosaur.com/public/guix-config.html#caddy

All the best,

Timothy.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help with packaging: Dendrite (Matrix), Gitea, Caddy
  2021-01-13 17:18 Help with packaging: Dendrite (Matrix), Gitea, Caddy Timothy
@ 2021-01-13 21:00 ` Carlo Zancanaro
  0 siblings, 0 replies; 2+ messages in thread
From: Carlo Zancanaro @ 2021-01-13 21:00 UTC (permalink / raw)
  To: Timothy; +Cc: guix-devel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-13 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13 17:18 Help with packaging: Dendrite (Matrix), Gitea, Caddy Timothy
2021-01-13 21:00 ` Carlo Zancanaro

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