From nobody@FreeBSD.org  Wed Sep 11 21:55:18 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id E0D60990
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 Sep 2013 21:55:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id BE96E2B5C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 Sep 2013 21:55:17 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8BLtHQ4057286
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 Sep 2013 21:55:17 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8BLtHTV057268;
	Wed, 11 Sep 2013 21:55:17 GMT
	(envelope-from nobody)
Message-Id: <201309112155.r8BLtHTV057268@oldred.freebsd.org>
Date: Wed, 11 Sep 2013 21:55:17 GMT
From: kaltheat <kaltheat@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/tigervnc can't be built after upgrade of port to 1.3.0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: meta+ports@vmeta.jp

>Number:         182025
>Category:       ports
>Synopsis:       net/tigervnc can't be built after upgrade of port to 1.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 11 22:00:00 UTC 2013
>Closed-Date:    Fri Sep 13 18:43:39 UTC 2013
>Last-Modified:  Fri Sep 13 18:43:39 UTC 2013
>Originator:     kaltheat
>Release:        FreeBSD-9.1
>Organization:
>Environment:
>Description:
port can't be compiled correctly, it aborts with this error:
# portmaster net/tigervnc

..

Making all in hw
gmake[1]: Entering directory `/usr/ports/net/tigervnc/work/tigervnc-1.3.0/unix/xserver/hw'
Making all in vnc
gmake[2]: Entering directory `/usr/ports/net/tigervnc/work/tigervnc-1.3.0/unix/xserver/hw/vnc'
cat ../../fb/fbrop.h | sed -e 's,and,c_and,g' -e 's,xor,c_xor,g' > ./fbrop.h
cat ../../fb/fb.h | sed -e 's,and,c_and,g' -e 's,xor,c_xor,g' > ./fb.h
for i in -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include  ; do \
        if [[ "$i" =~ "pixman" ]]; then \
                PIXMANINCDIR=`echo $i | sed s/-I//g`; \
        fi; \
done; \
if [ ! "$PIXMANINCDIR" = "" ]; then \
        cat $PIXMANINCDIR/pixman.h | sed 's/xor/c_xor/' > ./pixman.h; \
else \
        echo Pixman include directory not set in XSERVERLIBS_CFLAGS \(perhaps Pixman was not found by configure?\); \
fi
gmake  all-am
gmake[3]: Entering directory `/usr/ports/net/tigervnc/work/tigervnc-1.3.0/unix/xserver/hw/vnc'
  CXX      libvnc_la-xf86vncModule.lo
  CXX      libvnccommon_la-vncExtInit.lo
  CXX      libvnccommon_la-vncHooks.lo
vncHooks.cc: In function 'Bool vncHooksInit(_Screen*, XserverDesktop*)':
vncHooks.cc:314: error: invalid conversion from 'Bool (*)(_Screen*)' to 'Bool (*)(int, _Screen*)'
vncHooks.cc:324: error: invalid conversion from 'void (*)(_Screen*, void*, void*)' to 'void (*)(int, void*, void*, void*)'
vncHooks.cc: In function 'Bool vncHooksCloseScreen(_Screen*)':
vncHooks.cc:411: error: invalid conversion from '_Screen*' to 'int'
vncHooks.cc:411: error: too few arguments to function
vncHooks.cc: In function 'void vncHooksBlockHandler(_Screen*, void*, void*)':
vncHooks.cc:596: error: invalid conversion from '_Screen*' to 'int'
vncHooks.cc:596: error: too few arguments to function
vncHooks.cc:601: error: invalid conversion from 'void (*)(_Screen*, void*, void*)' to 'void (*)(int, void*, void*, void*)'
gmake[3]: *** [libvnccommon_la-vncHooks.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/net/tigervnc/work/tigervnc-1.3.0/unix/xserver/hw/vnc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/net/tigervnc/work/tigervnc-1.3.0/unix/xserver/hw/vnc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/tigervnc/work/tigervnc-1.3.0/unix/xserver/hw'
gmake: *** [all-recursive] Error 1
*** [post-build] Error code 2

Stop in /usr/ports/net/tigervnc.
*** [build] Error code 1

Stop in /usr/ports/net/tigervnc.

===>>> make failed for net/tigervnc
===>>> Aborting update

===>>> Killing background jobs
Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> net/tigervnc 

===>>> Exiting

content of /etc/make.conf :
WITH_NEW_XORG=true
WITH_KMS=true


xorg-server-1.12.4_1,1 is installed.


>How-To-Repeat:
portmaster net/tigervnc
>Fix:
possibly problem with newer xorg-server-version,
http://sourceforge.net/mailarchive/message.php?msg_id=31193398

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Sep 11 22:00:09 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182025 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: meta+ports@vmeta.jp
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/182025: net/tigervnc can't be built after upgrade of port to 1.3.0
Date: Wed, 11 Sep 2013 22:00:08 UT

 Maintainer of net/tigervnc,
 
 Please note that PR ports/182025 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182025
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Koichiro IWAO <meta+ports@vmeta.jp>
To: bug-followup@freebsd.org, kaltheat@gmail.com
Cc:  
Subject: Re: ports/182025: net/tigervnc can&#39;t be built after upgrade of
 port to 1.3.0
Date: Thu, 12 Sep 2013 12:43:23 +0900

 I cannot reproduce the failure. Fix that you show is already included 
 the port.
 Could you email me whole build log?
 
 -- 
 `whois vmeta.jp | nkf -w`
 meta <meta@vmeta.jp>

From: kaltheat@googlemail.com
To: Koichiro IWAO <meta+ports@vmeta.jp>
Cc: bug-followup@freebsd.org, kaltheat@gmail.com
Subject: Re: ports/182025: net/tigervnc can&#39;t be built after upgrade of
 port to 1.3.0
Date: Thu, 12 Sep 2013 19:34:14 +0200

 I just rechecked. I'm working on HEAD of portstree (Revision 327087).
 
 I did:
 
 # cd /usr/ports/net/tigervnc && make fetch extract patch
 
 # find work -exec grep "if XORG " {} +
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 ...
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/xf86vncModule.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/xf86vncModule.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG < 110
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG == 15
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#elif XORG < 19
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG < 110
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG >= 16
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG < 19
 ...
 
 This supports the conclusion that the mentioned patch is not
 included.
 
 Regards,
 kaltheat
 

From: Koichiro IWAO <meta+ports@vmeta.jp>
To: kaltheat@googlemail.com
Cc: bug-followup@freebsd.org, kaltheat@gmail.com, kaltheat@zoho.com
Subject: Re: ports/182025: net/tigervnc can&#39;t be built after upgrade of
 port to 1.3.0
Date: Fri, 13 Sep 2013 09:54:28 +0900

 Can you see the patch named patch-hw-vnc-off-by-one-error[1] in
 files directory? It's supposed to be exist. If it exists, the patch is 
 not
 applied for some reason.
 
 $ svn co svn://svn0.us-west.freebsd.org/ports/head/net/tigervnc
 A    tigervnc/distinfo
 A    tigervnc/pkg-descr
 A    tigervnc/files
 A    tigervnc/files/patch-hw-vnc-off-by-one-error
 A    tigervnc/files/patch-CMakeLists.txt
 A    tigervnc/files/patch-cmake_BuildPackages.cmake
 A    tigervnc/files/patch-unix_vncserver
 A    tigervnc/pkg-plist
 A    tigervnc/Makefile
 Checked out revision 327120.
 
 $ cd tigervnc && LANG=C svn info
 Path: .
 Working Copy Root Path: /tmp/tigervnc
 URL: svn://svn0.us-west.freebsd.org/ports/head/net/tigervnc
 Relative URL: ^/head/net/tigervnc
 Repository Root: svn://svn0.us-west.freebsd.org/ports
 Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
 Revision: 327120
 Node Kind: directory
 Schedule: normal
 Last Changed Author: wg
 Last Changed Rev: 326978
 Last Changed Date: 2013-09-11 22:20:02 +0900 (Wed, 11 Sep 2013)
 
 # make clean patch
 # find work -exec grep "if XORG" {} + | grep 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc:#if XORG < 112
 (snip)
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/xf86vncModule.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/xf86vncModule.cc:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc.orig:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc.orig:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc.orig:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc.orig:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc.orig:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc.orig:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc.orig:#if XORG < 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG <= 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG <= 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG <= 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG <= 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG <= 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG <= 112
 work/tigervnc-1.3.0/unix/xserver/hw/vnc/vncHooks.cc:#if XORG <= 112
 
 I can see vncHooks.cc is patched.
 
 [1] 
 https://svnweb.freebsd.org/ports/head/net/tigervnc/files/patch-hw-vnc-off-by-one-error?revision=326978&view=markup
 
 -- 
 `whois vmeta.jp | nkf -w`
 meta <meta@vmeta.jp>

From: kaltheat@googlemail.com
To: Koichiro IWAO <meta+ports@vmeta.jp>
Cc: bug-followup@freebsd.org
Subject: Re: ports/182025: net/tigervnc can&#39;t be built after upgrade of
 port to 1.3.0
Date: Fri, 13 Sep 2013 15:00:38 +0200

 On Fri, Sep 13, 2013 at 09:54:28AM +0900, Koichiro IWAO wrote:
 > Can you see the patch named patch-hw-vnc-off-by-one-error[1] in
 > files directory? It's supposed to be exist. If it exists, the patch is 
 > not applied for some reason.
 
 I couldn't see that file.
 
 It turned out that my local portstree was broken.
 I removed and refetched it and then this patch appeared.
 
 Now it builds just fine.
 Sorry for the noice ...
 
 Regards,
 kaltheat
 
 

From: Koichiro IWAO <meta+ports@vmeta.jp>
To: bug-followup@freebsd.org, freebsd-ports-bugs@freebsd.org
Cc:  
Subject: Re: ports/182025: net/tigervnc can&#39;t be built after upgrade of
 port to 1.3.0
Date: Fri, 13 Sep 2013 22:23:34 +0900

 Please close. Submitter's local ports tree was corrupt.
 
 -- 
 `whois vmeta.jp | nkf -w`
 meta <meta@vmeta.jp>
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Sep 13 18:43:20 UTC 2013 
State-Changed-Why:  
result of a local problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182025 
>Unformatted:
