Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#22154 closed defect (fixed)

osxvnc:-3.0: build failure

Reported by: dmcguire@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: dmcguire@…
Port: osxvnc, vineserver

Description

Environment: 32 bit Intel running OSX 10.6.1

# port install osxvnc
--->  Computing dependencies for osxvnc
--->  Fetching osxvnc
--->  Verifying checksum(s) for osxvnc
--->  Extracting osxvnc
--->  Applying patches to osxvnc
--->  Configuring osxvnc
--->  Building osxvnc
Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc" && xcodebuild  -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS=i386 SDKROOT= ARCHS=i386" returned error 1
Command output: 
Setting version of project OSXvnc to: 
    1017.


Strip "build/Deployment/Vine Server.app/Contents/MacOS/Vine Server"
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc
    /Developer/usr/bin/strip "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/build/Deployment/Vine Server.app/Contents/MacOS/Vine Server"

** BUILD FAILED **


The following build commands failed:
JaguarBundle:
	CompileC build/OSXvnc.build/Deployment/JaguarBundle.build/Objects-normal/i386/JaguarExtensions.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/JaguarExtensions.m normal i386 objective-c com.apple.compilers.gcc.4_2
TigerBundle:
	CompileC build/OSXvnc.build/Deployment/TigerBundle.build/Objects-normal/i386/TigerExtensions.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/TigerExtensions.m normal i386 objective-c com.apple.compilers.gcc.4_2
OSXvnc-server:
	CompileC build/OSXvnc.build/Deployment/OSXvnc-server.build/Objects-normal/i386/auth.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/OSXvnc-server/auth.c normal i386 objective-c com.apple.compilers.gcc.4_2
	CompileC build/OSXvnc.build/Deployment/OSXvnc-server.build/Objects-normal/i386/cutpaste.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/OSXvnc-server/cutpaste.c normal i386 objective-c com.apple.compilers.gcc.4_2
	CompileC build/OSXvnc.build/Deployment/OSXvnc-server.build/Objects-normal/i386/dimming.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/OSXvnc-server/dimming.c normal i386 c com.apple.compilers.gcc.4_2
	CompileC build/OSXvnc.build/Deployment/OSXvnc-server.build/Objects-normal/i386/VNCServer.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/OSXvnc-server/VNCServer.m normal i386 objective-c com.apple.compilers.gcc.4_2
	CompileC build/OSXvnc.build/Deployment/OSXvnc-server.build/Objects-normal/i386/mousecursor.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/OSXvnc-server/mousecursor.c normal i386 c com.apple.compilers.gcc.4_2
	CompileC build/OSXvnc.build/Deployment/OSXvnc-server.build/Objects-normal/i386/kbdptr.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/OSXvnc-server/kbdptr.c normal i386 objective-c com.apple.compilers.gcc.4_2
	CompileC build/OSXvnc.build/Deployment/OSXvnc-server.build/Objects-normal/i386/main.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/OSXvnc-server/main.c normal i386 objective-c com.apple.compilers.gcc.4_2
	CompileC build/OSXvnc.build/Deployment/OSXvnc-server.build/Objects-normal/i386/rfbserver.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_osxvnc/work/OSXvnc/OSXvnc-server/rfbserver.c normal i386 objective-c com.apple.compilers.gcc.4_2
Vine Server:
	PBXCp "build/Deployment/Vine Server.app/Contents/Resources/OSXvnc-server" build/Deployment/OSXvnc-server
(11 failures)


Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…
Port: osxvnc added

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newassigned

comment:3 Changed 15 years ago by dmcguire@…

Cc: dmcguire@… added

Cc Me!

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: vineserver added
Resolution: fixed
Status: assignedclosed

The above output is incomplete.

Updating to 3.1 resolves one error but not this one:

/opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_vineserver/work/OSXvnc/OSXvnc-server/rfb.h:45: error: redefinition of 'struct CGPoint'

The source looks for a #define __COREGRAPHICS__ to decide whether to define CGPoint. This constant was defined in Apple's CoreGraphics.h in 10.4 and 10.5 but no longer in 10.6. I'll patch it to use the #define COREGRAPHICS_H_ instead which is available on all three OS versions.

  • r62138: vineserver 3.1 is in the ports tree now and builds on Snow Leopard
  • r62139: osxvnc is replaced by vineserver

comment:5 in reply to:  4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

The source looks for a #define __COREGRAPHICS__ to decide whether to define CGPoint. This constant was defined in Apple's CoreGraphics.h in 10.4 and 10.5 but no longer in 10.6. I'll patch it to use the #define COREGRAPHICS_H_ instead which is available on all three OS versions.

I reported this problem to the developers.

Note: See TracTickets for help on using tickets.