<!DOCTYPE html><html><head><title></title></head><body><div>Hi Johannes,</div><div><br></div><div>The CI testing is done using librsvg2-2.58.0. </div><div>If you have an older version to test with and can add in a #if LIBRSVG_CHECK_VERSION(2, 46, 0) please submit a PR and it can be merged. </div><div><br>Seth</div><div><br></div><div id="sig62266145"><div class="signature">--</div><div class="signature">web:<a href="https://geographika.net">https://geographika.net</a> & <a href="https://mapserverstudio.net">https://mapserverstudio.net</a></div><div class="signature">mastodon: @<a href="mailto:geographika@mastodon.social">geographika@mastodon.social</a></div></div><div><br></div><div>On Mon, Jan 26, 2026, at 4:53 PM, Johannes Paul via MapServer-dev wrote:</div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Actually the error seems to be related to this commit in mapcairo.c on branch 8.6</div><div><a href="https://github.com/MapServer/MapServer/commit/4121426f071bc0f090f203569cc31bd3feca92b9">https://github.com/MapServer/MapServer/commit/4121426f071bc0f090f203569cc31bd3feca92b9</a></div><div><br></div><div>RsvgRectangle type is used here</div><div><a href="https://github.com/MapServer/MapServer/blob/branch-8-6/src/mapcairo.c#L371">https://github.com/MapServer/MapServer/blob/branch-8-6/src/mapcairo.c#L371</a></div><div><div>and here</div><div><a href="https://github.com/MapServer/MapServer/blob/branch-8-6/src/mapcairo.c#L1131">https://github.com/MapServer/MapServer/blob/branch-8-6/src/mapcairo.c#L1131</a></div></div><div>without checking for the librsvg version using LIBRSVG_CHECK_VERSION</div><div><br></div><div>So now Mapserver cannot build with librsvg < 2.46.0 anymore ...</div><div><div><br></div></div></div><div><br></div><div class="qt-gmail_quote qt-gmail_quote_container"><div dir="ltr" class="qt-gmail_attr">On Mon, 26 Jan 2026 at 11:20, Johannes Paul <<a href="mailto:johannespaul92@gmail.com">johannespaul92@gmail.com</a>> wrote:</div><blockquote class="qt-gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div dir="ltr"><div>Hello,</div><div><div><br></div><div>I'm building mapserver with rsvg and with cairo on Almalinux 8.</div><div><br></div><div>It used to build successfully with Mapserver 8.2.0, however with v8.6.0 the build fails in mapcairo with error: unknown type name 'RsvgRectangle'.</div><div><br></div><div><div style="box-sizing:border-box;font-variant-ligatures:none;display:flex;padding-top:1px;padding-right:8px;padding-bottom:1px;padding-left:8px;color:rgb(255, 255, 255);font-family:"GitLab Mono", "JetBrains Mono", Menlo, "DejaVu Sans Mono", "Liberation Mono", Consolas, "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace;font-size:13px;"><span style="box-sizing:border-box;"><span style="box-sizing:border-box;padding-top:1.25px;padding-right:0px;padding-bottom:1.25px;padding-left:0px;background-color:rgb(0, 0, 0);">[ 17%] Building C object CMakeFiles/mapserver.dir/src/mapcairo.c.o</span></span></div><div style="box-sizing:border-box;font-variant-ligatures:none;display:flex;padding-top:1px;padding-right:8px;padding-bottom:1px;padding-left:8px;color:rgb(255, 255, 255);font-family:"GitLab Mono", "JetBrains Mono", Menlo, "DejaVu Sans Mono", "Liberation Mono", Consolas, "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace;font-size:13px;"><span style="box-sizing:border-box;"><span style="box-sizing:border-box;padding-top:1.25px;padding-right:0px;padding-bottom:1.25px;padding-left:0px;background-color:rgb(0, 0, 0);">/builds/mapserver/MapServer/src/mapcairo.c: In function 'renderSVGSymbolCairo':</span></span></div><div style="box-sizing:border-box;font-variant-ligatures:none;display:flex;padding-top:1px;padding-right:8px;padding-bottom:1px;padding-left:8px;color:rgb(255, 255, 255);font-family:"GitLab Mono", "JetBrains Mono", Menlo, "DejaVu Sans Mono", "Liberation Mono", Consolas, "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace;font-size:13px;"><span style="box-sizing:border-box;"><span style="box-sizing:border-box;padding-top:1.25px;padding-right:0px;padding-bottom:1.25px;padding-left:0px;background-color:rgb(0, 0, 0);">/builds/mapserver/MapServer/src/mapcairo.c:371:3: error: unknown type name 'RsvgRectangle'; did you mean 'RsvgHandle'?</span></span></div></div><div><br></div><div>It seems this is an issue with librsvg2-devel-2.42.7 that I'm getting from AppStream repo, correct ?</div><div><br></div><div>I guess I need to upgrade librsvg ? What is the minimum required version of librsvg ? Is there any other option than building librsvg from source ?</div><div><br></div><div>Thanks,</div><div>Johannes</div><div><br></div><div><br></div></div></div></blockquote></div><div>_______________________________________________</div><div>MapServer-dev mailing list</div><div><a href="mailto:MapServer-dev@lists.osgeo.org">MapServer-dev@lists.osgeo.org</a></div><div><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-dev">https://lists.osgeo.org/mailman/listinfo/mapserver-dev</a></div><div><br></div></blockquote><div><br></div></body></html>