Package Details: flashmq 1.0.2-1

Git Clone URL: https://aur.archlinux.org/flashmq.git (read-only, click to copy)
Package Base: flashmq
Description: FlashMQ is a light-weight MQTT broker/server, designed to take good advantage of multi-CPU environments
Upstream URL: https://github.com/halfgaar/FlashMQ
Keywords: broker/server, flashmq mqtt
Licenses: MIT
Conflicts: flashmq, flashmq-git
Provides: flashmq
Submitter: taotieren
Maintainer: taotieren (MJochim)
Last Packager: taotieren
Votes: 0
Popularity: 0.000000
First Submitted: 2022-01-14 06:40 (UTC)
Last Updated: 2022-11-28 03:47 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

MJochim commented on 2022-11-26 14:04 (UTC)

When I try to install this package, pacman fails while checking for file conflicts:

error: failed to commit transaction (conflicting files) flashmq: /lib exists in filesystem (owned by filesystem) Errors occurred, no packages were upgraded. -> exit status 1

The problem is described at https://stackoverflow.com/questions/50743619/exists-in-filesystem-owned-by-filesystem-in-pkgbuild-for-arch-linux.

This patch to PKGBUILD fixes the problem for me:

@@ -21,6 +21,7 @@ sha256sums=('6cf03a9347a25fd5cccac5656a03e5c744d5e66ff059522f1ecfd26c50f38e9e')

 build() {
     cd "${srcdir}/${_pkgname}-${pkgver}/"
+    sed --in-place 's#DESTINATION "/lib#DESTINATION "/usr/lib#' CMakeLists.txt
     cmake -B build -G Ninja
     ninja -C build
 }