[Bug 282150] Mk/Uses/cabal.mk: the build fails to find dependencies with USE_CABAL and GH_TUPLE printed by 'make make-use-cabal'

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Oct 2024 00:29:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282150

            Bug ID: 282150
           Summary: Mk/Uses/cabal.mk: the build fails to find dependencies
                    with USE_CABAL and GH_TUPLE printed by 'make
                    make-use-cabal'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

Created attachment 254300
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254300&action=edit
test-port.shar

See the attached port example.

The failure is:
> ===>  Building for hs-simplex-chat-6.1.0
> cd /usr/ports/net-p2p/hs-simplex-chat/work/simplex-chat-6.1.0 &&  /usr/bin/env -i HOME=/usr/ports/net-p2p/hs-simplex-chat/work  MACHINE_ARCH=amd64  PWD="${PWD}"  __MAKE_CONF=/nonexistent OSVERSION=1401500 PATH=/usr/local/libexec/ccache:/usr/ports/net-p2p/hs-simplex-chat/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin TERM=xterm-256color XDG_DATA_HOME=/usr/ports/net-p2p/hs-simplex-chat/work  XDG_CONFIG_HOME=/usr/ports/net-p2p/hs-simplex-chat/work  XDG_CACHE_HOME=/usr/ports/net-p2p/hs-simplex-chat/work/.cache  HOME=/usr/ports/net-p2p/hs-simplex-chat/work PATH=/usr/local/libexec/ccache:/usr/ports/net-p2p/hs-simplex-chat/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/net-p2p/hs-simplex-chat/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  " 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-p2p/hs-simplex-chat/work/cabal-home XDG_CONFIG_HOME=/usr/ports/net-p2p/hs-simplex-chat/work/cabal-home XDG_CACHE_HOME=/usr/ports/net-p2p/hs-simplex-chat/work/cabal-home HOME=/usr/ports/net-p2p/hs-simplex-chat/work/cabal-home cabal build --disable-benchmarks --disable-tests   --flags ""  exe:simplex-chat
> Warning: No remote package servers have been specified. Usually you would have
one specified in the config file.
> Resolving dependencies...
> Error: [Cabal-7107]
> Could not resolve dependencies:
> [__0] trying: cryptostore-0.3.0.1 (user goal)
> [__1] trying: cryptostore:-use_crypton
> [__2] unknown package: x509-validation (dependency of cryptostore -use_crypton)
> [__2] fail (backjumping, conflict set: cryptostore, x509-validation, cryptostore:use_crypton)
> After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: cryptostore, cryptostore:use_crypton, x509-validation
> 
> *** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.