librsvg ftbfs in disco (i386 only)

Bug #1823426 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
librsvg
Fix Released
Unknown
librsvg (Debian)
Fix Released
Unknown
librsvg (Ubuntu)
Fix Released
High
Olivier Tilloy
Disco
Fix Released
High
Olivier Tilloy

Bug Description

https://launchpadlibrarian.net/417925231/buildlog_ubuntu-disco-i386.librsvg_2.44.10-1_BUILDING.txt.gz

   Compiling phf_generator v0.7.23
     Running `rustc --crate-name phf_generator /<<PKGBUILDDIR>>/vendor/phf_generator/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=3 -C debuginfo=2 -C metadata=454a5a2ede7d0e81 -C extra-filename=-454a5a2ede7d0e81 --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern phf_shared=/<<PKGBUILDDIR>>/target/release/deps/libphf_shared-3211ae4bedecc506.rlib --extern rand=/<<PKGBUILDDIR>>/target/release/deps/librand-bc26f371fdd8f508.rlib --cap-lints allow`
error[E0428]: the name `U1024` is defined multiple times
    --> /<<PKGBUILDDIR>>/target/release/build/typenum-44d960740a171e66/out/consts.rs:2112:5
     |
2110 | pub type U1024 = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>;
     | ------------------------------------------------------------------------------------------------------------------------------------- previous definition of the type `U1024` here
2111 | pub type P1024 = PInt<U1024>; pub type N1024 = NInt<U1024>;
2112 | pub type U1024 = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>;
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `U1024` redefined here
     |
     = note: `U1024` must be defined only once in the type namespace of this module

error[E0428]: the name `P1024` is defined multiple times
    --> /<<PKGBUILDDIR>>/target/release/build/typenum-44d960740a171e66/out/consts.rs:2113:5
     |
2111 | pub type P1024 = PInt<U1024>; pub type N1024 = NInt<U1024>;
     | ----------------------------- previous definition of the type `P1024` here
2112 | pub type U1024 = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>;
2113 | pub type P1024 = PInt<U1024>; pub type N1024 = NInt<U1024>;
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `P1024` redefined here
     |
     = note: `P1024` must be defined only once in the type namespace of this module

error[E0428]: the name `N1024` is defined multiple times
    --> /<<PKGBUILDDIR>>/target/release/build/typenum-44d960740a171e66/out/consts.rs:2113:35
     |
2111 | pub type P1024 = PInt<U1024>; pub type N1024 = NInt<U1024>;
     | ----------------------------- previous definition of the type `N1024` here
2112 | pub type U1024 = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>;
2113 | pub type P1024 = PInt<U1024>; pub type N1024 = NInt<U1024>;
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `N1024` redefined here
     |
     = note: `N1024` must be defined only once in the type namespace of this module

   Compiling quote v0.6.8
     Running `rustc --crate-name quote /<<PKGBUILDDIR>>/vendor/quote/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=3 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="proc-macro2"' -C metadata=7bcb03a3954c3d99 -C extra-filename=-7bcb03a3954c3d99 --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern proc_macro2=/<<PKGBUILDDIR>>/target/release/deps/libproc_macro2-f0d4dedaba1fcdae.rlib --cap-lints allow`
error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0428`.
error: Could not compile `typenum`.

Caused by:
  process didn't exit successfully: `rustc --crate-name typenum /<<PKGBUILDDIR>>/vendor/typenum/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=3 -C debuginfo=2 -C metadata=373290d68c8bc9c3 -C extra-filename=-373290d68c8bc9c3 --out-dir /<<PKGBUILDDIR>>/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
make[3]: *** [Makefile:1955: /<<PKGBUILDDIR>>/target/release/librsvg_internals.a] Error 101
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:1457: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:940: all] Error 2

Tags: ftbfs
Matthias Klose (doko)
Changed in librsvg (Ubuntu):
importance: Undecided → High
tags: added: ftbfs rls-dd-incoming
Will Cooke (willcooke)
Changed in librsvg (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
Iain Lane (laney)
tags: removed: rls-dd-incoming
Olivier Tilloy (osomon)
Changed in librsvg (Ubuntu Disco):
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

Upstream fix in the typenum crate (which is being vendored in the librsvg source tarball): https://github.com/paholg/typenum/commit/14a3322d1081fd63d5eb44bf8ab8f90676208228

Olivier Tilloy (osomon)
Changed in librsvg (Ubuntu Disco):
status: Confirmed → In Progress
Revision history for this message
Olivier Tilloy (osomon) wrote :

There is also a unit test failure on i386 only.
Upstream bug report: https://gitlab.gnome.org/GNOME/librsvg/issues/455

Changed in librsvg:
status: Unknown → New
Changed in librsvg (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package librsvg - 2.44.10-1ubuntu1

---------------
librsvg (2.44.10-1ubuntu1) disco; urgency=medium

  * debian/patches/typenum-i386-ftbfs.patch: backport an upstream fix for a
    build failure in the vendored typenum crate on i386 (LP: #1823426)
  * debian/patches/i386-rounding-errors.patch: fix a rounding error on i386
    that would result in a unit test failure

 -- Olivier Tilloy <email address hidden> Wed, 10 Apr 2019 17:14:57 +0200

Changed in librsvg (Ubuntu Disco):
status: In Progress → Fix Released
Changed in librsvg:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.