Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471384 - dev-haskell/haddock-2.13.2 depends on dev-haskell/alex and dev-haskell/happy
Summary: dev-haskell/haddock-2.13.2 depends on dev-haskell/alex and dev-haskell/happy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
: 471332 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-27 08:52 UTC by Tobias Klausmann (RETIRED)
Modified: 2013-05-29 08:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2013-05-27 08:52:36 UTC
>>> Emerging (1 of 1) dev-haskell/haddock-2.13.2
 * haddock-2.13.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...            [ ok ]
>>> Unpacking source...
>>> Unpacking haddock-2.13.2.tar.gz to /var/tmp/portage/dev-haskell/haddock-2.13.2/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/haddock-2.13.2/work
>>> Preparing source in /var/tmp/portage/dev-haskell/haddock-2.13.2/work/haddock-2.13.2 ...
 * Applying haddock-2.13.1-drop-tools.patch ...                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/haddock-2.13.2/work/haddock-2.13.2 ...
 * Using cabal-1.16.0.
 * Prepending /usr/lib64/ghc-7.6.2 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.16.0 --make /var/tmp/portage/dev-haskell/haddock-2.13.2/work/haddock-2.13.2/Setup.lhs -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/haddock-2.13.2/work/haddock-2.13.2/Setup.lhs, /var/tmp/portage/dev-haskell/haddock-2.13.2/work/haddock-2.13.2/Setup.o )
Linking setup ...
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=haddock-2.13.2/ghc-7.6.2 --datadir=/usr/share/ --datasubdir=haddock-2.13.2/ghc-7.6.2 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/haddock-2.13.2 --verbose --with-haddock=/var/tmp/portage/dev-haskell/haddock-2.13.2/work/haddock-2.13.2/dist/build/haddock/haddock --constraint=Cabal == 1.16.0
Configuring haddock-2.13.2...
Flags chosen: dev=False, in-ghc-tree=False
Dependency Cabal ==1.16.0: using Cabal-1.16.0
Dependency array -any: using array-0.4.0.1
Dependency base >=4.3 && <4.7: using base-4.6.0.1
Dependency containers -any: using containers-0.5.0.0
Dependency deepseq -any: using deepseq-1.3.0.1
Dependency directory -any: using directory-1.2.0.1
Dependency filepath -any: using filepath-1.3.0.1
Dependency ghc ==7.6.*: using ghc-7.6.2
Dependency ghc-paths -any: using ghc-paths-0.1.0.9
Dependency haddock -any: using haddock-2.13.2
Dependency xhtml ==3000.2.*: using xhtml-3000.2.1
Using Cabal-1.16.0 compiled by ghc-7.6
Using compiler: ghc-7.6.2
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in: /usr/lib64/haddock-2.13.2/ghc-7.6.2
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/haddock-2.13.2/ghc-7.6.2
Documentation installed in: /usr/share/doc/haddock-2.13.2
No alex found
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.7.3 found on system at: /usr/bin/gcc
Using ghc version 7.6.2 given by user at: /usr/bin/ghc
Using ghc-pkg version 7.6.2 given by user at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.13.2 given by user at:
/var/tmp/portage/dev-haskell/haddock-2.13.2/work/haddock-2.13.2/dist/build/haddock/haddock
No happy found
No hmake found
Using hpc version 0.6 found on system at: /usr/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.28 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-haskell/haddock-2.13.2/work/haddock-2.13.2 ...
./setup build --ghc-options=-rtsopts
Building haddock-2.13.2...
Preprocessing library haddock-2.13.2...
setup: The program alex is required but it could not be found
 * ERROR: dev-haskell/haddock-2.13.2 failed (compile phase):
 *   setup build failed

This is during an upgrade from 2.13.1-r2. Hand-merging alex, then updating haddock results in a similar failure for lack of happy. Emerging that, too, will result in haddock compiling. I suspect the patch used on line 33 of the haddock ebuild needs an update. 

Portage 2.1.12.2 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.9.1 x86_64)
=================================================================
System uname: Linux-3.9.1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    32848528 total,   1120404 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 27 May 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5, 3.2.5, 3.3.2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.2
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=corei7"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage"
USE="3dnow acl acpi amd64 apache2 bash-completion bcmath berkdb bzip2 calendar caps clamav cli cracklib crypt cscope curl cxx dri ethereal exif fortran ftp gd gdbm gif gmp gnutls gpm iconv idn imagemagick imap imlib ipv6 jabber jpeg kdeenablefinal libwww maildir mbox mmap mmx mng modules mp3 mpeg mpi mudflap multilib mysql mysqli ncurses nls nptl nptlonly ogg oggvorbis openmp pam pcre perl php png posix python readline recode sasl session sockets spell sse sse2 ssl svg tcpd truetype unicode vhosts vim vim-pager vim-syntax vorbis xattr xetex zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias reqtimeout" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="mdraid net" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Juergen Rose 2013-05-28 06:01:52 UTC
Same here.
Comment 2 Alexander Vershilov (RETIRED) gentoo-dev 2013-05-29 07:26:24 UTC
*** Bug 471332 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Vershilov (RETIRED) gentoo-dev 2013-05-29 08:21:54 UTC
FIxed in haddock-2.13.2-r1:

new revision: 1.147; previous revision: 1.146