You are not logged in.

#1 2025-03-21 13:09:31

hugopl
Member
Registered: 2025-03-21
Posts: 1

Creating a lavinmq package

Hi,

I'm trying to create a package for lavinmq on AUR, lavinmq is a message broker (like rabbitmq) written in Crystal

In fact it's already created at https://aur.archlinux.org/packages/lavinmq however one of the lavinmq developers pointed me out that the package has some problems:

Lavinmq requires libgc (core/gc package) to be compiled with --enable-large-config for peformance reasons but libgc package from ArchLinux isn't compiled with this flag.

So, what's the better way to deal with this issue? Is it possible to add --enable-large-config to gc package?

Lavinmq people distribute alpine docker images that has its own version of libgc statically linked. In AUR I could create a lavinmq-bin package that just fetches this binary from the official docker image, is this the only way out?

Offline

#2 2025-03-21 17:29:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,465

Re: Creating a lavinmq package

Create a gc-large-config package based on the repo gc package .

Set it to provide & conflict gc .

Test if gc-large-config is usable by all repo packages that require gc .

Last edited by Lone_Wolf (2025-03-21 17:30:33)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB