The hs-* issue

Gleb Popov arrowd at freebsd.org
Fri May 10 19:25:58 UTC 2019


On Fri, May 10, 2019 at 8:54 PM The Doctor via freebsd-ports <
freebsd-ports at freebsd.org> wrote:

> All right  you are getting rid of the hs-modules
>
> and getting us to use devel/stack.
>
> When I ran devel/stack this morning, I got:
>
>
> Script started on Fri May 10 10:32:32 2019
> root at doctor:/usr/ports/devel/stack # make
>
> mkdir -p /usr/ports/devel/hs-happy/work/cabal-home/.cabal
> touch /usr/ports/devel/hs-happy/work/cabal-home/.cabal/config
> ===>  Patching for hs-happy-1.19.9
> ===>  Applying FreeBSD patches for hs-happy-1.19.9
> ===>   hs-happy-1.19.9 depends on executable: cabal - not found
> ===>  Building for hs-cabal-install-2.4.0.0_1
> cd /usr/ports/devel/hs-cabal-install/work/cabal-install-2.4.0.0 &&
> /usr/bin/env EXTRA_CONFIGURE_OPTS="--disable-library-profiling"
> HOME=/usr/ports/devel/hs-cabal-install/work/home
> PREFIX=/usr/ports/devel/hs-cabal-install/work/prefix
> /usr/ports/devel/hs-cabal-install/work/cabal-install-2.4.0.0/bootstrap.sh
> --no-doc --jobs 1
> mktemp: illegal option -- p
> usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
>        mktemp [-d] [-q] [-u] -t prefix
> Using clang for C compiler. If this is not what you want, set CC.
> Using /usr/bin/ld instead.
> Checking installed packages for ghc-8.6.3...
> deepseq is already installed and the version is ok.
> binary is already installed and the version is ok.
> time is already installed and the version is ok.
> transformers is already installed and the version is ok.
> mtl is already installed and the version is ok.
> text is already installed and the version is ok.
> parsec is already installed and the version is ok.
> network-uri-2.6.1.0 will be installed from local tarball.
> network-2.7.0.0 will be installed from local tarball.
> HTTP-4000.3.12 will be installed from local tarball.
> zlib-0.6.2 will be installed from local tarball.
> random-1.1 will be installed from local tarball.
> stm is already installed and the version is ok.
> hashable-1.2.7.0 will be installed from local tarball.
> async-2.2.1 will be installed from local tarball.
> base16-bytestring-0.1.1.6 will be installed from local tarball.
> base64-bytestring-1.0.0.1 will be installed from local tarball.
> cryptohash-sha256-0.11.101.0 will be installed from local tarball.
> resolv-0.1.1.1 will be installed from local tarball.
> mintty-0.1.2 will be installed from local tarball.
> echo-0.1.3 will be installed from local tarball.
> edit-distance-0.2.2.1 will be installed from local tarball.
> ed25519-0.0.5.0 will be installed from local tarball.
> tar-0.5.1.0 will be installed from local tarball.
> digest-0.0.1.2 will be installed from local tarball.
> zip-archive-0.3.3 will be installed from local tarball.
> hackage-security-0.5.3.0 will be installed from local tarball.
> Cabal is already installed and the version is ok.
>
> Using local tarball for network-uri-2.6.1.0.
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking Setup ...
> Setup: No cabal file found.
> Please create a package description file <pkgname>.cabal
>
> Error during cabal-install bootstrap:
> Configuring the network-uri package failed.
> *** Error code 2
>
> Stop.
> make[3]: stopped in /usr/ports/devel/hs-cabal-install
> *** Error code 1
>
> Stop.
> make[2]: stopped in /usr/ports/devel/hs-happy
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/devel/hs-happy
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/devel/stack
> root at doctor:/usr/ports/devel/stack # exit
>
> exit
>
> Script done on Fri May 10 10:34:49 2019
>
> Any explanation?
>

Can't reproduce this locally. What FreeBSD version are you running, and
what SVN revision are you on?

>
> --
> Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@
> nl2k.ab.ca
> Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist
> rising!
> https://www.empire.kred/ROOTNK?t=94a1f39b  Look at Psalms 14 and 53 on
> Atheism
> Newfoundland on 16 May 2019, do not vote PC nor NDP!
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list