Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#57988 closed defect (fixed)

CocoaDialog @2.1.1_1: error: could not decode input file using specified encoding: Unicode (UTF-8)

Reported by: dzogrim (Séв(aѕтιen) L.) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: CocoaDialog

Description

:debug:sysinfo macOS 10.14 (darwin/18.2.0) arch i386
:debug:sysinfo MacPorts 2.5.4
:debug:sysinfo Xcode 10.1
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
:debug:main CocoaDialog has no conflicts
:info:build     ARCHS = x86_64
:info:build     CLANG_CXX_LIBRARY = libc++
:info:build     GCC_VERSION = com.apple.compilers.llvm.clang.1_0
:info:build     INSTALL_PATH = /Applications/MacPorts
:info:build     MACOSX_DEPLOYMENT_TARGET = 10.14
:info:build     cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog
: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_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/COPYING /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/build/Deployment/CocoaDialog.app/Contents/Resources
:info:build CopyStringsFile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/build/Deployment/CocoaDialog.app/Contents/Resources/English.lproj/InfoPlist.strings /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/Resources/English.lproj/InfoPlist.strings (in target: CocoaDialog)
:info:build     cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog
:info:build     builtin-copyStrings --validate --inputencoding utf-8 --outputencoding UTF-16 --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/build/Deployment/CocoaDialog.app/Contents/Resources/English.lproj -- /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/Resources/English.lproj/InfoPlist.strings
:info:build error: could not decode input file using specified encoding: Unicode (UTF-8), and the file contents appear to be encoded in Unicode (UTF-16)
:info:build ** BUILD FAILED **
:info:build The following build commands failed:
:info:build 	CopyStringsFile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/build/Deployment/CocoaDialog.app/Contents/Resources/English.lproj/InfoPlist.strings /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/Resources/English.lproj/InfoPlist.strings
:info:build (1 failure)
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog" && /usr/bin/xcodebuild  -target "CocoaDialog" -configuration Deployment build INSTALL_PATH=/Applications/MacPorts  OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/build/" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog/build/" MACOSX_DEPLOYMENT_TARGET=10.14 ARCHS=x86_64 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
:info:build Exit code: 65
:error:build Failed to build CocoaDialog: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "$procedure $targetname"

Attachments (2)

full_debug.txt (64.1 KB) - added by dzogrim (Séв(aѕтιen) L.) 6 years ago.
full-output.txt (412.5 KB) - added by dzogrim (Séв(aѕтιen) L.) 6 years ago.
Error: Failed to destroot CocoaDialog: command execution failed

Download all attachments as: .zip

Change History (11)

comment:1 Changed 6 years ago by dzogrim (Séв(aѕтιen) L.)

Summary: CocoaDialog @2.1.1_1: build failure on macOS 10.14CocoaDialog @2.1.1_1: build failure on macOS 10.14.3

Changed 6 years ago by dzogrim (Séв(aѕтιen) L.)

Attachment: full_debug.txt added

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Keywords: mojave build removed

I see the same error on High Sierra.

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

Cc: ryandesign added

The project has moved to GitHub however no new release has been made there and there are no tags or downloads for old releases (they apparently got lost when moving the project to a new GitHub organization). The web site is offline. There is a binary of a newer version called 3.0.0beta7, which was later rebranded as 2.3.7. The source code for that version is in this commit. We could try updating the port to that version. If we do, I recommend we patch it to make sure the version number shows as 2.3.7.

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

Owner: set to ryandesign
Status: newaccepted
Summary: CocoaDialog @2.1.1_1: build failure on macOS 10.14.3CocoaDialog @2.1.1_1: error: could not decode input file using specified encoding: Unicode (UTF-8)

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

Resolution: fixed
Status: acceptedclosed

In bd6fa5fbaaa802ec7a03fb04091212c4f4992ece/macports-ports (master):

CocoaDialog: Update to 2.3.7

Closes: #57988

comment:6 Changed 6 years ago by dzogrim (Séв(aѕтιen) L.)

Thanks! Not the same problem then, but staging is still in failure state (after cleaning and so on…) and can't install cocoaDialog:

:info:destroot ** INSTALL FAILED **
:info:destroot The following build commands failed:
:info:destroot 	SymLink /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog-f0bf3a7704437bc0b6df52709735589a06bfd8a0/build/Release/cocoaDialog.app /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/destroot/Applications/MacPorts/cocoaDialog.app
:info:destroot (1 failure)
:info:destroot Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog-f0bf3a7704437bc0b6df52709735589a06bfd8a0" && /usr/bin/xcodebuild  -target "cocoaDialog" -configuration Release install INSTALL_PATH=/Applications/MacPorts  OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog-f0bf3a7704437bc0b6df52709735589a06bfd8a0/build/" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/cocoadialog-f0bf3a7704437bc0b6df52709735589a06bfd8a0/build/" MACOSX_DEPLOYMENT_TARGET=10.14 ARCHS=x86_64 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"  DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CocoaDialog/CocoaDialog/work/destroot"
:info:destroot Exit code: 65
:error:destroot Failed to destroot CocoaDialog: command execution failed
:debug:destroot Error code: NONE
:debug:destroot Backtrace: command execution failed
:debug:destroot     while executing
:debug:destroot "$procedure $targetname"

I'll try the binary…

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

There's not enough of the transcript there to know for sure, but it's probably #57137. I'm seeing a build failure on the Mojave buildbot worker because of that.

Changed 6 years ago by dzogrim (Séв(aѕтιen) L.)

Attachment: full-output.txt added

Error: Failed to destroot CocoaDialog: command execution failed

comment:8 Changed 6 years ago by dzogrim (Séв(aѕтιen) L.)

Hi, I just joined the full transcript if it can help… anyway, thanks for the d/l link; the binary is working fine.

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

Yup, that's the derived data problem.

Note: See TracTickets for help on using tickets.