Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2012 11:25:49 GMT
From:      Kjell Tore Ullavik <ktullavik@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/174083: Building haskell: haddock not found.
Message-ID:  <201212031125.qB3BPnrk055104@red.freebsd.org>
Resent-Message-ID: <201212031130.qB3BU07A031809@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174083
>Category:       misc
>Synopsis:       Building haskell: haddock not found.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 03 11:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kjell Tore Ullavik
>Release:        9.1 Prerelease
>Organization:
>Environment:
FreeBSD euler.nomain 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #3: Sat Dec  1 12:15:30 CET 2012     root@euler.nomain:/usr/obj/usr/src/sys/EULER  amd64
>Description:

devel/hs-haddock seemingly depends on itself.

Trying to build hs-haskell-platform:

===>   hs-transformers-0.3.0.0_1 depends on package: ghc>=7.4.1 - found
===>  Configuring for hs-transformers-0.3.0.0_1
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking setup ...
Configuring transformers-0.3.0.0...
setup: Cannot find the program 'haddock' at '/usr/local/bin/haddock' or on the
path
*** [do-configure] Error code 1

Stop in /usr/ports/devel/hs-transformers.
*** [install] Error code 1

Stop in /usr/ports/devel/hs-transformers.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/hs-mtl.
*** [install] Error code 1

Stop in /usr/ports/devel/hs-mtl.
*** [build-depends] Error code 1

Stop in /usr/ports/www/hs-cgi.
*** [install] Error code 1

Stop in /usr/ports/www/hs-cgi.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/hs-haskell-platform.


Trying to build hs-haddock:

===>  Configuring for hs-random-1.0.1.1_1
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking setup ...
Configuring random-1.0.1.1...
setup: Cannot find the program 'haddock' at '/usr/local/bin/haddock' or on the
path
*** [do-configure] Error code 1

Stop in /usr/ports/devel/hs-random.
*** [install] Error code 1

Stop in /usr/ports/devel/hs-random.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/hs-QuickCheck.
*** [install] Error code 1

Stop in /usr/ports/devel/hs-QuickCheck.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/hs-alex.
*** [install] Error code 1

Stop in /usr/ports/devel/hs-alex.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/hs-haddock.
*** [install] Error code 1

Stop in /usr/ports/devel/hs-haddock.


My make.conf:

KERNCONF=EULER
CPUTYPE?=corei7

WITH_PKGNG=yes

.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
.if !defined(CPP) || ${CPP} == "cpp"
CPP=clang-cpp
.endif

NO_WERROR=
WERROR=


WITHOUT_MODULES= aac acpi_aiboost acpi_asus acpi_fujitsu acpi_hp acpi_ibm    \
                 acpi_panasonic acpi_sony acpi_toshiba agp aha ahc ahc_eisa  \
                 ahc_isa ahc_pci ahd aibs alpm alq amdpm amdsbwd amdsmb      \
                 amdtemp amr amr_cam amr_linux arcmsr asmc atahighpoint      \
                 atanvidia atapromise ataserverworks atavia coda coda5 cxgb  \
                 dragon_saver fade_saver fire_saver geom_part_pc98 geom_pc98 \
                 green_saver hptiop hptmv hptrr                              \
                 if_ae if_age if_alc if_an if_ath if_aue if_axe if_bce       \
                 if_cxgb if_cxbge if_faith if_fxp if_gem if_gif if_gre       \
                 if_lge if_lmc if_ndis if_nfe if_nge if_nve if_nxge          \
                 if_wi if_wpi                                                \
                 ipfw ipfw_nat ips joy pccard radeon rain_saver reiserfs     \
                 s3 savage snake_saver                                       \
                 snd_ad1816 snd_als4000 snd_atiixp snd_cmi snd_cs4281        \
                 snd_csa snd_envy24 snd_envy24ht snd_es137x snd_ess          \
                 snd_fm801 snd_maestro snd_maestro3 snd_mss snd_neomagic     \
                 snd_sb16 snd_sb8 snd_sbc snd_solo snd_spicds snd_t4dwave    \
                 snd_uadio snd_via8233 snd_via82c686 snd_vibes               \
                 star_saver wlan wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt  \
                 wlan_tkip wlan_wep wlan_xauth xfs

RUBY_DEFAULT_VER=1.9
PERL_VERSION=5.14.2


### PORT KNOBS ###

OPTIONS_SET= DBUS                    \
             FLAC                    \
             MP3                     \
             NLS                     \
             OPTIMIZED_CFLAGS        \
             VORBIS                  \
             WAVPACK                 \


.if ${.CURDIR:M*/lang/gprolog}
    CC=gcc48
    CXX=g++48
    CPP=cpp48
.endif

.if ${.CURDIR:M*/java/openjdk7}
    CPUTYPE=core2
    CC=gcc48
    CXX=g++48
    CPP=cpp48
.endif

gcc48_UNSET= JAVA
fftw3_UNSET= OPENMP
sqlite3_SET= SECURE_DELETE





>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212031125.qB3BPnrk055104>