Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463596 - dev-haskell/hxt-9.2.2: URIHandling.hs "Couldn't match expected type `Maybe t0' with actual type `URI'"
Summary: dev-haskell/hxt-9.2.2: URIHandling.hs "Couldn't match expected type `Maybe t0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 11:43 UTC by Fabian Köster
Modified: 2013-07-25 19:01 UTC (History)
0 users

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


Attachments
build.log (build.log,12.69 KB, text/plain)
2013-03-28 11:43 UTC, Fabian Köster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Köster 2013-03-28 11:43:18 UTC
When I run 'haskell-updater' I get the following output:

Running haskell-updater using GHC 7.4.2
  * Executable: /usr/bin/ghc
  * Library directory: /usr/lib64/ghc-7.4.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.
Found the following broken packages:
  * dev-haskell/hs3:0
  * dev-haskell/hxt:0

emerge --oneshot --keep-going --deep dev-haskell/hs3:0 dev-haskell/hxt:0

but build of hxt fails with the following error:

[59 of 82] Compiling Text.XML.HXT.Arrow.XmlState.URIHandling ( src/Text/XML/HXT/Arrow/XmlState/URIHandling.hs, dist/build/Text/XML/HXT/Arrow/XmlState/URIHandling.o )

src/Text/XML/HXT/Arrow/XmlState/URIHandling.hs:169:16:
    Couldn't match expected type `Maybe t0' with actual type `URI'
    In the return type of a call of `nonStrictRelativeTo'
    In a stmt of a 'do' block: abs' <- nonStrictRelativeTo uri' base'
    In the expression:
      do { base' <- parseURIReference' base;
           uri' <- parseURIReference' uri;
           abs' <- nonStrictRelativeTo uri' base';
           return $ show abs' }

Full build.log is attached.



Reproducible: Always




Portage 2.1.11.55 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.8.4 x86_64)
=================================================================
System uname: Linux-3.8.4-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.1
KiB Mem:     8056036 total,   5905868 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Thu, 28 Mar 2013 10:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo java-overlay sunrise x-portage hibiscus-gentoo-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE freedist as-is"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=corei7-avx -O2 -pipe"
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 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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/java-overlay /var/lib/layman/sunrise /usr/local/portage /home/fabian/workspace/Privat/gentoo/hibiscus-ebuild/hibiscus-gentoo-overlay.git"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvb dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnome-keyring gpm gstreamer gtk hdaps iconv idn ipv6 jabber jpeg lastfm lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nfsv4 nls nptl ogg opengl openmp opus pam pango pcre pcsc-lite pdf png policykit ppds pulseaudio qt3support qt4 readline rss sdl session spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vorbis webm wxwidgets x264 xcb xml xv xvid 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="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="active braindump flow karbon krita stage tables words sheets" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19" SANE_BACKENDS="genesys plustek" USERLAND="GNU" VIDEO_CARDS="intel nouveau" 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"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fabian Köster 2013-03-28 11:43:44 UTC
Created attachment 343518 [details]
build.log
Comment 2 Mark Wright gentoo-dev 2013-04-03 09:41:22 UTC
It is necessary to use hxt-9.3.1.1 with network 2.4, as noted by upstream:

https://github.com/UweSchmidt/hxt/issues/5

The only way to fix this is to stabilize hxt-9.3.1.1 and remove older versions.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2013-07-25 19:01:45 UTC
Done as:

> 25 Jul 2013; Sergei Trofimovich <slyfox@gentoo.org>
> -files/hxt-9.1.4-ghc-7.2.patch, -hxt-9.1.5.ebuild, -hxt-9.2.2.ebuild:
> Drop old (bug #463596