Opened 5 years ago

Closed 3 years ago

#59357 closed defect (fixed)

Pallet: Build Failure on Catalina 10.15. error: Compiling for earlier than macOS 10.6 is no longer supported. huh?

Reported by: coolbikerdad Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ShadSterling (Shad Sterling)
Port: Pallet

Description (last modified by jmroot (Joshua Root))

Build fails on Catalina. Tail of error log follows:

:info:build /* com.apple.ibtool.document.warnings */
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet/Preferences.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited.
:info:build /* com.apple.ibtool.document.errors */
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet/Preferences.xib:global: error: Compiling for earlier than macOS 10.6 is no longer supported.
:info:build CpResource TB_Info.icns build/Release/Pallet.app/Contents/Resources/TB_Info.icns
:info:build     cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet
:info:build     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet/TB_Info.icns /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet/build/Release/Pallet.app/Contents/Resources
:info:build ** BUILD FAILED **
:info:build The following build commands failed:
:info:build 	CompileXIB Preferences.xib
:info:build (1 failure)
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet" && /usr/bin/xcodebuild -UseNewBuildSystem=NO  -target "Pallet" -configuration Release build INSTALL_PATH=/Applications/MacPorts  OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet/build/" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet/build/" MACOSX_DEPLOYMENT_TARGET=10.15 ARCHS=x86_64 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++" FRAMEWORK_SEARCH_PATHS='/opt/local/Library/Frameworks Growl-1.2.1-Framework'
:info:build Exit code: 65
:error:build Failed to build Pallet: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_Pallet/Pallet/main.log for details.

Attachments (1)

main.log (53.6 KB) - added by coolbikerdad 5 years ago.
Build log file (full)

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by coolbikerdad

Attachment: main.log added

Build log file (full)

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

Description: modified (diff)

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

Summary: Pallet build fails on 10.15Pallet: error: Compiling for earlier than macOS 10.6 is no longer supported.

The error in the log is:

error: Compiling for earlier than macOS 10.6 is no longer supported.

There are many other open bug reports about Pallet. If you can help resolve them so that Pallet can be used again on modern macOS versions, that would be appreciated.

comment:3 Changed 5 years ago by coolbikerdad

Summary: Pallet: error: Compiling for earlier than macOS 10.6 is no longer supported.Pallet: Build Failure on Catalina 10.15. error: Compiling for earlier than macOS 10.6 is no longer supported. huh?

The error message is confusing, as this is failing in Catalina 10.15, not anything earlier than Snow Leopard 10.6. Does it mean “newer’, and Pallet has not worked since then? Or is the detection of OS in the build wrong? As Pallet is the “official” GUI for MacPorts it would be nice to get it going on Catalina.

comment:4 in reply to:  3 Changed 5 years ago by dlamija (Muhammed Ramiza)

it is on Catalina 10.15. Replying to coolbikerdad:

The error message is confusing, as this is failing in Catalina 10.15, not anything earlier than Snow Leopard 10.6. Does it mean “newer’, and Pallet has not worked since then? Or is the detection of OS in the build wrong? As Pallet is the “official” GUI for MacPorts it would be nice to get it going on Catalina.

I think the error is mean for compiling xib file from 10.6 system as full error message is :

/* com.apple.ibtool.document.warnings */
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_sysutils_Pallet/Pallet/work/Pallet/Preferences.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited.
/* com.apple.ibtool.document.errors */
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_sysutils_Pallet/Pallet/work/Pallet/Preferences.xib:global: error: Compiling for earlier than macOS 10.6 is no longer supported.

comment:5 Changed 4 years ago by phochstr (Peter Hochstrasser)

The problem is that MainMenu.xib is in an old file format, apparently pre-10.6. For Catalina, it needs to be updated to Xcode's current file format and compiled in that version. There is also a slew of error messages that require some changes to the layout.

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

on another port that showed the same error, the xib files indicated a hardcoded deployment target of 10.5. I just reinplaced that to 10.6 and everything worked. Probably could reinplace it to the current build systems os version, didn't try.

I assumed they were made like that by the xcode that generated them, but the current ibtool just no longer carries the code to build them in the 10.5 format, Not that we need them built in that format anyway.

So that is a very easy thing to try.

comment:7 Changed 3 years ago by ShadSterling (Shad Sterling)

Cc: ShadSterling added

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.