I got to installing 6.0 today and noticed there's a mismatch between the
xmonad package and the ghc version of unix-2.7. I am getting this failure:
# echo $PKG_PATH
http://mirrors.syringanetworks.net/pub/OpenBSD/6.0/packages/amd64/
# pkg_add xmonad-lib
quirks-2.241 signed on 2016-07-26T16:56:10Z
xmonad-lib-0.11.1p1
(installing)|******************************************************|100%xmonad-0.11.1:
dependency "unix-2.7.1.0-1eb46399eeea47e8c604fe462037f106" doesn't exist
(use --force to override)
system(/bin/sh, -c, /usr/bin/env HOME=/nonexistent
/usr/local/lib/ghc/xmonad-0.11.1/register.sh -v0) failed:  exit(1)
xmonad-lib-0.11.1p1: ok
# ghc-pkg list unix
-v
Timestamp 2016-09-10 04:40:41.469207157 UTC for
/usr/local/lib/ghc/package.conf.d/package.cache
Timestamp 2016-09-10 04:40:41.469207157 UTC for
/usr/local/lib/ghc/package.conf.d (same as cache)
using cache: /usr/local/lib/ghc/package.conf.d/package.cache
db stack: ["/usr/local/lib/ghc/package.conf.d"]
modifying: Nothing
flag db stack: ["/usr/local/lib/ghc/package.conf.d"]
/usr/local/lib/ghc/package.conf.d
   unix-2.7.1.0 (2.7.1.0-5a50660ad24f11b222d9ab03451b0d1d)

% uname -a
OpenBSD my.machine 6.0 GENERIC.MP#2319 amd64

An observation:
% dmesg | tail
ghc-pkg(72228): mprotect W^X violation

But it shouldn't be a problem:
% mount
/dev/wd0d on /usr type ffs (local, nodev, wxallowed, softdep)

-- 
nest.cx is Gmail hosted, use PGP for anything private. Key:
http://goo.gl/6dMsr
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0

Reply via email to