Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516226 - net-misc/aria2-1.18.5 - LibgnutlsTLSSession.cc:86:40: error: invalid conversion from 'unsigned int' to 'gnutls_connection_end_t' [-fpermissive]
Summary: net-misc/aria2-1.18.5 - LibgnutlsTLSSession.cc:86:40: error: invalid conversi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-03 19:29 UTC by Vasilis Lourdas
Modified: 2014-07-04 14:26 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,177.20 KB, text/plain)
2014-07-03 19:56 UTC, Vasilis Lourdas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilis Lourdas 2014-07-03 19:29:22 UTC
/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -Wall -I../lib -I../intl -I./includes -I./includes -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H  -I../deps/wslay/lib/includes -I../deps/wslay/lib/includes   -I/usr/include/libxml2    -O2 -pipe -std=c++11  -c -o GZipEncoder.lo GZipEncoder.cc
/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -Wall -I../lib -I../intl -I./includes -I./includes -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H  -I../deps/wslay/lib/includes -I../deps/wslay/lib/includes   -I/usr/include/libxml2    -O2 -pipe -std=c++11  -c -o GZipDecodingStreamFilter.lo GZipDecodingStreamFilter.cc
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I../lib -I../intl -I./includes -I./includes -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I../deps/wslay/lib/includes -I../deps/wslay/lib/includes -I/usr/include/libxml2 -O2 -pipe -std=c++11 -c GZipEncoder.cc  -fPIC -DPIC -o .libs/GZipEncoder.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I../lib -I../intl -I./includes -I./includes -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I../deps/wslay/lib/includes -I../deps/wslay/lib/includes -I/usr/include/libxml2 -O2 -pipe -std=c++11 -c GZipDecodingStreamFilter.cc  -fPIC -DPIC -o .libs/GZipDecodingStreamFilter.o
LibgnutlsTLSSession.cc: In member function 'virtual int aria2::GnuTLSSession::init(int)':
LibgnutlsTLSSession.cc:86:40: error: invalid conversion from 'unsigned int' to 'gnutls_connection_end_t' [-fpermissive]
In file included from LibgnutlsTLSSession.h:40:0,
                 from LibgnutlsTLSSession.cc:35:
/usr/include/gnutls/gnutls.h:680:7: error:   initializing argument 2 of 'int gnutls_init(gnutls_session_int**, gnutls_connection_end_t)' [-fpermissive]
make[3]: *** [LibgnutlsTLSSession.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-misc/aria2-1.18.5/work/aria2-1.18.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-misc/aria2-1.18.5/work/aria2-1.18.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/aria2-1.18.5/work/aria2-1.18.5'
make: *** [all] Error 2
 * ERROR: net-misc/aria2-1.18.5::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/aria2-1.18.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/aria2-1.18.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/aria2-1.18.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/aria2-1.18.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/aria2-1.18.5/work/aria2-1.18.5'
 * S: '/var/tmp/portage/net-misc/aria2-1.18.5/work/aria2-1.18.5'

>>> Failed to emerge net-misc/aria2-1.18.5, Log file:

>>>  '/var/tmp/portage/net-misc/aria2-1.18.5/temp/build.log'


emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.15.2-gentoo x86_64)
=================================================================
System uname: Linux-3.15.2-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     8141128 total,   1098172 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Thu, 03 Jul 2014 18:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo Local-overlay-Vasilis
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL Oracle-BCLA-JavaSE AdobeFlash-11.x skype-4.0.0.7-copyright TeamViewer google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=corei7-avx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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 userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://helios/~lourdas/ http://gentoo.mneisen.org/ http://ftp.ntua.gr/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X a52 aac acl acpi additions alsa amd64 apache2 apng archive asf avx bash-completion bcmath berkdb branding bzip2 bzlib cairo calendar caps cdr charconv chm cli consolekit contrast cracklib crypt css ctype cups cupsddk curl curlwrappers cxx dba dbus dcc_video declarative device-mapper dhclient dmi dri dts dvd dvdr dvdread ebook effects emboss encode exif expat extras faac faad fam fat fbcon ffmpeg fftw filter firefox firefox3 flac flatfile fontconfig foomaticdb ftp g3dvl gallium gbm gcj gd gdbm gif gimp gimpprint git glamor glib glx gmp gnomedb gnutls gocr gphoto2 gpm gstreamer gtk hddtemp hotpixels howl iconv icu id3tag imagemagick imap imlib innodb inotify jabber java java6 javascript jpeg jpeg2k json kde kdeenablefinal kdehiddenvisibility kipi lame lcdfilter lcms lensfun libkms libsamplerate libwww lm_sensors lzma mad maildir mailwrapper maps melt mhash mime minizip mmap mmx mmxext modemmanager modules motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mpeg mplayer mpm-worker multilib multiuser mysql mysqli ncat ncurses ndiff networkmanager newspr nls no-old-linux nodrm nomalloccheck nping nptl nsplugin ntfs ntfsprogs objc offensive ogg oldpim opengl openmp optimization oqgraph pam pango pcap pcmcia pcntl pcre pdf pdfimport pdo pear phonon php plasma pmu png policykit posix postgres ppds pyqt4 python qt3support qt4 quicktime rar raw rdesktop readline redeyes reiserfs reports romio sasl scanner script sdl semantic-desktop server session sha512 sharedext simplexml smp sndfile soap sockets speex spell sphinx spreadsheet sqlite sqlite3 srt sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog sysvipc tcltk tcpd templates tetex theora threads tidy tiff tokenizer tordns truetype udev udisks unicode upower urandom usb userlocales v4l v4l2 vaapi vda video vmware_guest_linux vmware_guest_windows vncviewer vorbis wddx webm windeco wv wxgtk1 wxwidgets x264 xa xcomposite xetex xfs xft xinerama xml xmlreader xmlrpc xmlwriter xmp xorg xpdf-headers xpm xprint xscreensaver xsl xv xvid xvmc xvnc zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 cache cgi 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 version" APACHE2_MPMS="prefork" 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 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-minimizer nlpsolver" LINGUAS="en en_GB en_US el" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby20" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Alex Xu (Hello71) 2014-07-03 19:53:38 UTC
please attach the entire build.log.
Comment 2 Vasilis Lourdas 2014-07-03 19:56:53 UTC
Created attachment 380132 [details]
build.log
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2014-07-04 07:10:35 UTC
Can you please post the "Package Settings" part of `emerge --info net-libs/gnutls` (please make sure you did not update gnutls in the meantime, otherwise please retry installing aria2)
Comment 4 Vasilis Lourdas 2014-07-04 13:23:16 UTC
(In reply to Tiziano Müller from comment #3)
> Can you please post the "Package Settings" part of `emerge --info
> net-libs/gnutls` (please make sure you did not update gnutls in the
> meantime, otherwise please retry installing aria2)

net-libs/gnutls-2.12.23-r6 was built with the following:
USE="cxx nettle nls zlib -bindist -doc -examples -guile -lzo -pkcs11 -static-libs -test"
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2014-07-04 14:26:25 UTC
Ok, added related upstream change from https://github.com/tatsuhiro-t/aria2/commit/13a202df070dd58bb930549c62627dcd97b02b86 to fix gnutls-2.x compatibility.

Please give it some time to hit the mirrors.