Package Details: nanomq-nng-bin 0.24.10-1

Git Clone URL: https://aur.archlinux.org/nanomq-bin.git (read-only, click to copy)
Package Base: nanomq-bin
Description: NanoNNG is the nanomsg-next-generation fork with MQTT support
Upstream URL: https://nanomq.io
Licenses: MIT
Conflicts: nng
Provides: nng
Submitter: emiliano.bovetti
Maintainer: emiliano.bovetti
Last Packager: emiliano.bovetti
Votes: 0
Popularity: 0.000000
First Submitted: 2025-03-24 16:31 (UTC)
Last Updated: 2026-02-05 12:40 (UTC)

Required by (7)

Sources (5)

Latest Comments

emiliano.bovetti commented on 2026-01-27 11:35 (UTC)

Hey I've created a split package to install the two separately, it seems like the best option to me. Let me know if it works for you :)

emiliano.bovetti commented on 2026-01-26 22:38 (UTC) (edited on 2026-01-26 23:03 (UTC) by emiliano.bovetti)

I've just realized there's no runtime dependency here

$ ldd src/root/usr/local/bin/*
src/root/usr/local/bin/nanomq:
    linux-vdso.so.1 (0x00007f4b4fed4000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007f4b4faf2000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f4b4f800000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f4b4fed6000)
src/root/usr/local/bin/nanomq_cli:
    linux-vdso.so.1 (0x00007f3b6b71c000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f3b6b200000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f3b6b71e000)
src/root/usr/local/bin/nngcat:
    linux-vdso.so.1 (0x00007fb5cfabc000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007fb5cf600000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fb5cfabe000)

we could just avoid copying nngcat and any other nng-related stuff from the rpm, it seems both nanomq and nanomq_cli work fine without those files

the only problem is that headers file in /usr/include/nanomq are including stuff from nng, so we'd need to publish nanomq-nng-bin or something to fix nanomq as library

xorly commented on 2026-01-26 20:46 (UTC)

Hmm, I see. Maybe we could create nanomq-nng package, which would provide nng and depend this package on it. Nanomq nng states, it is fully bakward compatible with nng. Unfortunately versioning is completely different. If something depends on nng being above certain version, it will not work with nanomq nng :/

emiliano.bovetti commented on 2026-01-26 20:14 (UTC) (edited on 2026-01-26 20:15 (UTC) by emiliano.bovetti)

Do you think that nanomq-bin could use nng from the arch package?

The problem is that nng in packages/extra ships the original nanomsg/nng, while nanomq has its own fork at nanomq/NanoNNG. I'm not really sure what changes, but on the forked repository I see hundreds of commits from JaylinYu, so I'm afraid that at this point nanomq's nng is not compatible anymore with the original one

I'll add the conflict with nng for now and I'll test the upstream library with nanomq just to see what happens

xorly commented on 2026-01-26 16:08 (UTC) (edited on 2026-01-26 16:14 (UTC) by xorly)

Hi, I am getting filesystem conflicts with nng package. in - /usr/include/nng/ - /usr/lib/cmake/nng/ - /usr/bin/nngcat

Do you think that nanomq-bin could use nng from the arch package?