Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888083 - net-mail/dovecot-2.3.20 (and now also 2.3.19.1-r1): depends on dev-libs/openssl:0/1.1
Summary: net-mail/dovecot-2.3.20 (and now also 2.3.19.1-r1): depends on dev-libs/opens...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2022-12-23 13:57 UTC by Klemen Mihevc
Modified: 2022-12-26 09:35 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klemen Mihevc 2022-12-23 13:57:31 UTC
Since today dovecot depends on openssl 1.1... any special reason for it? Im using it for months with openssl 3.0...



Reproducible: Always

Actual Results:  
Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   dev-libs/openssl:0/1.1 pulled in by:
 *     net-mail/dovecot-2.3.19.1-r1
 *
 * Have you forgotten to do a complete update prior to depclean? The
 * most comprehensive command for this purpose is as follows:
 *
 *   emerge --update --newuse --deep --with-bdeps=y @world
 *
 * Note that the --with-bdeps=y option is not required in many
 * situations. Refer to the emerge manual page (run `man emerge`)
 * for more information about --with-bdeps.
 *
 * Also, note that it may be necessary to manually uninstall
 * packages that no longer exist in the repository, since it may not
 * be possible to satisfy their dependencies.


mih ~ # emerge --info
Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.36-r6, 6.1.1-gentoo x86_64)
=================================================================
System uname: Linux-6.1.1-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5670_@_2.93GHz-with-glibc2.36
KiB Mem:    12263420 total,   5740440 free
KiB Swap:   16777684 total,  16777684 free
Timestamp of repository gentoo: Fri, 23 Dec 2022 13:47:09 +0000
Head commit of repository gentoo: 9bb628a4aebceb4b82943138594541a9ee9fa339

sh bash 5.2_p15
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.2_p15::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             12.2.1_p20221210::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true
    sync-git-clone-extra-opts: -b stable -c remote.origin.prune=true -c gc.pruneExpire=now -c gc.worktreePruneExpire=now -c gc.reflogExpire=now -c gc.reflogExpireUnreachable=now -c gc.rerereresolved=0 -c gc.rerereunresolved=0

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -pipe -O2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -pipe -O2 -fomit-frame-pointer"
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 XDG_STATE_HOME"
FCFLAGS="-march=native -pipe -O2 -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 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 -pipe -O2 -fomit-frame-pointer"
GENTOO_MIRRORS="https://gentoo.mirror.garr.it/ https://mirror.init7.net/gentoo/ https://mirror.netcologne.de/gentoo/ https://mirror.leaseweb.com/gentoo/"
LANG="sl_SI.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
LEX="flex"
LINGUAS="en sl"
MAKEOPTS="-j12 -l12"
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="acl acpi amd64 apache2 apng berkdb bittorrent btrfs bzip2 caps cgi change-password cli client corefonts crypt curl dhcp dlz doh dovecot-sasl dri eap exif expat experimental extraengine fontconfig fortran ftp gd gdbm glib gmp gssapi gzip hardened http2 iconv icu idn intl iptables ipv6 jpeg kerberos lcms libglvnd libtirpc lm-sensors lz4 lzma lzo managesieve mp3 multilib mysql mysqli ncurses nls nping nptl openmp openssl pam pci pcntl pcre pcre16 pcre32 pdo perl png posix python rar readline rpc rtmp samba seccomp server session sieve slang smtp soap sockets socks5 spell spf split-usr sqlite ssh ssl suexec test-rust threads tiff tracepath truetype udev unicode urandom usb vhosts webui x264 x265 xattr xml xmlreader xmlrpc xmlwriter xslt xvid xz zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" 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 authn_dbd authn_socache authz_dbd cache_socache dbd http2 proxy proxy_html proxy_http proxy_http2 proxy_wstunnel xml2enc" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext pclmul popcnt sse sse2 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en sl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="geoip"
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-23 19:52:12 UTC
Yeah, I'm confused as well. There wasn't any explanation in the commit message either or a tagged bug.
Comment 2 Eray Aslan gentoo-dev 2022-12-26 08:06:44 UTC
I do not run dovecot against openssl-3 and INSTALL docs or configure.ac do not look for openssl-1.1 but

- tests fail against openssl-3
- upstream says openssl-3 support will be provided in dovecot-2.4: https://dovecot.markmail.org/message/i6eezuex6cmzkuop

Are you sure that you are not running into failures with openssl-3? That commit can be reverted but I am not sure if that is the correct course of action.
Comment 3 Klemen Mihevc 2022-12-26 08:18:37 UTC
(In reply to Eray Aslan from comment #2)
> I do not run dovecot against openssl-3 and INSTALL docs or configure.ac do
> not look for openssl-1.1 but
> 
> - tests fail against openssl-3
> - upstream says openssl-3 support will be provided in dovecot-2.4:
> https://dovecot.markmail.org/message/i6eezuex6cmzkuop
> 
> Are you sure that you are not running into failures with openssl-3? That
> commit can be reverted but I am not sure if that is the correct course of
> action.

Ill be honest im not using dovecot much, its for my home server only and nothing critical... it compiles fine and im using it as imaps for (mostly) my webmail client and together with postfix for dovecot-sasl, for what im using it it works, if it works in all conditions, i dont know.
Comment 4 Klemen Mihevc 2022-12-26 08:20:05 UTC
Is there any info when they intend to release 2.4? I mean, i can edit my local ebuilds until then, but probably im not alone...
Comment 5 Larry the Git Cow gentoo-dev 2022-12-26 09:32:52 UTC
The bug has been referenced in the following commit(s):

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

commit a4b8ad829b18e44c3ed18882804b56c9b38e58f1
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2022-12-26 09:32:10 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2022-12-26 09:32:10 +0000

    net-mail/dovecot: add openssl-3 support
    
    Bug: https://bugs.gentoo.org/888083
    Signed-off-by: Eray Aslan <eras@gentoo.org>

 net-mail/dovecot/dovecot-2.3.20-r1.ebuild      | 299 +++++++++++++++++++++++++
 net-mail/dovecot/files/dovecot-openssl-3.patch |  45 ++++
 2 files changed, 344 insertions(+)
Comment 6 Eray Aslan gentoo-dev 2022-12-26 09:35:22 UTC
Added patch from debian for openssl-3. The patch looks innocent enough and tests pass. But I cannot really test. Let me know if you encounter any problems. Closing