Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592360 - net-mail/mailsync-5.2.1 : removal (was: configure: error: a working c-client installation is required for building mailsync)
Summary: net-mail/mailsync-5.2.1 : removal (was: configure: error: a working c-client ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-10-16
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PMASKED
Depends on:
Reported: 2016-08-29 07:08 UTC by Toralf Förster
Modified: 2019-11-10 17:05 UTC (History)
3 users (show)

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

config.log (config.log,36.20 KB, text/plain)
2016-08-29 07:08 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,317.22 KB, text/plain)
2016-08-29 07:08 UTC, Toralf Förster
environment (environment,10.97 KB, text/plain)
2016-08-29 07:08 UTC, Toralf Förster
net-mail:mailsync-5.2.1:20160828-195749.log (net-mail:mailsync-5.2.1:20160828-195749.log,4.97 KB, text/plain)
2016-08-29 07:08 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-08-29 07:08:07 UTC
checking if we've seen pam somewhere around... yes
checking if adding pam helps... no
configure: error: a working c-client installation is required for building mailsync

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-mail/mailsync-5.2.1/work/mailsync-5.2.1/config.log

$ cat emerge-info.txt

  This is an unstable amd64 chroot image (named amd64-hardened-unstable_20160821-190619) at a hardened host acting as a tinderbox.

  USE flags defined in ...

  ... make.conf:
USE="  pax_kernel xtpax -cdinstall -oci8 -bindist alsa -btrfs bugzilla cdda cddb compat corefonts cups custom-optimization exif ffmpeg gstreamer gtkstyle gui hdf5 imlib inifile ipv6 ithreads libvirtd midi mod mpeg mpi multimedia multitarget nss opencv -pam pdo php plotutils png postproc pulseaudio qml qt5 server smartcard -sockets -system-libs thinkpad tk tools traceroute truetype v4l v4l2 -vaapi vala vdpau video vpx webkit widgets wma xkb xmp xvmc"

  ... /etc/portage/package.use/*:
  mail-mta/ssmtp    ssl mta
  net-misc/wget     ssl
  app-editors/emacs   -dbus -svg -ssl -gtk -gtk3
  dev-libs/boehm-gc   threads
  dev-libs/libpcre    pcre16
  dev-util/cmake      -qt4 -qt5
  gnome-base/librsvg  -tools
  media-libs/mesa     -vaapi
  net-misc/iputils -caps -filecaps

  unmasked packages in /etc/portage/package.unmask/*:


gcc-config -l:
 [1] x86_64-pc-linux-gnu-4.9.3
 [2] x86_64-pc-linux-gnu-4.9.3-hardenednopie
 [3] x86_64-pc-linux-gnu-4.9.3-hardenednopiessp
 [4] x86_64-pc-linux-gnu-4.9.3-hardenednossp
 [5] x86_64-pc-linux-gnu-4.9.3-vanilla
 [6] x86_64-pc-linux-gnu-5.4.0 *
 [7] x86_64-pc-linux-gnu-5.4.0-hardenednopie
 [8] x86_64-pc-linux-gnu-5.4.0-hardenednopiessp
 [9] x86_64-pc-linux-gnu-5.4.0-hardenednossp
 [10] x86_64-pc-linux-gnu-5.4.0-vanilla

Available Python interpreters, in order of preference:
  [1]   python2.7
  [2]   python3.4
  [3]   python3.5 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby20 (with Rubygems) *
  [2]   ruby21 (with Rubygems)

Portage 2.3.0 (python 2.7.12-final-0, hardened/linux/amd64, gcc-5.4.0, glibc-2.23-r2, 4.7.2-hardened x86_64)
                         System Settings
System uname: Linux-4.7.2-hardened-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.2
KiB Mem:    65285360 total,   1890928 free
KiB Swap:   67108860 total,  67093992 free
Timestamp of repository gentoo: Sun, 28 Aug 2016 19:05:03 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p46::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.6.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.21.4::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: 1

    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /etc/omega.conf /usr/share/config /usr/share/easy-rsa /var/yp/Makefile"
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"
EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync:// rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="acl alsa amd64 berkdb bugzilla bzip2 cdda cddb cli compat corefonts cracklib crypt cups custom-optimization cxx dri exif ffmpeg gdbm gstreamer gtkstyle gui hardened hdf5 iconv imlib inifile ipv6 ithreads justify libvirtd midi mmx mmxext mod modules mpeg mpi multilib multimedia multitarget ncurses nls nptl nss opencv openmp pax_kernel pcre pdo php pie plotutils png postproc pulseaudio qml qt5 readline seccomp server session smartcard sse sse2 ssl ssp tcpd thinkpad tk tools traceroute truetype unicode urandom v4l v4l2 vala vdpau video vpx webkit widgets wma xattr xkb xmp xtpax xvmc zlib" ABI_X86="64" 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="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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="keyboard mouse evdev" KERNEL="linux" L10N="el es-AR he it kk ml nb son xh" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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"
Comment 1 Toralf Förster gentoo-dev 2016-08-29 07:08:09 UTC
Created attachment 444358 [details]
Comment 2 Toralf Förster gentoo-dev 2016-08-29 07:08:12 UTC
Created attachment 444360 [details]
Comment 3 Toralf Förster gentoo-dev 2016-08-29 07:08:15 UTC
Created attachment 444362 [details]
Comment 4 Toralf Förster gentoo-dev 2016-08-29 07:08:18 UTC
Created attachment 444364 [details]
Comment 5 Larry the Git Cow gentoo-dev 2019-09-17 05:45:40 UTC
The bug has been referenced in the following commit(s):

commit 1d13120862b1c8d705adc86a914073a2f78ba84a
Author:     Michał Górny <>
AuthorDate: 2019-09-16 19:43:27 +0000
Commit:     Michał Górny <>
CommitDate: 2019-09-17 05:45:30 +0000

    package.mask: Last rite net-mail/mailsync
    Signed-off-by: Michał Górny <>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 6 Tim Boudreau 2019-10-10 02:44:10 UTC
I have been using mailsync since 1999.  There is, no my knowledge, no other software on the planet that does what it does over as broad a range of protocols.  The fact that it has seen no commits in a long time does not necessarily mean it is abandoned, and may simply be evidence of its stability (what was it, 30 years between releases of gnu time?).

The build failure attached above looks like something is wrong with one of mailsync's dependencies - the failure occurs when the build attempts to compile a test binary against that dependency before it has ever touched its own code.  Possibly the ebuild could be improved to avoid that condition, though the report doesn't contain enough info to tell what the problem actually is.

It builds fine for me, for what that's worth.

Is there an alternative to removing it from portage?  I do maintain a portage overlay, and though I'm hardly a portage expert, I'd be willing to volunteer to maintain this ebuild if that's what it takes.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-16 08:13:10 UTC
What it takes is for someone to take initiative, become its (proxied) maintainer and bump it to EAPI 7.  Trying to reproduce this and fix it would be a nice thing too (i.e. is it USE flags on c-client?).
Comment 8 Tomáš Pospíšek 2019-11-02 16:16:04 UTC
Tim Boudreau wrote:

> I have been using mailsync since 1999.

Woah!!! Cool!!!

Michał Górny:

> Trying to reproduce this and fix it would be a nice thing too (i.e. is it USE flags on c-client?).

I think the problem should be fixed in the new 5.3.1 release. Mailsync autotools machinery does not bother anymore to check for transient libraries. It defers that to c-client. So the problem you are seeing should be gone. However - mailsync has to dynamicall link to c-client, which I think it does in Gentoo, but I'm not sure, not being a Gentoo user.

Cheers to everybody and thanks for caring about this universe!
Comment 9 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2019-11-10 17:05:28 UTC
tree cleaned