<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">Hi
<a id="OWAAM562533" class="tWKOu mention ms-bgc-nlr ms-fcl-b" href="mailto:smcv@debian.org">@Simon McVittie</a></span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);"><br>
</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">With the help of cargo
 build environment setup inside the docker environment, we are finally able to reproduce the issue in Debian on s390x.</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">After a lot of trails,
 we were able to figure out the working and non-working debian unstable releases. Please find the details below..</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);"> </span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">Working docker setup:
 debian:unstable-20221114-librsvg2-dev_2.54.5+dfsg-1_s390x.deb</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">Non-Working docker
 setup: debian:unstable-20221024-librsvg2-dev_2.54.5+dfsg-1_s390x.deb.</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);"><br>
</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">We are suspecting
 that the dependency packages might be causing the issue. Here is the list of dependency packages. By keeping the working setup as a base, we are now trying to upgrade each of these packages one by one, run the cargo test to see if we can reproduce the issue…</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);"><br>
</span></div>
<ul data-editing-info="{"orderedStyleType":1,"unorderedStyleType":1}" style="text-align: left; list-style-position: initial; list-style-type: disc; background-color: rgb(255, 255, 255);">
<li style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">
<div style="margin: 0px;"><span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">libxml
 (2.9.14+dfsg-1.1+b2)</span></div>
</li><li style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">
<div style="margin: 0px;"><span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">gi-docgen
 (2022.2+ds-1)</span></div>
</li><li style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">
<div style="margin: 0px;"><span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">gobject
 (5.2.0-2+b1)</span></div>
</li><li style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">
<div style="margin: 0px;"><span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">python
 (3.10.6-2)</span></div>
</li><li style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">
<div style="margin: 0px;"><span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">rust
 (1.62.1+dfsg1-1)</span></div>
</li><li style="letter-spacing: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; font-weight: 400; color: black;">
<div style="margin: 0px;"><span style="letter-spacing: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; font-weight: 400; color: black;">harfbuzz (5.2.0-2+b1)</span></div>
</li></ul>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; font-weight: 400; color: black;"><br>
</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);">Out of the packages
 listed above, I tried upgrading libxml, libharfbuzz and libglib packages. So far, I have not been able to reproduce the issue. I will try upgrading the remaining packages and see if I can reproduce the issue. I will update more on this sooner.</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);"><br>
</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: rgb(36, 36, 36);"> Please note that
 I am working on upgrading the dependency package according to the <a href="https://snapshot.debian.org/" target="_blank" id="OWAe2256a78-0a85-1e6a-4ae4-352a0e79ef11" class="OWAAutoLink" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="0" style="margin: 0px;">https://snapshot.debian.org/</a></span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; font-weight: 400; color: black;"><br>
</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; font-weight: 400; color: black;"><br>
</span></div>
<div style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; font-weight: 400; color: black;">Thanks,</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; background-color: rgb(255, 255, 255);">
<span style="letter-spacing: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; font-weight: 400; color: black;">Gayathri.</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Gayathri Berli<br>
<b>Sent:</b> Wednesday, September 20, 2023 10:42 AM<br>
<b>To:</b> 1038447@bugs.debian.org <1038447@bugs.debian.org><br>
<b>Cc:</b> Vishwanatha H.D <Vishwanatha.HD@ibm.com>; Simon McVittie <smcv@debian.org><br>
<b>Subject:</b> RE: Bug#1038447: librsvg: FTBFS on big-endian architectures: multiple test regressions since September 2022</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Consolas}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
p.x_MsoPlainText, li.x_MsoPlainText, div.x_MsoPlainText
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_PlainTextChar
        {font-family:"Consolas",serif}
span.x_contentpasted0
        {}
span.x_EmailStyle22
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
ol
        {margin-bottom:0in}
ul
        {margin-bottom:0in}
-->
</style>
<div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Gentle Reminder..!<br>
<br>
Thanks,</p>
<p class="x_MsoNormal">Gayathri</p>
<p class="x_MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b>From:</b> Gayathri Berli <br>
<b>Sent:</b> Monday, August 28, 2023 11:36 AM<br>
<b>To:</b> 1038447@bugs.debian.org<br>
<b>Cc:</b> Vishwanatha H.D <Vishwanatha.HD@ibm.com>; Simon McVittie <smcv@debian.org><br>
<b>Subject:</b> Bug#1038447: librsvg: FTBFS on big-endian architectures: multiple test regressions since September 2022</p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<div>
<p class="x_MsoNormal"><span style="color:black">Hi Debian folks, </span></p>
<p class="x_MsoNormal"><span style="color:black"> </span></p>
<p class="x_MsoNormal"><span style="color:black">We are looking into a Debian Bug#1038447: librsvg: FTBFS on big-endian architectures: multiple test regressions since September 2022. </span></p>
<p class="x_MsoNormal"><span style="color:black"> </span></p>
<p class="x_MsoNormal"><span style="color:black">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. </span></p>
<p class="x_MsoNormal"><span style="color:black"> </span></p>
<ul type="disc" style="margin-top:0in">
<li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">Have a Debian unstable chroot, container or machine with build-dependencies for the package. I used schroot on the Debian s390x </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">porterbox zelenka: </span></li></ul>
<p class="x_MsoPlainText"><span style="color:black"> </span></p>
<ul type="disc" style="margin-top:0in">
<ul type="disc" style="margin-top:0in">
<li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">schroot -n librsvg -c sid --begin </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_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 </span></li></ul>
</ul>
<p class="x_MsoPlainText"><span style="color:black"> </span></p>
<ul type="disc" style="margin-top:0in">
<li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">but any chroot/container/machine with the build-dependencies should behave the same. </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">gbp clone
<a href="https://salsa.debian.org/gnome-team/librsvg.git">https://salsa.debian.org/gnome-team/librsvg.git</a>
  </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">cd librsvg </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">git reset --hard debian/2.54.7+dfsg-2 (or skip this step to build the latest version) </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">gbp pq import </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">Edit debian/rules to remove the workaround: delete the lines from </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">"ifeq ($(DEB_HOST_ARCH_ENDIAN),big)" until the next "endif" </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">Build the package in the chroot </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">schroot -c librsvg -r -- debuild -eCCACHE_DIR=$HOME/.cache/ccache -ePATH=/usr/lib/ccache:$PATH -uc -us -b </span></li></ul>
<ul type="disc" style="margin-top:0in">
<ul type="disc" style="margin-top:0in">
<li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">Or you can enter the appropriate environment interactively and use: </span></li></ul>
</ul>
<ul type="disc" style="margin-top:0in">
<li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">debuild -us -uc -b </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">Expected result: a successful build. </span></li><li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">Actual result: multiple test failures, as reported previously. </span></li></ul>
<p class="x_MsoPlainText"><span style="color:black"> </span></p>
<p class="x_MsoPlainText" style="margin-left:.5in"><span style="color:black">These are "reftests" which render a reference SVG and compare it with a reference rendering. You can find the SVGs and reference renderings in </span></p>
<p class="x_MsoPlainText" style="margin-left:.5in"><span style="color:black">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 </span></p>
<p class="x_MsoPlainText" style="margin-left:.5in"><span style="color:black">and its reference rendering at </span></p>
<p class="x_MsoPlainText" style="margin-left:.5in"><span style="color:black">tests/fixtures/reftests/svg1.1/coords-viewattr-02-b.svg. </span></p>
<p class="x_MsoPlainText" style="margin-left:.5in"><span style="color:black">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, </span></p>
<p class="x_MsoPlainText" style="margin-left:.5in"><span style="color:black">and a highlighted/emphasized visual diff in a file like target/release/build/librsvg-*/out/coords-viewattr-02-b-diff.png. </span></p>
<p class="x_MsoPlainText" style="margin-left:.5in"><span style="color:black">Those are the files that I attached to the upstream issues. </span></p>
<ul type="disc" style="margin-top:0in">
<li class="x_MsoPlainText" style="color:black"><span class="x_contentpasted0">Building librsvg using its upstream build procedure without Debian patches/packaging might also result in failed tests, but I haven't verified this. </span></li></ul>
<p class="x_MsoNormal"><span style="color:black"> </span></p>
<p class="x_MsoNormal"><span style="color:black"> </span></p>
<p class="x_MsoNormal"><span style="color:black">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. </span></p>
<p class="x_MsoNormal"><span style="color:black"> </span></p>
<p class="x_MsoNormal"><span style="color:black"> <img border="0" width="760" height="198" id="x_Picture_x0020_1" style="width:7.9166in; height:2.0666in" data-outlook-trace="F:1|T:1" src="cid:image001.png@01D9EBAF.1462BE40"></span></p>
<p class="x_MsoNormal"><span style="color:black"> </span></p>
<p class="x_MsoNormal"><span style="color:black">Thanks in Advance..! </span></p>
<p class="x_MsoNormal"><span style="color:black"> </span></p>
<p class="x_MsoNormal"><span style="color:black"> </span></p>
<p class="x_MsoNormal"><span style="color:black">Thanks, </span></p>
<p class="x_MsoNormal"><span style="color:black">Gayathri. </span></p>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
</div>
</div>
</body>
</html>