<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>89098</bug_id>
          
          <creation_ts>2005-04-14 09:15 0000</creation_ts>
          <short_desc>tightvnc-1.2.9-r1 viewer works, -1.3_alpha5 does not compile</short_desc>
          <delta_ts>2006-04-12 10:53:02 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo/Alt</product>
          <component>Mac OSX</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tobhahn@web.de</reporter>
          <assigned_to>ppc-macos@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>tobhahn@web.de</who>
            <bug_when>2005-04-14 09:15:14 0000</bug_when>
            <thetext>tightvnc-1.2.9:
-- compiles OK and the viewer works. 
-- running vncserver results in &quot;no Xvnc found&quot;, 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=\&quot;/var/log/X\%smsgs\&quot; 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 &quot;int&quot;
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=&quot;ppc-macos&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -pipe&quot;
CHOST=&quot;powerpc-apple-darwin&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache collision-protect distlocks userpriv&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;ppc emboss ncurses ppc-macos readline&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2005-09-02 05:17:34 0000</bug_when>
            <thetext>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 -&gt;
/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=\&quot;/var/log/X\%smsgs\&quot; 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 &apos;int&apos;
make[3]: *** [osinit.o] Error 1
make[2]: *** [os] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
&gt;&gt;&gt; Test phase [not enabled]: net-misc/tightvnc-1.2.9-r1

&gt;&gt;&gt; Install tightvnc-1.2.9-r1 into /var/tmp/portage/tightvnc-1.2.9-r1/image/
category net-misc

...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2005-11-05 10:11:43 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
      
    </bug>

</bugzilla>