Opened 14 years ago

Last modified 14 years ago

#22858 new defect

ProjectManager build error

Reported by: trog24 (Frank J. R. Hanstick) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: ProjectManager

Description

The following error occurs when trying to install ProjectManager:

--->  Building ProjectManager
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_ProjectManager/work/ProjectManager-0.2" && /usr/bin/gnumake -j2 all messages=yes GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles " returned error 2
Command output: 	_GNUSTEP_MAKE_PARALLEL=yes
gcc-mp-4.2 BundleExtensionLoader.m -c \
	      -MMD -MP -I/opt/local/include -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -m32 -fno-strict-aliasing -fgnu-runtime -W -Wall -Wno-unused -Wno-import -O0 -ggdb3 -DDEBUG -fconstant-string-class=NSConstantString -I. -I/opt/local/GNUstep/Local/Library/Headers/ -I/opt/local/GNUstep/System/Library/Headers/ \
	       -o obj/BundleExtensionLoader.m.o
gcc-mp-4.2 CommandQueryPanel.m -c \
	      -MMD -MP -I/opt/local/include -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -m32 -fno-strict-aliasing -fgnu-runtime -W -Wall -Wno-unused -Wno-import -O0 -ggdb3 -DDEBUG -fconstant-string-class=NSConstantString -I. -I/opt/local/GNUstep/Local/Library/Headers/ -I/opt/local/GNUstep/System/Library/Headers/ \
	       -o obj/CommandQueryPanel.m.o
gcc-mp-4.2 Controller.m -c \
	      -MMD -MP -I/opt/local/include -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -m32 -fno-strict-aliasing -fgnu-runtime -W -Wall -Wno-unused -Wno-import -O0 -ggdb3 -DDEBUG -fconstant-string-class=NSConstantString -I. -I/opt/local/GNUstep/Local/Library/Headers/ -I/opt/local/GNUstep/System/Library/Headers/ \
	       -o obj/Controller.m.o
gcc-mp-4.2 Debugging.m -c \
	      -MMD -MP -I/opt/local/include -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -m32 -fno-strict-aliasing -fgnu-runtime -W -Wall -Wno-unused -Wno-import -O0 -ggdb3 -DDEBUG -fconstant-string-class=NSConstantString -I. -I/opt/local/GNUstep/Local/Library/Headers/ -I/opt/local/GNUstep/System/Library/Headers/ \
	       -o obj/Debugging.m.o
gcc-mp-4.2 EditorGuide.m -c \
	      -MMD -MP -I/opt/local/include -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -m32 -fno-strict-aliasing -fgnu-runtime -W -Wall -Wno-unused -Wno-import -O0 -ggdb3 -DDEBUG -fconstant-string-class=NSConstantString -I. -I/opt/local/GNUstep/Local/Library/Headers/ -I/opt/local/GNUstep/System/Library/Headers/ \
	       -o obj/EditorGuide.m.o
gcc-mp-4.2 EditorRulerView.m -c \
	      -MMD -MP -I/opt/local/include -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -m32 -fno-strict-aliasing -fgnu-runtime -W -Wall -Wno-unused -Wno-import -O0 -ggdb3 -DDEBUG -fconstant-string-class=NSConstantString -I. -I/opt/local/GNUstep/Local/Library/Headers/ -I/opt/local/GNUstep/System/Library/Headers/ \
	       -o obj/EditorRulerView.m.o
gcc-mp-4.2 EditorTextView.m -c \
	      -MMD -MP -I/opt/local/include -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -m32 -fno-strict-aliasing -fgnu-runtime -W -Wall -Wno-unused -Wno-import -O0 -ggdb3 -DDEBUG -fconstant-string-class=NSConstantString -I. -I/opt/local/GNUstep/Local/Library/Headers/ -I/opt/local/GNUstep/System/Library/Headers/ \
	       -o obj/EditorTextView.m.o
EditorRulerView.m: In function '-[EditorRulerView drawRect:]':
EditorRulerView.m:111: error: 'NSFontAttributeName' undeclared (first use in this function)
EditorRulerView.m:111: error: (Each undeclared identifier is reported only once
EditorRulerView.m:111: error: for each function it appears in.)
gnumake[2]: *** [obj/EditorRulerView.m.o] Error 1
gnumake[2]: *** Waiting for unfinished jobs....
gnumake[1]: *** [internal-app-run-compile-submake] Error 2
gnumake: *** [ProjectManager.all.app.variables] Error 2

Error: Status 1 encountered during processing.

The platform particulars are:

Quicksilver PPC G4 running MacOS 10.5.8

Change History (2)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Port: ProjectManager added

comment:2 Changed 14 years ago by trog24 (Frank J. R. Hanstick)

For those interested, the following changes resulted in a successful install:

Modules: EditorRulerView.m, SourceEditorDocument.m, and MakeBuilder.m
Added:  #import <AppKit/NSAttributedString.h>
Modules:  NSSetAdditions.m, ProjectModuleLoader.m, ProjectTypeDescription.m, ProjectTypeLoader.m, and RelativePathUtilities.m
Added: #import <Foundation/NSEnumerator.h>
Module:  ProjectDocument.m
Added:  #import <Foundation/NSCharacterSet.h>
        #import <Foundation/NSNotification.h>
Modules: ProjectWindowController.m and MakeBuilder.m
Commented out:  #import <AppKit/NSWindow+Toolbar.h>
Module:  ProjectCreater.m
Added:  #import <Foundation/NSPathUtilities.h>

There were two warnings related to building left, namely:

ProjectWindowController.m: In function '-[ProjectWindowController toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]':
ProjectWindowController.m:295: warning: class 'NSPopUpButton' does not implement the 'NSMenuView' protocol

FileManager.m: In function '-[FileManager importFiles:]':
FileManager.m:2328: warning: class 'NSButton' does not implement the 'NSMenuView' protocol

and 1 warning related to installation, namely:

Warning: violation by /opt/local/GNUstep
Warning: ProjectManager violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!

I do not know if the program works, only that it installs.

Note: See TracTickets for help on using tickets.