[package - head-i386-default][devel/hs-kqueue] Failed for hs-kqueue-0.2 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Aug 10 19:35:53 UTC 2017


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 at FreeBSD.org
Last committer: tcberner at FreeBSD.org
Ident:          $FreeBSD: head/devel/hs-kqueue/Makefile 447548 2017-08-08 17:21:45Z tcberner $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p447660_s322332/logs/hs-kqueue-0.2.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p447660_s322332
Log:

====>> Building devel/hs-kqueue
build started at Thu Aug 10 19:32:05 UTC 2017
port directory: /usr/ports/devel/hs-kqueue
building for: FreeBSD head-i386-default-job-02 12.0-CURRENT FreeBSD 12.0-CURRENT 1200040 i386
maintained by: haskell at FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/hs-kqueue/Makefile 447548 2017-08-08 17:21:45Z tcberner $
Poudriere version: 3.1.19-61-ga8829ba9
Host OSVERSION: 1200033
Jail OSVERSION: 1200040
Job Id: 02




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1200040
UNAME_v=FreeBSD 12.0-CURRENT 1200040
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=hs-kqueue-0.2
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-61-ga8829ba9
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for hs-kqueue-0.2:
     DOCS=on: Build and/or install documentation
     DYNAMIC=on: Add support for dynamic linking
     HSCOLOUR=off: Colorize generated documentation by HsColour
     PROFILE=off: Add support for profiling
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--libdir=/usr/local/lib/cabal/ghc-8.0.2 --libsubdir=kqueue-0.2 --with-gcc=gcc5 --with-ld=/usr/local/bin/ld --with-ar=/usr/local/bin/ar --with-c2hs=/usr/local/bin/c2hs --haddock-options=-w --with-haddock=/usr/local/bin/haddock --enable-shared --enable-executable-dynamic --disable-profiling --disable-library-profiling
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/hs-kqueue/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/hs-kqueue/work  HOME=/wrkdirs/usr/ports/devel/hs-kqueue/work TMPDIR="/wrkdirs/usr/ports/devel/hs-kqueue/work/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
DESTDIR=/wrkdirs/usr/ports/devel/hs-kqueue/work/stage TMPDIR=/wrkdirs/usr/ports/devel/hs-kqueue/work/tmp XDG_DATA_HOME=/wrkdirs/usr/ports/devel/hs-kqueue/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/hs-kqueue/work  HOME=/wrkdirs/usr/ports/devel/hs-kqueue/work TMPDIR="/wrkdirs/usr/ports/devel/hs-kqueue/work/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="gcc5" CFLAGS="-O2 -pipe  -I/usr/local/include -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing"  CPP="cpp
 5" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5" LIBS=""  CXX="g++5" CXXFLAGS="-O2 -pipe -I/usr/local/include -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing  -Wl,-rpath=/usr/local/lib/gcc5"  MANPREFIX="/usr/local" 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--
GHC_VERSION=8.0.2
PORTNAME=kqueue
PORTVERSION=0.2
LIBDIR_REL=lib/cabal/ghc-8.0.2/kqueue-0.2
OSREL=12.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/cabal/ghc-8.0.2/kqueue-0.2"
EXAMPLESDIR="share/examples/cabal/ghc-8.0.2/kqueue-0.2"
DATADIR="share/cabal/ghc-8.0.2/kqueue-0.2"
WWWDIR="www/kqueue"
ETCDIR="etc/kqueue"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/cabal/ghc-8.0.2/kqueue-0.2
DOCSDIR=/usr/local/share/doc/cabal/ghc-8.0.2/kqueue-0.2
EXAMPLESDIR=/usr/local/share/examples/cabal/ghc-8.0.2/kqueue-0.2
WWWDIR=/usr/local/www/kqueue
ETCDIR=/usr/local/etc/kqueue
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200040
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
_JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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)  1024
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
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   hs-kqueue-0.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[head-i386-default-job-02] Installing pkg-1.10.1...
[head-i386-default-job-02] Extracting pkg-1.10.1: .......... done
===>   hs-kqueue-0.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of hs-kqueue-0.2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
=> kqueue-0.2.tar.gz doesn't seem to exist in /portdistfiles/cabal.
=> Attempting to fetch http://hackage.haskell.org/package/kqueue-0.2/kqueue-0.2.tar.gz
fetch: http://hackage.haskell.org/package/kqueue-0.2/kqueue-0.2.tar.gz: size unknown
fetch: http://hackage.haskell.org/package/kqueue-0.2/kqueue-0.2.tar.gz: size of remote file is not known
kqueue-0.2.tar.gz                                        0  B    0  Bps
===> Fetching all distfiles required by hs-kqueue-0.2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by hs-kqueue-0.2 for building
=> SHA256 Checksum OK for cabal/kqueue-0.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by hs-kqueue-0.2 for building
===>  Extracting for hs-kqueue-0.2
=> SHA256 Checksum OK for cabal/kqueue-0.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for hs-kqueue-0.2
===>  Applying FreeBSD patches for hs-kqueue-0.2
===========================================================================
=======================<phase: build-depends  >============================
===>   hs-kqueue-0.2 depends on executable: ghc - not found
===>   Installing existing package /packages/All/ghc-8.0.2.txz
[head-i386-default-job-02] Installing ghc-8.0.2...
[head-i386-default-job-02] `-- Installing gcc5-5.4.0_3...
[head-i386-default-job-02] |   `-- Installing binutils-2.28,1...
[head-i386-default-job-02] |   | `-- Installing gettext-runtime-0.19.8.1_1...
[head-i386-default-job-02] |   |   `-- Installing indexinfo-0.2.6...
[head-i386-default-job-02] |   |   `-- Extracting indexinfo-0.2.6: .... done
[head-i386-default-job-02] |   | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-i386-default-job-02] |   `-- Extracting binutils-2.28,1: .......... done
[head-i386-default-job-02] |   `-- Installing gcc-ecj-4.5...
[head-i386-default-job-02] |   `-- Extracting gcc-ecj-4.5: . done
[head-i386-default-job-02] |   `-- Installing gmp-6.1.2...
[head-i386-default-job-02] |   `-- Extracting gmp-6.1.2: .......... done
[head-i386-default-job-02] |   `-- Installing mpc-1.0.3...
[head-i386-default-job-02] |   | `-- Installing mpfr-3.1.5_1...
[head-i386-default-job-02] |   | `-- Extracting mpfr-3.1.5_1: .......... done
[head-i386-default-job-02] |   `-- Extracting mpc-1.0.3: ...... done
[head-i386-default-job-02] `-- Extracting gcc5-5.4.0_3: .......... done
[head-i386-default-job-02] `-- Installing libffi-3.2.1...
[head-i386-default-job-02] `-- Extracting libffi-3.2.1: .......... done
[head-i386-default-job-02] `-- Installing libiconv-1.14_10...
[head-i386-default-job-02] `-- Extracting libiconv-1.14_10: .......... done
[head-i386-default-job-02] Extracting ghc-8.0.2: .......... done
Message from gcc5-5.4.0_3:
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc5

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   hs-kqueue-0.2 depends on executable: ghc - found
===>   Returning to build of hs-kqueue-0.2
===>   hs-kqueue-0.2 depends on package: ghc>=8.0.2 - found
===>   hs-kqueue-0.2 depends on file: /usr/local/bin/c2hs - not found
===>   Installing existing package /packages/All/hs-c2hs-0.28.2_1.txz
[head-i386-default-job-02] Installing hs-c2hs-0.28.2_1...
[head-i386-default-job-02] `-- Installing hs-dlist-0.8.0.3...
[head-i386-default-job-02] `-- Extracting hs-dlist-0.8.0.3: .......... done
[head-i386-default-job-02] `-- Installing hs-language-c-0.6.1...
[head-i386-default-job-02] |   `-- Installing hs-syb-0.7...
[head-i386-default-job-02] |   `-- Extracting hs-syb-0.7: .......... done
[head-i386-default-job-02] `-- Extracting hs-language-c-0.6.1: .......... done
[head-i386-default-job-02] `-- Installing hs-shelly-1.6.8.3...
[head-i386-default-job-02] |   `-- Installing hs-async-2.1.1.1...
[head-i386-default-job-02] |   | `-- Installing hs-stm-2.4.4.1...
[head-i386-default-job-02] |   | `-- Extracting hs-stm-2.4.4.1: .......... done
[head-i386-default-job-02] |   `-- Extracting hs-async-2.1.1.1: .......... done
[head-i386-default-job-02] |   `-- Installing hs-enclosed-exceptions-1.0.2...
[head-i386-default-job-02] |   | `-- Installing hs-lifted-base-0.2.3.11...
[head-i386-default-job-02] |   |   `-- Installing hs-monad-control-1.0.2.1...
[head-i386-default-job-02] |   |   | `-- Installing hs-transformers-base-0.4.4_1...
[head-i386-default-job-02] |   |   |   `-- Installing hs-transformers-compat-0.5.1.4...
[head-i386-default-job-02] |   |   |   `-- Extracting hs-transformers-compat-0.5.1.4: .......... done
[head-i386-default-job-02] |   |   | `-- Extracting hs-transformers-base-0.4.4_1: .......... done
[head-i386-default-job-02] |   |   `-- Extracting hs-monad-control-1.0.2.1: .......... done
[head-i386-default-job-02] |   | `-- Extracting hs-lifted-base-0.2.3.11: .......... done
[head-i386-default-job-02] |   `-- Extracting hs-enclosed-exceptions-1.0.2: .......... done
[head-i386-default-job-02] |   `-- Installing hs-exceptions-0.8.3...
[head-i386-default-job-02] |   | `-- Installing hs-mtl-2.2.1_1...
[head-i386-default-job-02] |   | `-- Extracting hs-mtl-2.2.1_1: .......... done
[head-i386-default-job-02] |   `-- Extracting hs-exceptions-0.8.3: .......... done
[head-i386-default-job-02] |   `-- Installing hs-lifted-async-0.9.3...
[head-i386-default-job-02] |   | `-- Installing hs-constraints-0.9.1...
[head-i386-default-job-02] |   |   `-- Installing hs-hashable-1.2.6.1,1...
[head-i386-default-job-02] |   |   | `-- Installing hs-text-1.2.2.2...
[head-i386-default-job-02] |   |   | `-- Extracting hs-text-1.2.2.2: .......... done
[head-i386-default-job-02] |   |   | `-- Installing hs-vector-0.12.0.1...
[head-i386-default-job-02] |   |   |   `-- Installing hs-primitive-0.6.2.0...
[head-i386-default-job-02] |   |   |   `-- Extracting hs-primitive-0.6.2.0: .......... done
[head-i386-default-job-02] |   |   | `-- Extracting hs-vector-0.12.0.1: .......... done
[head-i386-default-job-02] |   |   `-- Extracting hs-hashable-1.2.6.1,1: .......... done
[head-i386-default-job-02] |   | `-- Extracting hs-constraints-0.9.1: .......... done
[head-i386-default-job-02] |   `-- Extracting hs-lifted-async-0.9.3: .......... done
[head-i386-default-job-02] |   `-- Installing hs-system-fileio-0.3.16.3_1...
[head-i386-default-job-02] |   | `-- Installing hs-system-filepath-0.4.13.4_1...
[head-i386-default-job-02] |   | `-- Extracting hs-system-filepath-0.4.13.4_1: .......... done
[head-i386-default-job-02] |   `-- Extracting hs-system-fileio-0.3.16.3_1: .......... done
[head-i386-default-job-02] |   `-- Installing hs-unix-compat-0.4.3.1...
[head-i386-default-job-02] |   `-- Extracting hs-unix-compat-0.4.3.1: .......... done
[head-i386-default-job-02] `-- Extracting hs-shelly-1.6.8.3: .......... done
[head-i386-default-job-02] `-- Installing hs-yaml-0.8.23.1...
[head-i386-default-job-02] |   `-- Installing hs-aeson-1.2.1.0...
[head-i386-default-job-02] |   | `-- Installing hs-attoparsec-0.13.1.0...
[head-i386-default-job-02] |   |   `-- Installing hs-scientific-0.3.5.1...
[head-i386-default-job-02] |   |   | `-- Installing hs-integer-logarithms-1.0.2...
[head-i386-default-job-02] |   |   | `-- Extracting hs-integer-logarithms-1.0.2: .......... done
[head-i386-default-job-02] |   |   `-- Extracting hs-scientific-0.3.5.1: .......... done
[head-i386-default-job-02] |   | `-- Extracting hs-attoparsec-0.13.1.0: .......... done
[head-i386-default-job-02] |   | `-- Installing hs-base-compat-0.9.3...
[head-i386-default-job-02] |   | `-- Extracting hs-base-compat-0.9.3: .......... done
[head-i386-default-job-02] |   | `-- Installing hs-tagged-0.8.5...
[head-i386-default-job-02] |   | `-- Extracting hs-tagged-0.8.5: .......... done
[head-i386-default-job-02] |   | `-- Installing hs-time-locale-compat-0.1.1.3...
[head-i386-default-job-02] |   |   `-- Installing hs-old-locale-1.0.0.7_1...
[head-i386-default-job-02] |   |   `-- Extracting hs-old-locale-1.0.0.7_1: .......... done
[head-i386-default-job-02] |   | `-- Extracting hs-time-locale-compat-0.1.1.3: .......... done
[head-i386-default-job-02] |   | `-- Installing hs-unordered-containers-0.2.8.0...
[head-i386-default-job-02] |   | `-- Extracting hs-unordered-containers-0.2.8.0: .......... done
[head-i386-default-job-02] |   | `-- Installing hs-uuid-types-1.0.3...
[head-i386-default-job-02] |   |   `-- Installing hs-random-1.1_1...
[head-i386-default-job-02] |   |   `-- Extracting hs-random-1.1_1: .......... done
[head-i386-default-job-02] |   | `-- Extracting hs-uuid-types-1.0.3: .......... done
[head-i386-default-job-02] |   `-- Extracting hs-aeson-1.2.1.0: .......... done
[head-i386-default-job-02] |   `-- Installing hs-conduit-1.2.11...
[head-i386-default-job-02] |   | `-- Installing hs-mmorph-1.1.0...
[head-i386-default-job-02] |   | `-- Extracting hs-mmorph-1.1.0: .......... done
[head-i386-default-job-02] |   | `-- Installing hs-resourcet-1.1.9...
[head-i386-default-job-02] |   | `-- Extracting hs-resourcet-1.1.9: .......... done
[head-i386-default-job-02] |   | `-- Installing hs-void-0.7.2...
[head-i386-default-job-02] |   |   `-- Installing hs-semigroups-0.18.3...
[head-i386-default-job-02] |   |   `-- Extracting hs-semigroups-0.18.3: .......... done
[head-i386-default-job-02] |   | `-- Extracting hs-void-0.7.2: .......... done
[head-i386-default-job-02] |   `-- Extracting hs-conduit-1.2.11: .......... done
[head-i386-default-job-02] `-- Extracting hs-yaml-0.8.23.1: .......... done
[head-i386-default-job-02] Extracting hs-c2hs-0.28.2_1: .......... done
===>   hs-kqueue-0.2 depends on file: /usr/local/bin/c2hs - found
===>   Returning to build of hs-kqueue-0.2
===>   hs-kqueue-0.2 depends on package: hs-mtl>=1.1 - found
===>   hs-kqueue-0.2 depends on executable: gcc5 - found
===>   hs-kqueue-0.2 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   hs-kqueue-0.2 depends on shared library: libgmp.so - found (/usr/local/lib/libgmp.so)
===>   hs-kqueue-0.2 depends on shared library: libiconv.so - found (/usr/local/lib/libiconv.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for hs-kqueue-0.2
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking ./setup ...
Configuring kqueue-0.2...
===========================================================================
=======================<phase: build          >============================
===>  Building for hs-kqueue-0.2
Building kqueue-0.2...
Preprocessing library kqueue-0.2...
[1 of 2] Compiling System.KQueue    ( dist/build/System/KQueue.hs, dist/build/System/KQueue.o )

src/System/KQueue.chs:171:60: error:
    • Couldn't match type ‘C2HSImp.CLLong’ with ‘CInt’
      Expected type: IO CInt
        Actual type: IO C2HSImp.CLLong
    • In the second argument of ‘(<*>)’, namely
        ‘((\ ptr -> do { peekByteOff ptr 12 :: IO C2HSImp.CLLong }) e)’
      In the first argument of ‘(<*>)’, namely
        ‘KEvent <$> ((\ ptr -> do { peekByteOff ptr 0 :: IO CUInt }) e)
         <*>
           fmap
             (toEnum . fromIntegral)
             ((\ ptr -> do { peekByteOff ptr 4 :: IO C2HSImp.CShort }) e)
         <*>
           fmap
             (bitmaskToEnum . fromIntegral)
             ((\ ptr -> do { peekByteOff ptr 6 :: IO C2HSImp.CUShort }) e)
         <*>
           fmap
             (bitmaskToEnum . fromIntegral)
             ((\ ptr -> do { peekByteOff ptr 8 :: IO CUInt }) e)
         <*> ((\ ptr -> do { peekByteOff ptr 12 :: IO C2HSImp.CLLong }) e)’
      In the expression:
        KEvent <$> ((\ ptr -> do { peekByteOff ptr 0 :: IO CUInt }) e)
        <*>
          fmap
            (toEnum . fromIntegral)
            ((\ ptr -> do { peekByteOff ptr 4 :: IO C2HSImp.CShort }) e)
        <*>
          fmap
            (bitmaskToEnum . fromIntegral)
            ((\ ptr -> do { peekByteOff ptr 6 :: IO C2HSImp.CUShort }) e)
        <*>
          fmap
            (bitmaskToEnum . fromIntegral)
            ((\ ptr -> do { peekByteOff ptr 8 :: IO CUInt }) e)
        <*> ((\ ptr -> do { peekByteOff ptr 12 :: IO C2HSImp.CLLong }) e)
        <*> ((\ ptr -> do { peekByteOff ptr 20 :: IO (Ptr ()) }) e)

src/System/KQueue.chs:178:81: error:
    • Couldn't match expected type ‘C2HSImp.CLLong’
                  with actual type ‘CInt’
    • In the second argument of ‘\ ptr val
                                   -> do { pokeByteOff ptr 12 (val :: C2HSImp.CLLong) }’, namely
        ‘(data_ ev)’
      In a stmt of a 'do' block:
        (\ ptr val -> do { pokeByteOff ptr 12 (val :: C2HSImp.CLLong) })
          e (data_ ev)
      In the expression:
        do { (\ ptr val -> do { pokeByteOff ptr 0 (val :: CUInt) })
               e (ident ev);
             (\ ptr val -> do { pokeByteOff ptr 4 (val :: C2HSImp.CShort) })
               e (fromIntegral . fromEnum . evfilter $ ev);
             (\ ptr val -> do { pokeByteOff ptr 6 (val :: C2HSImp.CUShort) })
               e (fromIntegral . enumToBitmask . flags $ ev);
             (\ ptr val -> do { pokeByteOff ptr 8 (val :: CUInt) })
               e (fromIntegral . enumToBitmask . fflags $ ev);
             .... }
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/hs-kqueue


More information about the freebsd-pkg-fallout mailing list