On 2/7/16 1:09 PM, James Howse wrote:
> I am running an Intel Mac Pro with Mac OS Yosemite 10.10.5 and XCode 7.2.1.  
> The build of the package grantlee-mac-shlibs 0.4.0-1 fails for me with the 
> following error messages.  Any idea what is wrong?
> Thanks,
> James
>
> /tmp/fink.8eteA
> #!/bin/sh -ev
> export KDE4_PREFIX="/opt/fink" KDE4_TYPE="mac" 
> KDE4_INSTALL_PREFIX="/opt/fink/opt/grantlee/mac"
> . /opt/fink/sbin/kde4.12-buildenv.sh
> # Copyright (c) 2008, Benjamin Reed
> # Copyright (c) 2014, Hanspeter Niederstrasser
> # All rights reserved.
> #
> # Redistribution and use in source and binary forms, with or without
> # modification, are permitted provided that the following conditions are met:
> #
> # Redistributions of source code must retain the above copyright notice, this
> # list of conditions and the following disclaimer.
> #
> # Redistributions in binary form must reproduce the above copyright notice, 
> this
> # list of conditions and the following disclaimer in the documentation and/or
> # other materials provided with the distribution.
> #
> # Neither the name of Fink nor the names of its contributors may be used to
> # endorse or promote products derived from this software without specific 
> prior
> # written permission.
> #
> # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
> # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
> # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> # POSSIBILITY OF SUCH DAMAGE.
>
> set +v || :
> xcodebuild: error: SDK "macosx10.10" cannot be located.
> xcodebuild: error: SDK "macosx10.10" cannot be located.
> SDK_PATH should be set.  It is not.  Exiting...
> ---------------------------------
> KDE4 Build Environment Configured
> ---------------------------------
>
>    Fink Prefix:        /opt/fink
>    Type:               mac
>    Install Prefix:     /opt/fink/opt/grantlee/mac
>
> Environment Variables:
>
>    PATH:               
> /opt/fink/opt/grantlee/mac/bin:/opt/fink/lib/fontconfig2/bin:/opt/fink/lib/qt4-mac/bin:/opt/fink/var/lib/fink/path-prefix-libcxx:/opt/fink/var/lib/fink/path-prefix-clang:/opt/fink/bin:/opt/fink/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/X11/bin
>    CMAKE_INCLUDE_PATH: 
> /opt/fink/opt/grantlee/mac/include:/opt/fink/lib/system-openssl/include:/opt/fink/lib/fontconfig2/include:/opt/fink/lib/qt4-mac/include::/opt/fink/include
>    CMAKE_LIBRARY_PATH: 
> /opt/fink/opt/grantlee/mac/lib:/opt/fink/lib/system-openssl/lib:/opt/fink/lib/freetype219/lib:/opt/fink/lib/fontconfig2/lib:/opt/fink/lib/qt4-mac/lib::/opt/fink/lib
>    CMAKE_MODULE_PATH:  
> /opt/fink/opt/grantlee/mac/share/apps/cmake/modules::/opt/fink/share/apps/cmake/modules
>    PKG_CONFIG_PATH:    
> /opt/fink/opt/grantlee/mac/lib/pkgconfig:/opt/fink/lib/system-openssl/lib/pkgconfig:/opt/fink/lib/fontconfig2/lib/pkgconfig:/opt/fink/lib/qt4-mac/lib/pkgconfig:
>    CPPFLAGS:           -I/opt/fink/opt/grantlee/mac/include 
> -I/opt/fink/lib/system-openssl/include -I/opt/fink/lib/fontconfig2/include 
> -I/opt/fink/lib/qt4-mac/include -I/opt/fink/include
>    LDFLAGS:            
> -L/Volumes/User_Disk/opt/fink/src/fink.build/grantlee-mac-shlibs-0.4.0-1/grantlee-0.4.0/build/lib
>  -L/opt/fink/opt/grantlee/mac/lib -L/opt/fink/lib/system-openssl/lib 
> -L/opt/fink/lib/freetype219/lib -L/opt/fink/lib/fontconfig2/lib 
> -L/opt/fink/lib/qt4-mac/lib -L/opt/fink/lib -Wl,-dead_strip_dylibs
>    MAKEFLAGS:          -j8
>    KDE4_CMAKE_ARGS:    
> -DBUNDLE_INSTALL_DIR:PATH='/opt/fink/opt/grantlee/mac/bin' 
> -DCMAKE_INSTALL_PREFIX='/opt/fink/opt/grantlee/mac' 
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_SYSROOT:PATH='' 
> -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING='10.10' -DCMAKE_VERBOSE_MAKEFILE=ON 
> -DCMAKE_COLOR_MAKEFILE=ON -DBoost_ADDITIONAL_VERSIONS=1.55;1.55.0 
> -DBOOST_ROOT=/opt/fink/opt/boost-1_55 
> -DBOOST_INCLUDEDIR=/opt/fink/opt/boost-1_55/include 
> -DBOOST_LIBRARYDIR=/opt/fink/opt/boost-1_55/lib 
> -DJPEG_INCLUDE_DIR=/opt/fink/include 
> -DJPEG_LIBRARY=/opt/fink/lib/libjpeg.dylib 
> -DJPEG_LIBRARIES=/opt/fink/lib/libjpeg.dylib 
> -DPYTHON_EXECUTABLE=/usr/bin/python2.7 
> -DSYSCONF_INSTALL_DIR='/opt/fink/opt/grantlee/mac/etc'
>
>
> export CC="$CC -MD" CXX="$CXX -MD"
> mkdir -p build
> pushd build
> /Volumes/User_Disk/opt/fink/src/fink.build/grantlee-mac-shlibs-0.4.0-1/grantlee-0.4.0/build
>  
> /Volumes/User_Disk/opt/fink/src/fink.build/grantlee-mac-shlibs-0.4.0-1/grantlee-0.4.0
> cmake \
>       $KDE4_CMAKE_ARGS \
>       -DBUILD_TESTS=false \
> ..
> CMake Warning at 
> /Volumes/User_Disk/opt/fink/share/cmake-3.4/Modules/Platform/Darwin-Initialize.cmake:97
>  (message):
>    CMAKE_OSX_DEPLOYMENT_TARGET is '10.10' but the matching SDK does not exist
>    at:
>
>     
> "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"
>
>    Instead using SDK:
>
>     
> "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk".
> Call Stack (most recent call first):
>    
> /Volumes/User_Disk/opt/fink/share/cmake-3.4/Modules/CMakeSystemSpecificInitialize.cmake:18
>  (include)
>    CMakeLists.txt:2 (project)
>
>
> -- The C compiler identification is AppleClang 7.0.2.7000181
> -- The CXX compiler identification is AppleClang 7.0.2.7000181
> CMake Error at 
> /Volumes/User_Disk/opt/fink/share/cmake-3.4/Modules/Platform/Darwin.cmake:76 
> (message):
>    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.

Apologies for the delay.  It's hard to troubleshoot something when I 
don't have a relevant system to test with.  I've commited an update to 
kde4-buildenv that should deal with the missing 10.10 SDK on OS X 10.10 
with Xcode7.  Please selfupdate, install the new kde4-buildenv and try 
building grantlee again.

Hanspeter


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
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