Opened 4 years ago

Last modified 3 years ago

#58616 assigned defect

irrlicht fails to build on Mac OSX 10.5 Leopard PPC

Reported by: linuxjunkie999 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: leopard Cc:
Port: irrlicht

Description

** BUILD FAILED **

The following build commands failed:
IrrFramework:
	Distributed-CompileC build/MacOSX.build/Release/IrrFramework.build/Objects-normal/ppc/CIrrDeviceMacOSX.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm normal ppc objective-c++ com.apple.compilers.gcc.4_2
(1 failure)

Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4" && /usr/bin/xcodebuild -project "./source/Irrlicht/MacOSX/MacOSX.xcodeproj" -target "IrrFramework" -configuration Release install INSTALL_PATH=/opt/local/Library/Frameworks  OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/build/" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/build/" MACOSX_DEPLOYMENT_TARGET=10.5 ARCHS=ppc SDKROOT="" GCC_VERSION=4.2 CLANG_CXX_LIBRARY="libstdc++"  DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/destroot"
Exit code: 1
Error: Failed to destroot irrlicht: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/main.log for details.

Attachments (1)

main.log (1.3 MB) - added by linuxjunkie999 4 years ago.
irrlicht main.log file

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by linuxjunkie999

Attachment: main.log added

irrlicht main.log file

comment:1 Changed 4 years ago by kencu (Ken)

Yeah - I don't think I ever tried this port on PPC. The buildbot didn't build it on PPC, I notice <http://packages.macports.org/irrlicht/> . I actually don't remember at the moment.

No promises at all. If you post up the log, we might start on something.

Often the best first start for something like this is to see if it builds on 10.5 Intel, and if not, make that work, then try crossing over to PPC.

comment:2 Changed 4 years ago by kencu (Ken)

Thanks - looks like there error is here in this file MacOSX/CIrrDeviceMacOSX.mm, which I already had to patch once to get this port to build on 10.6+.

:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm: In constructor 'irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(const irr::SIrrlichtCreationParameters&)':
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:499: error: cannot find protocol declaration for 'NSApplicationDelegate'
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm: In destructor 'virtual irr::CIrrDeviceMacOSX::~CIrrDeviceMacOSX()':
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536: error: 'NSApplicationPresentationDefault' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536: warning: no '-setPresentationOptions:' method found
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536: warning: (Messages without a matching method signature
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536: warning: will be assumed to return 'id' and accept
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536: warning: '...' as arguments.)
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm: In member function 'bool irr::CIrrDeviceMacOSX::createWindow()':
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:603: error: 'CGDisplayModeRef' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:603: error: expected `;' before 'displaymode'
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:721: error: cannot find protocol declaration for 'NSWindowDelegate'
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:747: error: 'displaymode' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:747: error: 'CGDisplayCopyDisplayMode' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:749: error: 'CGDisplayCopyAllDisplayModes' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:753: error: expected `;' before 'CurrentMode'
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:757: error: 'CurrentMode' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:757: error: 'CGDisplayModeCopyPixelEncoding' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:769: error: 'CGDisplayModeGetWidth' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:769: error: 'CGDisplayModeGetHeight' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:782: error: 'olddisplaymode' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:791: error: 'CGDisplaySetDisplayMode' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:829: error: 'CGLSetFullScreenOnDisplay' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:873: error: 'NSApplicationPresentationAutoHideDock' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:873: error: 'NSApplicationPresentationAutoHideMenuBar' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:873: warning: no '-setPresentationOptions:' method found
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm: In member function 'virtual irr::video::IVideoModeList* irr::CIrrDeviceMacOSX::getVideoModeList()':
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1834: error: 'CGDisplayCopyAllDisplayModes' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1838: error: 'CGDisplayModeRef' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1838: error: expected `;' before 'CurrentMode'
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1842: error: 'CurrentMode' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1842: error: 'CGDisplayModeCopyPixelEncoding' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1855: error: 'CGDisplayModeGetWidth' was not declared in this scope
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1856: error: 'CGDisplayModeGetHeight' was not declared in this scope
:info:destroot distcc[80905] ERROR: compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm on G4MDDWORK.local./4 failed

comment:3 Changed 4 years ago by kencu (Ken)

And NSApplicationDelegate is indeed 10.6+ <https://developer.apple.com/documentation/appkit/nsapplicationdelegate> so we might, in the end, be out of luck without some surgery.

comment:4 Changed 4 years ago by mf2k (Frank Schima)

Cc: kencu removed
Keywords: leopard added; Leopard irrlicht removed

comment:5 Changed 3 years ago by kencu (Ken)

Owner: changed from kencu to nomaintainer

comment:6 Changed 3 years ago by kencu (Ken)

Owner: nomaintainer deleted
Note: See TracTickets for help on using tickets.