Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Deep update fails on rebuilding dev-haskell/mtl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
dartleader
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2019
Posts: 118

PostPosted: Wed Nov 04, 2020 2:41 pm    Post subject: [SOLVED] Deep update fails on rebuilding dev-haskell/mtl Reply with quote

SOLVED WITH ASSISTANCE FROM IRC #gentoo
Solution was to run sudo emerge -v1 dev-haskell/mtl::gentoo to update mtl using the gentoo repo package.


Hello everyone,

I am trying to deep update my hardened Gentoo installation.

emerge --deep --update @world fails while updating dev-haskell/mtl-2.2.2

Output of emerge --info mtl:

Code:

Portage 3.0.8 (python 3.7.8-final-0, default/linux/amd64/17.1/hardened, gcc-9.3.0, glibc-2.32-r2, 5.4.48-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.48-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.7
KiB Mem:    16343852 total,   3976464 free
KiB Swap:   16777212 total,  16776700 free
Timestamp of repository gentoo: Wed, 04 Nov 2020 14:00:01 +0000
Head commit of repository gentoo: 88afa5e00c0131d53f7e63098a37c86a9ce861b8
Head commit of repository steam-overlay: d7c5c8993a92a0c0aa7e3ecc2b0adfd28b11c6f2

sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="rsync://gentoo.gossamerhost.com/gentoo-distfiles/ rsync://mirrors.tera-byte.com/gentoo https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 bzip2 crypt hardened iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre pie readline seccomp split-usr ssl ssp unicode xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

dev-haskell/mtl-2.2.2::haskell was built with the following:
USE="-doc -hoogle -hscolour -profile" ABI_X86="(64)"


Output of emerge -pqv mtl:
Code:

[ebuild   R   ] dev-haskell/mtl-2.2.2  USE="-doc -hoogle -hscolour -profile"


This is the content of /var/tmp/portage/dev-haskell/mtl-2.2.2/temp/build.log:

Code:
Package:    dev-haskell/mtl-2.2.2
Repository: haskell
Maintainer: haskell@gentoo.org
USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mtl-2.2.2.tar.gz to /var/tmp/portage/dev-haskell/mtl-2.2.2/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/mtl-2.2.2/work
>>> Preparing source in /var/tmp/portage/dev-haskell/mtl-2.2.2/work/mtl-2.2.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/mtl-2.2.2/work/mtl-2.2.2 ...
Using cabal-3.0.1.0.
Prepending /usr/lib64/ghc-8.8.4 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-3.0.1.0 --make /var/tmp/portage/dev-haskell/mtl-2.2.2/work/mtl-2.2.2/Setup.hs -j9 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/mtl-2.2.2/work/mtl-2.2.2/Setup.hs, /var/tmp/portage/dev-haskell/mtl-2.2.2/work/mtl-2.2.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=mtl-2.2.2/ghc-8.8.4 --datadir=/usr/share/ --datasubdir=mtl-2.2.2/ghc-8.8.4 --ghc-options=-j9 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-march=native --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/mtl-2.2.2 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping
Using Parsec parser
Configuring mtl-2.2.2...
Dependency base <5: using base-4.13.0.0
Dependency transformers >=0.4 && <0.6: using transformers-0.5.6.2
Source component graph: component lib
Configured component graph:
    component mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf
        include base-4.13.0.0
        include transformers-0.5.6.2
Linked component graph:
    unit mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf
        include base-4.13.0.0
        include transformers-0.5.6.2
        Control.Monad.Cont=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Cont,Control.Monad.Cont.Class=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Cont.Class,Control.Monad.Error=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Error,Control.Monad.Error.Class=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Error.Class,Control.Monad.Except=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Except,Control.Monad.Identity=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Identity,Control.Monad.List=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.List,Control.Monad.RWS=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.RWS,Control.Monad.RWS.Class=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.RWS.Class,Control.Monad.RWS.Lazy=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.RWS.Lazy,Control.Monad.RWS.Strict=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.RWS.Strict,Control.Monad.Reader=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Reader,Control.Monad.Reader.Class=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Reader.Class,Control.Monad.State=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.State,Control.Monad.State.Class=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.State.Class,Control.Monad.State.Lazy=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.State.Lazy,Control.Monad.State.Strict=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.State.Strict,Control.Monad.Trans=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Trans,Control.Monad.Writer=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Writer,Control.Monad.Writer.Class=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Writer.Class,Control.Monad.Writer.Lazy=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Writer.Lazy,Control.Monad.Writer.Strict=mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf:Control.Monad.Writer.Strict
Ready component graph:
    definite mtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf
        depends base-4.13.0.0
        depends transformers-0.5.6.2
Using Cabal-3.0.1.0 compiled by ghc-8.8
Using compiler: ghc-8.8.4
Using install prefix: /usr
Executables installed in: /usr/bin
Libraries installed in: /usr/lib64/mtl-2.2.2/ghc-8.8.4
Dynamic Libraries installed in: /usr/lib64/x86_64-linux-ghc-8.8.4
Private executables installed in:
/usr/libexec/x86_64-linux-ghc-8.8.4/mtl-2.2.2
Data files installed in: /usr/share/mtl-2.2.2/ghc-8.8.4
Documentation installed in: /usr/share/doc/mtl-2.2.2
Configuration files installed in: /etc
Using alex version 3.2.5 found on system at: /usr/bin/alex
Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 9.3.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc
Using ghc version 8.8.4 given by user at: /usr/bin/ghc
Using ghc-pkg version 8.8.4 given by user at: /usr/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.23.0 found on system at: /usr/bin/haddock-ghc-8.8.4
Using happy version 1.19.12 found on system at: /usr/bin/happy
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.68.7 found on system at: /usr/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at: /usr/bin/x86_64-pc-linux-gnu-ld
Using pkg-config version 1.6.3 found on system at: /usr/bin/pkg-config
Using runghc version 8.8.4 found on system at: /usr/bin/runghc
Using strip version 2.33 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/mtl-2.2.2/work/mtl-2.2.2 ...
./setup build
Preprocessing library for mtl-2.2.2..
Building library for mtl-2.2.2..

on the commandline: warning:
    -Wnoncanonical-monadfail-instances is deprecated: fail is no longer a method of Monad
[ 1 of 22] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o )
[ 2 of 22] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o )
[ 3 of 22] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o )
[ 4 of 22] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o )
[ 5 of 22] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o )
[ 6 of 22] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o )
[ 7 of 22] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o )
[ 8 of 22] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o )
[ 9 of 22] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o )
[10 of 22] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o )
[11 of 22] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o )
[12 of 22] Compiling Control.Monad.Except ( Control/Monad/Except.hs, dist/build/Control/Monad/Except.o )
[13 of 22] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o )
[14 of 22] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o )
[15 of 22] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o )
[16 of 22] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o )
[17 of 22] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o )
[18 of 22] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o )
[19 of 22] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o )
[20 of 22] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o )
[21 of 22] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o )
[22 of 22] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o )
>>> Source compiled.
>>> Test phase [not enabled]: dev-haskell/mtl-2.2.2

>>> Install dev-haskell/mtl-2.2.2 into /var/tmp/portage/dev-haskell/mtl-2.2.2/image
./setup copy --destdir=/var/tmp/portage/dev-haskell/mtl-2.2.2/image
Installing library in /var/tmp/portage/dev-haskell/mtl-2.2.2/image/usr/lib64/mtl-2.2.2/ghc-8.8.4
Reading package info from stdin ... done.
mtl-2.2.2: Warning: library-dirs: /usr/lib64/mtl-2.2.2/ghc-8.8.4 doesn't exist or isn't a directory
mtl-2.2.2: Warning: haddock-interfaces: /usr/share/doc/mtl-2.2.2/html/mtl.haddock doesn't exist or isn't a file
mtl-2.2.2: Warning: haddock-html: /usr/share/doc/mtl-2.2.2/html doesn't exist or isn't a directory
mtl-2.2.2: dependency "base-4.13.0.0" doesn't exist (ignoring)
mtl-2.2.2: dependency "transformers-0.5.6.2" doesn't exist (ignoring)
mtl-2.2.2: import-dirs: /usr/lib64/mtl-2.2.2/ghc-8.8.4 doesn't exist or isn't a directory (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Cont.hi","Control/Monad/Cont.p_hi","Control/Monad/Cont.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Cont/Class.hi","Control/Monad/Cont/Class.p_hi","Control/Monad/Cont/Class.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Error.hi","Control/Monad/Error.p_hi","Control/Monad/Error.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Error/Class.hi","Control/Monad/Error/Class.p_hi","Control/Monad/Error/Class.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Except.hi","Control/Monad/Except.p_hi","Control/Monad/Except.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Identity.hi","Control/Monad/Identity.p_hi","Control/Monad/Identity.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/List.hi","Control/Monad/List.p_hi","Control/Monad/List.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/RWS.hi","Control/Monad/RWS.p_hi","Control/Monad/RWS.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/RWS/Class.hi","Control/Monad/RWS/Class.p_hi","Control/Monad/RWS/Class.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/RWS/Lazy.hi","Control/Monad/RWS/Lazy.p_hi","Control/Monad/RWS/Lazy.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/RWS/Strict.hi","Control/Monad/RWS/Strict.p_hi","Control/Monad/RWS/Strict.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Reader.hi","Control/Monad/Reader.p_hi","Control/Monad/Reader.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Reader/Class.hi","Control/Monad/Reader/Class.p_hi","Control/Monad/Reader/Class.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/State.hi","Control/Monad/State.p_hi","Control/Monad/State.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/State/Class.hi","Control/Monad/State/Class.p_hi","Control/Monad/State/Class.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/State/Lazy.hi","Control/Monad/State/Lazy.p_hi","Control/Monad/State/Lazy.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/State/Strict.hi","Control/Monad/State/Strict.p_hi","Control/Monad/State/Strict.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Trans.hi","Control/Monad/Trans.p_hi","Control/Monad/Trans.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Writer.hi","Control/Monad/Writer.p_hi","Control/Monad/Writer.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Writer/Class.hi","Control/Monad/Writer/Class.p_hi","Control/Monad/Writer/Class.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Writer/Lazy.hi","Control/Monad/Writer/Lazy.p_hi","Control/Monad/Writer/Lazy.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["Control/Monad/Writer/Strict.hi","Control/Monad/Writer/Strict.p_hi","Control/Monad/Writer/Strict.dyn_hi"] (ignoring)
mtl-2.2.2: cannot find any of ["libHSmtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf.a","libHSmtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf_p.a","libHSmtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf-ghc8.8.4.so","libHSmtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf-ghc8.8.4.dylib","HSmtl-2.2.2-AIZhZQokQ7mmfVqbD3zxf-ghc8.8.4.dll"] on library path (ignoring)
Cabal package 'mtl-2.2.2' is shipped with 'PM:8.8.4' ('8.8.4').
Ebuild author forgot an entry in CABAL_CORE_LIB_GHC_PV='PM:8.4.2_rc1 PM:8.4.2 PM:8.4.3 PM:8.4.4 PM:8.6.1 PM:8.6.2 PM:8.6.3 PM:8.6.4 PM:8.6.5 PM:8.8.1 PM:8.8.2 PM:8.8.3 PM:8.10.1_alpha1 PM:8.10.1_alpha2 PM:8.10.1 PM:9999'.
Found in /usr/lib64/ghc-8.8.4/package.conf.d.initial.
ERROR: dev-haskell/mtl-2.2.2::haskell failed (install phase):
  (no error message)

Call stack:
    ebuild.sh, line  125:  Called src_install
  environment, line 1907:  Called haskell-cabal_src_install
  environment, line 1508:  Called cabal_src_install
  environment, line  698:  Called cabal-pkg
  environment, line  566:  Called ghc-install-pkg '/var/tmp/portage/dev-haskell/mtl-2.2.2/temp/mtl-2.2.2.conf'
  environment, line 1349:  Called check-for-collisions '/var/tmp/portage/dev-haskell/mtl-2.2.2/temp/mtl-2.2.2.conf.d'
  environment, line  719:  Called die
The specific snippet of code:
              die;

If you need support, post the output of `emerge --info '=dev-haskell/mtl-2.2.2::haskell'`,
the complete build log and the output of `emerge -pqv '=dev-haskell/mtl-2.2.2::haskell'`.
The complete build log is located at '/var/tmp/portage/dev-haskell/mtl-2.2.2/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/dev-haskell/mtl-2.2.2/temp/environment'.
Working directory: '/var/tmp/portage/dev-haskell/mtl-2.2.2/work/mtl-2.2.2'
S: '/var/tmp/portage/dev-haskell/mtl-2.2.2/work/mtl-2.2.2'


Code:
Ebuild author forgot an entry in CABAL_CORE_LIB_GHC_PV='PM:8.4.2_rc1 PM:8.4.2 PM:8.4.3 PM:8.4.4 PM:8.6.1 PM:8.6.2 PM:8.6.3 PM:8.6.4 PM:8.6.5 PM:8.8.1 PM:8.8.2 PM:8.8.3 PM:8.10.1_alpha1 PM:8.10.1_alpha2 PM:8.10.1 PM:9999'.
Looks significant, but I don't know how to address this.

Let me know what else would be useful; thanks for your help!
Back to top
View user's profile Send private message
maxim.251
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2012
Posts: 127

PostPosted: Thu Oct 20, 2022 11:02 am    Post subject: Reply with quote

I have now this same problem.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Thu Oct 20, 2022 12:09 pm    Post subject: Reply with quote

Please try the solution that dartleader wrote at the very top of the first post of the thread.
Back to top
View user's profile Send private message
maxim.251
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2012
Posts: 127

PostPosted: Fri Oct 21, 2022 9:04 am    Post subject: Reply with quote

Did not help, still I have this same error.
using code
Code:
emerge -v1 dev-haskell/mtl::gentoo

Code:

WARNING: settings file doesn't exist "/var/tmp/portage/dev-haskell/mtl-2.2.2/temp/settings"
cannot know target platform so guessing target == host (native compiler)


It must be something else. I did already rebuild hole system but without few packages from /dev/haskell .

Code:



(dev-haskell/mtl-2.2.2:0/2.2.2::gentoo, ebuild scheduled for merge)
 *  (dev-haskell/text-1.2.4.1:0/1.2.4.1::gentoo, ebuild scheduled for merge)
 *  (dev-haskell/cabal-3.4.1.0:0/3.4.1.0::gentoo, ebuild scheduled for merge)
 *  (dev-haskell/transformers-0.5.6.2:0/0.5.6.2::gentoo, ebuild scheduled for merge)


That's are all packages what Do not want to compile trowing this same error.
Back to top
View user's profile Send private message
maxim.251
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2012
Posts: 127

PostPosted: Fri Oct 21, 2022 11:02 am    Post subject: Reply with quote

I did upgrade ghc responsible for dev-haskell, and I needed upgrade to
dev-lang/ghc-9.0.2

which puls also other packages in the tree, But still I have issue with packages
Code:

dev-haskell/mtl
dev-haskell/text
dev-haskell/cabal
dev-haskell/cabal


in accept keywords, i needed also add this packages.

dev-haskell/parsec ~amd64
dev-haskell/alex ~amd64
dev-haskell/base-orphans ~amd64
dev-lang/ghc ~amd64


And even did try new ghc, still this same error. I am scared that
Code:

dev-haskell/mtl
dev-haskell/text
dev-haskell/cabal

can be broken.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Fri Oct 21, 2022 2:21 pm    Post subject: Reply with quote

I don't see that native compiler warning in dartleader's post, so I don't think you have the same problem. However, as you have not shown any error messages, I cannot confirm that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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