Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problem emerging pandoc because of dev-haskell/tls
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
guimera
n00b
n00b


Joined: 24 May 2009
Posts: 34

PostPosted: Tue Jan 27, 2015 9:26 pm    Post subject: [SOLVED] Problem emerging pandoc because of dev-haskell/tls Reply with quote

Hi,

I am trying to emerge pandoc, which pulls dev-haskell/tls as a dependency. Now, no matter what I do, tls fails to compile.

I did try to run haskell-updater but the problem persists. Any ideas?

Below is all the compilation info:

emerge --info '=dev-haskell/tls-1.1.5::gentoo'

    Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.17.7-gentoo x86_64)
    =================================================================
    System Settings
    =================================================================
    System uname: Linux-3.17.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.2
    KiB Mem: 3762960 total, 1077252 free
    KiB Swap: 1023996 total, 715008 free
    Timestamp of tree: Tue, 27 Jan 2015 17:15:01 +0000
    ld GNU ld (Gentoo 2.24 p1.4) 2.24
    app-shells/bash: 4.2_p53
    dev-java/java-config: 2.2.0
    dev-lang/perl: 5.18.2-r2
    dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.1
    dev-util/cmake: 2.8.12.2-r1
    dev-util/pkgconfig: 0.28-r1
    sys-apps/baselayout: 2.2
    sys-apps/openrc: 0.13.8
    sys-apps/sandbox: 2.6-r1
    sys-devel/autoconf: 2.13, 2.69
    sys-devel/automake: 1.11.6-r1, 1.13.4
    sys-devel/binutils: 2.24-r3
    sys-devel/gcc: 4.6.4, 4.8.3
    sys-devel/gcc-config: 1.7.3
    sys-devel/libtool: 2.4.4
    sys-devel/make: 4.0-r1
    sys-kernel/linux-headers: 3.16 (virtual/os-headers)
    sys-libs/glibc: 2.19-r1
    Repositories: gentoo x-portage
    ACCEPT_KEYWORDS="amd64"
    ACCEPT_LICENSE="* -@EULA"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-march=corei7 -O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
    CONFIG_PROTECT_MASK="/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 -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"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://gentoo-euetib.upc.es/mirror/gentoo/"
    LANG="en_US.utf8"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    MAKEOPTS="-j5"
    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"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY="/usr/local/portage"
    SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
    USE="X a52 aac aalib acl acpi alsa amd64 avahi berkdb bidi bindist bluetooth bluray branding bzip2 cairo cdda cddb cdio cdr cli consolekit cracklib crypt cups cxx daap dbus dc1394 declarative dirac dri dts dvb dvd dvdr egl emboss encode exif fam fbosd ffmpeg firefox flac flash fluidsynth fortran freetype gdbm geos gif gimp glamor gpm gsl gtk httpd iconv icu ipod ipv6 jpeg kde kipi lapack lastfm latex lcms ldap libnotify live lm_sensors lua mad matplotlib matroska mmx mng modules mp3 mp3tunes mp4 mpeg mtp multilib musepack mysql ncurses networkmanager nls nptl nsplugin numpy ofa ogg oggvorbis opengl openmp opus oss pam pango pcre pdf phonon plasma png policykit postscript ppds pulseaudio pyglet python qt3support qt4 readline reports samba scanner scipy sdl semantic-desktop session spell sqlite sse sse2 ssl startup-notification stream svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vcd vlm vorbis webkit wxwidgets wxwindows x264 xcb xcomposite xinerama xml xscreensaver 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" 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" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ca es" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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



more /var/tmp/portage/dev-haskell/tls-1.1.5/temp/build.log

    * Package: dev-haskell/tls-1.1.5
    * Repository: gentoo
    * Maintainer: haskell@gentoo.org
    * USE: abi_x86_64 amd64 compat elibc_glibc kernel_linux userland_GNU
    * FEATURES: preserve-libs sandbox userpriv usersandbox
    >>> Unpacking source...
    >>> Unpacking tls-1.1.5.tar.gz to /var/tmp/portage/dev-haskell/tls-1.1.5/work
    >>> Source unpacked in /var/tmp/portage/dev-haskell/tls-1.1.5/work
    >>> Preparing source in /var/tmp/portage/dev-haskell/tls-1.1.5/work/tls-1.1.5 ...
    >>> Source prepared.
    >>> Configuring source in /var/tmp/portage/dev-haskell/tls-1.1.5/work/tls-1.1.5 ...
    * Using cabal-1.18.1.2.
    * Prepending /usr/lib64/ghc-7.6.3 to LD_LIBRARY_PATH
    /usr/bin/ghc -package Cabal-1.18.1.2 --make /var/tmp/portage/dev-haskell/tls-1.1.5/work/tls-1.1.5/Setup.hs -dynamic -o setup
    [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/tls-1.1.5/work/tls-1.1.5/Setup.hs, /var/tmp/portage/dev-haskell/tls-1.1.5/work/tls-1.1.
    5/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=tls-1.1.5/
    ghc-7.6.3 --datadir=/usr/share/ --datasubdir=tls-1.1.5/ghc-7.6.3 --disable-tests --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-exe
    cutable-stripping --docdir=/usr/share/doc/tls-1.1.5 --verbose --sysconfdir=/etc --flags=compat
    Configuring tls-1.1.5...
    Flags chosen: compat=True
    Dependency base >=3 && <5: using base-4.6.0.1
    Dependency bytestring -any: using bytestring-0.10.0.2
    Dependency cereal >=0.3: using cereal-0.4.0.1
    Dependency certificate >=1.3.0 && <1.4.0: using certificate-1.3.9
    Dependency crypto-pubkey >=0.2: using crypto-pubkey-0.2.1
    Dependency crypto-random >=0.0.7 && <0.1: using crypto-random-0.0.7
    Dependency cryptohash >=0.6: using cryptohash-0.11.1
    Dependency mtl -any: using mtl-2.1.2
    Dependency network -any: using network-2.4.1.2
    setup: The following installed packages are broken because other packages they
    depend on are missing. These broken packages must be rebuilt before they can
    be used.
    package certificate-1.3.9 is broken due to missing package
    pem-0.2.1-3b9c21cb62ab144761463aabe2373d45
    * ghc-pkg check: 'checking for other broken packages:'
    There are problems in package publicsuffixlist-0.1:
    Warning: haddock-interfaces: /usr/share/doc/publicsuffixlist-0.1/html/publicsuffixlist.haddock doesn't exist or isn't a file
    Warning: haddock-html: /usr/share/doc/publicsuffixlist-0.1/html doesn't exist or isn't a directory
    dependency "utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3" doesn't exist
    There are problems in package http-conduit-1.9.5.1:
    Warning: library-dirs: /usr/lib64/http-conduit-1.9.5.1/ghc-7.6.3 doesn't exist or isn't a directory
    Warning: haddock-interfaces: /usr/share/doc/http-conduit-1.9.5.1/html/http-conduit.haddock doesn't exist or isn't a file
    Warning: haddock-html: /usr/share/doc/http-conduit-1.9.5.1/html doesn't exist or isn't a directory
    dependency "blaze-builder-conduit-1.0.0-63df1ad4013b6a1b332c33d8d3237c3f" doesn't exist
    dependency "tls-1.1.5-bcd5f77e456d8d51c93381a6e5cc3ea5" doesn't exist
    dependency "tls-extra-0.6.6-ad54c553d3393d4c97d2a97292564135" doesn't exist
    dependency "utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3" doesn't exist
    import-dirs: /usr/lib64/http-conduit-1.9.5.1/ghc-7.6.3 doesn't exist or isn't a directory
    file Network/HTTP/Conduit.hi is missing
    file Network/HTTP/Conduit/Internal.hi is missing
    file Network/HTTP/Conduit/MultipartFormData.hi is missing
    file Network/HTTP/Conduit/Parser.hi is missing
    file Network/HTTP/Conduit/ConnInfo.hi is missing
    file Network/HTTP/Conduit/Request.hi is missing
    file Network/HTTP/Conduit/Util.hi is missing
    * Detected broken packages: publicsuffixlist-0.1 zip-archive-0.1.3.4 void-0.6.1 void-0.6.1 semigroups-0.12.1 zlib-conduit-1.0.0 conduit-1.0.9.3
    conduit-1.0.9.3 certificate-1.3.9 http-conduit-1.9.5.1
    * ERROR: dev-haskell/tls-1.1.5::gentoo failed (configure phase):
    * //==-- Please, run 'haskell-updater' to fix broken packages --==//
    *
    * Call stack:
    * ebuild.sh, line 93: Called src_configure
    * environment, line 2781: Called haskell-cabal_src_configure '--flags=compat'
    * environment, line 1907: Called cabal-configure '--flags=compat'
    * environment, line 564: Called cabal-show-brokens-and-die 'setup configure failed'
    * environment, line 657: Called cabal-show-brokens
    * environment, line 653: Called cabal-die-if-nonempty 'broken' 'publicsuffixlist-0.1' 'zip-archive-0.1.3.4' 'void-0.6.1' 'void-0.6.1' 'semi
    groups-0.12.1' 'zlib-conduit-1.0.0' 'conduit-1.0.9.3' 'conduit-1.0.9.3' 'certificate-1.3.9' 'http-conduit-1.9.5.1'
    * environment, line 586: Called die
    * The specific snippet of code:
    * die "//==-- Please, run 'haskell-updater' to fix ${breakage_type} packages --==//"
    *
    * If you need support, post the output of `emerge --info '=dev-haskell/tls-1.1.5::gentoo'`,
    * the complete build log and the output of `emerge -pqv '=dev-haskell/tls-1.1.5::gentoo'`.
    * The complete build log is located at '/var/tmp/portage/dev-haskell/tls-1.1.5/temp/build.log'.
    * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/tls-1.1.5/temp/environment'.
    * Working directory: '/var/tmp/portage/dev-haskell/tls-1.1.5/work/tls-1.1.5'
    * S: '/var/tmp/portage/dev-haskell/tls-1.1.5/work/tls-1.1.5'



emerge -pqv '=dev-haskell/tls-1.1.5::gentoo'

    [ebuild N ] dev-haskell/tls-1.1.5 USE="compat -doc -hscolour -profile {-test}"


Last edited by guimera on Wed Jan 28, 2015 7:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Wed Jan 28, 2015 12:14 am    Post subject: Reply with quote

It would be neat if you or anyone would like to file stabilization requests on any of the Haskell packages:

http://wiki.gentoo.org/index.php?title=KEYWORDS

It is much more likely to be possible to build it if you try the unstable Haskell packages:
Code:
echo "app-text/pandoc ~$(portageq envvar ARCH)" >> /etc/portage/package.accept_keywords
echo "dev-haskell/* ~$(portageq envvar ARCH)" >> /etc/portage/package.accept_keywords

In the output you posted it does say what to do:
Code:
* //==-- Please, run 'haskell-updater' to fix broken packages --==//

It may be necessary to run haskell-updater multiple times.
Back to top
View user's profile Send private message
guimera
n00b
n00b


Joined: 24 May 2009
Posts: 34

PostPosted: Wed Jan 28, 2015 7:32 pm    Post subject: Reply with quote

Yep! It worked with the unstable Haskell packages. Thank you so much!

PS: I had tried haskell-updater several times but eventually it got stuck and was trying to install the same packages every time (and failing).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum