Bug#1038447: librsvg: FTBFS on big-endian architectures: multiple test regressions since September 2022

Gayathri Berli Gayathri.Berli at ibm.com
Mon Aug 28 07:05:57 BST 2023


Hi Debian folks,


We are looking into a Debian Bug#1038447: librsvg: FTBFS on big-endian architectures: multiple test regressions since September 2022.


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.


  *   Have a Debian unstable chroot, container or machine with build-dependencies for the package. I used schroot on the Debian s390x
  *   porterbox zelenka:



     *   schroot -n librsvg -c sid --begin
     *   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



  *   but any chroot/container/machine with the build-dependencies should behave the same.
  *   gbp clone https://salsa.debian.org/gnome-team/librsvg.git
  *   cd librsvg
  *   git reset --hard debian/2.54.7+dfsg-2 (or skip this step to build the latest version)
  *   gbp pq import
  *   Edit debian/rules to remove the workaround: delete the lines from
  *   "ifeq ($(DEB_HOST_ARCH_ENDIAN),big)" until the next "endif"
  *   Build the package in the chroot
  *   schroot -c librsvg -r -- debuild -eCCACHE_DIR=$HOME/.cache/ccache -ePATH=/usr/lib/ccache:$PATH -uc -us -b
     *   Or you can enter the appropriate environment interactively and use:
  *   debuild -us -uc -b
  *   Expected result: a successful build.
  *   Actual result: multiple test failures, as reported previously.



These are "reftests" which render a reference SVG and compare it with a reference rendering. You can find the SVGs and reference renderings in

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

and its reference rendering at

tests/fixtures/reftests/svg1.1/coords-viewattr-02-b.svg.

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,

and a highlighted/emphasized visual diff in a file like target/release/build/librsvg-*/out/coords-viewattr-02-b-diff.png.

Those are the files that I attached to the upstream issues.

  *   Building librsvg using its upstream build procedure without Debian patches/packaging might also result in failed tests, but I haven't verified this.



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.

 [cid:3eab900a-55ec-4f9c-a2b1-f199d46aea9e]


Thanks in Advance..!



Thanks,

Gayathri.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20230828/b01cdae1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 25250 bytes
Desc: image.png
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20230828/b01cdae1/attachment-0001.png>


More information about the pkg-gnome-maintainers mailing list