Hi, I am long time linux user but very new with FreeBSD and I run into a problem I can't solve.
Few days ago I installed 11.0-RELEASE and set my basic environment which includes xmonad and xmobar. Haskell has recompiled my xmonad.hs settings well so I am sure everything worked as expected.
Today I upgraded to 11.1-RELEASE and haskell seems to be broken. Everything is up to date, including properly finished upgrade of BSD and all the packages.
I tried installing port version of xmobar (which requires recompiling of course) and I got this message:
Same happens with trying to compile any other haskell code.
Two options are possible, either I didn't do something right, considering few days of experience with FreeBSD, or haskell got out of sync with the rest of the system.
Is this usual for FreeBSD (I mean should I wait for package fix)? Or there is something I can do to fix the situation?
Please help. Thanks.
Few days ago I installed 11.0-RELEASE and set my basic environment which includes xmonad and xmobar. Haskell has recompiled my xmonad.hs settings well so I am sure everything worked as expected.
Today I upgraded to 11.1-RELEASE and haskell seems to be broken. Everything is up to date, including properly finished upgrade of BSD and all the packages.
I tried installing port version of xmobar (which requires recompiling of course) and I got this message:
Code:
> cd /usr/ports/x11/hs-xmobar/
> sudo make install
===> hs-xmobar-0.24.3 depends on executable: ghc - found
===> hs-xmobar-0.24.3 depends on package: ghc>=7.10.2 - found
===> hs-xmobar-0.24.3 depends on package: hs-HTTP>=4000.2.4 - found
===> hs-xmobar-0.24.3 depends on package: hs-mtl>=2.1 - found
===> hs-xmobar-0.24.3 depends on package: hs-parsec>=3.1 - found
===> hs-xmobar-0.24.3 depends on package: hs-regex-compat>=0 - found
===> hs-xmobar-0.24.3 depends on package: hs-stm>=2.3 - found
===> hs-xmobar-0.24.3 depends on package: hs-X11>=1.6.1 - found
===> hs-xmobar-0.24.3 depends on package: hs-utf8-string>=0 - found
===> hs-xmobar-0.24.3 depends on package: hs-X11-xft>=0.2 - found
===> hs-xmobar-0.24.3 depends on package: hs-utf8-string>=0 - found
===> hs-xmobar-0.24.3 depends on package: libiconv>=1.14_9 - found
===> hs-xmobar-0.24.3 depends on executable: gcc5 - found
===> hs-xmobar-0.24.3 depends on file: /usr/local/bin/as - found
===> hs-xmobar-0.24.3 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found
===> hs-xmobar-0.24.3 depends on shared library: libgmp.so - found (/usr/local/lib/libgmp.so)
===> Configuring for hs-xmobar-0.24.3
Linking ./setup ...
In file included from /usr/local/lib/ghc-7.10.2/include/rts/Threads.h:19:0:
0,
from /usr/local/lib/ghc-7.10.2/include/Rts.h:206,
from /tmp/ghc19059_0/ghc_3.c:1:
/usr/local/lib/gcc5/gcc/x86_64-portbld-freebsd11.0/5.4.0/include-fixed/sys/types.h:266:9:
error: unknown type name '__vm_ooffset_t'
typedef __vm_ooffset_t vm_ooffset_t;
^
/usr/local/lib/gcc5/gcc/x86_64-portbld-freebsd11.0/5.4.0/include-fixed/sys/types.h:268:9:
error: unknown type name '__vm_pindex_t'
typedef __vm_pindex_t vm_pindex_t;
^
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/x11/hs-xmobar
*** Error code 1
Stop.
make: stopped in /usr/ports/x11/hs-xmobar
Same happens with trying to compile any other haskell code.
Two options are possible, either I didn't do something right, considering few days of experience with FreeBSD, or haskell got out of sync with the rest of the system.
Is this usual for FreeBSD (I mean should I wait for package fix)? Or there is something I can do to fix the situation?
Please help. Thanks.