simplex-chat/simplexmq

Dependency problem while resolving dependencies of simplexmq

Opened this issue · 1 comments

While trying to create the FreeBSD port for simplexmq, I've encountered this problem:

$ make cabal-configure
cd /usr/ports/net-im/hs-simplexmq/work/simplexmq-5.4.0 &&  /usr/bin/env XDG_DATA_HOME=/usr/ports/net-im/hs-simplexmq/work  XDG_CONFIG_HOME=/usr/ports/net-im/hs-simplexmq/work  XDG_CACHE_HOME=/usr/ports/net-im/hs-simplexmq/work/.cache  HOME=/usr/ports/net-im/hs-simplexmq/work PATH=/usr/local/libexec/ccache:/usr/ports/net-im/hs-simplexmq/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/net-im/hs-simplexmq/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" XDG_DATA_HOME=/usr/ports/net-im/hs-simplexmq/work/cabal-home XDG_CONFIG_HOME=/usr/ports/net-im/hs-simplexmq/work/cabal-home XDG_CACHE_HOME=/usr/ports/net-im/hs-simplexmq/work/cabal-home HOME=/usr/ports/net-im/hs-simplexmq/work/cabal-home cabal build --dry-run --disable-benchmarks --disable-tests --flags="-relocatable"    exe:smp-agent exe:smp-server
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: aeson-2.2.1.0 (user goal)
[__1] trying: template-haskell-2.19.0.0/installed-2.19.0.0 (dependency of
aeson)
[__2] next goal: simplexmq (user goal)
[__2] rejecting: simplexmq-5.4.0.7 (conflict:
template-haskell==2.19.0.0/installed-2.19.0.0, simplexmq =>
template-haskell>=2.20 && <2.21)
[__2] skipping: simplexmq-1.1.0, simplexmq-1.0.2, simplexmq-1.0.0,
simplexmq-0.5.2, simplexmq-0.5.1, simplexmq-0.5.0, simplexmq-0.4.1,
simplexmq-0.4.0, simplexmq-0.3.2, simplexmq-0.3.1 (has the same
characteristics that caused the previous version to fail: excludes
'template-haskell' version 2.19.0.0)
[__2] fail (backjumping, conflict set: simplexmq, template-haskell)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: simplexmq, aeson, template-haskell

*** Error code 1

Stop.

It doesn't like template-haskell for some reason.

Version: 5.4.0
hs-cabal-install-3.10.1.0_3
ghc-9.4.6
FreeBSD 14.0

ghc-9.4.6

The dependencies are tuned for using with GHC 9.6, with 8.10 fallback for some mobiles.