FS#79127 - [freetype2] 2.13.1-1 remove bzip2 support

Attached to Project: Arch Linux
Opened by bart (bart) - Monday, 17 July 2023, 10:08 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:27 GMT
Task Type General Gripe
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Would it be possible to remove bzip2 support from freetype?


The latest version of a proprietary program used for image analysis failed to run with this error message:

IFUNC symbol 'BZ2_hbMakeCodeLengths' referenced in '/usr/lib/libbz2.so.1.0' is defined in the executable and creates an unsatisfiable circular dependency.

I tried to run the software on Ubuntu and there it ran without issues. Removing bzip2 support from freetype fixed the issue. Ubuntu removed this unwanted dependency already in 2011 [1].

On my Archlinux installation I recompiled freetype without bzip2 support to make the image analysis program work without any issues (added "-D freetype2:bzip2=disabled" to "local meson_options"). As far as I could see no other packages make use of bzip2 support in freetype (and Ubuntu and CentOS removed this support many years ago anyway).


[1] http://changelogs.ubuntu.com/changelogs/pool/main/f/freetype/freetype_2.11.1+dfsg-1ubuntu0.2/changelog
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:27 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/freetype2/issues/1
Comment by Toolybird (Toolybird) - Monday, 17 July 2023, 20:31 GMT
> of a proprietary program used for image analysis

name?

> Ubuntu removed this unwanted dependency

It seems to be back in Debian [1]. It's also there in Fedora [2], so not sure about the Centos claim...

[1] https://salsa.debian.org/debian/freetype/-/commit/67e2ebc97f17535d0c4cd103f4410a2b350ea0ad
[2] https://src.fedoraproject.org/rpms/freetype/blob/f38/f/freetype.spec#_34
Comment by Jan Alexander Steffens (heftig) - Monday, 17 July 2023, 21:18 GMT
Does the program run with LD_PRELOAD=/usr/lib/libbz2.so.1.0 ?
Comment by bart (bart) - Tuesday, 18 July 2023, 11:22 GMT
$ LD_PRELOAD=/usr/lib/libbz2.so.1.0 ./huygenspro.bin
./huygenspro.bin: IFUNC symbol 'BZ2_hbMakeCodeLengths' referenced in '/usr/lib/libbz2.so.1.0' is defined in the executable and creates an unsatisfiable circular dependency.

So it doesn't run with preload

Loading...