Opened 12 years ago
Last modified 12 years ago
#37465 assigned defect
ImageSnap @0.2.5 PowerPC not supported
Reported by: | jsalort (Julien Salort) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | ImageSnap |
Description
ImageSnap fails to build on PowerPC. The error log says:
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_port s_sysutils_ImageSnap/ImageSnap/work/ImageSnap-v0.2.5" && /usr/bin/xcodebuild -alltargets -configuration Deployment build OBJROOT= build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.5 ARCHS=ppc SDKROOT="" GCC_VERSION=4.0 ' :info:build xcodebuild: Warning: configuration Deployment is not in the project. Building default configuration. :info:build (NOTE: project ImageSnap was written by a newer Xcode version (46) -- temporarily downgrading it (without modifying pr oject file)) :info:build :info:build === BUILDING NATIVE TARGET imagesnap OF PROJECT ImageSnap WITH THE DEFAULT CONFIGURATION (Release) === :info:build :info:build Checking Dependencies... :info:build No architectures to compile for (ARCHS=ppc, VALID_ARCHS=i386 x86_64). :info:build ** BUILD FAILED **
Is it possible to add ppc in the compatible architectures ?
Change History (2)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | ImageSnap added |
Status: | new → assigned |
comment:2 Changed 12 years ago by jsalort (Julien Salort)
It seems to work indeed with the solution that you propose. Thank you
Note: See
TracTickets for help on using
tickets.
Difficult for me to test; my PowerPC machines don't have video cameras.
Either the developer had a good reason for specifying that the only supported archs are i386 x86_64, or this is specified inadvertently, perhaps because it was in a template that the developer based his project on. You could "sudo port clean ImageSnap" and "sudo port extract ImageSnap" and then edit ImageSnap.xcodeproj/project.pbxproj (within the directory identified by the command "port work ImageSnap") to remove the VALID_ARCHS lines (and let the default—all architectures are valid—take effect), and "sudo port install ImageSnap" and see if it builds and works. Please let me know either way.