[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#955845: librsvg: Debian package FTBFS on powerpc, upstream builds fine



Source: librsvg
Version: 2.48.0-2
Severity: normal
User: debian-powerpc@lists.debian.org
Usertags: powerpc

Hi!

librsvg currently fails with a linking error on powerpc [1]:

  = note: /usr/bin/ld: bss-plt forced due to /<<PKGBUILDDIR>>/target/release/deps/rsvg_c_api-19fee46e3aa0cb72.16te3j7dbumhvm74.rcgu.o
          /usr/bin/ld: /<<PKGBUILDDIR>>/target/release/deps/rsvg_c_api-19fee46e3aa0cb72.2bda6oryqf97lk8y.rcgu.o: in function `rsvg_c_api::c_api::CHandle::set_base_url':
          2bda6oryqf97lk8y:(.text._ZN10rsvg_c_api5c_api7CHandle12set_base_url17h7b7ca170a5e223b2E+0xa4): undefined reference to `rsvg_g_critical_from_c'
          /usr/bin/ld: /<<PKGBUILDDIR>>/target/release/deps/rsvg_c_api-19fee46e3aa0cb72.2bda6oryqf97lk8y.rcgu.o: in function `rsvg_c_api::c_api::CHandle::get_handle_ref':
          2bda6oryqf97lk8y:(.text._ZN10rsvg_c_api5c_api7CHandle14get_handle_ref17hb5b3d86143bb7e4aE+0x178): undefined reference to `rsvg_g_critical_from_c'
          collect2: error: ld returned 1 exit status

This particular problem on powerpc does not show on openSUSE [2] and I cannot reproduce
it when building the upstream source instead of the Debian package.

I have tried removing Debian-specific build flags from debian/rules and also adding
Debian's own build flags for an upstream build using "dpkg-buildflags --export" plus
playing around with the configure flags, but so far I haven't figured out why the
linking problems show only when building the Debian package.

The issue can be reproduced on the porterbox perotto.debian.net.

Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=librsvg&arch=powerpc&ver=2.48.0-2&stamp=1586078010&raw=0
> [2] https://build.opensuse.org/build/openSUSE:Factory:PowerPC/standard/ppc/librsvg/_log

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: