Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Ben Boeckel
On Fri, Oct 21, 2016 at 10:31:00 -0400, David Thompson wrote:
> Your attempt to set CMAKE_OSX_SDK=10.12 was probably on the superbuild
> project, and it is not passed to the Qt subproject as QT_MAC_SDK. Try
> passing the proper value to CMAKE_OSX_SDK (i.e., the full path which
> is usually
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk)
> and see if the superbuild properly determines the value of
> QMAKE_MAC_SDK from that.

No, CMAKE_OSX_SDK is the name of the SDK. The path is CMAKE_OSX_SYSROOT.

--Ben
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Fabian Wein
Hi David,

you are right, I apply the cmake option for superbuild. This was my first 
attempt. With an additional -verbose on configure I get

Running configuration tests… 
Failed to process makespec for platform ‚macx-clang‘ 
Info: creating stash file 
/Users/fwein/tmp/pvsb/superbuild/qt5/build/qtbase/.qmake.stash 
Project ERROR: QMAKE_MAC_SDK can only contain short-form SDK names (eg. macosx, 
iphoneos) CMake Error at 
/Users/fwein/tmp/pvsb/superbuild/sb-qt5-configure.cmake:43 (message):

But I do not know how to find and change the QMAKE_MAC_SDK value as it seems to 
come from qmake.


Maybe we have to wait for qt 5.7.1? But when I build qt manually with the 
borrowed configure from the superbuild but without -sdk it works. The only 
difference I see is that superbuild uses another configure?! 

Using the path for CMAKE_OSX_SDK results with an immediate error in configure. 
using macosx or macosx10.12 results within make in the error reported before, 
using macos10.12 (from macOS 10.12) results in make in

Project ERROR: Could not resolve SDK Path for 'macos10.12'
Project ERROR: Could not resolve SDK PlatformPath for 'macos10.12'
Project ERROR: Could not resolve SDK SDKVersion for ‚macos10.12'



> Hi Fabian,
> 
> Your attempt to set CMAKE_OSX_SDK=10.12 was probably on the superbuild 
> project, and it is not passed to the Qt subproject as QT_MAC_SDK. Try passing 
> the proper value to CMAKE_OSX_SDK (i.e., the full path which is usually 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk)
>  and see if the superbuild properly determines the value of QMAKE_MAC_SDK 
> from that.
> 
>   David
> 
>> But your guess was right:
>> 
>> xcodebuild -showsdks
>> iOS SDKs:
>>  iOS 10.0-sdk iphoneos10.0
>> 
>> iOS Simulator SDKs:
>>  Simulator - iOS 10.0-sdk iphonesimulator10.0
>> 
>> macOS SDKs:
>>  macOS 10.12 -sdk macosx10.12
>> 
>> tvOS SDKs:
>>  tvOS 10.0   -sdk appletvos10.0
>> 
>> tvOS Simulator SDKs:
>>  Simulator - tvOS 10.0   -sdk appletvsimulator10.0
>> 
>> watchOS SDKs:
>>  watchOS 3.0 -sdk watchos3.0
>> 
>> watchOS Simulator SDKs:
>>  Simulator - watchOS 3.0 -sdk watchsimulator3.0
>> 
>> 
>> 
>>> Am 21.10.2016 um 16:11 schrieb Fabian Wein :
>>> 
>>> Did not work:
>>> 
>>> -DCMAKE_OSX_SDK=macosx10.12
>>> 
>>> in cmake ../paraview-superbuild -DENABLE_cxx11=ON -DENABLE_hdf5=ON 
>>> -DENABLE_qt5=ON -Dsuperbuild_download_location=~/tmp/pvsb_downloads 
>>> -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 
>>> -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
>>>  -DCMAKE_OSX_SDK=macosx10.12
>>> 
>>> results in 
>>> 
>>> erforming build step for 'qt5'
>>> Info: creating cache file 
>>> /Users/fwein/tmp/pvsb/superbuild/qt5/build/qtbase/.qmake.cache
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
>>>  file: ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
>>>  file: ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
>>> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
>>> deployment target of OS X 10.9
>>> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
>>> deployment target of OS X 10.9
>>> Makefile:13164: warning: overriding commands for target 
>>> `.moc/qeventdispatcher_cf.moc'
>>> Makefile:12994: warning: ignoring old commands for target 
>>> `.moc/qeventdispatcher_cf.moc'
>>> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
>>> deployment target of OS X 10.9
>>> Undefined symbols for architecture x86_64:
>>> "std::__1::__vector_base_common::__throw_length_error() const", 
>>> referenced from:
>>>void std::__1::vector>> std::__1::allocator 
>>> >::__push_back_slow_path(QMetaMethodBuilderPrivate&&)
>>>  in qmetaobjectbuilder.o
>>>void std::__1::vector>> std::__1::allocator 
>>> >::__push_back_slow_path(QMetaPropertyBuilderPrivate&&)
>>>  in qmetaobjectbuilder.o
>>>void std::__1::vector>> std::__1::allocator 
>>> >::__push_back_slow_path(QMetaEnumBuilderPrivate&&)
>>>  in qmetaobjectbuilder.o
>>> "void std::__1::__sort&, int*>(int*, int*, 
>>> std::__1::__less&)", referenced from:
>>>QString::multiArg(int, QString const**) const in qstring.o
>>>
>>> QSortFilterProxyModelPrivate::_q_sourceHeaderDataChanged(Qt::Orientation, 
>>> int, int) in qsortfilterproxymodel.o
>>>QSortFilterProxyModel::removeRows(int, int, QModelIndex const&) in 
>>> qsortfilterproxymodel.o
>>> "std::bad_alloc::bad_alloc()", referenced from:
>>>qBadAlloc() 

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Cory Quammen
Hi folks,

Great discussion.

Might I suggest creating an issue in the ParaView issue tracker (
https://gitlab.kitware.com/paraview/paraview/issues) to track progress on
building Qt on Mac OS X 10.12 and continuing discussion there? I'd like to
reserve this email thread for issues specific to ParaView 5.2.0-RC2.

Thanks,
Cory

On Fri, Oct 21, 2016 at 10:31 AM, David Thompson  wrote:

> Hi Fabian,
>
> Your attempt to set CMAKE_OSX_SDK=10.12 was probably on the superbuild
> project, and it is not passed to the Qt subproject as QT_MAC_SDK. Try
> passing the proper value to CMAKE_OSX_SDK (i.e., the full path which is
> usually /Applications/Xcode.app/Contents/Developer/Platforms/
> MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk) and see if the superbuild
> properly determines the value of QMAKE_MAC_SDK from that.
>
> David
>
> > But your guess was right:
> >
> > xcodebuild -showsdks
> > iOS SDKs:
> >   iOS 10.0-sdk iphoneos10.0
> >
> > iOS Simulator SDKs:
> >   Simulator - iOS 10.0-sdk iphonesimulator10.0
> >
> > macOS SDKs:
> >   macOS 10.12 -sdk macosx10.12
> >
> > tvOS SDKs:
> >   tvOS 10.0   -sdk appletvos10.0
> >
> > tvOS Simulator SDKs:
> >   Simulator - tvOS 10.0   -sdk appletvsimulator10.0
> >
> > watchOS SDKs:
> >   watchOS 3.0 -sdk watchos3.0
> >
> > watchOS Simulator SDKs:
> >   Simulator - watchOS 3.0 -sdk watchsimulator3.0
> >
> >
> >
> >> Am 21.10.2016 um 16:11 schrieb Fabian Wein :
> >>
> >> Did not work:
> >>
> >> -DCMAKE_OSX_SDK=macosx10.12
> >>
> >> in cmake ../paraview-superbuild -DENABLE_cxx11=ON -DENABLE_hdf5=ON
> -DENABLE_qt5=ON -Dsuperbuild_download_location=~/tmp/pvsb_downloads
> -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
> -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/
> MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -DCMAKE_OSX_SDK=macosx10.12
> >>
> >> results in
> >>
> >> erforming build step for 'qt5'
> >> Info: creating cache file /Users/fwein/tmp/pvsb/
> superbuild/qt5/build/qtbase/.qmake.cache
> >> /Applications/Xcode.app/Contents/Developer/Toolchains/
> XcodeDefault.xctoolchain/usr/bin/ranlib: file:
> ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
> >> /Applications/Xcode.app/Contents/Developer/Toolchains/
> XcodeDefault.xctoolchain/usr/bin/ranlib: file:
> ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
> >> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum
> deployment target of OS X 10.9
> >> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum
> deployment target of OS X 10.9
> >> Makefile:13164: warning: overriding commands for target
> `.moc/qeventdispatcher_cf.moc'
> >> Makefile:12994: warning: ignoring old commands for target
> `.moc/qeventdispatcher_cf.moc'
> >> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum
> deployment target of OS X 10.9
> >> Undefined symbols for architecture x86_64:
> >> "std::__1::__vector_base_common::__throw_length_error() const",
> referenced from:
> >> void std::__1::vector std::__1::allocator >::__push_back_slow_path<
> QMetaMethodBuilderPrivate>(QMetaMethodBuilderPrivate&&) in
> qmetaobjectbuilder.o
> >> void std::__1::vector std::__1::allocator >::__push_back_slow_path<
> QMetaPropertyBuilderPrivate>(QMetaPropertyBuilderPrivate&&) in
> qmetaobjectbuilder.o
> >> void std::__1::vector >> std::__1::allocator
> >::__push_back_slow_path(QMetaEnumBuilderPrivate&&)
> in qmetaobjectbuilder.o
> >> "void std::__1::__sort&, int*>(int*, int*,
> std::__1::__less&)", referenced from:
> >> QString::multiArg(int, QString const**) const in qstring.o
> >> 
> >> QSortFilterProxyModelPrivate::_q_sourceHeaderDataChanged(Qt::Orientation,
> int, int) in qsortfilterproxymodel.o
> >> QSortFilterProxyModel::removeRows(int, int, QModelIndex const&) in
> qsortfilterproxymodel.o
> >> "std::bad_alloc::bad_alloc()", referenced from:
> >> qBadAlloc() in qglobal.o
> >> QVector::reallocData(int, int,
> QFlags) in qglobal.o
> >> ld: symbol(s) not found for architecture x86_64
> >> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> >> make[6]: *** [../../lib/QtCore.framework/QtCore] Error 1
> >> make[5]: *** [sub-corelib-make_first] Error 2
> >> make[4]: *** [sub-src-make_first] Error 2
> >> make[3]: *** [module-qtbase-make_first] Error 2
> >> CMake Error at /Users/fwein/tmp/pvsb/superbuild/sb-qt5-build.cmake:43
> (message):
> >> Failed with exit code 2
> >>
> >> I have the impressions that my other issues and comments on the gitlab
> issue tracker are removed, so I stop posting reports of attempts there.
> >>
> >>
> >>
> >>> CMAKE_OSX_SDK needs to be 

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread David Thompson
Hi Fabian,

Your attempt to set CMAKE_OSX_SDK=10.12 was probably on the superbuild project, 
and it is not passed to the Qt subproject as QT_MAC_SDK. Try passing the proper 
value to CMAKE_OSX_SDK (i.e., the full path which is usually 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk)
 and see if the superbuild properly determines the value of QMAKE_MAC_SDK from 
that.

David

> But your guess was right:
> 
> xcodebuild -showsdks
> iOS SDKs:
>   iOS 10.0-sdk iphoneos10.0
> 
> iOS Simulator SDKs:
>   Simulator - iOS 10.0-sdk iphonesimulator10.0
> 
> macOS SDKs:
>   macOS 10.12 -sdk macosx10.12
> 
> tvOS SDKs:
>   tvOS 10.0   -sdk appletvos10.0
> 
> tvOS Simulator SDKs:
>   Simulator - tvOS 10.0   -sdk appletvsimulator10.0
> 
> watchOS SDKs:
>   watchOS 3.0 -sdk watchos3.0
> 
> watchOS Simulator SDKs:
>   Simulator - watchOS 3.0 -sdk watchsimulator3.0
> 
> 
> 
>> Am 21.10.2016 um 16:11 schrieb Fabian Wein :
>> 
>> Did not work:
>> 
>> -DCMAKE_OSX_SDK=macosx10.12
>> 
>> in cmake ../paraview-superbuild -DENABLE_cxx11=ON -DENABLE_hdf5=ON 
>> -DENABLE_qt5=ON -Dsuperbuild_download_location=~/tmp/pvsb_downloads 
>> -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 
>> -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
>>  -DCMAKE_OSX_SDK=macosx10.12
>> 
>> results in 
>> 
>> erforming build step for 'qt5'
>> Info: creating cache file 
>> /Users/fwein/tmp/pvsb/superbuild/qt5/build/qtbase/.qmake.cache
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
>>  file: ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
>>  file: ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
>> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
>> deployment target of OS X 10.9
>> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
>> deployment target of OS X 10.9
>> Makefile:13164: warning: overriding commands for target 
>> `.moc/qeventdispatcher_cf.moc'
>> Makefile:12994: warning: ignoring old commands for target 
>> `.moc/qeventdispatcher_cf.moc'
>> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
>> deployment target of OS X 10.9
>> Undefined symbols for architecture x86_64:
>> "std::__1::__vector_base_common::__throw_length_error() const", 
>> referenced from:
>> void std::__1::vector> std::__1::allocator 
>> >::__push_back_slow_path(QMetaMethodBuilderPrivate&&)
>>  in qmetaobjectbuilder.o
>> void std::__1::vector> std::__1::allocator 
>> >::__push_back_slow_path(QMetaPropertyBuilderPrivate&&)
>>  in qmetaobjectbuilder.o
>> void std::__1::vector> std::__1::allocator 
>> >::__push_back_slow_path(QMetaEnumBuilderPrivate&&) 
>> in qmetaobjectbuilder.o
>> "void std::__1::__sort&, int*>(int*, int*, 
>> std::__1::__less&)", referenced from:
>> QString::multiArg(int, QString const**) const in qstring.o
>> 
>> QSortFilterProxyModelPrivate::_q_sourceHeaderDataChanged(Qt::Orientation, 
>> int, int) in qsortfilterproxymodel.o
>> QSortFilterProxyModel::removeRows(int, int, QModelIndex const&) in 
>> qsortfilterproxymodel.o
>> "std::bad_alloc::bad_alloc()", referenced from:
>> qBadAlloc() in qglobal.o
>> QVector::reallocData(int, int, 
>> QFlags) in qglobal.o
>> ld: symbol(s) not found for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see 
>> invocation)
>> make[6]: *** [../../lib/QtCore.framework/QtCore] Error 1
>> make[5]: *** [sub-corelib-make_first] Error 2
>> make[4]: *** [sub-src-make_first] Error 2
>> make[3]: *** [module-qtbase-make_first] Error 2
>> CMake Error at /Users/fwein/tmp/pvsb/superbuild/sb-qt5-build.cmake:43 
>> (message):
>> Failed with exit code 2
>> 
>> I have the impressions that my other issues and comments on the gitlab issue 
>> tracker are removed, so I stop posting reports of attempts there.
>> 
>> 
>> 
>>> CMAKE_OSX_SDK needs to be something like `macosx10.9`.  I forget the 
>>> command to make XCode list the valid sdk versions available.  For your case 
>>> I would guess `macosx10.12` is the correct value.  Qt looks up the path to 
>>> the SDK from that string.
>>> 
>>> HTH,
>>> Shawn
>>> 
>>> On Fri, Oct 21, 2016 at 7:07 AM, Fabian Wein  wrote:
>>> I added a lot of the stuff to the issue tracker.
>>> 
>>> I’m currently lost with building qt5 on macOS 10.12. It’s a qmake issue, I 
>>> tracked it down to
>>> 
>>> Creating qmake... Running configuration tests... Failed to 

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Fabian Wein
But your guess was right:

xcodebuild -showsdks
iOS SDKs:
iOS 10.0-sdk iphoneos10.0

iOS Simulator SDKs:
Simulator - iOS 10.0-sdk iphonesimulator10.0

macOS SDKs:
macOS 10.12 -sdk macosx10.12

tvOS SDKs:
tvOS 10.0   -sdk appletvos10.0

tvOS Simulator SDKs:
Simulator - tvOS 10.0   -sdk appletvsimulator10.0

watchOS SDKs:
watchOS 3.0 -sdk watchos3.0

watchOS Simulator SDKs:
Simulator - watchOS 3.0 -sdk watchsimulator3.0



> Am 21.10.2016 um 16:11 schrieb Fabian Wein :
> 
> Did not work:
> 
> -DCMAKE_OSX_SDK=macosx10.12
> 
> in cmake ../paraview-superbuild -DENABLE_cxx11=ON -DENABLE_hdf5=ON 
> -DENABLE_qt5=ON -Dsuperbuild_download_location=~/tmp/pvsb_downloads 
> -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 
> -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
>  -DCMAKE_OSX_SDK=macosx10.12
> 
> results in 
> 
> erforming build step for 'qt5'
> Info: creating cache file 
> /Users/fwein/tmp/pvsb/superbuild/qt5/build/qtbase/.qmake.cache
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
>  file: ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
>  file: ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
> deployment target of OS X 10.9
> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
> deployment target of OS X 10.9
> Makefile:13164: warning: overriding commands for target 
> `.moc/qeventdispatcher_cf.moc'
> Makefile:12994: warning: ignoring old commands for target 
> `.moc/qeventdispatcher_cf.moc'
> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
> deployment target of OS X 10.9
> Undefined symbols for architecture x86_64:
>  "std::__1::__vector_base_common::__throw_length_error() const", 
> referenced from:
>  void std::__1::vector std::__1::allocator 
> >::__push_back_slow_path(QMetaMethodBuilderPrivate&&)
>  in qmetaobjectbuilder.o
>  void std::__1::vector std::__1::allocator 
> >::__push_back_slow_path(QMetaPropertyBuilderPrivate&&)
>  in qmetaobjectbuilder.o
>  void std::__1::vector std::__1::allocator 
> >::__push_back_slow_path(QMetaEnumBuilderPrivate&&) 
> in qmetaobjectbuilder.o
>  "void std::__1::__sort&, int*>(int*, int*, 
> std::__1::__less&)", referenced from:
>  QString::multiArg(int, QString const**) const in qstring.o
>  
> QSortFilterProxyModelPrivate::_q_sourceHeaderDataChanged(Qt::Orientation, 
> int, int) in qsortfilterproxymodel.o
>  QSortFilterProxyModel::removeRows(int, int, QModelIndex const&) in 
> qsortfilterproxymodel.o
>  "std::bad_alloc::bad_alloc()", referenced from:
>  qBadAlloc() in qglobal.o
>  QVector::reallocData(int, int, 
> QFlags) in qglobal.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[6]: *** [../../lib/QtCore.framework/QtCore] Error 1
> make[5]: *** [sub-corelib-make_first] Error 2
> make[4]: *** [sub-src-make_first] Error 2
> make[3]: *** [module-qtbase-make_first] Error 2
> CMake Error at /Users/fwein/tmp/pvsb/superbuild/sb-qt5-build.cmake:43 
> (message):
>  Failed with exit code 2
> 
> I have the impressions that my other issues and comments on the gitlab issue 
> tracker are removed, so I stop posting reports of attempts there.
> 
> 
> 
>> CMAKE_OSX_SDK needs to be something like `macosx10.9`.  I forget the command 
>> to make XCode list the valid sdk versions available.  For your case I would 
>> guess `macosx10.12` is the correct value.  Qt looks up the path to the SDK 
>> from that string.
>> 
>> HTH,
>> Shawn
>> 
>> On Fri, Oct 21, 2016 at 7:07 AM, Fabian Wein  wrote:
>> I added a lot of the stuff to the issue tracker.
>> 
>> I’m currently lost with building qt5 on macOS 10.12. It’s a qmake issue, I 
>> tracked it down to
>> 
>> Creating qmake... Running configuration tests... Failed to process makespec 
>> for platform ‚macx-clang' Info: creating stash file 
>> /Users/fwein/tmp/pvsb/superbuild/qt5/build/qtbase/.qmake.stash Project 
>> ERROR: QMAKE_MAC_SDK can only contain short-form SDK names (eg. macosx, 
>> iphoneos) CMake Error at 
>> /Users/fwein/tmp/pvsb/superbuild/sb-qt5-configure.cmake:43 (message):
>> 
>> And it has a connection to the CMAKE_OSX_SDK I do not know what to set. 
>> CMAKE_OSX_SDK=macosx does not help.
>> 
>> Any qt5 configuration expert reading?
>> 
>>> Am 20.10.2016 um 17:18 schrieb Ben Boeckel 

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Fabian Wein
Did not work:

-DCMAKE_OSX_SDK=macosx10.12

in cmake ../paraview-superbuild -DENABLE_cxx11=ON -DENABLE_hdf5=ON 
-DENABLE_qt5=ON -Dsuperbuild_download_location=~/tmp/pvsb_downloads 
-DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
 -DCMAKE_OSX_SDK=macosx10.12

results in 

erforming build step for 'qt5'
Info: creating cache file 
/Users/fwein/tmp/pvsb/superbuild/qt5/build/qtbase/.qmake.cache
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: ../../../lib/libQt5Bootstrap.a(qvector.o) has no symbols
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
deployment target of OS X 10.9
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
deployment target of OS X 10.9
Makefile:13164: warning: overriding commands for target 
`.moc/qeventdispatcher_cf.moc'
Makefile:12994: warning: ignoring old commands for target 
`.moc/qeventdispatcher_cf.moc'
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum 
deployment target of OS X 10.9
Undefined symbols for architecture x86_64:
  "std::__1::__vector_base_common::__throw_length_error() const", 
referenced from:
  void std::__1::vector::__push_back_slow_path(QMetaMethodBuilderPrivate&&)
 in qmetaobjectbuilder.o
  void std::__1::vector::__push_back_slow_path(QMetaPropertyBuilderPrivate&&)
 in qmetaobjectbuilder.o
  void std::__1::vector::__push_back_slow_path(QMetaEnumBuilderPrivate&&) in 
qmetaobjectbuilder.o
  "void std::__1::__sort&, int*>(int*, int*, 
std::__1::__less&)", referenced from:
  QString::multiArg(int, QString const**) const in qstring.o
  QSortFilterProxyModelPrivate::_q_sourceHeaderDataChanged(Qt::Orientation, 
int, int) in qsortfilterproxymodel.o
  QSortFilterProxyModel::removeRows(int, int, QModelIndex const&) in 
qsortfilterproxymodel.o
  "std::bad_alloc::bad_alloc()", referenced from:
  qBadAlloc() in qglobal.o
  QVector::reallocData(int, int, 
QFlags) in qglobal.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[6]: *** [../../lib/QtCore.framework/QtCore] Error 1
make[5]: *** [sub-corelib-make_first] Error 2
make[4]: *** [sub-src-make_first] Error 2
make[3]: *** [module-qtbase-make_first] Error 2
CMake Error at /Users/fwein/tmp/pvsb/superbuild/sb-qt5-build.cmake:43 (message):
  Failed with exit code 2

I have the impressions that my other issues and comments on the gitlab issue 
tracker are removed, so I stop posting reports of attempts there.



> CMAKE_OSX_SDK needs to be something like `macosx10.9`.  I forget the command 
> to make XCode list the valid sdk versions available.  For your case I would 
> guess `macosx10.12` is the correct value.  Qt looks up the path to the SDK 
> from that string.
> 
> HTH,
> Shawn
> 
> On Fri, Oct 21, 2016 at 7:07 AM, Fabian Wein  wrote:
> I added a lot of the stuff to the issue tracker.
> 
> I’m currently lost with building qt5 on macOS 10.12. It’s a qmake issue, I 
> tracked it down to
> 
> Creating qmake... Running configuration tests... Failed to process makespec 
> for platform ‚macx-clang' Info: creating stash file 
> /Users/fwein/tmp/pvsb/superbuild/qt5/build/qtbase/.qmake.stash Project ERROR: 
> QMAKE_MAC_SDK can only contain short-form SDK names (eg. macosx, iphoneos) 
> CMake Error at /Users/fwein/tmp/pvsb/superbuild/sb-qt5-configure.cmake:43 
> (message):
> 
> And it has a connection to the CMAKE_OSX_SDK I do not know what to set. 
> CMAKE_OSX_SDK=macosx does not help.
> 
> Any qt5 configuration expert reading?
> 
> > Am 20.10.2016 um 17:18 schrieb Ben Boeckel :
> >
> > On Thu, Oct 20, 2016 at 15:13:51 +0300, Gena Bug via ParaView wrote:
> >> Now, with RC2, fontconfig warns me about blank section:
> >>
> >> Fontconfig warning: line 160: blank doesn't take any effect anymore.
> >> please remove it from your fonts.conf
> >
> > We're now using a newer fontconfig, so the fontconfig may be newer than
> > your system, so this is just fontconfig being more pedantic than your
> > distro. Looking at fontconfig, there's no environment variable to
> > suppress these warnings.
> >
> >> However, that all -- no more new folder "fontconfig" in the running
> >> directory. Thank you, that was really annoying!
> >>
> >> Also, lib-dynload is still missing in the lib/python2.7
> >
> > Ah, the superbuild didn't get bumped for that fix yet. I'll do that
> > today.
> >
> > --Ben

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Shawn Waldon
Hi Fabian,

CMAKE_OSX_SDK needs to be something like `macosx10.9`.  I forget the
command to make XCode list the valid sdk versions available.  For your case
I would guess `macosx10.12` is the correct value.  Qt looks up the path to
the SDK from that string.

HTH,
Shawn

On Fri, Oct 21, 2016 at 7:07 AM, Fabian Wein  wrote:

> I added a lot of the stuff to the issue tracker.
>
> I’m currently lost with building qt5 on macOS 10.12. It’s a qmake issue, I
> tracked it down to
>
> Creating qmake... Running configuration tests... Failed to process
> makespec for platform ‚macx-clang' Info: creating stash file
> /Users/fwein/tmp/pvsb/superbuild/qt5/build/qtbase/.qmake.stash Project
> ERROR: QMAKE_MAC_SDK can only contain short-form SDK names (eg. macosx,
> iphoneos) CMake Error at /Users/fwein/tmp/pvsb/
> superbuild/sb-qt5-configure.cmake:43 (message):
>
> And it has a connection to the CMAKE_OSX_SDK I do not know what to set.
> CMAKE_OSX_SDK=macosx does not help.
>
> Any qt5 configuration expert reading?
>
> > Am 20.10.2016 um 17:18 schrieb Ben Boeckel :
> >
> > On Thu, Oct 20, 2016 at 15:13:51 +0300, Gena Bug via ParaView wrote:
> >> Now, with RC2, fontconfig warns me about blank section:
> >>
> >> Fontconfig warning: line 160: blank doesn't take any effect anymore.
> >> please remove it from your fonts.conf
> >
> > We're now using a newer fontconfig, so the fontconfig may be newer than
> > your system, so this is just fontconfig being more pedantic than your
> > distro. Looking at fontconfig, there's no environment variable to
> > suppress these warnings.
> >
> >> However, that all -- no more new folder "fontconfig" in the running
> >> directory. Thank you, that was really annoying!
> >>
> >> Also, lib-dynload is still missing in the lib/python2.7
> >
> > Ah, the superbuild didn't get bumped for that fix yet. I'll do that
> > today.
> >
> > --Ben
> > ___
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
> >
> > Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
> >
> > Search the list archives at: http://markmail.org/search/?q=ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/paraview
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Michael Jackson

Maybe they mean:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk

or what ever version of macOS works for 10.12?
--
Mike Jackson  [mike.jack...@bluequartz.net]


Fabian Wein wrote:

I added a lot of the stuff to the issue tracker.

I’m currently lost with building qt5 on macOS 10.12. It’s a qmake issue, I 
tracked it down to

Creating qmake... Running configuration tests... Failed to process makespec for 
platform ‚macx-clang' Info: creating stash file 
/Users/fwein/tmp/pvsb/superbuild/qt5/build/qtbase/.qmake.stash Project ERROR: 
QMAKE_MAC_SDK can only contain short-form SDK names (eg. macosx, iphoneos) 
CMake Error at /Users/fwein/tmp/pvsb/superbuild/sb-qt5-configure.cmake:43 
(message):

And it has a connection to the CMAKE_OSX_SDK I do not know what to set. 
CMAKE_OSX_SDK=macosx does not help.

Any qt5 configuration expert reading?


Am 20.10.2016 um 17:18 schrieb Ben Boeckel:

On Thu, Oct 20, 2016 at 15:13:51 +0300, Gena Bug via ParaView wrote:

Now, with RC2, fontconfig warns me about blank section:

Fontconfig warning: line 160: blank doesn't take any effect anymore.
please remove it from your fonts.conf

We're now using a newer fontconfig, so the fontconfig may be newer than
your system, so this is just fontconfig being more pedantic than your
distro. Looking at fontconfig, there's no environment variable to
suppress these warnings.


However, that all -- no more new folder "fontconfig" in the running
directory. Thank you, that was really annoying!

Also, lib-dynload is still missing in the lib/python2.7

Ah, the superbuild didn't get bumped for that fix yet. I'll do that
today.

--Ben
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2016 at 15:13:51 +0300, Gena Bug via ParaView wrote:
> Now, with RC2, fontconfig warns me about blank section:
> 
> Fontconfig warning: line 160: blank doesn't take any effect anymore. 
> please remove it from your fonts.conf

We're now using a newer fontconfig, so the fontconfig may be newer than
your system, so this is just fontconfig being more pedantic than your
distro. Looking at fontconfig, there's no environment variable to
suppress these warnings.

> However, that all -- no more new folder "fontconfig" in the running 
> directory. Thank you, that was really annoying!
> 
> Also, lib-dynload is still missing in the lib/python2.7

Ah, the superbuild didn't get bumped for that fix yet. I'll do that
today.

--Ben
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2016 at 16:03:05 +0200, Fabian Wein wrote:
> Are you interested in superbuild tests, too? Or do you want to skip
> that issue for the time 5.2 is released?

We're interested :) .

> On macOS 10.12 Sierra I have problems building qt5:

Hmm, we haven't done 10.12 yet; upgrading it usually breaks things :( .

> superbuild fails with the output below but building qt5 manually seems
> to work (at least it builds for a longer time up to now)

We don't build the Qt5 bits yet for ParaView, but it is used with other
projects. (Though even for Qt4 is built once and reused to avoid an
extra 45+ minutes per build.)

Please open an issue here:

https://gitlab.kitware.com/paraview/common-superbuild

to help track this.

> On Linux (openSUSE tumbleweed with gcc 6.2.1) hdf5 fails the rest is still 
> building …

Could you post a bug at the same place for this? I use 6.2.1 from Fedora
and HDF5 is fine here. More details would be nice too.

Thanks,

--Ben
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-20 Thread Fabian Wein
Are you interested in superbuild tests, too? Or do you want to skip that issue 
for the time 5.2 is released?

On macOS 10.12 Sierra I have problems building qt5:

superbuild fails with the output below but building qt5 manually seems to work 
(at least it builds for a longer time up to now)

On Linux (openSUSE tumbleweed with gcc 6.2.1) hdf5 fails the rest is still 
building …


/Users/fwein/tmp/pvsb/superbuild/qt5/src/qtbase/configure -top-level 
-opensource -confirm-license -release -prefix /Users/fwein/tmp/pvsb/install -I 
/Users/fwein/tmp/pvsb/install/include -L /Users/fwein/tmp/pvsb/install/lib 
-skip qtconnectivity -skip qtlocation -skip qtmultimedia -skip qtsensors -skip 
qtserialport -skip qtsvg -skip qtwayland -skip qtwebchannel -skip qtwebengine 
-skip qtwebsockets -nomake examples -nomake tests -no-dbus -qt-libjpeg -qt-pcre 
-no-alsa -no-pulseaudio -system-zlib -no-openssl -no-alsa -no-pulseaudio 
-system-zlib -no-openssl -sdk 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
 -qt-libpng -sdk 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
 -qt-libpng

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) versions 3.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2.

You have already accepted the terms of the Open Source license.

Preparing build tree...
Creating qmake...
Done.
Running configuration tests...
Failed to process makespec for platform 'macx-clang'
Turn on verbose messaging (-v) to see the final report.
CMake Error at /Users/fwein/tmp/pvsb/superbuild/sb-qt5-configure.cmake:45 
(message):
  Failed with exit code 101
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-20 Thread Gena Bug via ParaView

Hi!

Now, with RC2, fontconfig warns me about blank section:

Fontconfig warning: line 160: blank doesn't take any effect anymore. 
please remove it from your fonts.conf


However, that all -- no more new folder "fontconfig" in the running 
directory. Thank you, that was really annoying!


Also, lib-dynload is still missing in the lib/python2.7

On 19.10.2016 21:42, Cory Quammen wrote:

On behalf of the ParaView development team, I am happy to announce that
ParaView 5.2 Release Candidate 2 binaries and source tarballs are now
available for download at

http://www.paraview.org/download/

Please let us know if you encounter any problems with this release
 candidate.

Thanks,
Cory



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-19 Thread Cory Quammen
On behalf of the ParaView development team, I am happy to announce that
ParaView 5.2 Release Candidate 2 binaries and source tarballs are now
available for download at

http://www.paraview.org/download/

Please let us know if you encounter any problems with this release
 candidate.

Thanks,
Cory

-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview