On Mon, August 8, 2016 10:41 am, Alexander Hansen wrote:
>> On Aug 8, 2016, at 08:26, Bollinger, John C <john.bollin...@stjude.org>
wrote:

>>   CMAKE_OSX_DEPLOYMENT_TARGET is '10.10' but CMAKE_OSX_SYSROOT:
>>    ""
>>   is not set to a MacOSX SDK with a recognized version.  Either set
CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET
to
>>   empty.
>> Call Stack (most recent call first):
>>   /sw/share/cmake-3.6/Modules/CMakeSystemSpecificInformation.cmake:36
>> (include)
>>   CMakeLists.txt:27 (project)

> The build appears to want one of the SDKs from Xcode.app.  Installing
Xcode 7.1 to match your command-line tools could be a quick workaround.
If this is indeed a requirement, libopenjp2.7 should probably declare
this
> in its build dependencies.  On the other hand, it seems like some
upstreams don’t really understand when to use the SDK and when not to,
and it might be possible to adjust the build procedure not to bother
with
> the SDKs.

The failure point is in cmake, not OpenJPEG.  cmake doesn't like when the
SYSROOT and DEPLOYMENT_TARGET don't match up, which happens when Xcode.app
is not present. It could be that OpenJPEG is not setting the right values
for SYSROOT and DEPLOYMENT_TARGET and thus breaking the cmake parser. Or
cmake is just blindly reading the environment and complaining that the SDK
is missing without realizing it is not needed.

The failure should be directly fixable by setting both CMAKE_OSX_SYSROOT
and CMAKE_OSX_DEPLOYMENT_TARGET to "" in the cmake call in the .info since
the package most likely does not need an SDK. Or MACOSX_DEPLOYMENT_TARGET
could be unset from the environment.

Hanspeter

-- 
More agile than a turtle, stronger than a mouse, nobler than a lettuce





------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to