Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314155 - sci-misc/boinc can't upload work if net-misc/curl is compiled with USE "gnutls"
Summary: sci-misc/boinc can't upload work if net-misc/curl is compiled with USE "gnutls"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-04-09 14:30 UTC by Marcin Mirosław
Modified: 2010-10-15 06:40 UTC (History)
1 user (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 Marcin Mirosław 2010-04-09 14:30:26 UTC
Boinc, after finish work on World Community Grid project, can't upload tasks if curl os compiled with "gnutls" flag.
Log:
[World Community Grid] Sending scheduler request: Requested by project.
09-Apr-2010 15:59:44 [World Community Grid] Not reporting or requesting tasks
09-Apr-2010 15:59:46 [---] Project communication failed: attempting access to reference site
09-Apr-2010 15:59:48 [---] Internet access OK - project servers may be temporarily down.

After recompiling curl with "-gnutls" and restarting boinc:
09-Apr-2010 16:29:52 [World Community Grid] Started upload of X0000090100705200707241331_1_0
09-Apr-2010 16:29:56 [World Community Grid] Finished upload of X0000090100705200707241331_1_0



Reproducible: Always
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2010-04-09 17:53:08 UTC
Please add "emerge --info" and the exact version you use.
Comment 2 Marcin Mirosław 2010-04-10 11:54:27 UTC
I can't provide emerge --info in next 2 days. I'm using curl-7.20.0-r2 , boinc-6.10.36 , and i've got set up ACCEPT_KEYWORDS="~x86" in make.conf .
Comment 3 Marcin Mirosław 2010-04-13 09:09:26 UTC
# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11-r1, 2.6.33-zen1 i686)
=================================================================
System uname: Linux-2.6.33-zen1-i686-Intel-R-_Celeron-R-_CPU_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 13 Apr 2010 07:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL Q3AEULA skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mfpmath=sse -pipe -fpeel-loops -fprefetch-loop-arrays -ftracer -freorder-blocks-and-partition"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mfpmath=sse -pipe -fpeel-loops -fprefetch-loop-arrays -ftracer -freorder-blocks-and-partition"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/gnustep /usr/local/portage/miro-overlay/portage /usr/local/portage/miro-overlay/in_sunrise /usr/local/portage/miro-overlay/staging"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns alsa apache2 async bash-completion bittorrent branding bzip2 cairo caps cdr chroot clamdtop cli community consolekit cracklib crypt cups custom-cflags custom-optimization cxx dbus diskio dlz dmx dri dts dvd dvdr emboss encode exif extras fam firefox flac fortran ftp fts3 gif gpm graphite gtk hal hash iconv idn iproute2 ipv6 ithreads jpeg kde lcms ldap libnotify lightning logrotate loop-aes mad mikmod mmap mmx mmxext mng modules mp3 mp4 mpeg mtp mudflap mysql mysqli ncurses network-cron nls nptl nptlonly nsplugin objc ogg opengl openmp openssl optimization optimized-qmake pam pango pch pcre pdf perl phonon png ppds pppd profile profiling python qt3support qt4 readline reflection replytolist rss samba sdl semantic-desktop session sharedmem spell spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion svg sysfs tcpd threads threadsafe tiff tools truetype unicode urandom usb vim vim-pager vim-syntax vim-with-x vorbis watchdog x264 x86 xattr xcb xinerama xml xorg xulrunner xv xvid zip zlib" 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" 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="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 cgid dav deflate dir env expires ext_filter  filter headers include info log_config logio mime mime_magic negotiation  rewrite setenvif speling status unique_id usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 4 Walter Trautner 2010-05-07 01:14:46 UTC
I can't even download WCG's WUs without compiling curl with -gnutls -nss.
Same error-msg as the OP had.

USE='-gnutls -nss' emerge -1 curl && /etc/init.d/boinc restart 
works ..


I'm on amd64, if this is important.

Seems to depend on a BOINC issue:
http://boinc.berkeley.edu/trac/wiki/Error/Scheduler%20request%20failed (the last one)
Comment 5 Marcin Mirosław 2010-05-07 10:58:22 UTC
if USE="gnutls ssl" emerge -1 curl then i have in boinc.log:
07-May-2010 12:32:00 [---] Libraries: libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.5 libidn/1.18
output of econf curl:
SSL support:     enabled (GnuTLS)

and if recompile curl with USE="-gnutls ssl" i'm getting:
07-May-2010 12:37:50 [---] Libraries: libcurl/7.20.1 OpenSSL/0.9.8n zlib/1.2.5 libidn/1.18
output of econf curl:
SSL support:     enabled (OpenSSL)

It looks like ssl support from gnutls is a little broken, and when both USE flags are set (ssl and gnutls), gnutls is active.
Because problem appears only with one project (as far as i know) i think einfo in boinc should be enough. 
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2010-07-09 16:49:46 UTC
Fixed in main tree.
Comment 7 aditsu 2010-10-15 06:40:24 UTC
Weird, I had similar problems, but curl was already compiled without gnutls, and revdep-rebuild said everything was ok.
Still, it started working again after recompiling curl.