Re: [Fink-devel] many qgis packages fail to build with QVariant error in sip file

2017-04-28 Thread Hanspeter Niederstrasser
On 4/27/17 7:42 PM, 美彦 馬場 wrote:
> Hanspeter,
> 
> 
> qgis22, qgis24, qgis26 have been obsolete.  Maybe it's time to set qgis210 
> and qgis212 obsolete, as the upstream says qgis214 is long term release 
> (=stable) version.

They may be obsolete as far as upstream is concerned, but they are still 
present as packages in the Fink distribution and are currently broken. 
The fix seems fairly innocuous.

Hanspeter

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] many qgis packages fail to build with QVariant error in sip file

2017-04-27 Thread 美彦 馬場
Hanspeter,


qgis22, qgis24, qgis26 have been obsolete.  Maybe it's time to set qgis210 and 
qgis212 obsolete, as the upstream says qgis214 is long term release (=stable) 
version.

2017/04/02 8:19、Hanspeter Niederstrasser  のメール:

> Baba,
> 
> qgis22
> qgis24
> qgis26
> qgis210
> qgis212
> 
> The above qgis2XX-pyYY packages fail to build with this error:
> /sw/src/fink.build/qgis26-py34-2.6.1-5/qgis-2.6.1/python/core/conversions.sip:600:7:
>  error: member reference type 'QMap > *' (aka 
> 'QMap > *') is a pointer; did you mean to use 
> '->'?
>qm.insert(k, *t);
>~~^
>  ->
> /sw/src/fink.build/qgis26-py34-2.6.1-5/qgis-2.6.1/python/core/conversions.sip:600:18:
>  error: no viable conversion from 'QVariant' to 'const QMap'
>qm.insert(k, *t);
> ^~
> /sw/lib/qt4-mac/include/QtCore/qmap.h:183:12: note: candidate constructor not 
> viable: no known conversion from 'QVariant' to 'const QMap &' 
> for 1st argument
>inline QMap(const QMap &other) : d(other.d)
>   ^
> /sw/lib/qt4-mac/include/QtCore/qmap.h:398:46: note: passing argument to 
> parameter 'value' here
>iterator insert(const Key &key, const T &value);
> ^
> 2 errors generated.
> make[2]: *** [python/CMakeFiles/python_module_qgis__core.dir/build.make:310: 
> python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o] 
> Error 1
> 
> This is fixed by this patch:
> https://gist.githubusercontent.com/dakcarto/f399e7333c228618cae5062331f70c91/raw/d01dc0a56032d6ef38413755299dfe3d0c377651/sip_patch.diff
> 
> qgis214 and up are OK.
> 
> Hanspeter


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

[Fink-devel] many qgis packages fail to build with QVariant error in sip file

2017-04-01 Thread Hanspeter Niederstrasser
Baba,

qgis22
qgis24
qgis26
qgis210
qgis212

The above qgis2XX-pyYY packages fail to build with this error:
/sw/src/fink.build/qgis26-py34-2.6.1-5/qgis-2.6.1/python/core/conversions.sip:600:7:
 
error: member reference type 'QMap > *' (aka 
'QMap > *') is a pointer; did you mean to 
use '->'?
 qm.insert(k, *t);
 ~~^
   ->
/sw/src/fink.build/qgis26-py34-2.6.1-5/qgis-2.6.1/python/core/conversions.sip:600:18:
 
error: no viable conversion from 'QVariant' to 'const QMap'
 qm.insert(k, *t);
  ^~
/sw/lib/qt4-mac/include/QtCore/qmap.h:183:12: note: candidate 
constructor not viable: no known conversion from 'QVariant' to 'const 
QMap &' for 1st argument
 inline QMap(const QMap &other) : d(other.d)
^
/sw/lib/qt4-mac/include/QtCore/qmap.h:398:46: note: passing argument to 
parameter 'value' here
 iterator insert(const Key &key, const T &value);
  ^
2 errors generated.
make[2]: *** 
[python/CMakeFiles/python_module_qgis__core.dir/build.make:310: 
python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o] 
Error 1

This is fixed by this patch:
https://gist.githubusercontent.com/dakcarto/f399e7333c228618cae5062331f70c91/raw/d01dc0a56032d6ef38413755299dfe3d0c377651/sip_patch.diff

qgis214 and up are OK.

Hanspeter

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel