Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471332 - dev-haskell/haddock-2.13.2 fails to build, dependency failures
Summary: dev-haskell/haddock-2.13.2 fails to build, dependency failures
Status: RESOLVED DUPLICATE of bug 471384
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-26 12:54 UTC by Chris Woods
Modified: 2013-05-29 07:26 UTC (History)
0 users

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


Attachments
build.log for dev-haskell/haddock (build.log,4.75 KB, text/x-log)
2013-05-26 12:55 UTC, Chris Woods
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Woods 2013-05-26 12:54:04 UTC
Note that haskell-updater reports nothing to build.

Initial attempt to update to haddock-2.13.2 fails, reporting missing 'alex.' I manually installed dev-haskell/alex-3.0.5. Second attempt to update haddock then fails looking for happy.

Attached build.log is for the 'happy' dependency failure. I should easily be able to generate one with the same failure looking for 'alex' if needed.


Reproducible: Always

Steps to Reproduce:
1. emerge -av dev-haskell/haddock
2. observe failure looking for program 'alex'
3. install dev-haskell/alex
4. emerge -av dev-haskell/haddock
5. observe failure looking for program 'happy'




# emerge --info dev-haskell/haddock
Portage 2.1.12.2 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.9.3-gentoo-bitspace-custom x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.9.3-gentoo-bitspace-custom-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.2
KiB Mem:    16399768 total,   8153504 free
KiB Swap:   31249404 total,  31249404 free
Timestamp of tree: Sun, 26 May 2013 11:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.4, 3.2.4, 3.3.2
dev-util/cmake:           2.8.11::kde
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.10.3, 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 kde enlightenment steam-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-march=native -O2 -pipe -g"
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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
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="/var/lib/layman/kde /var/lib/layman/enlightenment /var/lib/layman/steam"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl alsa amd64 avahi bash-completion berkdb bluetooth bzip2 cairo cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt cscope curl cxx dbi dbus dga directfb djvu doc dri dts dv dvb dvd eds emacs encode examples exif fam fbcon ffmpeg flac fontconfig fortran freetds ftp gd gdbm geoip ggi gif gnome gnome-keyring gnuplot gphoto2 gpm gps graphviz gsm gstreamer gtk guile hscolour iconv icu idn imlib ios ipv6 jack java jbig jingle jpeg jpeg2k kde kontact ladspa lame lapack lash latex lcms ldap libass libnl libnotify libsamplerate lm_sensors lua lzma lzo mad matroska mms mmx mmxext mng modplug modules mono mozilla mp3 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz nas ncurses networkmanager nls nptl nsplugin nss oci8 odbc offensive ogg openal openexr opengl openmp oscar oss pam pcre pdf perl plasma plotutils png policykit portaudio postgres postscript pulseaudio python qt4 quicktime raw rdesktop readline rss ruby samba sasl scanner sdl semantic-desktop session slang slp sndfile soap sound source speex sqlite sse sse2 ssl startup-notification subversion svg symlink syslog taglib tcl tcpd theora threads tidy tiff tk truetype udev unicode upnp usb v4l vcd vim-syntax vnc vorbis wavpack webkit wifi wmf x264 xcb xface xft xine xinetd xml xmp xosd xpm xscreensaver xv xvid yahoo zeroconf zlib zsh-completion" 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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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" CURL_SSL="nss" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher 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" STEAMGAMES="defenders_quest dwarfs journey_down shatter tf2 trine2 unwritten_tales" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-haskell/haddock-2.13.1-r2 was built with the following:
USE="doc hscolour -profile"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"
Comment 1 Chris Woods 2013-05-26 12:55:00 UTC
Created attachment 349272 [details]
build.log for dev-haskell/haddock
Comment 2 Chris Woods 2013-05-26 12:56:53 UTC
# emerge -pqv '=dev-haskell/haddock-2.13.2'
[ebuild     U ] dev-haskell/haddock-2.13.2 [2.13.1-r2] USE="doc hscolour -profile"
Comment 3 Chris Woods 2013-05-26 12:58:20 UTC
# haskell-updater 
Running haskell-updater using GHC 7.6.2
  * Executable: /usr/bin/ghc
  * Library directory: /usr/lib64/ghc-7.6.2
  * Package manager (PM): portage

Searching for packages installed with a different version of GHC.
No old packages found!

Searching for Haskell libraries with broken dependencies.
No broken packages found!


Nothing to build!
Comment 4 Alexander Vershilov (RETIRED) gentoo-dev 2013-05-28 21:53:37 UTC
Definatelly there is a problem: previous haddock version has pregenerated files so we could use them. But current version doesn't support them.

The problem in simple adding alex and happy is that they are depend on haddock so there will be circular deps, that can be resolved by:

   USE="-haddock" emerge alex happy
   emerge haddock
   emerge alex happy

but currently portage is not able to automatically build such path.

We'll thing how to deal with  this situation, but it seems that the easiest way is to add a patch with pre-generated files as it was before.
Comment 5 Alexander Vershilov (RETIRED) gentoo-dev 2013-05-29 07:26:24 UTC
thanks for report this bug will be fixed in dublicate bug

*** This bug has been marked as a duplicate of bug 471384 ***