pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/57517: pkgsrc-2023Q2 inconsistent freetype2 and fontconfig on NetBSD 9.3
>Number: 57517
>Category: pkg
>Synopsis: pkgsrc-2023Q2 inconsistent freetype2 and fontconfig on NetBSD 9.3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 10 14:35:00 +0000 2023
>Originator: Izumi Tsutsui
>Release: NetBSD 9.3
>Organization:
>Environment:
System: NetBSD optiplex 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug 4 15:30:37 UTC 2022 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
NetBSD 9.3 has:
- freetype2 2.10.4 and /usr/X11R7/lib/libfreetype.so.19.0
- fontconfig 2.13.1 and /usr/X11R7/lib/libfontconfig.so.2.3
pkgsrc-2023Q2 has:
- freetype2 2.13.0 in pkgsrc/graphics/freetype2/Makefile
and BUILDLINK_API_DEPENDS in buildlink3.mk is also 2.13.0
https://github.com/NetBSD/pkgsrc/commit/5c74c638
- fontconfig 2.14.2 in pkgsrc/fonts/fontconfig/Makefile
and also requires freetypes>=2.13.0 via buildlink3.mk,
but BUILDLINK_API_DEPENDS in buildlink3.mk is 2.11.91
https://github.com/NetBSD/pkgsrc/blob/da7caf4f/fonts/fontconfig/buildlink3.mk#L8
This causes mungled libfreetype2 dependencies, for example,
libcairo.so installed from pkgsrc/graphics/cairo requires:
---
% ldd /usr/pkg/lib/libcairo.so.2.11600.0
/usr/pkg/lib/libcairo.so.2.11600.0:
-lpixman-1.2 => /usr/X11R7/lib/libpixman-1.so.2
-lm.0 => /usr/lib/libm.so.0
-lc.12 => /usr/lib/libc.so.12
-lgcc_s.1 => /usr/lib/libgcc_s.so.1
-lfontconfig.2 => /usr/X11R7/lib/libfontconfig.so.2
-lexpat.2 => /usr/lib/libexpat.so.2
-lfreetype.19 => /usr/X11R7/lib/libfreetype.so.19
-lz.1 => /usr/lib/libz.so.1
-lbz2.1 => /usr/lib/libbz2.so.1
-lfreetype.6 => /usr/pkg/lib/libfreetype.so.6
-lpng16.16 => /usr/pkg/lib/libpng16.so.16
-lbrotlidec.1 => /usr/pkg/lib/libbrotlidec.so.1
-lbrotlicommon.1 => /usr/pkg/lib/libbrotlicommon.so.1
-lpthread.1 => /usr/lib/libpthread.so.1
-lxcb-shm.0 => /usr/X11R7/lib/libxcb-shm.so.0
-lxcb.2 => /usr/X11R7/lib/libxcb.so.2
-lXau.7 => /usr/X11R7/lib/libXau.so.7
-lXdmcp.7 => /usr/X11R7/lib/libXdmcp.so.7
-lxcb-render.0 => /usr/X11R7/lib/libxcb-render.so.0
-lXrender.2 => /usr/X11R7/lib/libXrender.so.2
-lXext.7 => /usr/X11R7/lib/libXext.so.7
-lX11.7 => /usr/X11R7/lib/libX11.so.7
-lrt.1 => /usr/lib/librt.so.1
%
---
This causes broken rendering of emoji on cairo applications,
at least binaries that pull ruby-cairo:
--- /usr/pkgsrc-2023Q1/graphics/ruby-cairo/work.i386/.extract_makevars.mk 2023-07-
10 23:17:50.040900393 +0900
+++ /usr/pkgsrc-2023Q2/graphics/ruby-cairo/work.i386/.extract_makevars.mk 2023-07-10 23:19:30.906608270 +0900
@@ -7,7 +7,7 @@
BUILDLINK_PREFIX.dl= /usr
BUILDLINK_PREFIX.expat= /usr
BUILDLINK_PREFIX.fontconfig= /usr/X11R7
-BUILDLINK_PREFIX.freetype2= /usr/X11R7
+BUILDLINK_PREFIX.freetype2= /usr/pkg
BUILDLINK_PREFIX.gettext= /usr
BUILDLINK_PREFIX.iconv= /usr
BUILDLINK_PREFIX.libX11= /usr/X11R7
:
>How-To-Repeat:
See above.
>Fix:
No idea.
Bump BUILDLINK_API_DEPENDS in fontconfig/buildlink3.mk to pull
proper pkgsrc version fontconfig for NetBSD 9.3?
(not sure it's acceptable in the release branch)
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index