Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2026 04:35:44 +0000
From:      <pkg-fallout@FreeBSD.org>
To:        haskell@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - main-amd64-default][games/hs-scroll] Failed for hs-scroll-1.20180421_13 in build
Message-ID:  <69799220.1349.4acfcb87@beefy24.chi.freebsd.org>

index | next in thread | raw e-mail

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     haskell@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pfc7460de47a6_sd47c1c2cf5/logs/hs-scroll-1.20180421_13.log
Build URL:      https://pkg-status.freebsd.org/beefy24/build.html?mastername=main-amd64-default&build=pfc7460de47a6_sd47c1c2cf5
Log:

=>> Building games/hs-scroll
build started at Wed Jan 28 04:32:01 UTC 2026
port directory: /usr/ports/games/hs-scroll
package name: hs-scroll-1.20180421_13
building for: FreeBSD main-amd64-default-job-20 16.0-CURRENT FreeBSD 16.0-CURRENT 1600011 amd64
maintained by: haskell@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 855 Jan 27 01:01 /usr/ports/games/hs-scroll/Makefile
Ports top last git commit: fc7460de47a6fa8b1b69294d1812696956baccfb
Ports top unclean checkout: no
Port dir last git commit: 33285b9ff2c970f0c755d2be5b174cb0fd8223c0
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4-15-g61aba751
Host OSVERSION: 1600007
Jail OSVERSION: 1600011
Job Id: 20




!!! Jail is newer than host. (Jail: 1600011, Host: 1600007) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600011
UNAME_v=FreeBSD 16.0-CURRENT 1600011
UNAME_r=16.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.4-15-g61aba751
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/20/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.4-15-g61aba751
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
haskell@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/hs-scroll/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/hs-scroll/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/hs-scroll/work/.cache  HOME=/wrkdirs/usr/ports/games/hs-scroll/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/hs-scroll/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/hs-scroll/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/hs-scroll/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/hs-scroll/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/hs-scroll/work/.cache  HOME=/wrkdirs/usr/ports/games/hs-scroll/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/hs-scroll/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/hs-scroll/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=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   " 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"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=16.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/scroll"  EXAMPLESDIR="share/examples/scroll"  DATADIR="share/scroll"  WWWDIR="www/scroll"  ETCDIR="etc/scroll"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/scroll DOCSDIR=/usr/local/share/doc/scroll EXAMPLESDIR=/usr/local/share/examples/scroll  WWWDIR=/usr/local/www/scroll ETCDIR=/usr/local/etc/scroll
--End SUB_LIST--

---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   hs-scroll-1.20180421_13 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.5.1.pkg
[main-amd64-default-job-20] Installing pkg-2.5.1...
[main-amd64-default-job-20] Extracting pkg-2.5.1: .......... done
===>   hs-scroll-1.20180421_13 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of hs-scroll-1.20180421_13
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
=> c2hs-0.28.8/revision/3.cabal doesn't seem to exist in /portdistfiles/cabal.
=> Attempting to fetch https://hackage.haskell.org/package/c2hs-0.28.8/revision/3.cabal
fetch: https://hackage.haskell.org/package/c2hs-0.28.8/revision/3.cabal: size unknown
fetch: https://hackage.haskell.org/package/c2hs-0.28.8/revision/3.cabal: size of remote file is not known
c2hs-0.28.8/revision/3.cabal                          9397  B   84 MBps    00s
=> data-default-0.8.0.2/data-default-0.8.0.2.tar.gz doesn't seem to exist in /portdistfiles/cabal.
=> Attempting to fetch https://hackage.haskell.org/package/data-default-0.8.0.2/data-default-0.8.0.2.tar.gz
data-default-0.8.0.2/data-default-0.8.0.2.tar.gz        6138  B   50 MBps    00s
=> happy-2.2/happy-2.2.tar.gz doesn't seem to exist in /portdistfiles/cabal.
=> Attempting to fetch https://hackage.haskell.org/package/happy-2.2/happy-2.2.tar.gz
happy-2.2/happy-2.2.tar.gz                              60 kB   15 MBps    00s
=> happy-lib-2.2/happy-lib-2.2.tar.gz doesn't seem to exist in /portdistfiles/cabal.
=> Attempting to fetch https://hackage.haskell.org/package/happy-lib-2.2/happy-lib-2.2.tar.gz
happy-lib-2.2/happy-lib-2.2.tar.gz                      92 kB   24 MBps    00s
=> language-c-0.10.1/language-c-0.10.1.tar.gz doesn't seem to exist in /portdistfiles/cabal.
=> Attempting to fetch https://hackage.haskell.org/package/language-c-0.10.1/language-c-0.10.1.tar.gz
language-c-0.10.1/language-c-0.10.1.tar.gz             122 kB   20 MBps    00s
=> os-string-2.0.10/os-string-2.0.10.tar.gz doesn't seem to exist in /portdistfiles/cabal.
=> Attempting to fetch https://hackage.haskell.org/package/os-string-2.0.10/os-string-2.0.10.tar.gz
os-string-2.0.10/os-string-2.0.10.tar.gz                45 kB   11 MBps    00s
===> Fetching all distfiles required by hs-scroll-1.20180421_13 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by hs-scroll-1.20180421_13 for building
=> SHA256 Checksum OK for cabal/scroll-1.20180421/scroll-1.20180421.tar.gz.
=> SHA256 Checksum OK for cabal/IfElse-0.85/IfElse-0.85.tar.gz.
=> SHA256 Checksum OK for cabal/alex-3.5.4.0/alex-3.5.4.0.tar.gz.
=> SHA256 Checksum OK for cabal/ansi-terminal-1.1.5/ansi-terminal-1.1.5.tar.gz.
=> SHA256 Checksum OK for cabal/ansi-terminal-types-1.1.3/ansi-terminal-types-1.1.3.tar.gz.
=> SHA256 Checksum OK for cabal/c2hs-0.28.8/c2hs-0.28.8.tar.gz.
=> SHA256 Checksum OK for cabal/c2hs-0.28.8/revision/3.cabal.
=> SHA256 Checksum OK for cabal/case-insensitive-1.2.1.0/case-insensitive-1.2.1.0.tar.gz.
=> SHA256 Checksum OK for cabal/colour-2.3.6/colour-2.3.6.tar.gz.
=> SHA256 Checksum OK for cabal/data-default-0.8.0.2/data-default-0.8.0.2.tar.gz.
<snip>
    To import instances alone, use: import Control.Monad.Fail()
   |
61 | import Control.Monad.Fail (MonadFail (..))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Control/StateBase.hs:94:3: warning: [-Wnoncanonical-monad-instances]
    Noncanonical `pure = return' definition detected
    in the instance declaration for `Applicative (PreCST e s)'.
    Move definition from `return' to `pure'
    See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
   |
94 |   pure  = return
   |   ^^^^^^^^^^^^^^

src/Control/StateBase.hs:98:3: warning: [-Wnoncanonical-monad-instances]
    Noncanonical `return' definition detected
    in the instance declaration for `Monad (PreCST e s)'.
    `return' will eventually be removed in favour of `pure'
    Either remove definition for `return' (recommended) or define as `return = pure'
    See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
   |
98 |   return = yield
   |   ^^^^^^^^^^^^^^
[ 8 of 26] Compiling Data.NameSpaces  ( src/Data/NameSpaces.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/Data/NameSpaces.o )
[ 9 of 26] Compiling C2HS.C.Attrs     ( src/C2HS/C/Attrs.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/C/Attrs.o )
[10 of 26] Compiling C2HS.C.Builtin   ( src/C2HS/C/Builtin.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/C/Builtin.o )
[11 of 26] Compiling Paths_c2hs       ( /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/autogen/Paths_c2hs.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/Paths_c2hs.o )
[12 of 26] Compiling C2HS.Version     ( src/C2HS/Version.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/Version.o )
[13 of 26] Compiling System.CIO       ( src/System/CIO.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/System/CIO.o )
[14 of 26] Compiling Control.State    ( src/Control/State.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/Control/State.o )
[19 of 23] Compiling Data.Vector.Strict.Mutable ( src/Data/Vector/Strict/Mutable.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Strict/Mutable.o, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Strict/Mutable.dyn_o )
[15 of 26] Compiling C2HS.State       ( src/C2HS/State.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/State.o )
[16 of 26] Compiling C2HS.C.Trav      ( src/C2HS/C/Trav.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/C/Trav.o )

src/C2HS/C/Trav.hs:471:7: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type `CDeclaration NodeInfo' not matched:
            CStaticAssert _ _ _
            CDecl _ [] _
            CDecl _ ((Nothing, _, _):_) _
            CDecl _ (((Just _), _, _):_:_) _
    |
471 |   let CDecl _ [(Just declr, _, _)] _ = ide `simplifyDecl` decl
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[17 of 26] Compiling C2HS.C.Names     ( src/C2HS/C/Names.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/C/Names.o )
[20 of 23] Compiling Data.Vector.Strict ( src/Data/Vector/Strict.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Strict.o, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Strict.dyn_o )
[18 of 26] Compiling C2HS.C           ( src/C2HS/C.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/C.o )
[19 of 26] Compiling Text.Lexers      ( src/Text/Lexers.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/Text/Lexers.o )
[20 of 26] Compiling C2HS.CHS.Lexer   ( src/C2HS/CHS/Lexer.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/CHS/Lexer.o )

src/C2HS/CHS/Lexer.hs:534:33: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type `[Name]' not matched: []
    |
534 |     action' str pos state = let name:ns = namesup state
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^

src/C2HS/CHS/Lexer.hs:700:14: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type `String', `Position', `CHSLexerState' not matched:
            [] _ _
    |
700 |              \t@(ld:spdir) pos s ->      -- strip off the "\n" or "\0"
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/C2HS/CHS/Lexer.hs:927:27: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type `[Char]', `Position' not matched: [] _
    |
927 |               `lexaction` \(_:ds) pos -> Just (con pos (read ds))
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[21 of 26] Compiling C2HS.CHS         ( src/C2HS/CHS.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/CHS.o )

src/C2HS/CHS.hs:841:24: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type `[String]' not matched: []
    |
841 |                    let versline:chi = ls
    |                        ^^^^^^^^^^^^^^^^^

src/C2HS/CHS.hs:851:24: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type `Maybe (String, String)' not matched: Nothing
    |
851 |                    let Just (myMajor, myMinor) = majorMinor version
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[22 of 26] Compiling C2HS.Gen.Monad   ( src/C2HS/Gen/Monad.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/Gen/Monad.o )
[23 of 26] Compiling C2HS.Gen.Wrapper ( src/C2HS/Gen/Wrapper.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/Gen/Wrapper.o )

src/C2HS/Gen/Wrapper.hs:117:7: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type `CDeclaration
                            Language.C.Data.Node.NodeInfo' not matched:
            CStaticAssert _ _ _
            CDecl _ [] _
            CDecl _ ((Nothing, _, _):_) _
            CDecl _ (((Just _), (Just _), _):_) _
            ...
    |
117 |   let (CDecl specs [(Just decl, Nothing, Nothing)] n) = fixEmpty din idx
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[24 of 26] Compiling C2HS.Gen.Header  ( src/C2HS/Gen/Header.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/Gen/Header.o )
[25 of 26] Compiling C2HS.Gen.Bind    ( src/C2HS/Gen/Bind.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/C2HS/Gen/Bind.o )

src/C2HS/Gen/Bind.hs:146:1: warning: [-Wunused-imports]
    The import of `C2HS.Switches' is redundant
      except perhaps to import instances from `C2HS.Switches'
    To import instances alone, use: import C2HS.Switches()
    |
146 | import C2HS.Switches   (platformSB)
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/C2HS/Gen/Bind.hs:939:9: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type `Maybe (CInitializer NodeInfo)' not matched:
            Nothing
    |
939 |     let (Just ini) = initDeclr cdecl
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/C2HS/Gen/Bind.hs:998:25: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type `(Maybe String, Integer)' not matched:
            (Nothing, _)
    |
998 |     let enumVals = map (\(Just i, e) -> (i, e)) $ filter (isJust . fst) $
    |                         ^^^^^^^^^^^^^^^^^^^^^^

src/C2HS/Gen/Bind.hs:1295:22: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type `[String]' not matched: []
     |
1295 |                      (l:ls) = lines code
     |                      ^^^^^^^^^^^^^^^^^^^

src/C2HS/Gen/Bind.hs:2183:29: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type `CDeclaration NodeInfo' not matched:
            CStaticAssert _ _ _
            CStaticAssert _ _ _
            CDecl _ [] _
            CDecl _ [] _
            ...
     |
2183 |                         let CDecl specs [(declr, init', _)] at =
     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/C2HS/Gen/Bind.hs:2516:11: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type `CDeclaration NodeInfo' not matched:
            CStaticAssert _ _ _
            CStaticAssert _ _ _
            CStaticAssert _ _ _
            CStaticAssert _ _ _
            ...
     |
2516 |       let CDecl specs [(declr, init', _)] at = ide `simplifyDecl` cdecl'
     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[21 of 23] Compiling Data.Vector.Unboxed.Base ( src/Data/Vector/Unboxed/Base.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Unboxed/Base.o, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Unboxed/Base.dyn_o )
[26 of 26] Compiling Main             ( src/Main.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs-tmp/Main.o )

src/Main.hs:576:9: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type `[String]' not matched:
            []
            [_]
            [_, _]
            (_:_:_:_:_)
    |
576 |         [versMajor, versMinor, versRev] = map show $ DV.versionBranch versnum
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[27 of 27] Linking /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/c2hs-0.28.8/x/c2hs/build/c2hs/c2hs
Warning: ncurses.cabal:85:21: version operators used. To use version operators
the package needs to specify at least 'cabal-version: >= 1.8'.
Configuring ncurses-0.2.16...
Preprocessing library for ncurses-0.2.16...
c2hs: C header contains errors:

/usr/include/ncurses.h:523: (column 2) [ERROR]  >>> Syntax error !
  The symbol `bool' does not fit here.

[22 of 23] Compiling Data.Vector.Unboxed ( src/Data/Vector/Unboxed.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Unboxed.o, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Unboxed.dyn_o )
[23 of 23] Compiling Data.Vector.Unboxed.Mutable ( src/Data/Vector/Unboxed/Mutable.hs, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Unboxed/Mutable.o, /wrkdirs/usr/ports/games/hs-scroll/work/scroll-1.20180421/dist-newstyle/build/x86_64-freebsd/ghc-9.4.8/vector-0.13.2.0/build/Data/Vector/Unboxed/Mutable.dyn_o )
Error: [Cabal-7125]
Failed to build ncurses-0.2.16 (which is required by scroll-1.20180421).

*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/games/hs-scroll


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69799220.1349.4acfcb87>