./setup build Preprocessing library for connection-0.3.1.. Building library for connection-0.3.1.. [1 of 2] Compiling Network.Connection.Types ( Network/Connection/Types.hs, dist/build/Network/Connection/Types.o, dist/build/Network/Connection/Types.dyn_o ) [2 of 2] Compiling Network.Connection ( Network/Connection.hs, dist/build/Network/Connection.o, dist/build/Network/Connection.dyn_o ) Network/Connection.hs:122:43: error: • Couldn't match expected type crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore with actual type Data.X509.CertificateStore.CertificateStore ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-20231016-181026 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.3 Python 3.11.6 Available Rust versions: [1] rust-1.73.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.3 linux/amd64 HEAD of ::gentoo commit d55c45f7283b1adcf8a4bf76aa05a3fd21aa12aa Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Oct 23 14:16:58 2023 +0000 2023-10-23 14:16:58 UTC emerge -qpvO dev-haskell/connection [ebuild N ] dev-haskell/connection-0.3.1-r1 USE="doc hscolour -profile"
Created attachment 873318 [details] emerge-info.txt
Created attachment 873319 [details] dev-haskell:connection-0.3.1:20231023-172422.log
Created attachment 873320 [details] emerge-history.txt.xz
Created attachment 873321 [details] environment
Created attachment 873322 [details] etc.clang.tar.xz
Created attachment 873323 [details] etc.portage.tar.xz
Created attachment 873324 [details] qlist-info.txt.xz
Created attachment 873325 [details] temp.tar.xz
Same problem here emerge --info Portage 3.0.54 (python 3.11.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.38-r6, 6.5.8-gentoo-r1 x86_64) ================================================================= System uname: Linux-6.5.8-gentoo-r1-x86_64-AMD_Ryzen_9_5900HS_with_Radeon_Graphics-with-glibc2.38 KiB Mem: 32264848 total, 5691608 free KiB Swap: 34814972 total, 34814972 free Timestamp of repository gentoo: Sat, 28 Oct 2023 18:30:01 +0000 Head commit of repository gentoo: 76bc75a29a9830113d1417bca87e108d54384779 Timestamp of repository booboo: Thu, 26 Oct 2023 22:03:31 +0000 Head commit of repository booboo: 7030859dbf0ac883290d70f1085db5faf55a3be9 Timestamp of repository electron: Thu, 26 Oct 2023 22:03:54 +0000 Head commit of repository electron: 42280cdd569e0649512cec12ce9feaf3f909b5ef Head commit of repository jgenco: 116bff6e0f0eb9ce878f1729ff2a666ee871646a Timestamp of repository pentoo: Thu, 26 Oct 2023 22:03:38 +0000 Head commit of repository pentoo: 857ef3fc9080a92c6b984e7a79023e6352611c2f Timestamp of repository pf4public: Sat, 28 Oct 2023 18:01:50 +0000 Head commit of repository pf4public: 9df5ea357b2f929050093f517790903bae3cc365 Timestamp of repository steam-overlay: Thu, 26 Oct 2023 22:03:40 +0000 Head commit of repository steam-overlay: 72c4dc8b7510033045f713b891758713c3c11801 sh bash 5.2_p15-r7 ld GNU ld (Gentoo 2.41 p2) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r7::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo dev-lang/rust: 1.73.0::gentoo dev-util/cmake: 3.27.7::gentoo dev-util/meson: 1.2.3::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/openrc: 0.51::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.41-r2::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 14.0.6-r4::gentoo, 17.0.3::gentoo sys-devel/gcc: 12.3.1_p20230825::gentoo, 13.2.1_p20231014::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 17.0.3::gentoo sys-devel/llvm: 14.0.6-r4::gentoo, 16.0.6::gentoo, 17.0.3::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.5-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r6::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 booboo location: /var/db/repos/booboo sync-type: git sync-uri: https://github.com/gentoo-mirror/booboo.git masters: gentoo volatile: False electron location: /var/db/repos/electron sync-type: git sync-uri: https://github.com/gentoo-mirror/electron.git masters: gentoo volatile: False jgenco location: /var/db/repos/jgenco sync-type: git sync-uri: https://github.com/jgenco/jgenco-overlay masters: gentoo volatile: False localrepo location: /var/db/repos/localrepo masters: gentoo volatile: False pentoo location: /var/db/repos/pentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/pentoo.git masters: gentoo volatile: False pf4public location: /var/db/repos/pf4public sync-type: git sync-uri: https://github.com/gentoo-mirror/pf4public.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=znver3 -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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=znver3 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -march=znver3 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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 -march=znver3 -pipe" GENTOO_MIRRORS="https://gentoo.mirror.garr.it/ https://mirror.init7.net/gentoo/" LANG="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="it en it_IT en_US" MAKEOPTS="--jobs 14 --load-average 15" 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" SHELL="/bin/bash" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative djvu dri dri3 dts dvd dvdr elogind encode exif ffmpeg fftw flac fortran gdbm gif gles2 gpm gtk gui hidpi iconv icu id3tag ipv6 javafx jpeg kde kdesu kwallet lcms libinput libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ntfs objc ogg opengl openmp opus pam pango pcre pcsc-lite pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline s3tc samba screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust theora tiff touchpad truetype udev udisks unicode upower usb uxa v4l vaapi vdpau vorbis vpx vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" ALSA_CARDS="snd_hda_intel" 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" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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="joystick wacom synaptics evdev libinput" KERNEL="linux" L10N="it en" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="*" VIDEO_CARDS="amdgpu radeonsi nvidia vesa v4l v4l2 modesetting fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 874498 [details, diff] Patch updating connection.cabal I found this patch that fixes the issue for me, it updates the dependencies to use crypton. See: https://github.com/vincenthz/hs-connection/pull/55
(In reply to Louis Leseur from comment #10) > Created attachment 874498 [details, diff] [details, diff] > Patch updating connection.cabal > > I found this patch that fixes the issue for me, it updates the dependencies > to use crypton. > > See: https://github.com/vincenthz/hs-connection/pull/55 Thanks! I had the same issue reported here, with the patch applied via user patches the package compiles successfully and haven't discovered any issues.
> See: https://github.com/vincenthz/hs-connection/pull/55 I was seeing the same issue and this worked for me too, thanks!
dev-haskell/connection is only there because the stable (ancient) versions of some packages in depend on it. Nothing in ~arch depends on it and it will eventually be dropped. It looks like dev-haskell/tls-1.8.0 is what linked against the crypton-x509 package, then dev-haskell/connection tried to link against dev-haskell/tls and the old dev-haskell/x509 package, causing the type mismatch. The revision bump for dev-haskell/connection has an upper bound on dev-haskell/tls, which I think would avoid this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ba7cfc0902d3f0e952393aa6f8a2a864695116 commit 12ba7cfc0902d3f0e952393aa6f8a2a864695116 Author: hololeap <hololeap@protonmail.com> AuthorDate: 2024-01-19 21:23:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-19 23:38:06 +0000 dev-haskell/connection: drop 0.3.1 Closes: https://bugs.gentoo.org/916185 Signed-off-by: hololeap <hololeap@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/34908 Signed-off-by: Sam James <sam@gentoo.org> dev-haskell/connection/connection-0.3.1.ebuild | 33 -------------------------- 1 file changed, 33 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7d3064ffdebfeca437282f51141784c919348f5 commit b7d3064ffdebfeca437282f51141784c919348f5 Author: hololeap <hololeap@protonmail.com> AuthorDate: 2024-01-19 21:23:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-19 23:38:06 +0000 dev-haskell/connection: stabilize 0.3.1-r1 for amd64 Bug: https://bugs.gentoo.org/916185 Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> dev-haskell/connection/connection-0.3.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)