Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89098 - tightvnc-1.2.9-r1 viewer works, -1.3_alpha5 does not compile
Summary: tightvnc-1.2.9-r1 viewer works, -1.3_alpha5 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-14 09:15 UTC by Tobias Hahn
Modified: 2006-04-12 10:53 UTC (History)
0 users

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 Tobias Hahn 2005-04-14 09:15:14 UTC
tightvnc-1.2.9:
-- compiles OK and the viewer works. 
-- running vncserver results in "no Xvnc found", unsure if this is should be a bug since there is no Xvnc on my computer.
-- recommend adding the ppc-macos keyword

tightvnc-1.3_alpha5:
-- does not compile, suspect gcc problem.
-- recommend masking for ppc-macos

gcc -c -O2 -pipe -ansi -Dasm=__asm  -I.  -I../include -I../../.././/exports/include/X11 -I../../.././/include/extensions -I../../.././/lib/Xau -I../lbx  -I../../.././ -I../../.././/exports/include  -DCSRG_BASED -DSHAPE                                                                                                         -DGCCUSESGAS -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DXSERV_t -DTRANS_SERVER -DTCPCONN -DUNIXCONN  -DHASXDMAUTH     -DUSE_RGB_TXT -DADMPATH=\"/var/log/X\%smsgs\" osinit.c
In file included from ../../../exports/include/X11/Xos.h:154,
                 from osinit.c:55:
/usr/include/stdlib.h:126: error: parse error before "int"
make[3]: *** [osinit.o] Error 1
make[2]: *** [os] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1.
2.
3.



!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51.19 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.8.0 Power Macintosh)
===============================================================
==
System uname: 7.8.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc emboss ncurses ppc-macos readline"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fabian Groffen gentoo-dev 2005-09-02 05:17:34 UTC
1.3_alpha7 fails compiling when including the server component.

1.2.9-r1 has the following problem (and hence cannot start a server)

Copying Xvnc/programs/Xserver/Xvnc ->
/var/tmp/portage/tightvnc-1.2.9-r1/image//usr/bin/Xvnc
cp: Xvnc/programs/Xserver/Xvnc: No such file or directory

which is caused by the same problem that kills 1.3_alpha7, but now it goes
unnoticed because the ebuild continues:

   -DGCCUSESGAS -DNDEBUG  -DUSE_LIBWRAP=1 -DFUNCPROTO=15 -DNARROWPROTO 
-DXSERV_t -DTRANS_SERVER -DTCPCONN -DUNIXCONN  -DHASXDMAUTH     -DUSE_RGB_TXT
-DADMPATH=\"/var/log/X\%smsgs\" osinit.c
In file included from ../../.././/exports/include/X11/Xos.h:154,
                 from osinit.c:55:
/usr/include/stdlib.h:145: error: parse error before 'int'
make[3]: *** [osinit.o] Error 1
make[2]: *** [os] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
>>> Test phase [not enabled]: net-misc/tightvnc-1.2.9-r1

>>> Install tightvnc-1.2.9-r1 into /var/tmp/portage/tightvnc-1.2.9-r1/image/
category net-misc

...
Comment 2 Fabian Groffen gentoo-dev 2005-11-05 10:11:43 UTC
marked 1.3_alpha7 as ~ppc-macos in portage

Fixed compilation issues with patches for darwin profile, templates and the
ebuild not to add unnecessary libraries which do not exist on OSX