Date: Tue, 24 Dec 2019 02:55:51 +0200 From: Oleksandr Shyshko <oshyshko@gmail.com> To: haskell@freebsd.org Subject: Building lang/ghc on armv7 (RPI2 v1.1) Message-ID: <CABbEKfwU3=GcTD_jwSsF3xQ68Uz-1Dnk3=tDZ83gxKxQu2pO4Q@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I am not sure whether this is the right way to report a bug or ask for help. Please, let me know if there is a better place for it. I am trying to build lang/ghc on armv7 (RPI2 v1.1): ============================================ $ uname -a FreeBSD pluto 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC arm ============================================ I made it to this point: ============================================ $ cd /usr/ports/lang/ghc && sudo make SHELL='sh -x' install ... + utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist copy libraries/ghc-prim dist-install /usr/local/bin/strip '' /usr/ports/lang/ghc/work/ghc-8.6.3-boot /usr/ports/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3 /usr/ports/lang/ghc/work/ghc-8.6.3-boot/share/doc/ghc-8.6.3/html/libraries 'v ' Installing library in /usr/ports/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3/ghc-prim-0.5.3 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/integer-gmp dist-install "/usr/local/bin/strip" '' '/usr/ports/lang/ghc/work/ghc-8.6.3-boot' '/usr/ports/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3' '/usr/ports/lang/ghc/work/ghc-8.6.3-boot/share/doc/ghc-8.6.3/html/libraries' 'v ' + utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist copy libraries/integer-gmp dist-install /usr/local/bin/strip '' /usr/ports/lang/ghc/work/ghc-8.6.3-boot /usr/ports/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3 /usr/ports/lang/ghc/work/ghc-8.6.3-boot/share/doc/ghc-8.6.3/html/libraries 'v ' Installing library in /usr/ports/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3/integer-gmp-1.0.2.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/base dist-install "/usr/local/bin/strip" '' '/usr/ports/lang/ghc/work/ghc-8.6.3-boot' '/usr/ports/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3' '/usr/ports/lang/ghc/work/ghc-8.6.3-boot/share/doc/ghc-8.6.3/html/libraries' 'v ' + utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist copy libraries/base dist-install /usr/local/bin/strip '' /usr/ports/lang/ghc/work/ghc-8.6.3-boot /usr/ports/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3 /usr/ports/lang/ghc/work/ghc-8.6.3-boot/share/doc/ghc-8.6.3/html/libraries 'v ' Installing library in /usr/ports/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3/base-4.12.0.0 /usr/local/bin/strip:/usr/ports/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3/base-4.12.0.0/HSbase-4.12.0.0.o: file format not recognized gmake[3]: *** [ghc.mk:989: install_packages] Error 1 gmake[2]: *** [Makefile:51: install] Error 2 gmake[2]: Leaving directory '/usr/ports/lang/ghc/work/ghc-8.6.3-boot' *** Error code 2 Stop. make[1]: stopped in /usr/ports/lang/ghc *** Error code 1 Stop. make: stopped in /usr/ports/lang/ghc ============================================ Any ideas on what can be wrong or how to fix it? -- Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABbEKfwU3=GcTD_jwSsF3xQ68Uz-1Dnk3=tDZ83gxKxQu2pO4Q>