<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<p class="MsoNormal ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
Hi Debian folks,<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
We are looking into a Debian Bug#1038447: librsvg: FTBFS on big-endian architectures: multiple test regressions since September 2022.<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
Simon has helped us to reproduce the issue by the following way. Thanks, simon for your kind support. We are trying these steps on our s390x machine of Debian kernel version 6.3.7-1.<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<ul style="margin-top:0in" type="disc" class="ContentPasted0">
<li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">Have a Debian unstable chroot, container or machine with build-dependencies for the package. I used schroot on the Debian s390x<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">porterbox zelenka:<o:p class="ContentPasted0"> </o:p></span></li></ul>
<p class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<ul style="margin-top:0in" type="disc" class="ContentPasted0">
<ul style="margin-top:0in" type="disc" class="ContentPasted0">
<li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level2 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">schroot -n librsvg -c sid --begin<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level2 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">s=librsvg; p=librsvg; dd-schroot-cmd -c $s apt-get -y update && dd-schroot-cmd -c $s apt-get -y dist-upgrade && dd-schroot-cmd -c $s apt-get -y install ccache git quilt git-buildpackage
&& dd-schroot-cmd -c $s apt-get -y build-dep $p<o:p class="ContentPasted0"> </o:p></span></li></ul>
</ul>
<p class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<ul style="margin-top:0in" type="disc" class="ContentPasted0">
<li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">but any chroot/container/machine with the build-dependencies should behave the same.<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">gbp clone
<a href="https://salsa.debian.org/gnome-team/librsvg.git" id="OWA43314874-4e20-c089-cb20-b112de0d7707" class="OWAAutoLink ContentPasted0">https://salsa.debian.org/gnome-team/librsvg.git</a>
<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">cd librsvg<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">git reset --hard debian/2.54.7+dfsg-2 (or skip this step to build the latest version)<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">gbp pq import<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">Edit debian/rules to remove the workaround: delete the lines from<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">"ifeq ($(DEB_HOST_ARCH_ENDIAN),big)" until the next "endif"<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">Build the package in the chroot<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">schroot -c librsvg -r -- debuild -eCCACHE_DIR=$HOME/.cache/ccache -ePATH=/usr/lib/ccache:$PATH -uc -us -b<o:p class="ContentPasted0"> </o:p></span></li><ul style="margin-top:0in" type="disc" class="ContentPasted0">
<li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level2 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">Or you can enter the appropriate environment interactively and use:<o:p class="ContentPasted0"> </o:p></span></li></ul>
<li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">debuild -us -uc -b<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">Expected result: a successful build.<o:p class="ContentPasted0"> </o:p></span></li><li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">Actual result: multiple test failures, as reported previously.<o:p class="ContentPasted0"> </o:p></span></li></ul>
<p class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoPlainText ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;margin-left:.5in">
These are "reftests" which render a reference SVG and compare it with a reference rendering. You can find the SVGs and reference renderings in<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoPlainText ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;margin-left:.5in">
tests/fixtures/reftests/: for example, one failing test is coords-viewattr-02-b, which has its SVG at tests/fixtures/reftests/svg1.1/coords-viewattr-02-b.svg<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoPlainText ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;margin-left:.5in">
and its reference rendering at<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoPlainText ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;margin-left:.5in">
tests/fixtures/reftests/svg1.1/coords-viewattr-02-b.svg.<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoPlainText ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;margin-left:.5in">
After the build finishes, each failed test will have the actual output in a file named like target/release/build/librsvg-*/out/coords-viewattr-02-b-out.png,<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoPlainText ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;margin-left:.5in">
and a highlighted/emphasized visual diff in a file like target/release/build/librsvg-*/out/coords-viewattr-02-b-diff.png.<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoPlainText ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;margin-left:.5in">
Those are the files that I attached to the upstream issues.<o:p class="ContentPasted0"> </o:p></p>
<ul style="margin-top:0in" type="disc" class="ContentPasted0">
<li class="MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif;mso-list:l0 level1 lfo1">
<span style="mso-fareast-font-family:"Times New Roman"" class="ContentPasted0">Building librsvg using its upstream build procedure without Debian patches/packaging might also result in failed tests, but I haven't verified this.<o:p class="ContentPasted0"> </o:p></span></li></ul>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
Unfortunately, we are encountering an issue with the chroot as followed. We tried the best to resolve it, but nothing helped us move forward. Could anyone has faced the same issue/solution of it please let us know. If any other steps might be needed to reproduce
the same, please confirm.<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-ligatures:none"></span><o:p class="ContentPasted0"> <img style="max-width:100%" class="ContentPasted1 w-760 h-198" size="25250" contenttype="image/png" data-outlook-trace="F:1|T:1" src="cid:3eab900a-55ec-4f9c-a2b1-f199d46aea9e"></o:p></p>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
Thanks in Advance..!<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
Thanks,<o:p class="ContentPasted0"> </o:p></p>
<p class="MsoNormal ContentPasted0" style="margin:0in;font-size:11pt;font-family:Calibri, sans-serif">
Gayathri.<o:p class="ContentPasted0"> </o:p></p>
<br>
</div>
</body>
</html>