First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 67016
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jonathan Wright <jonathan@netwrker.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 67016 depends on: Show dependency tree
Bug 67016 blocks: 66864
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-10 15:00 0000
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 From foser (RETIRED) 2004-10-12 15:03:16 0000 -------
worked for the 2.7 series im pretty sure. Ok, for now we just disabled the zlib
flag.

Thanks for the report.

First Last Prev Next    No search results available      Search page      Enter new bug