Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546114 - net-libs/neon-0.30.1 fails to build with gnutls-3.4.0
Summary: net-libs/neon-0.30.1 fails to build with gnutls-3.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnutls-3.5-breakage
  Show dependency tree
 
Reported: 2015-04-10 07:10 UTC by Patrick Lauer
Modified: 2016-02-17 21:10 UTC (History)
4 users (show)

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


Attachments
neon-0.30.1.diff (neon-0.30.1.diff,743 bytes, patch)
2015-06-20 11:07 UTC, Conrad Kostecki
Details | Diff
neon-0.30.1.diff (neon-0.30.1.diff,743 bytes, patch)
2015-06-20 11:08 UTC, Conrad Kostecki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2015-04-10 07:10:14 UTC
/bin/sh ../libtool --quiet --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -DNE_LFS  -I.. -march=native -O2 -pipe -ggdb -c ne_oldacl.c -o ne_oldacl.lo
/bin/sh ../libtool --quiet --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -DNE_LFS  -I.. -march=native -O2 -pipe -ggdb -c ne_acl3744.c -o ne_acl3744.lo
/bin/sh ../libtool --quiet --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -DNE_LFS  -I.. -march=native -O2 -pipe -ggdb -c ne_gnutls.c -o ne_gnutls.lo
ne_gnutls.c:556:55: error: unknown type name ‘gnutls_retr_st’
                                int sign_algos_length, gnutls_retr_st *st)
                                                       ^
ne_gnutls.c: In function ‘ne_ssl_context_create’:
ne_gnutls.c:653:57: error: ‘provide_client_cert’ undeclared (first use in this function)
                                                         provide_client_cert);
                                                         ^
ne_gnutls.c:653:57: note: each undeclared identifier is reported only once for each function it appears in
Makefile:69: recipe for target 'ne_gnutls.lo' failed
make[1]: *** [ne_gnutls.lo] Error 1
make[1]: Leaving directory '/chroot/build/portage/net-libs/neon-0.30.1/work/neon-0.30.1-abi_x86_32.x86/src'
Makefile:88: recipe for target 'subdirs' failed
make: *** [subdirs] Error 2
 * ERROR: net-libs/neon-0.30.1::gentoo failed (compile phase):
 *   emake failed

Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 3.19.1-gentoo x86_64)
=================================================================
System uname: Linux-3.19.1-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:     7918972 total,    950876 free
KiB Swap:   16777208 total,  16675144 free
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::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::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /home/me/code/gentoo-x86
    priority: -1000

laurentb
    location: /var/lib/layman/laurentb
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/chroot/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/"
INSTALL_MASK="/lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd /etc/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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="/chroot/build"
USE="X a52 aac acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli compat consolekit crypt cups curl cxx dbus declarative dri dts dvd dvdr dvdread emboss encode exif expat fam ffmpeg firefox flac foomaticdb fortran ftp gcj gd gdbm gif glamor gmp gnutls gpm gtk iconv icq idn imagemagick imap imlib innodb ipod ipv6 jabber javascript jingle jpeg jpeg2k kde kdehiddenvisibility kipi lame lcms libav libnotify lzo mad matroska md5sum midi mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer msn multilib musepack musicbrainz mysql ncurses nls nptl nsplugin offensive ogg openal opencl openexr opengl openmp oscar pam pango pcre pdf perl php plasma png policykit ppds python qt3support qt4 quicktime r600-llvm-compiler raw rdesktop readline rss samba sdl semantic-desktop session speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg syslog taglib tcpd threads tidy tiff tk truetype udev udisks unicode upower usb vdpau vlc vorbis wifi wmf wxwindows x264 xattr xcb xcomposite xine xinerama xml xmlrpc xpm xscreensaver xulrunner xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel" 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="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" 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" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB de de_DE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 alpha arm cris i386 lm32 m68k microblaze microblazeel mips mips64 mips64el mipsel or32 ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 unicore32 xtensa xtensaeb" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze microblazeel mips mipsel or32 ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 x86_64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Conrad Kostecki gentoo-dev 2015-06-20 11:07:29 UTC
Created attachment 405404 [details, diff]
neon-0.30.1.diff

> sed -e 's/gnutls_retr_st/gnutls_retr2_st/' -e 's/type = type/cert_&/' -i src/ne_gnutls.c
Found here: http://permalink.gmane.org/gmane.comp.web.webdav.neon.general/978

fixes comping with gnutls 3.4.x

Attaching ebuild-Diff..
Comment 2 Conrad Kostecki gentoo-dev 2015-06-20 11:08:25 UTC
Created attachment 405406 [details, diff]
neon-0.30.1.diff
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2015-06-25 06:26:12 UTC
Arfrever do you care to confirm or deny the merit of this patch contributed by  Conrad Kostecki?
Comment 4 Arfrever Frehtes Taifersar Arahesis 2015-07-07 13:58:17 UTC
I would like to know opinion of Neon upstream. Please send this patch to Neon upstream:
http://www.webdav.org/neon/ :
"Patches, feature requests, bug reports, questions etc. can be sent to the neon mailing list"
Comment 5 Alexis Ballier gentoo-dev 2016-02-17 21:10:38 UTC
commit 8de0c5c4f0e7c862d82893a94945d32b4cc38076
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Wed Feb 17 21:12:14 2016 +0100

    net-libs/neon: Import patch from debian & upstream to fix build with gnutls 3.4. Bug #546114.


patch is from upstream and has been in debian for a while