Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548922 - net-misc/tigervnc-1.4.2 with net-libs/gnutls-3.4.1 - .../work/tigervnc-1.4.2/common/rfb/CSecurityTLS.cxx:210:57: error: ‘gnutls_kx_set_priority’ was not declared in this scope
Summary: net-misc/tigervnc-1.4.2 with net-libs/gnutls-3.4.1 - .../work/tigervnc-1.4.2/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnutls-3.5-breakage
  Show dependency tree
 
Reported: 2015-05-08 16:55 UTC by Forza
Modified: 2016-05-21 15:01 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,157.11 KB, text/plain)
2015-05-08 16:55 UTC, Forza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forza 2015-05-08 16:55:12 UTC
TigerVNC fails to build with GnuTLS-3.4.1

Reproducible: Always

Steps to Reproduce:
1.unmask and emerge net-libs/gnutls-3.4.1
2.emerge tigervnc
Actual Results:  
Failed emerge (see build.log):

/mnt/storageTemp/portage/portage/net-misc/tigervnc-1.4.2-r2/work/tigervnc-

1.4.2/common/rfb/SSecurityTLS.cxx: In member function ‘void rfb::SSecurityTLS::setParams

(gnutls_session)’:
/mnt/storageTemp/portage/portage/net-misc/tigervnc-1.4.2-r2/work/tigervnc-

1.4.2/common/rfb/SSecurityTLS.cxx:173:76: error: ‘gnutls_kx_set_priority’ was not declared in 

this scope
   if (gnutls_kx_set_priority(session, anon ? kx_anon_priority : kx_priority)
                                                                            ^
common/rfb/CMakeFiles/rfb.dir/build.make:1506: recipe for target 

'common/rfb/CMakeFiles/rfb.dir/SSecurityTLS.cxx.o' failed
make[2]: *** [common/rfb/CMakeFiles/rfb.dir/SSecurityTLS.cxx.o] Error 1
make[2]: Leaving directory '/mnt/storageTemp/portage/portage/net-misc/tigervnc-1.4.2-

r2/work/tigervnc-1.4.2'
CMakeFiles/Makefile2:455: recipe for target 'common/rfb/CMakeFiles/rfb.dir/all' failed
make[1]: *** [common/rfb/CMakeFiles/rfb.dir/all] Error 2
make[1]: Leaving directory '/mnt/storageTemp/portage/portage/net-misc/tigervnc-1.4.2-

r2/work/tigervnc-1.4.2'
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: net-misc/tigervnc-1.4.2-r2::gentoo failed (compile phase):


Using: net-libs/gnutls-3.4.1

I am aware that gnutls-3.4.x is hard masked. 

Perhaps https://bugs.gentoo.org/show_bug.cgi?id=546124 should depend on this bug to track it?

#  emerge --info =tigervnc-1.4.2
Portage 2.2.18 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 4.0.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.1-gentoo-x86_64-AMD_E-350_Processor-with-gentoo-2.2
KiB Mem:     7774616 total,   1163860 free
KiB Swap:    8388600 total,   7817972 free
Timestamp of repository gentoo: Fri, 08 May 2015 04:30:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p53::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           2.8.12.2-r1::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::gentoo
sys-devel/automake:       1.12.6::gentoo, 1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

E350-local-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @FSF-APPROVED dlj-1.1 Oracle-BCLA-JavaSE AdobeFlash-10.3 MakeMKV-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3"
DISTDIR="/mnt/storageTemp/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://[2001:708:310:54::2]/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.osuosl.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--enable-new-dtags"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="pbzip2"
PORTAGE_COMPRESS_FLAGS="-9"
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="/mnt/storageTemp/portage"
USE="3dnowext X a52 aac ac3 acl acpi alsa amd64 apache apache2 apic apng bash-completion berkdb bmp branding bzip2 c++0x cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fbcon firefox flac fortran ftp fuse gd gdbm gdu gif glamor gmp gnutls gpm gtk gtk3 gudev hwdb iconv icu idn ipv6 jpeg kde kipi lcms ldap libnotify linux-threads lto lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mpi mpi-threads multilib mysql ncurses nls nptl nptlonly ogg openexr opengl openmp optimized-qmake pam pango pch pcre pdf perl phonon php pic plasma png policykit popcnt ppds pulseaudio python python3 qt3support qt4 readline samba sctp sdl semantic-desktop session sharedmem smp sound spell sqlite sqlite3 sse sse2 sse3 sse4a ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower urandom usb vala vhosts vorbis webkit2 wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" 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" APACHE2_MPMS="event" 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="mmx mmxext popcnt sse sse2 sse3 sse4a ssse3" CURL_SSL="gnutls" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en_GB sv_SE en sv" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php-5.5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="radeon vesa" 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.7 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Forza 2015-05-08 16:55:57 UTC
Created attachment 402864 [details]
build.log
Comment 2 Forza 2015-05-12 06:46:24 UTC
Apparently, the fix is already on Github: https://github.com/TigerVNC/tigervnc/tree/master/

Tried to simply replace the offending files common/rfb/SSecurity*, but that causes compile issues on other modules.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2015-08-19 09:01:45 UTC
1.5.0 is out, may solve this issue as comment#2 suggests it was already in master.
Comment 4 Hinnerk van Bruinehsen 2015-10-15 10:47:50 UTC
I can confirm that tigervnc-1.5.0 builds against gnutls-3.4.5.