Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67016 - net-misc/vino-2.8.0 fails to compile without 'zlib' useflag set
Summary: net-misc/vino-2.8.0 fails to compile without 'zlib' useflag set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 66864
  Show dependency tree
 
Reported: 2004-10-10 15:00 UTC by Jonathan Wright
Modified: 2004-10-12 15:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Wright 2004-10-10 15:00:32 UTC
I don't have the 'zlib' useflag set, and every 'emerge gnome' (or 'emerge vino') gave the following final output:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wmissing-prototypes -O2 -c zrle.c  -fPIC -DPIC -o .libs/zrle.o
zrle.c:76: warning: no previous prototype for `rfbSendRectEncodingZRLE'
zrle.c: In function `rfbSendRectEncodingZRLE':
zrle.c:82: error: structure has no member named `zrleData'
zrle.c:83: error: structure has no member named `zrleData'
zrle.c:84: error: structure has no member named `zrleData'
zrle.c: At top level:
zrle.c:178: warning: no previous prototype for `FreeZrleData'
zrle.c: In function `FreeZrleData':
zrle.c:179: error: structure has no member named `zrleData'
zrle.c:180: error: structure has no member named `zrleData'
zrle.c:181: error: structure has no member named `zrleData'
make[4]: *** [zrle.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/vino-2.8.0/work/vino-2.8.0/server/libvncserver'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/vino-2.8.0/work/vino-2.8.0/server/libvncserver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vino-2.8.0/work/vino-2.8.0/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vino-2.8.0/work/vino-2.8.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-misc/vino-2.8.0 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure

Clearing use and cflags doesn't solve the problem, however, 'USE="zlib" emerge vino' does.

It seams that in ./server/libvncserver/zrle.c, the zrleData member of the rfbClientPtr struct and the two functions ('rfbSendRectEncodingZRLE' and 'FreeZrleData') are only avalible if HAVE_LIBZ is defined in ./server/libvncserver/rfb/rfb.h, which requires zlib to be included.

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS=~x86 emerge gnome (or)
2.ACCEPT_KEYWORDS=~x86 emerge
3.

Actual Results:  
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wmissing-prototypes -O2 -c zrle.c 
-fPIC -DPIC -o .libs/zrle.o
zrle.c:76: warning: no previous prototype for `rfbSendRectEncodingZRLE'
zrle.c: In function `rfbSendRectEncodingZRLE':
zrle.c:82: error: structure has no member named `zrleData'
zrle.c:83: error: structure has no member named `zrleData'
zrle.c:84: error: structure has no member named `zrleData'
zrle.c: At top level:
zrle.c:178: warning: no previous prototype for `FreeZrleData'
zrle.c: In function `FreeZrleData':
zrle.c:179: error: structure has no member named `zrleData'
zrle.c:180: error: structure has no member named `zrleData'
zrle.c:181: error: structure has no member named `zrleData'
make[4]: *** [zrle.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/vino-2.8.0/work/vino-2.8.0/server/libvncserver'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/vino-2.8.0/work/vino-2.8.0/server/libvncserver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vino-2.8.0/work/vino-2.8.0/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vino-2.8.0/work/vino-2.8.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-misc/vino-2.8.0 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure

Expected Results:  
Succesful emerge

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-s -O3 -mcpu=athlon-xp -march=athlon-xp -ftracer -fomit-frame-pointer
-falign-functions -falign-labels -mno-align-stringops -pipe -fPIC"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo
http://www.ibiblio.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/bmg-main /usr/local/portage/bmg-gnome-current"
SYNC="rsync://kenny.cardiff.djnauk.co.uk/gentoo-portage"
USE="3dnow X acpi acpi4linux alsa avi bonobo cdr curl dga divx4linux dvd dvdr
fam gb gd gd-external gif gimpprint gnome gstreamer gtk gtk2 hardened
imagemagick imap innodb jack jpeg ldap mbox mmx mozilla moznocompose moznoirc
moznomail mozsvg mpeg msn mysql ncurses nls nptl offensive oggvorbis opengl pam
pdflib pic png python radeon scanner spell sse ssl svg tiff truetype usb x86 xml
xml2 xprint xv xvid"
Comment 1 foser (RETIRED) gentoo-dev 2004-10-12 15:03:16 UTC
worked for the 2.7 series im pretty sure. Ok, for now we just disabled the zlib flag.

Thanks for the report.