Ticket #15919 (closed defect: fixed)
osxvnc: build failure on Mac OS X 10.5.4
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | lagrave+bugs+macosforge.org@…, rsolanob@… | |
| Port: | osxvnc |
Description
osxvnc won't install on Mac OS X 10.5.4 PowerPC. I'm installing as non-root. There may be more permissions issues I didn't get in r38117.
$ port install osxvnc
Portfile changed since last build; discarding previous state.
---> Fetching osxvnc
---> Verifying checksum(s) for osxvnc
---> Extracting osxvnc
---> Applying patches to osxvnc
---> Configuring osxvnc
---> Building osxvnc
Error: Target org.macports.build returned: shell command "cd "/mp/var/macports/build/_Volumes_data_macports_ports_aqua_osxvnc/work/OSXvnc" && xcodebuild -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ ARCHS=ppc" returned error 1
Command output: setenv VERSIONPLIST_PATH "Vine Server.app/Contents/version.plist"
setenv VERSION_INFO_BUILDER rschmidt
setenv VERSION_INFO_FILE "Vine Server_vers.c"
setenv VERSION_INFO_STRING "\"@(#)PROGRAM:Vine Server PROJECT:OSXvnc-1016\""
setenv WARNING_CFLAGS "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"
setenv WRAPPER_EXTENSION app
setenv WRAPPER_NAME "Vine Server.app"
setenv WRAPPER_SUFFIX .app
setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
setenv XCODE_VERSION_ACTUAL 0310
setenv XCODE_VERSION_MAJOR 0300
setenv YACC /Developer/usr/bin/yacc
setenv ZERO_LINK NO
/bin/sh -c "\"/mp/var/macports/build/_Volumes_data_macports_ports_aqua_osxvnc/work/OSXvnc/build/OSXvnc.build/Deployment/Vine Server.build/Script-AB139E4C0CEA04C800EE873A.sh\""
Setting version of project OSXvnc to:
1017.
Stripping "/mp/var/macports/build/_Volumes_data_macports_ports_aqua_osxvnc/work/OSXvnc/build/Deployment/Vine Server.app/Contents/MacOS/Vine Server"
cd /mp/var/macports/build/_Volumes_data_macports_ports_aqua_osxvnc/work/OSXvnc
/Developer/usr/bin/strip "/mp/var/macports/build/_Volumes_data_macports_ports_aqua_osxvnc/work/OSXvnc/build/Deployment/Vine Server.app/Contents/MacOS/Vine Server"
** BUILD FAILED **
The following build commands failed:
Vine Server:
CopyStringsFile "/mp/var/macports/build/_Volumes_data_macports_ports_aqua_osxvnc/work/OSXvnc/build/Deployment/Vine Server.app/Contents/Resources/German.lproj/Localizable.strings" German.lproj/Localizable.strings
CopyStringsFile "/mp/var/macports/build/_Volumes_data_macports_ports_aqua_osxvnc/work/OSXvnc/build/Deployment/Vine Server.app/Contents/Resources/Italian.lproj/Localizable.strings" Italian.lproj/Localizable.strings
(2 failures)
Error: Status 1 encountered during processing.
$
Change History
comment:1 Changed 4 years ago by ryandesign@…
- Status changed from new to assigned
- Cc lagrave+bugs+macosforge.org@… added
- Port set to osxvnc
comment:2 Changed 4 years ago by ryandesign@…
- Summary changed from osxvnc: build failure on Mac OS X 10.5.4 PowerPC to osxvnc: build failure on Mac OS X 10.5.4
Also, #18245 is on Intel, so it's not PowerPC-specific.
comment:4 Changed 4 years ago by ryandesign@…
- Status changed from assigned to closed
- Resolution set to fixed
The problem is that the Localizable.strings files are in various different encodings. I think on Tiger these are just copied into the destination as is, but on Leopard CopyStringsFile wants to convert these to UTF-16. The German and Italian strings are in Mac Roman encoding and CopyStringsFile can't figure this out.
Fixed in r48620 by converting the strings files to UTF-16 from their respective encodings in the Portfile.
comment:5 Changed 4 years ago by ryandesign@…
I have reported the problem to the developers of Vine Server.
Note: See
TracTickets for help on using
tickets.


I guess non-root doesn't have anything to do with it, given duplicate #18245.