Opened 17 years ago

Closed 6 years ago

#13900 closed defect (fixed)

DesktopManager-0.5.3: Undefined symbols: _CGSCreateCStringNoCopy

Reported by: oxon@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), chrstphrchvz (Christopher Chavez)
Port: DesktopManager

Description (last modified by ryandesign (Ryan Carsten Schmidt))

desktopmanager-0.5.3 does not compile on Leopard. A link error occurs while building the port. Same link error occurs if one build the original source (http://desktopmanager.berlios.de/) with XCode 3.0.

  • PowerBook G4
  • OS X 10.5.1
$ sudo port install desktopmanager
--->  Fetching DesktopManager
--->  Attempting to fetch DesktopManager-0.5.3.src.tar.gz from http://download.berlios.de/desktopmanager/
--->  Verifying checksum(s) for DesktopManager
--->  Extracting DesktopManager
--->  Configuring DesktopManager
--->  Building DesktopManager
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_DesktopManager/work/DesktopManager" && xcodebuild  -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ " returned error 1
Command output:     cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mtune=G4 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/DesktopManager.hmap -Wmost -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/DerivedSources -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-cbrnqfvgfvifwdandyypcdjsyzln/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/HotKeys/HotKeyController.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/Objects-normal/ppc/HotKeyController.o

CompileC build/DesktopManager.build/Deployment/DesktopManager.build/Objects-normal/ppc/HotKey.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/HotKeys/HotKey.m normal ppc objective-c com.apple.compilers.gcc.4_0
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mtune=G4 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/DesktopManager.hmap -Wmost -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/DerivedSources -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-cbrnqfvgfvifwdandyypcdjsyzln/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/HotKeys/HotKey.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/Objects-normal/ppc/HotKey.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/HotKeys/HotKey.m: In function '-[HotKey stringRepresentation]':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/HotKeys/HotKey.m:280: warning: 'KLGetCurrentKeyboardLayout' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h:436)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/HotKeys/HotKey.m:281: warning: 'KLGetKeyboardLayoutProperty' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h:322)
 
 CompileC build/DesktopManager.build/Deployment/DesktopManager.build/Objects-normal/ppc/NotificationView.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/NotificationView.m normal ppc objective-c com.apple.compilers.gcc.4_0
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mtune=G4 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/DesktopManager.hmap -Wmost -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/DerivedSources -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-cbrnqfvgfvifwdandyypcdjsyzln/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/NotificationView.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/Objects-normal/ppc/NotificationView.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/NotificationView.m: In function '-[NotificationView drawRect:]':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/NotificationView.m:123: warning: 'cString' is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:345)

CompileC build/DesktopManager.build/Deployment/DesktopManager.build/Objects-normal/ppc/StickyWindowController.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/Core/StickyWindowController.m normal ppc objective-c com.apple.compilers.gcc.4_0
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mtune=G4 -gdwarf-2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/DesktopManager.hmap -Wmost -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/DerivedSources -include /Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit-cbrnqfvgfvifwdandyypcdjsyzln/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/Core/StickyWindowController.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/Objects-normal/ppc/StickyWindowController.o

Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment/DesktopManager.framework/Versions/A/DesktopManager normal ppc
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager
    /Developer/usr/bin/gcc-4.0 -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment/DesktopManager.framework/Versions/A/DesktopManager -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/Deployment -filelist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DesktopManager/work/DesktopManager/build/DesktopManager.build/Deployment/DesktopManager.build/Objects-normal/ppc/DesktopManager.LinkFileList -framework Foundation -framework Cocoa -framework Carbon -framework ApplicationServices -framework AppleScriptKit -framework AppKit -arch ppc -prebind -Wl,-single_module -compatibility_version 1 -current_version 1 -install_name @executable_path/../Frameworks/DesktopManager.framework/Versions/A/DesktopManager -dynamiclib -framework Foundation -framework AppKit
Undefined symbols:
  "_CGSCreateCStringNoCopy", referenced from:
      __ensure_kCGSWindowTitle in ForeignWindow.o
      -[ForeignWindow title] in ForeignWindow.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
** BUILD FAILED **

Error: Status 1 encountered during processing.

Change History (9)

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

Same link error occurs if one build the original source with XCode 3.0.

Please file a bug upstream if you have not already done so.

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

Cc: ryandesign@… added
Summary: desktopmanager-0.5.3 link error - build failureDesktopManager-0.5.3: Undefined symbols: _CGSCreateCStringNoCopy

It doesn't built on Mac OS X 10.4.11 either, though it's a different error.

DesktopManager 0.5.3 is from 2005. Perhaps it has bitrotted.

Since Mac OS X 10.5 includes Spaces, perhaps this software isn't so interesting anymore.

comment:3 Changed 16 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Port: DesktopManager added

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:7 in reply to:  2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

DesktopManager 0.5.3 is from 2005. Perhaps it has bitrotted.

It lives on as VirtueDesktops but is no longer being developed.

comment:8 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:9 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: newclosed

In 10dc4932fa3e30ca2f98cd906dc5c2781bf136a7/macports-ports (master):

DesktopManager: restrict to Mac OS X 10.4

Fixes: #57628
Closes: #13900

Note: See TracTickets for help on using tickets.