Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563998 - net-mail/dovecot-2.2.18 is missing dependency on app-text/libexttextcat
Summary: net-mail/dovecot-2.2.18 is missing dependency on app-text/libexttextcat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-24 20:40 UTC by Laszlo Valko
Modified: 2015-10-30 09:36 UTC (History)
1 user (show)

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


Attachments
dovecot build log (emerge.log.bz2,59.32 KB, application/octet-stream)
2015-10-24 20:42 UTC, Laszlo Valko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo Valko 2015-10-24 20:40:52 UTC
When libexttextcat-2.0.so.0 has been installed on the system, compiling net-mail/dovecot-2.2.18 will automatically produce a binary linked to that shared library, resulting in a hidden dependency. This breaks .tbz2-based installations.

Reproducible: Always

Steps to Reproduce:
1. install app-text/libexttextcat
2. emerge -b net-mail/dovecot-2.2.18
3. unmerge app-text/libexttextcat, or try to install the .tbz2 file on another system
Actual Results:  
dovecot fails to run, while emerge/depmod does not show any package problems.
Similarly, when packages are moved another system in binary format, dependency checking does not show that libexttextcat is missing.

Expected Results:  
Package dependencies should work properly.

Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/x86/13.0, gcc-4.8.4, glibc-2.20-r2, 3.18.9-myhardened i686)
=================================================================
System uname: Linux-3.18.9-myhardened-i686-Intel-R-_Core-TM-_i5-4670_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     8157876 total,    464840 free
KiB Swap:    8388592 total,   8388592 free
Timestamp of repository gentoo: Thu, 22 Oct 2015 02:00:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://172.26.0.34:874/gentoo-portage
    priority: -1000

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 0

myhardened
    location: /var/lib/layman/myhardened
    masters: gentoo
    priority: 1

myfixes
    location: /var/lib/layman/myfixes
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=core2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -mtune=core2 -fomit-frame-pointer"
DISTDIR="/old.distfiles"
FCFLAGS="-O2 -march=i686 -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 xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/old.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"
USE="3dnow 3dnowext X Xaw3d a52 aac aacplus aacs aalib acl acpi alsa amr amrenc amrnb amrwb apache2 audio berkdb bluetooth bluray browserplugin bzip2 bzlib cairo caps cgi clamdtop clang cli conntrack cracklib crypt css ctype curl cxx dc1394 dga dirac directfb dkim dri dts dv dvb dvd egl encode exif faac faad fbcon fdk ffmpeg flac fontconfig fpm ftp gd gdbm ggi gif glamor gles1 gles2 gpm gtk gtk2 h323 hash iconv ieee1394 imap irda java jce joystick jpeg lame ldap ldapsam libass libcaca libsamplerate libsoxr libv4l linsys live lmtp logrotate loop-aes lzma lzo mad maildir maildrop matroska memlimit mhash mime mjpeg mmap mmx mod modplug modules motif mozilla mp3 mpeg mtp musepack mysql mysqli ncurses no-helper nptl nsplugin oav ogg opencl opengl openmp openvg opus osmesa pam pcmcia pcntl pcre perl php png pnm procmail pyzord qt3support quicktime quotas quvi rar razor readline real rtmp rtsp samba schroedinger sdl seccomp session sieve slang smartcard sna sndfile soap sockets socks5 spamassassin speex sse sse2 ssl suexec svg syslog sysvipc taglib tcl tcltk tcpd tga theora tiff tk truetype twolame udev unicode usb uxa v4l v4l2 vaapi vcd vda vdpau vdr video vidix vorbis vpx wavpack webp win32codecs wmf x264 x265 x86 xa xanim xattr xcb xine xinerama xml xml2 xmlreader xmlwriter xpm xsl xv xvid xvmc zip zlib zvbi" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http reqtimeout rewrite setenvif speling status substitute unique_id userdir usertrack vhost_alias cgi" APACHE2_MPMS="worker" 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" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US hu" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="mustek_usb2" USERLAND="GNU" VIDEO_CARDS="intel fbdev radeonhd radeon nouveau nv vesa" 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"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Laszlo Valko 2015-10-24 20:42:51 UTC
Created attachment 415388 [details]
dovecot build log
Comment 2 Laszlo Valko 2015-10-24 20:44:37 UTC
The produced binary when installed on another system from .tbz2:
# ldd /usr/lib/dovecot/lib20_fts_plugin.so
        linux-gate.so.1 (0xb7727000)
        libexttextcat-2.0.so.0 => not found
        libicui18n.so.55 => /usr/lib/libicui18n.so.55 (0xb7474000)
        libicuuc.so.55 => /usr/lib/libicuuc.so.55 (0xb72ec000)
        libicudata.so.55 => /usr/lib/libicudata.so.55 (0xb5a34000)
        libc.so.6 => /lib/libc.so.6 (0xb5897000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/libstdc++.so.6 (0xb57ae000)
        libm.so.6 => /lib/libm.so.6 (0xb5768000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/libgcc_s.so.1 (0xb574d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb5733000)
        libdl.so.2 => /lib/libdl.so.2 (0xb572d000)
        /lib/ld-linux.so.2 (0xb7728000)
Comment 3 Eray Aslan gentoo-dev 2015-10-30 09:36:12 UTC
Fixed in net-mail/dovecot-2.2.19-r1.  Thanks for the report.