[MacPorts] #38965: Error: org.macports.build for port libkdcraw returned: command execution failed
MacPorts
noreply at macports.org
Mon Apr 29 07:17:48 PDT 2013
#38965: Error: org.macports.build for port libkdcraw returned: command execution
failed
-------------------------+--------------------------------
Reporter: phy.ywl@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: libkdcraw | Port:
-------------------------+--------------------------------
This error is a result of having multiple arch option in cmake
flags.[[BR]]
Changing [[BR]]
CMAKE_CXX_FLAGS:STRING='-pipe -O2 -arch x86_64 -arch i386 '[[BR]]
CMAKE_C_FLAGS:STRING='-pipe -O2 -arch x86_64 -arch i386 '[[BR]]
CMAKE_OSX_ARCHITECTURES:STRING=x86_64;i386[[BR]]
CMAKE_SHARED_LINKER_FLAGS:STRING= -arch x86_64 -arch i386
to
CMAKE_CXX_FLAGS:STRING='-pipe -O2 -arch x86_64 '[[BR]]
CMAKE_C_FLAGS:STRING='-pipe -O2 -arch x86_64 '[[BR]]
CMAKE_OSX_ARCHITECTURES:STRING=x86_64[[BR]]
CMAKE_SHARED_LINKER_FLAGS:STRING= -arch x86_64
in CMakeCache.txt located within the
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_libkdcraw/libkdcraw/work/build/
solved the problem.[[BR]]
As the log was auto deleted after successful build, i cannot show the
original error message.[[BR]]
Furthermore, libkdcraw was a dependency when building digikam.[[BR]]
Hopes this saves peoples' time on similar problem as I found no similar
report or solutions.
--
Ticket URL: <https://trac.macports.org/ticket/38965>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list