Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2013 21:55:17 GMT
From:      kaltheat <kaltheat@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182025: net/tigervnc can't be built after upgrade of port to 1.3.0
Message-ID:  <201309112155.r8BLtHTV057268@oldred.freebsd.org>
Resent-Message-ID: <201309112200.r8BM00nJ071551@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 11 22:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309112155.r8BLtHTV057268>