Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739262 - dev-haskell/adjunctions-4.4 : src/.../Rep.hs: error:
Summary: dev-haskell/adjunctions-4.4 : src/.../Rep.hs: error:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-27 13:38 UTC by Toralf Förster
Modified: 2020-12-14 18:16 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.61 KB, text/plain)
2020-08-27 13:38 UTC, Toralf Förster
Details
dev-haskell:adjunctions-4.4:20200827-105839.log (dev-haskell:adjunctions-4.4:20200827-105839.log,11.76 KB, text/plain)
2020-08-27 13:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,201.95 KB, text/plain)
2020-08-27 13:39 UTC, Toralf Förster
Details
environment (environment,103.89 KB, text/plain)
2020-08-27 13:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.57 KB, application/x-bzip)
2020-08-27 13:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.92 KB, application/x-bzip)
2020-08-27 13:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-08-27 13:38:56 UTC
[ 5 of 11] Compiling Data.Functor.Rep ( src/Data/Functor/Rep.hs, dist/build/Data/Functor/Rep.o )

src/Data/Functor/Rep.hs:369:10: error:
    • Could not deduce (Distributive (TracedT s w))
        arising from the superclasses of an instance declaration
      from the context: Representable w

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200822-061858

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.45.2
  [2]   rust-1.45.2 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Aug 27 10:05:30 AM UTC 2020

emerge -qpvO dev-haskell/adjunctions
[ebuild  N    ] dev-haskell/adjunctions-4.4  USE="-doc -hscolour -profile -test"
Comment 1 Toralf Förster gentoo-dev 2020-08-27 13:38:57 UTC
Created attachment 657104 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-27 13:38:59 UTC
Created attachment 657106 [details]
dev-haskell:adjunctions-4.4:20200827-105839.log
Comment 3 Toralf Förster gentoo-dev 2020-08-27 13:39:01 UTC
Created attachment 657108 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-08-27 13:39:02 UTC
Created attachment 657110 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-08-27 13:39:04 UTC
Created attachment 657112 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-08-27 13:39:05 UTC
Created attachment 657114 [details]
temp.tbz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-05 07:58:04 UTC
"""
src/Data/Functor/Rep.hs:369:10: error:
    • Could not deduce (Distributive (TracedT s w))
        arising from the superclasses of an instance declaration
      from the context: Representable w
"""

Very odd. I have the same versions of dependent packages. Is it reproducible for you?

I suspect some dependency has a use flag flipped and disables these distributive instances. Maybe dev-haskell/contravariant?

Can you post 'emerge --info dev-haskell/contravariant'?
Comment 8 Toralf Förster gentoo-dev 2020-09-05 08:21:20 UTC
well, whilst the 4.4 still fails at that particular image, it builds fine at the current 7 running ones
Comment 9 Toralf Förster gentoo-dev 2020-09-05 09:47:11 UTC
17_1_desktop_gnome-20200822-061858 /var/tmp/tb # emerge --info dev-haskell/contravariant --verbose=n
Portage 3.0.5 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-10.2.0, glibc-2.32, 5.8.7 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.8.7-x86_64-Intel-R-_Xeon-R-_CPU_E5-1650_v3_@_3.50GHz-with-gentoo-2.7
KiB Mem:   131816336 total, 124125656 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Sat, 05 Sep 2020 08:05:31 +0000
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
ccache version 3.7.11 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo
dev-util/ccache:          3.7.11::gentoo
dev-util/cmake:           3.18.1::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.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            10.2.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32::gentoo
Repositories:

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

tinderbox
    location: /mnt/tb/data/portage
    masters: gentoo
    priority: 90

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 99

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fno-diagnostics-color  -Wformat -Werror=format-security"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /var/bind /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.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.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="-O2 -pipe -march=native -fno-diagnostics-color  -Wformat -Werror=format-security"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --verbose-conflicts --nospinner --tree --quiet-build --autounmask-keep-masks=y --complete-graph=y --verbose --color=n --autounmask=n"
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="-O2 -pipe -march=native -fno-diagnostics-color"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox 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="-O2 -pipe -march=native -fno-diagnostics-color"
GENTOO_MIRRORS="https://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
MAKEOPTS="-j1"
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="X a52 aac acl acpi alsa amd64 berkdb blocking-stdio-hack bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds elogind emboss encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu introspection ipmi ipv6 javascript jpeg lcms ldap libglvnd libnotify libsecret libtirpc mad mhash mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sasl sdl seccomp serialbus spell split-usr ssl ssp startup-notification svg tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid 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 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" 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" L10N="az bla el it jbo ko ks ne sr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="dummy" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

dev-haskell/contravariant-1.5.2::gentoo was built with the following:
USE="semigroups statevar tagged -doc -hscolour -profile" ABI_X86="(64)"
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-14 09:29:23 UTC
Looking at  etc.portage.tbz2 it might be an effect of 'dev-haskell/comonad contravariant -distributive'. Will try to reproduce locally and add a depend.
Comment 11 Larry the Git Cow gentoo-dev 2020-12-14 18:16:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7853d2a7d3f87f1ba8df4905db71fe9b31ec85

commit 1a7853d2a7d3f87f1ba8df4905db71fe9b31ec85
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-12-14 18:16:42 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-12-14 18:16:48 +0000

    dev-haskell/comonad: unconditionally enable USEs
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/739262
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-haskell/comonad/comonad-5.0.6.ebuild | 15 ++++++++-------
 dev-haskell/comonad/metadata.xml         | 18 +-----------------
 2 files changed, 9 insertions(+), 24 deletions(-)