Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435326 - net-libs/libvncserver[png,-zlib] - rfbserver.c:2113:9: error: 'struct _rfbClientRec' has no member named 'zlibCompressLevel'
Summary: net-libs/libvncserver[png,-zlib] - rfbserver.c:2113:9: error: 'struct _rfbCli...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Xu (Hello71)
: 595958 (view as bug list)
Depends on:
Reported: 2012-09-17 13:08 UTC by Andreas Schürch
Modified: 2019-01-17 21:21 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schürch gentoo-dev 2012-09-17 13:08:07 UTC
=net-libs/libvncserver-0.9.9 fails with USE="png -zlib" on x86.
This is a regression over 0.9.8, but this version is needed for virtualbox from the security bug 434872

>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-libs/libvncserver-0.9.9/work/LibVNCServer-0.9.9 ...
make -j3 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/net-libs/libvncserver-0.9.9/work/LibVNCServer-0.9.9'
Making all in libvncserver
make[2]: Entering directory `/var/tmp/portage/net-libs/libvncserver-0.9.9/work/LibVNCServer-0.9.9/libvncserver'
  CC     main.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../common    -O2 -march=i686 -pipe -Wall  -c -o main.lo main.c
  CC     rfbserver.lo
  CC     rfbregion.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../common    -O2 -march=i686 -pipe -Wall  -c -o rfbregion.lo rfbregion.c
/bin/sh ../libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../common    -O2 -march=i686 -pipe -Wall  -c -o rfbserver.lo rfbserver.c
rfbserver.c: In function 'rfbProcessClientNormalMessage':
rfbserver.c:2113:9: error: 'struct _rfbClientRec' has no member named 'zlibCompressLevel'
make[2]: *** [rfbserver.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/net-libs/libvncserver-0.9.9/work/LibVNCServer-0.9.9/libvncserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/libvncserver-0.9.9/work/LibVNCServer-0.9.9'

Portage (default/linux/x86/10.0, gcc-4.5.3, glibc-2.15-r2, 3.2.1-gentoo-r2 i686)
System uname: Linux-3.2.1-gentoo-r2-i686-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.1
Timestamp of tree: Sun, 16 Sep 2012 12:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.1.4-r3, 3.2.3
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo MadOverlay
CFLAGS="-O2 -march=i686 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-O2 -march=i686 -pipe"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms sign strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS="-O2 -march=i686 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
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"
USE="X acl apache2 apng attica bcmath berkdb bzip2 cairo cgi cli clucene consolekit corefonts cracklib crypt cups curl cvs cxx dbus declarative desktopglobe device-mapper dot dri examples exif extra extras firebird flac fontconfig fortran gd gdbm gnutls gpm gtk gudev handbook hwdb iconv icu imap ipv6 java jpeg kate kde kpathsea latex lcms ldap lxde mdnsresponder-compat minizip mmx mng modules mono mplayer msn mssql mudflap mysql mysqli ncurses nls nptl objc ogg okular opengl openmp pam pcre perl php png policykit postgres pppd python qt3support qt4 rdp readline script sdl secure-delete semantic-desktop session skype sndfile sockets spell sql sqlite ssl subversion svg tcpd test-framework theora threads thumbnails tiff tk truetype unicode unlock-notify v4l video vnc vorbis webkit x86 xcb xml xvfb 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 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" 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 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" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="jruby ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa cirrus" 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"
Comment 1 Agostino Sarubbo gentoo-dev 2012-09-17 14:11:33 UTC
+  17 Sep 2012; Agostino Sarubbo <> libvncserver-0.9.9.ebuild:                                                                                                        
+  Temporary workaround due to failure with USE='+png -zlib', thanks to nativemad                                                                                                   
+  wrt to bug #435326 

@floppy, this is just to do not delay virtualbox security bug, you can look at it in the near future.
Comment 2 Mike Gilbert gentoo-dev 2012-09-17 14:20:38 UTC
The REQUIRED_USE check is fine by me. Thanks.
Comment 3 Mike Gilbert gentoo-dev 2012-09-17 14:28:20 UTC
Per Ago's prompting, reopening until it gets reported upstream.
Comment 4 Alex Xu (Hello71) 2015-12-06 21:53:58 UTC
probably still applies to new versions. renaming to help keep track.
Comment 5 Alex Xu (Hello71) 2016-10-02 17:30:27 UTC
*** Bug 595958 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2019-01-17 21:21:36 UTC
The bug has been closed via the following commit(s):

commit 4fbd9dd57d76b333b4c75791b1590f5ee09119f1
Author:     Sven Wegener <>
AuthorDate: 2019-01-15 21:40:20 +0000
Commit:     Sven Wegener <>
CommitDate: 2019-01-17 21:21:30 +0000

    net-libs/libvncserver: Version bump, security bug #659560 and #673508
    Signed-off-by: Sven Wegener <>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-libs/libvncserver/Manifest                     |  1 +
 .../files/libvncserver-0.9.12-cmake-libdir.patch   | 22 +++++++
 net-libs/libvncserver/libvncserver-0.9.12.ebuild   | 72 ++++++++++++++++++++++
 3 files changed, 95 insertions(+)