./configure cannot seem to find neon, but it can tell me what version I have installed. checking for pkg-config... /usr/bin/pkg-config configure: checking neon library checking neon library version... 0.29.6 configure: error: cannot find Neon Reproducible: Always Steps to Reproduce: 1. emerge subversion # emerge --info Portage 2.2.0_alpha95 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15, 3.3.0+ x86_64) ================================================================= System uname: Linux-3.3.0+-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.1 Timestamp of tree: Sun, 25 Mar 2012 11:45:01 +0000 app-shells/bash: 4.2_p24 dev-lang/python: 2.7.2-r3, 3.2.2-r1 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 9999 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.3 sys-devel/binutils: 2.22.52.0.1 sys-devel/gcc: 4.6.3::newstuff sys-devel/gcc-config: 1.6 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.3 (virtual/os-headers) sys-libs/glibc: 2.15 Repositories: gentoo cross gnome x11 gentoo_fixes newstuff Installed sets: ACCEPT_KEYWORDS="* amd64 ~*" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=barcelona -O2 -pipe -flto" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" 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=barcelona -O2 -pipe -flto" DISTDIR="/mnt/distfiles" FEATURES="distlocks fixlafiles parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" LINGUAS="en" MAKEOPTS="" PKGDIR="/var/tmp/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="/mnt/portage" PORTDIR_OVERLAY="/mnt/portage/local/cross /mnt/portage/local/gnome /mnt/portage/local/x11 /mnt/portage/local/gentoo_fixes /mnt/portage/local/newstuff" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa amd64 autoipd avahi bluetooth boost bzip2 cairo cdda cheese consolekit cracklib css cups curl custom-cflags custom-cpuopts custom-optimization cxx dbus dhcpcd dri dts dvd egl encode exceptions expat fbcon ffmpeg flac fortran gif glib gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gtk3 icu introspection ipv6 ithreads jpeg lcms libnotify lzma mmx mmxext mp2 mp3 mpeg multilib nautilus ncurses networkmanager nls nptl offensive ogg opengl openmp pam pcre png policykit python3 qt3support qt4 readline resolvconf samba speex spell sqlite sse sse2 sse3 ssl svg taglib tcl theora threads tiff udev unicode usb vala vorbis x264 xcb xorg xv xvid zeroconf zlib" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel nouveau radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 306661 [details] subversion_build_log
./build/ac-macros/neon.m4, if the configure script could link with neither the dynamic or the static version of neon, "cannot find Neon" will be reported. Please try executing the following shell script, and check if there's an error message printed out: --- cat > /tmp/test.c << EOF #include <ne_compress.h> #include <ne_xml.h> int main() {ne_xml_create(); ne_decompress_destroy(NULL);} EOF gcc `pkg-config neon --cflags` `pkg-config neon --libs` /tmp/test.c --- Also, please attach "${S}/config.log" ( usually /var/tmp/portage/dev-vcs/subversion-1.7.4/work/subversion-1.7.4/config.log ) and `emerge --info subversion` .
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-vcs/subversion-1.7.4/work/subversion-1.7.4/config.log ...
Created attachment 306797 [details] config_log Ok, I think gnutls-3 was causing my problems. Once I downgraded from gnutls-3 to gnutls-2 and recompiled neon, then I was able to compile subversion just fine. This also fixed a "cannot find neon" problem with media-libs/musicbrainz that I was having.
Oh, yeah, to use neon with =gnutls-3* you need the patch here: https://bugs.gentoo.org/show_bug.cgi?id=386059 It's plainly weird why Gentoo devs ignore the patch... I personally use net-libs/gnutls-3.0.16 and dev-vcs/subversion[webdav-neon]. With the patch subversion works well.
You updated gnutls, and you now need to run revdep-rebuild.
(In reply to comment #5) > Oh, yeah, to use neon with =gnutls-3* you need the patch here: > https://bugs.gentoo.org/show_bug.cgi?id=386059 Thank you for the patch. I applied it, and now neon is working properly with gnutls-3 diff -u neon-0.29.6.old neon-0.29.6.ebuild --- neon-0.29.6.old 2012-03-27 18:11:54.000000000 -0400 +++ neon-0.29.6.ebuild 2012-03-27 18:13:36.000000000 -0400 @@ -40,6 +40,8 @@ dev-util/pkgconfig" src_prepare() { + epatch ${FILESDIR}/gnutls_certificate_verify_peers.patch + local lingua linguas for lingua in ${IUSE_LINGUAS}; do use linguas_${lingua} && linguas+=" ${lingua}"