• Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Packages
  • Assigned To
    Andreas Baumann
  • Operating System i486
  • Severity Low
  • Priority Medium
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Arch Linux 32
Opened by Andreas Baumann - 09.04.2022
Last edited by Andreas Baumann - 25.04.2022

FS#247 - [freetype2] requires librsvg >= 2.46.0

This could be bad because our librsvg (the Rust one) lags behind and librsvg-og might not
implement new stuff (for i486).

Closed by  Andreas Baumann
25.04.2022 12:50
Reason for closing:  Fixed
Additional comments about closing:  

temorary hotfix for i486.
rust/librsvg rebuilt for i686, pentium4.

Admin
Andreas Baumann commented on 09.04.2022 08:45
../ft2demos-2.12.0/src/rsvg-port.c: In function ‘rsvg_port_preset_slot’:
../ft2demos-2.12.0/src/rsvg-port.c:172:5: error: unknown type name ‘RsvgLength’
  172 |     RsvgLength         out_width;
      |     ^~~~~~~~~~
../ft2demos-2.12.0/src/rsvg-port.c:173:5: error: unknown type name ‘RsvgLength’
  173 |     RsvgLength         out_height;
      |     ^~~~~~~~~~
../ft2demos-2.12.0/src/rsvg-port.c:174:5: error: unknown type name ‘RsvgRectangle’; did you mean ‘RsvgHandle’?
  174 |     RsvgRectangle      out_viewbox;
      |     ^~~~~~~~~~~~~
      |     RsvgHandle
../ft2demos-2.12.0/src/rsvg-port.c:217:5: warning: implicit declaration of function ‘rsvg_handle_get_intrinsic_dimensions’; did you mean ‘rsvg_handle_get_dimensions’? [-Wimplicit-function-declaration]
  217 |     rsvg_handle_get_intrinsic_dimensions( handle,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     rsvg_handle_get_dimensions
../ft2demos-2.12.0/src/rsvg-port.c:237:46: error: request for member ‘width’ in something not a structure or union
  237 |       dimension_svg.width  = (int)out_viewbox.width; /* XXX rounding? */
      |                                              ^
../ft2demos-2.12.0/src/rsvg-port.c:238:46: error: request for member ‘height’ in something not a structure or union
  238 |       dimension_svg.height = (int)out_viewbox.height;
      |                                              ^
../ft2demos-2.12.0/src/rsvg-port.c:242:44: error: request for member ‘length’ in something not a structur
../ft2demos-2.12.0/src/rsvg-port.c:242:44: error: request for member ‘length’ in something not a structure or union
  242 |       dimension_svg.width  = (int)out_width.length; /* XXX rounding? */
      |                                            ^
../ft2demos-2.12.0/src/rsvg-port.c:243:45: error: request for member ‘length’ in something not a structure or union
  243 |       dimension_svg.height = (int)out_height.length;
      |                                             ^
[117/125] Compiling C object libftcommon.a.p/src_ftcommon.c.o

Yes, indeed, forcing the meson build requirements for librsvg fails. So librsvg-og
has to be adapted..

Admin
Andreas Baumann commented on 09.04.2022 08:49

Is also in imlib2 apparently:

https://github.com/oaken-source/librsvg-og/issues/2

Stable APIs seem to be a thing of the past, so a lot more software will break.

https://gnome.pages.gitlab.gnome.org/librsvg/Rsvg-2.0/migrating.html

shows what has all to be changed..

Admin
Andreas Baumann commented on 09.04.2022 08:50

Note: pentium4 and i686 are fine and not affected (rust and librsvg are available as soon
I'm not too lazy to build a new version of Rust). And in principle nothing speaks against
bootstrapping a Rust for i486. But we would like to keep Rust out of the i486 architecture
if possible.

Admin
Andreas Baumann commented on 22.04.2022 10:33

librsvg on pentium4:

error[E0425]: cannot find function `max_m128d` in this scope
   --> /build/.cargo/registry/src/github.com-1285ae84e5963aae/wide-0.7.4/src/f64x2_.rs:442:21
    |
442 |         Self { sse: max_m128d(self.sse, rhs.sse) }
    |                     ^^^^^^^^^ help: a function with a similar name exists: `max_m128`
    |
   ::: /build/.cargo/registry/src/github.com-1285ae84e5963aae/safe_arch-0.6.0/src/x86_x64/sse.rs:760:1
(thousands of bugs following)
Admin
Andreas Baumann commented on 22.04.2022 12:13

ok, i686 builds somehow, let's use the same flags also for pentium4.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing