Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572182 - dev-haskell/x509-1.5.1 - No instance for (Control.Monad.Error.Class.MonadError [Char] ParseASN1)
Summary: dev-haskell/x509-1.5.1 - No instance for (Control.Monad.Error.Class.MonadErro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
: 572186 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-17 10:24 UTC by Juergen Rose
Modified: 2016-01-20 10:11 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,5.93 KB, text/plain)
2016-01-17 10:24 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2016-01-17 10:24:25 UTC
Created attachment 423120 [details]
build.log

'MAKEOPTS=-j1 emerge -v1 dev-haskell/x509' fails with:
...
No uhc found
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-haskell/x509-1.5.1/work/x509-1.5.1 ...
./setup build
Building x509-1.5.1...
Preprocessing library x509-1.5.1...
[ 1 of 12] Compiling Data.X509.Internal ( Data/X509/Internal.hs, dist/build/Data/X509/Internal.o )
[ 2 of 12] Compiling Data.X509.DistinguishedName ( Data/X509/DistinguishedName.hs, dist/build/Data/X509/DistinguishedName.o )

Data/X509/DistinguishedName.hs:75:37:
    No instance for (Control.Monad.Error.Class.MonadError
                       [Char] ParseASN1)
      arising from a use of ‘throwError’
    In the expression:
      throwError ("expecting [OID,String] got " ++ show s)
    In a case alternative:
        _ -> throwError ("expecting [OID,String] got " ++ show s)
    In a stmt of a 'do' block:
      case s of {
        [OID oid, ASN1String cs] -> return (oid, cs)
        _ -> throwError ("expecting [OID,String] got " ++ show s) }
 * ERROR: dev-haskell/x509-1.5.1::gentoo failed (compile phase):
 *   setup build failed




root@lynx:/root(9)# emerge --info '=dev-haskell/x509-1.5.1::gentoo'
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.22-r1, 4.4.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    15207076 total,   7445220 free
KiB Swap:   50331644 total,  50325936 free
Timestamp of repository gentoo: Sun, 17 Jan 2016 06:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc[1378] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Dec 12 2015 19:11:03 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.2::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage_lynx
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    masters: gentoo science
    priority: 0

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 1

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 2

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 3

ago
    location: /var/lib/layman/ago
    masters: gentoo
    priority: 4

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 5

local
    location: /usr/local/portage
    masters: gentoo
    priority: 6

g-cpan
    location: /var/lib/cpan
    masters: gentoo
    priority: 7

g-octave
    location: /var/lib/g-octave
    masters: gentoo
    priority: 8

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /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-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/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"
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 usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 amr ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boost branding bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cilk cli cmake collada consolekit cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples excel exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx ftp fuse gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hdaps hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jadetex java jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack latex lcms ldap lensfun libffi libgda libkms libnotify libsamplerate lirc live lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mpi-threads mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg opencl opencv openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python q16 q32 qemu qhull qt3support qt4 qt5 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool rtlsdr sage samba sasl schroedinger science sdk sdl seccomp secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tbb tcl tcpd tex tex4ht texmacs theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l v4l2 vaapi vala valgrind vdpau video virt-network virtualbox visio vorbis vpx vtk wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xa xattr xcb xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog sensors thermal" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" DVB_CARDS="usb-wt220u dvb_usb_rtl28xxu" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd SureElec" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr ru" LIRC_DEVICES="devinput" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau displaylink" 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:  CC, CPPFLAGS, CTARGET, CXX, 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/x509-1.5.1::gentoo was built with the following:
USE="doc -hscolour -profile -test" ABI_X86="64"






root@lynx:/root(10)# emerge -pqv '=dev-haskell/x509-1.5.1::gentoo'
[ebuild   R   ] dev-haskell/x509-1.5.1  USE="doc -hscolour -profile {-test}"
Comment 1 Juergen Rose 2016-01-17 12:42:54 UTC
This issue blocks 'haskell-updater':

root@caiman:/root(23)# haskell-updater 
Running haskell-updater-1.2.10 using GHC 7.10.2
  * Executable: /usr/bin/ghc
  * Library directory: /usr/lib64/ghc-7.10.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:
  * app-text/pandoc:0
  * dev-haskell/connection:0
  * dev-haskell/crypto-pubkey:0
  * dev-haskell/http-client-tls:0
  * dev-haskell/pandoc-citeproc:0
  * dev-haskell/tls:0
  * dev-haskell/x509:0
  * dev-haskell/x509-store:0
  * dev-haskell/x509-system:0
  * dev-haskell/x509-validation:0

emerge --oneshot --keep-going --complete-graph --quiet --deep app-text/pandoc:0 dev-haskell/connection:0 dev-haskell/crypto-pubkey:0 dev-haskell/http-client-tls:0 dev-haskell/pandoc-citeproc:0 dev-haskell/tls:0 dev-haskell/x509:0 dev-haskell/x509-store:0 dev-haskell/x509-system:0 dev-haskell/x509-validation:0
>>> Verifying ebuild manifests
>>> Emerging (1 of 10) dev-haskell/x509-1.5.1::gentoo
>>> Failed to emerge dev-haskell/x509-1.5.1, Log file:
>>>  '/var/tmp/portage/dev-haskell/x509-1.5.1/temp/build.log'
*** Resuming merge...
 * Package:    dev-haskell/x509-1.5.1
 * Repository: gentoo
 * Maintainer: haskell@gentoo.org
 * USE:        abi_x86_64 amd64 doc elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Using cabal-1.22.6.0.
 * Prepending /usr/lib64/ghc-7.10.2 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.22.6.0 --make /var/tmp/portage/dev-haskell/x509-1.5.1/work/x509-1.5.1/Setup.hs -threaded -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/x509-1.5.1/work/x509-1.5.1/Setup.hs, /var/tmp/portage/dev-haskell/x509-1.5.1/work/x509-1.5.1/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=x509-1.5.1/ghc-7.10.2 --datadir=/usr/share/ --datasubdir=x509-1.5.1/ghc-7.10.2 --with-haddock=/usr/bin/haddock-ghc-7.10.2 --disable-tests --ghc-option=-j4 --ghc-option=-optc-march=amdfam10 --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/x509-1.5.1 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping
Configuring x509-1.5.1...
Dependency asn1-encoding ==0.9.*: using asn1-encoding-0.9.3
Dependency asn1-parse ==0.9.*: using asn1-parse-0.9.4
Dependency asn1-types >=0.3.0 && <0.4: using asn1-types-0.3.2
Dependency base >=3 && <5: using base-4.8.1.0
Dependency bytestring -any: using bytestring-0.10.6.0
Dependency containers -any: using containers-0.5.6.2
Dependency crypto-pubkey-types >=0.4.2.1 && <0.5: using
crypto-pubkey-types-0.4.3
Dependency cryptohash >=0.9 && <0.12: using cryptohash-0.11.6
Dependency directory -any: using directory-1.2.2.0
Dependency filepath -any: using filepath-1.4.0.0
Dependency hourglass -any: using hourglass-0.2.9
Dependency mtl -any: using mtl-2.2.1
Dependency pem >=0.1 && <0.3: using pem-0.2.2
Dependency process -any: using process-1.2.3.0
Using Cabal-1.22.6.0 compiled by ghc-7.10
Using compiler: ghc-7.10.2
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in: /usr/lib64/x509-1.5.1/ghc-7.10.2
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/x509-1.5.1/ghc-7.10.2
Documentation installed in: /usr/share/doc/x509-1.5.1
Configuration files installed in: /etc
No alex found
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
Using gcc version 5.3.0 found on system at: /usr/bin/gcc
Using ghc version 7.10.2 given by user at: /usr/bin/ghc
Using ghc-pkg version 7.10.2 given by user at: /usr/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.16.1 given by user at: /usr/bin/haddock-ghc-7.10.2
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /usr/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
Using pkg-config version 0.29 found on system at: /usr/bin/pkg-config
Using strip version 2.25 found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
./setup build
Building x509-1.5.1...
Preprocessing library x509-1.5.1...
[ 1 of 12] Compiling Data.X509.Internal ( Data/X509/Internal.hs, dist/build/Data/X509/Internal.o )
[ 2 of 12] Compiling Data.X509.DistinguishedName ( Data/X509/DistinguishedName.hs, dist/build/Data/X509/DistinguishedName.o )

Data/X509/DistinguishedName.hs:75:37:
    No instance for (Control.Monad.Error.Class.MonadError
                       [Char] ParseASN1)
      arising from a use of ‘throwError’
    In the expression:
      throwError ("expecting [OID,String] got " ++ show s)
    In a case alternative:
        _ -> throwError ("expecting [OID,String] got " ++ show s)
    In a stmt of a 'do' block:
      case s of {
        [OID oid, ASN1String cs] -> return (oid, cs)
        _ -> throwError ("expecting [OID,String] got " ++ show s) }
[ 3 of 12] Compiling Data.X509.ExtensionRaw ( Data/X509/ExtensionRaw.hs, dist/build/Data/X509/ExtensionRaw.o )

Data/X509/ExtensionRaw.hs:15:1: Warning:
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
[ 5 of 12] Compiling Data.X509.AlgorithmIdentifier ( Data/X509/AlgorithmIdentifier.hs, dist/build/Data/X509/AlgorithmIdentifier.o )
[ 7 of 12] Compiling Data.X509.Signed ( Data/X509/Signed.hs, dist/build/Data/X509/Signed.o )
[ 8 of 12] Compiling Data.X509.PublicKey ( Data/X509/PublicKey.hs, dist/build/Data/X509/PublicKey.o )
[11 of 12] Compiling Data.X509.PrivateKey ( Data/X509/PrivateKey.hs, dist/build/Data/X509/PrivateKey.o )
 * ERROR: dev-haskell/x509-1.5.1::gentoo failed (compile phase):
 *   setup build failed
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_compile
 *   environment, line 2914:  Called haskell-cabal_src_compile
 *   environment, line 2028:  Called cabal_src_compile
 *   environment, line  839:  Called cabal-build
 *   environment, line  588:  Called die
 * The specific snippet of code:
 *       ./setup "$@" || die "setup build failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/x509-1.5.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/x509-1.5.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-haskell/x509-1.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/x509-1.5.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/x509-1.5.1/work/x509-1.5.1'
 * S: '/var/tmp/portage/dev-haskell/x509-1.5.1/work/x509-1.5.1'
 * One or more packages are either masked or have missing dependencies:
 * 
 *   >=dev-haskell/asn1-parse-0.9:0/0.9.1= pulled in by:
 *     (dev-haskell/x509-1.5.1:0/1.5.1::gentoo, installed)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-haskell/x509-1.5.1:0/1.5.1::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-haskell/x509-1.5.1/temp/build.log'
 * 


and 'emerge -pv --update --newuse --deep --with-bdeps=y --backtrack=30 --exclude dev-haskell/x509  @world':


root@caiman:/root(24)#    emerge -pv --update --newuse --deep --with-bdeps=y --backtrack=30 --exclude dev-haskell/x509  @world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-lang/rakudo-2015.12::gentoo  USE="java* moar {-test}" 0 KiB
[ebuild     UD ] dev-haskell/asn1-types-0.3.0:0/0.3.0::gentoo [0.3.2:0/0.3.2::gentoo] USE="doc -hscolour -profile" 0 KiB
[ebuild     UD ] dev-haskell/asn1-encoding-0.9.0:0/0.9.0::gentoo [0.9.3:0/0.9.3::gentoo] USE="doc -hscolour -profile {-test}" 0 KiB
[ebuild     UD ] dev-haskell/asn1-parse-0.9.1:0/0.9.1::gentoo [0.9.4:0/0.9.4::gentoo] USE="doc -hscolour -profile" 0 KiB

Total: 4 packages (3 downgrades, 1 reinstall), Size of downloads: 0 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-haskell/asn1-types:0

  (dev-haskell/asn1-types-0.3.0:0/0.3.0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-haskell/asn1-types-0.3.0:0/0.3.0= required by (dev-haskell/x509-1.5.1:0/1.5.1::gentoo, installed)
                                  ^^^^^^^^^                                                                                                    
    (and 6 more with the same problem)

  (dev-haskell/asn1-types-0.3.2:0/0.3.2::gentoo, installed) pulled in by
    >=dev-haskell/asn1-types-0.1:0/0.3.2= required by (dev-haskell/crypto-pubkey-types-0.4.3:0/0.4.3::gentoo, installed)
                                ^^^^^^^^^                                                                                                                   
    (and 3 more with the same problem)

dev-haskell/asn1-encoding:0

  (dev-haskell/asn1-encoding-0.9.0:0/0.9.0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-haskell/asn1-encoding-0.9:0/0.9.0= required by (dev-haskell/x509-1.5.1:0/1.5.1::gentoo, installed)
                                   ^^^^^^^^^                                                                                                    
    (and 6 more with the same problem)

  (dev-haskell/asn1-encoding-0.9.3:0/0.9.3::gentoo, installed) pulled in by
    dev-haskell/asn1-encoding:0/0.9.3= required by (dev-haskell/crypto-pubkey-types-0.4.3:0/0.4.3::gentoo, installed)
                             ^^^^^^^^^                                                                                                                   

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
Comment 2 SpanKY gentoo-dev 2016-01-18 09:59:53 UTC
*** Bug 572186 has been marked as a duplicate of this bug. ***
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2016-01-19 15:07:28 UTC
I ran into this, too. Backdating to these:

dev-haskell/asn1-encoding-0.9.0
dev-haskell/asn1-parse-0.9.1
dev-haskell/asn1-types-0.3.0

Fixed compilation of x509 for me. I'm working on figuring out which of the three is the actual culprit.
Comment 4 Helmut Jarausch 2016-01-19 20:10:29 UTC
(In reply to Tobias Klausmann from comment #3)
> I ran into this, too. Backdating to these:
> 
> dev-haskell/asn1-encoding-0.9.0
> dev-haskell/asn1-parse-0.9.1
> dev-haskell/asn1-types-0.3.0
> 
> Fixed compilation of x509 for me. I'm working on figuring out which of the
> three is the actual culprit.

I've just added the mask
>dev-haskell/asn1-parse-0.9.1

and x509 and haskell-updater succeed.
Comment 6 Juergen Rose 2016-01-20 07:13:48 UTC
After the upgrade or reinstallation of several haskell packages:

dev-haskell/stm-2.4.4.1                             Tue Jan 19 10:31:27 CET 2016
dev-haskell/dlist-0.7.1.2                           Tue Jan 19 10:31:57 CET 2016
dev-haskell/utf8-string-1.0.1.1                     Tue Jan 19 10:32:30 CET 2016
dev-haskell/split-0.2.3                             Tue Jan 19 10:33:00 CET 2016
dev-haskell/text-1.2.2.0                            Tue Jan 19 10:34:35 CET 2016
dev-haskell/async-2.0.2                             Tue Jan 19 10:35:07 CET 2016
dev-haskell/data-default-instances-dlist-0.0.1      Tue Jan 19 10:35:35 CET 2016
dev-haskell/blaze-builder-0.4.0.1                   Tue Jan 19 10:36:07 CET 2016
dev-haskell/hashable-1.2.4.0                        Tue Jan 19 10:36:38 CET 2016
dev-haskell/parsec-3.1.9-r1                         Tue Jan 19 10:37:19 CET 2016
dev-haskell/transformers-compat-0.4.0.4             Tue Jan 19 10:37:49 CET 2016
dev-haskell/xml-1.3.14                              Tue Jan 19 10:38:23 CET 2016
dev-haskell/tagsoup-0.13.8                          Tue Jan 19 10:39:08 CET 2016
dev-haskell/juicypixels-3.2.6.4                     Tue Jan 19 10:40:46 CET 2016
dev-haskell/mime-types-0.1.0.6                      Tue Jan 19 10:41:24 CET 2016
dev-haskell/xml-types-0.3.6                         Tue Jan 19 10:42:04 CET 2016
dev-haskell/cmark-0.4.0.1                           Tue Jan 19 10:42:58 CET 2016
dev-haskell/zip-archive-0.2.3.7                     Tue Jan 19 10:43:34 CET 2016
dev-haskell/transformers-base-0.4.4                 Tue Jan 19 10:44:03 CET 2016
dev-haskell/unordered-containers-0.2.6.0            Tue Jan 19 10:44:44 CET 2016
dev-haskell/scientific-0.3.4.4                      Tue Jan 19 10:45:22 CET 2016
dev-haskell/exceptions-0.8.0.2                      Tue Jan 19 10:45:52 CET 2016
dev-haskell/blaze-markup-0.7.0.3                    Tue Jan 19 10:46:26 CET 2016
dev-haskell/streaming-commons-0.1.15                Tue Jan 19 10:47:03 CET 2016
dev-haskell/case-insensitive-1.2.0.5                Tue Jan 19 10:47:33 CET 2016
dev-haskell/nats-1                                  Tue Jan 19 10:48:01 CET 2016
dev-haskell/cookie-0.4.1.6                          Tue Jan 19 10:48:32 CET 2016
dev-haskell/attoparsec-0.13.0.1                     Tue Jan 19 10:49:22 CET 2016
dev-haskell/data-default-0.5.3                      Tue Jan 19 10:57:13 CET 2016
dev-haskell/network-uri-2.6.0.3                     Tue Jan 19 10:57:47 CET 2016
dev-haskell/monad-control-1.0.0.4                   Tue Jan 19 10:58:16 CET 2016
dev-haskell/asn1-types-0.3.2                        Tue Jan 19 11:08:37 CET 2016
dev-haskell/asn1-encoding-0.9.3                     Tue Jan 19 11:09:07 CET 2016
dev-haskell/asn1-parse-0.9.4                        Tue Jan 19 11:11:05 CET 2016


'MAKEOPTS=-j1 emerge -v1 dev-haskell/x509' still fails with the same error.



(In reply to Sergei Trofimovich from comment #5)
> Pushed new x509-1.6* packages that should compile against asn1* libs:
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=67686d2b79e89d923feecd42a168bb724a4ec094
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=5d3abe1d88b71002d44572c75975ad39ea8375cb
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=8d2a16777ae17fb5d8d3a4c067531a67bf6d1856
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=12216d0e7804f06afab83bc3b29215e1510063ac
> 
> Thanks for the report!


I can't find x509-1.6*.
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2016-01-20 08:18:18 UTC
(In reply to Juergen Rose from comment #6)

> (In reply to Sergei Trofimovich from comment #5)
> > Pushed new x509-1.6* packages that should compile against asn1* libs:
> > 
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/
> > ?id=67686d2b79e89d923feecd42a168bb724a4ec094
> > 
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/
> > ?id=5d3abe1d88b71002d44572c75975ad39ea8375cb
> > 
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/
> > ?id=8d2a16777ae17fb5d8d3a4c067531a67bf6d1856
> > 
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/
> > ?id=12216d0e7804f06afab83bc3b29215e1510063ac
> > 
> > Thanks for the report!
> 
> 
> I can't find x509-1.6*.

https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-haskell/x509 shows x509-1.6.3 here.
Comment 8 Juergen Rose 2016-01-20 10:11:17 UTC
(In reply to Sergei Trofimovich from comment #7)
> (In reply to Juergen Rose from comment #6)
> 
> > (In reply to Sergei Trofimovich from comment #5)
> > > Pushed new x509-1.6* packages that should compile against asn1* libs:
....
> 
> https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-haskell/x509 shows
> x509-1.6.3 here.

Thanks Sergei,

it is now succesfully installed.

Juergen