Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469014 - mail-client/claws-mail-3.9.1 should depend on net-libs/libsoup
Summary: mail-client/claws-mail-3.9.1 should depend on net-libs/libsoup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-08 09:35 UTC by theodor
Modified: 2013-05-10 19:45 UTC (History)
2 users (show)

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


Attachments
mail-client:claws-mail-3.9.1:20130508-130147.log (20130508-130147.log,15.69 KB, text/plain)
2013-05-08 13:14 UTC, Jeroen Roovers (RETIRED)
Details
claws-mail-3.9.1_libsoup-check-fix.patch (claws-mail-3.9.1_libsoup-check-fix.patch,964 bytes, patch)
2013-05-09 17:47 UTC, Ted Tanberry
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description theodor 2013-05-08 09:35:21 UTC
The configure script aborts when net-libs/libsoup:2.4 is not installed.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-08 12:44:07 UTC
It already depends on net-libs/libsoup-gnome, which directly depends on net-libs/libsoup.

1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
2) Please attach the config.log file to this bug report.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-08 13:13:06 UTC
Never mind.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-08 13:14:14 UTC
Created attachment 347748 [details]
mail-client:claws-mail-3.9.1:20130508-130147.log

checking for LIBSOUP... no
configure: error: Package requirements (libsoup-2.4) were not met:

No package 'libsoup-2.4' found
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2013-05-08 14:29:39 UTC
(In reply to comment #3)
> Created attachment 347748 [details]
> mail-client:claws-mail-3.9.1:20130508-130147.log
> 
> checking for LIBSOUP... no
> configure: error: Package requirements (libsoup-2.4) were not met:
> 
> No package 'libsoup-2.4' found

 emerge --info would be nice, I fear this might have to do with gtk3 USE flag.  I masked it in base profile.
Comment 5 Mark 2013-05-09 05:29:57 UTC
Same problem here.  I think libsoup is pulled in with the webkit flag (which I don't use). But I also mask gtk+-3.

 emerge --info  claws-mail
Portage 2.1.11.63 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.17, 3.2.1-gentoo-r2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-AMD_Opteron-TM-_Processor_6212-with-gentoo-2.2
KiB Mem:    65849548 total,   5708960 free
KiB Swap:    2930396 total,   2930396 free
Timestamp of tree: Wed, 08 May 2013 12:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r1, 2.7.4, 3.2.4
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo squeezebox x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --oneshot --autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/squeezebox /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avi berkdb branding bzip2 cairo cdda cdparanoia cdr chroot cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dv dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran freetype gdbm gif gpm gtk iconv ipv6 java javascript jpeg lcms libnotify lm_sensors mad mime mmx mng modules mp3 mp4 mpeg mpi mudflap multilib nas ncurses net network nis nls nptl nptonly nsplugin nvidia ogg opengl openmp pam pango pcre pdf png policykit posix ppds python qt3support qt4 readline samba sdl session snmp socks5 spell sqlite sse sse2 ssl startup-notification svg swat tcpd tiff truetype type1 udev udisks unicode upower usb userlocales vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64 32" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" 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.6 2.7 3.2"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

mail-client/claws-mail-3.9.0-r1 was built with the following:
USE="bogofilter dbus imap ipv6 (multilib) session spell ssl startup-notification -crypt -dillo -doc -ldap -nntp -pda -smime -spamassassin -xface" ABI_X86="64"




Curious, no webkit in the USE?  Yet,

Calculating dependencies... done!
[ebuild     U  ] mail-client/claws-mail-3.9.1 [3.9.0-r1] USE="bogofilter gnutls%* imap pdf%* pgp%* python%* session spell startup-notification -archive% -calendar% -clamav% -dbus* -debug% -doc -gdata% (-gtk3) -ipv6* -ldap -libnotify% -networkmanager% -nntp -pda -perl% -rss% -smime -spam-report% -spamassassin -webkit% -xface (-crypt%) (-dillo%) (-ssl%*)" 0 kB
Comment 6 sugomarv 2013-05-09 07:37:39 UTC
with me too 

Portage 2.1.11.63 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.17, 3.9.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.9.0-gentoo-x86_64-AMD_FX-tm-8150_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16396472 total,  14323916 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 09 May 2013 05:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.4, 3.2.4
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo steam-overlay games nikai
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -flto -fuse-linker-plugin"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -flto -fuse-linker-plugin"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.inode.at/"
LANG="de_AT.UTF-8"
LDFLAGS="-O2 -pipe -march=native -flto -fuse-linker-plugin"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/games /var/lib/layman/nikai"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gnutls gpm gtk iconv ipv6 lto mmx modules mudflap multilib ncurses nls nptl openmp pam pch pcre readline session sse sse2 sse3 sse4 sse41 sse42 sse4_1 sse4_2 sse4a ssl ssse3 tcpd unicode xcb zlib" ABI_X86="64" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

mail-client/claws-mail-3.9.0-r1 was built with the following:
USE="crypt imap ipv6 (multilib) nntp session smime spell ssl -bogofilter -dbus -dillo -doc -ldap -pda -spamassassin -startup-notification -xface" ABI_X86="64"
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2013-05-09 12:09:27 UTC
I cannot reproduce.  Which versions of libsoup, libsoup-gnome and webkit-gtk are installed?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-09 12:17:27 UTC
(In reply to comment #7)
> I cannot reproduce.  Which versions of libsoup, libsoup-gnome and webkit-gtk
> are installed?

I don't have USE=webkit, but I did have this problem.

[ebuild   R   ~] mail-client/claws-mail-3.9.1  USE="dbus doc gnutls imap ipv6
pdf perl pgp python rss session smime spell xface -archive -bogofilter
-calendar -clamav -debug -gdata (-gtk3) -ldap -libnotify -networkmanager -nntp
-pda -spam-report -spamassassin -startup-notification -webkit" 0kB                                                     
Total: 1 package (1 reinstall), Size of downloads: 0 kB

Once I installed libsoup (current stable):

[ebuild   R    ] net-libs/libsoup-2.38.1:2.4  USE="introspection samba ssl -debug {-test}" 0 kB

the problem went away.
Comment 9 Ted Tanberry 2013-05-09 17:46:26 UTC
I spoke with one of the claws-mail developers ('claws') on their IRC channel concerning the dependency on libsoup:

< Soap___> is libsoup a hard dependency for claws mail in 3.9.1?
<@colinl> for some plugin, but not the core
<@colinl> for Fancy, and geolocation

They provided me a patch for the configure.ac such that libsoup isn't a hard dependency anymore (a mistake on their side). With this patch, configure goes through, but the build still fails at some later stage in the python plugin module. In the configure stage:

checking for python version... 3.2
checking for python3.2-config... /usr/bin/python3.2-config
  File "<string>", line 1
    import os,sys; print os.path.basename(os.path.realpath("/usr/lib/libpython3.2.so"))
                          ^
SyntaxError: invalid syntax
  File "<string>", line 1
    import os,sys; print os.path.basename(os.path.realpath("/usr/lib64/libpython3.2.so"))
                          ^
SyntaxError: invalid syntax

which eventually leads to failure with

/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python/composewindowtype.c: In function 'ComposeWindow_dealloc':
/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python/composewindowtype.c:53:7: error: 'clawsmail_ComposeWindowObject' has no member named 'ob_type'

This is apparently due to ebuild using python 3. I've thrown in a "python_set_active_version 2" for this too. After this, it finally builds for me.
Comment 10 Ted Tanberry 2013-05-09 17:47:03 UTC
Created attachment 347866 [details, diff]
claws-mail-3.9.1_libsoup-check-fix.patch
Comment 11 Ted Tanberry 2013-05-09 17:48:27 UTC
--- /usr/portage/mail-client/claws-mail/claws-mail-3.9.1.ebuild	2013-05-08 06:36:33.000000000 +0200
+++ /usr/local/portage/mail-client/claws-mail/claws-mail-3.9.1.ebuild	2013-05-09 19:37:48.180323940 +0200
@@ -3,8 +3,9 @@
 # $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.9.1.ebuild,v 1.1 2013/05/08 04:36:33 fauli Exp $
 
 EAPI="5"
+PYTHON_DEPEND="2"
 
-inherit autotools-utils multilib gnome2-utils eutils
+inherit autotools-utils multilib gnome2-utils eutils python
 
 DESCRIPTION="An email client (and news reader) based on GTK+"
 HOMEPAGE="http://www.claws-mail.org/"
@@ -89,6 +90,17 @@
 	app-misc/mime-types
 	x11-misc/shared-mime-info"
 
+pkg_setup() {
+	python_set_active_version 2
+	python_pkg_setup
+}
+
+src_prepare() {
+	# Make libsoup optional #469014
+	epatch "${FILESDIR}/${P}_libsoup-check-fix.patch"
+	eautoreconf
+}
+
 src_configure() {
 	local myeconfargs=(
 		$(use_enable debug crash-dialog)
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2013-05-10 19:45:44 UTC
Thanks for the patch Ted.  The python fix is not the correct way, but your analysis is right, I will fix it for bug 469166.