Bug 112887 - net/nxserver 1.4.0_1 fails to compile after upgrading to xorg-7.2
Summary: net/nxserver 1.4.0_1 fails to compile after upgrading to xorg-7.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-23 08:50 UTC by Liviu Nicolescu
Modified: 2008-04-10 11:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liviu Nicolescu 2007-05-23 08:50:03 UTC
After upgrading to xorg-7.2, nxagent fails to compile with the error:

rm -f Keyboard.o
cc -c -O2 -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -Wundef     -I../../../../../nxcomp -I../../../../../nxcompext 	   -I. -I../../../../exports/include/X11 -I../../../../include/fonts 	   -I../../mi -I../../include -I../../os            -I../../../../include/extensions -I../../../../exports/include/X11 	   -I../../fb -I../../mfb -I../../render -I../../../../lib/font/include -I/usr/local/include  -I../../../.. -I../../../../exports/include   -DCSRG_BASED -DSHAPE -DXINPUT -DXKB  -DXAPPGROUP 	-DXCSECURITY -DTOGCUP  	-DXF86BIGFONT -DDPMSExtension 	   	 -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 				-DXFreeXDGA -DXvExtension 				 -DXFree86Server 				-DXF86VIDMODE 				-DXvMCExtension 				 				-DSMART_SCHEDULE 				-DBUILDDEBUG -DXResExtension 				-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO   -g -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR 				-DDDXOSVERRORF -DDDXTIME -DMITMISC -DXTEST -DXTRAP 	-DXSYNC -DXCMISC -DXRECORD 	
  -DMITSHM  -DBIGREQS -DXF86VIDMODE 	-DXF86MISC -DDBE -DDPMSExtension -DEVI 	 -DXV -DXVMC 	 -DFONTCACHE          -DRES -UMITSHM           -UXF86VIDMODE -UXFreeXDGA -UXF86MISC -UXF86DRI -UXFree86LOADER           -DNXAGENT_NX_INCLUDE=\"NX.h\"          -DNXAGENT_NXPROTO_INCLUDE=\"NXproto.h\"          -DNXAGENT_NXPACK_INCLUDE=\"NXpack.h\"          -DNXAGENT_NXLIBINT_INCLUDE=\"NXlibint.h\"          -DNXAGENT_NXLIB_INCLUDE=\"NXlib.h\"          -DNXAGENT_INIT_DEBUG           -DNXAGENT_SAFEMODE           -DNXAGENT_QUERYBSIZE           -DNXAGENT_CONSTRAINCURSOR           -DNXAGENT_FONTCACHE -DNXAGENT_FONTCACHE_SIZE=50           -DNXAGENT_BAKSTR           -DNXAGENT_GCHACK           -DNXAGENT_PIXMAPCACHE           -DNXAGENT_GLYPHCACHE -DNXAGENT_GLYPHCACHE_SIZE=50           -DNXAGENT_SHAPE2           -DNXAGENT_GETIFOCUS           -DNXAGENT_STOPBIGREQ           -DNXAGENT_XLIBPARAMS           -DNXAGENT_FIXKEYS           -DNXAGENT_FONTMATCH           -DNXAGENT_ERRORH            -DNXAGENT_KA
 RMA             -DNXAGENT_CLIPBOARD           -DNXAGENT_EXPO!
 SURES   
        -DNXAGENT_NOEXPOSEOPTIMIZE           -DNXAGENT_GCOPTIMIZE           -DNXAGENT_CONFWINOPTIMIZE           -DNXAGENT_FORCEBACK           -DNXAGENT_NEVERSS           -DNXAGENT_ONEXIT           -DNXAGENT_FONTEXCLUDE           -DNXAGENT_INTERNALBS           -DNXAGENT_PACKEDIMAGES           -DNXAGENT_VISIBILITY           -DNXAGENT_WAKEUP=1000           -DNXAGENT_ONSTART           -DNXAGENT_SPLASH           -DNXAGENT_FOCUS_KARMA           -DNXAGENT_GETIMAGE           -DNXAGENT_MVFB           -DNXAGENT_ARTSD           -DNXAGENT_KEYMAP           -DNXAGENT_RECONNECT   Keyboard.c
In file included from ../../../../exports/include/X11/Xproto.h:76,
                 from Keyboard.c:34:
/usr/local/include/X11/Xmd.h:155: warning: ISO C90 does not support `long long'
In file included from Keyboard.c:52:
/usr/local/include/X11/extensions/XKBsrv.h:239: error: syntax error before "DeviceUnwrapProc"
*** Error code 1 (continuing)

..

===>  Installing for nxserver-1.4.0_1
===>   nxserver-1.4.0_1 depends on executable in : nc - found
===>   nxserver-1.4.0_1 depends on file: /usr/local/libdata/xorg/libraries - found
===>   Generating temporary packing list
===>  Checking if net/nxserver already installed
/bin/mkdir -p /usr/local/NX/lib /usr/local/NX/bin
install  -o root -g wheel -m 444 /usr/ports/net/nxserver/work/nx-X11/lib/X11/libX11.so* /usr/local/NX/lib
install  -o root -g wheel -m 444 /usr/ports/net/nxserver/work/nx-X11/lib/Xext/libXext.so* /usr/local/NX/lib
install  -o root -g wheel -m 444 /usr/ports/net/nxserver/work/nx-X11/lib/Xrender/libXrender.so* /usr/local/NX/lib
install  -o root -g wheel -m 444 /usr/ports/net/nxserver/work/nxcomp/libXcomp.so* /usr/local/NX/lib
install  -o root -g wheel -m 444 /usr/ports/net/nxserver/work/nxcompext/libXcompext.so* /usr/local/NX/lib
install  -s -o root -g wheel -m 555 /usr/ports/net/nxserver/work/nx-X11/programs/Xserver/nxagent /usr/local/NX/bin
install: /usr/ports/net/nxserver/work/nx-X11/programs/Xserver/nxagent: No such file or directory
*** Error code 71

Stop in /usr/ports/net/nxserver.

How-To-Repeat: make install in /usr/ports/net/nxserver

or

portinstall nxserver
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-23 08:57:21 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 freenx 2007-05-23 14:04:14 UTC
thanks for the heads-up.

this port is supposed to use its very own modified sources for X; is it possible 
that after i submitted the port it was changed to use the freebsd version of X, 
thereby failing with the change to /usr/local?
Comment 3 edwin 2007-05-23 23:14:49 UTC
That wouldn't suprise me. My best bet is to contact the x11@freebsd.org
mailinglist about it. On the other hand, the only thing changed in
the ports framework is the Makefile of it, so I wonder why it went
wrong here.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/
Comment 4 Matthias Fechner freebsd_committer freebsd_triage 2007-06-07 08:13:55 UTC
i found an updated nxserver package on:
http://www.deweyonline.com/nx/freebsd.html

the nxserver port there in combination with:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/113423

works perfectly for me. Everything compiles fine.

Maybe someone can update the port with that package.

Best regards,
Matthias
Comment 5 freenx 2007-06-14 12:32:44 UTC
yes, the port compiles fine - but the libraries do not yet work properly. that's
why it's listed as 'alpha' status. once the kinks have been worked out, i will
update both nxserver and freenx in the ports tree.

patches are welcomed. :)
Comment 6 mjm3 2007-07-07 00:35:56 UTC
I think the issue here is that the port isn't compiling fine. It just
doesn't complain. If you run the port it gets to the install and fails
on the nxagent, however, if you go to where the file should be and run a
make in there, you will get an error like:

In file included from ../../../../exports/include/X11/Xproto.h:76,

                 from Keyboard.c:34:

/usr/local/include/X11/Xmd.h:155: warning: ISO C90 does not support
`long long'

In file included from Keyboard.c:52:

/usr/local/include/X11/extensions/XKBsrv.h:239: error: syntax error
before "DeviceUnwrapProc"

*** Error code 1

Stop in /usr/ports/net/nxserver/work/nx-X11/programs/Xserver/hw/nxagent.

*** Error code 1

Stop in /usr/ports/net/nxserver/work/nx-X11/programs/Xserver.

So it can't install it, cause it can't make it, but doesn't seem to
react to the error.
Comment 7 freenx 2007-08-21 13:40:44 UTC
please mark BROKEN ...

BROKEN= this port fails to build with xorg-7.2
Comment 8 ryanrempel 2007-09-02 16:19:13 UTC
I was able to fix the problem compiling nxserver with xorg 7.2  
installed by removing the following patch file from the port:

patch-nx-x11-programs-xserver-hw-nxagent-imakefile

What the patch had done was add /usr/local/include to the "includes"  
search path: -I /usr/local/include

My theory is that the compilation was picking up a header file from / 
usr/local/include which it would have preferred to get from nxserver  
distribution itself. (That is, it was picking up the system header  
file rather than the custom nxserver header).

I haven't tested to see how removing this patch affects pre-7.2  
compilation.

--
Ryan Rempel
Comment 9 dfilter service freebsd_committer freebsd_triage 2007-09-08 14:42:38 UTC
edwin       2007-09-08 13:42:31 UTC

  FreeBSD ports repository

  Modified files:
    net/nxserver         Makefile 
  Log:
  Mark as broken as requested in ports/112887
  
  PR:             ports/112887
  Submitted by:   dewey hylton <freenx@deweyonline.com>
  
  Revision  Changes    Path
  1.7       +2 -0      ports/net/nxserver/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 10 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-08 14:45:51 UTC
I have marked the ports as broken, can you tell us what current
status of it is? Also, do you think it will (ever) work with xorg
7.2?

Edwin
-- 
Edwin Groothuis
edwin@freebsd.org
http://www.mavetju.org
Comment 11 Mark Linimon freebsd_committer freebsd_triage 2008-03-02 07:39:36 UTC
State Changed
From-To: feedback->closed

Feedback timeout (> 3 months).
Comment 12 Mark Linimon 2008-03-02 22:02:27 UTC
----- Forwarded message from dewey hylton <freenx@deweyonline.com> -----

we've been working on it, believe it or not. i have it compiling now, but my two 
volunteers have disappeared and i've been dealing with family member hospital 
time so have not tested much myself. i'm also dealing with an issue where the 
files get installed to the new (/usr/local) location but somehow they also exist 
in the original location. i have not yet found how that happens.

----- End forwarded message -----
Comment 13 Mark Linimon freebsd_committer freebsd_triage 2008-03-02 22:02:35 UTC
State Changed
From-To: closed->suspended

The problem is still being worked on; see Audit-Trail.
Comment 14 Dirk Meyer freebsd_committer freebsd_triage 2008-04-10 11:00:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

I will take care of it.
Comment 15 dfilter service freebsd_committer freebsd_triage 2008-04-10 11:22:23 UTC
dinoex      2008-04-10 10:22:20 UTC

  FreeBSD ports repository

  Modified files:
    net/nxserver         Makefile distinfo pkg-plist 
    net/nxserver/files   patch-nxviewer-nxviewer-Imakefile 
  Added files:
    net/nxserver/files   patch-nx-X11-config-cf-NX-FreeBSD.def 
                         patch-nx-X11-programs-Xserver-nxagent-Atoms.c 
                         patch-nx-X11-programs-Xserver-nxagent-NXdixfonts.c 
                         patch-nx-X11-programs-Xserver-nxagent-Pixmap.c 
                         patch-nx-X11-programs-Xserver-xkb-ddxLoad.c 
                         patch-nxdesktop-configure 
                         patch-nxesd-audio_oss.c 
                         patch-nxesd-esddsp.c 
                         patch-nxviewer-include-vncauth.h 
                         patch-nxviewer-libvncauth-vncauth.c 
                         patch-nxviewer-nxviewer-misc.c 
                         patch-nxviewer-nxviewer-vncviewer.h 
  Removed files:
    net/nxserver/files   
                         extra-patch-nx-X11-programs-Xserver-hw-nxagent-Reconnect.c 
                         extra-patch-nxcomp-types.h 
                         patch-lib-xtrans-Xtranssock.c 
                         patch-nx-x11-lib-x11-imakefile 
                         patch-nx-x11-programs-xserver-hw-nxagent-imakefile 
                         patch-nxcomp-makefile.in 
                         patch-nxcompext-Clean.c 
                         patch-nxdesktop-Makeconf 
                         patch-nxdesktop-proto.h 
                         patch-nxdesktop-rdesktop.h 
  Log:
  - update to 2.1.0
  - make portlint happier
  - fix missing USE_LDCONFIG
  PR:             112887
  Obtained from:  http://www.deweyonline.com/nx/freebsd.html
  
  Revision  Changes    Path
  1.8       +90 -51    ports/net/nxserver/Makefile
  1.3       +30 -24    ports/net/nxserver/distinfo
  1.2       +0 -11     ports/net/nxserver/files/extra-patch-nx-X11-programs-Xserver-hw-nxagent-Reconnect.c (dead)
  1.2       +0 -57     ports/net/nxserver/files/extra-patch-nxcomp-types.h (dead)
  1.2       +0 -17     ports/net/nxserver/files/patch-lib-xtrans-Xtranssock.c (dead)
  1.1       +20 -0     ports/net/nxserver/files/patch-nx-X11-config-cf-NX-FreeBSD.def (new)
  1.1       +11 -0     ports/net/nxserver/files/patch-nx-X11-programs-Xserver-nxagent-Atoms.c (new)
  1.1       +11 -0     ports/net/nxserver/files/patch-nx-X11-programs-Xserver-nxagent-NXdixfonts.c (new)
  1.1       +100 -0    ports/net/nxserver/files/patch-nx-X11-programs-Xserver-nxagent-Pixmap.c (new)
  1.1       +12 -0     ports/net/nxserver/files/patch-nx-X11-programs-Xserver-xkb-ddxLoad.c (new)
  1.2       +0 -11     ports/net/nxserver/files/patch-nx-x11-lib-x11-imakefile (dead)
  1.2       +0 -11     ports/net/nxserver/files/patch-nx-x11-programs-xserver-hw-nxagent-imakefile (dead)
  1.2       +0 -21     ports/net/nxserver/files/patch-nxcomp-makefile.in (dead)
  1.2       +0 -11     ports/net/nxserver/files/patch-nxcompext-Clean.c (dead)
  1.2       +0 -10     ports/net/nxserver/files/patch-nxdesktop-Makeconf (dead)
  1.1       +11 -0     ports/net/nxserver/files/patch-nxdesktop-configure (new)
  1.2       +0 -11     ports/net/nxserver/files/patch-nxdesktop-proto.h (dead)
  1.2       +0 -10     ports/net/nxserver/files/patch-nxdesktop-rdesktop.h (dead)
  1.1       +14 -0     ports/net/nxserver/files/patch-nxesd-audio_oss.c (new)
  1.1       +11 -0     ports/net/nxserver/files/patch-nxesd-esddsp.c (new)
  1.1       +11 -0     ports/net/nxserver/files/patch-nxviewer-include-vncauth.h (new)
  1.1       +11 -0     ports/net/nxserver/files/patch-nxviewer-libvncauth-vncauth.c (new)
  1.3       +16 -14    ports/net/nxserver/files/patch-nxviewer-nxviewer-Imakefile
  1.1       +10 -0     ports/net/nxserver/files/patch-nxviewer-nxviewer-misc.c (new)
  1.1       +10 -0     ports/net/nxserver/files/patch-nxviewer-nxviewer-vncviewer.h (new)
  1.2       +65 -19    ports/net/nxserver/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 16 Dirk Meyer freebsd_committer freebsd_triage 2008-04-10 11:37:39 UTC
State Changed
From-To: suspended->closed

committed, thanks.