[Qgis-user] Build error on Debian testing 'bookworm'

APM apschwimmer at apmland.de
Fri Sep 17 01:06:35 PDT 2021


Dear Richard,


you're right:


The name of the Debian package is sip5-tools.

I delete it, and I delete sip with 'pip3 uninstall sip' as well.

The compilation works fine now.


If I reinstall sip5-tools, the build fails again.


Thank you for your help!


Kind regards


Piet




Am 17.09.21 um 07:41 schrieb Richard Duivenvoorde:
> On 9/17/21 6:58 AM, APM wrote:
>> Dear List,
>>
>>
>> after removing the Debian sip5 package and a 'pip3 install sip'
>> the compilation works find.
>>
>> Maybe helpful for others.
> Hi Piet,
>
> I'm not 100% sure if this is a good solution.
>
> Installing sip with pip or pip3 means you are pulling sip-stuff from the python repo's, while I think it is preferred to keep plain Debian (python/sip) packages for compiling QGIS yourself.
>
> I build on a aging system myself, so I'm not very aware of which sip I exactly use... but I cannot find a 'sip5' package, only sip5-doc and sip5-tools (both also not installed on my system...
> Ah:
>   `dpkg -S /usr/bin/sip`
> tell's me it comes from sip-dev package (sip-dev/testing,testing,now 4.19.25+dfsg-1), so I think that is what I actually use to build QGIS...
>
> The 'Debian control' file of QGIS [0] shows that (for the packaging build) there is a dependency on 'python3-sip', and:
>   `apt show python3-sip`
> show me that it's source comes from 'sip4'(!)... so maybe you installed sip5 via other sources?
>
> I hope this is helpful...
>
> Regards,
>
> Richard Duivenvoorde
>
> [0] https://github.com/qgis/QGIS/blob/master/debian/control
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


More information about the Qgis-user mailing list