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
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
...