NetBSD Problem Report #60209
From www@netbsd.org Fri Apr 24 07:31:17 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "R12" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 5F8841A923C
for <gnats-bugs@gnats.NetBSD.org>; Fri, 24 Apr 2026 07:31:17 +0000 (UTC)
Message-Id: <20260424073116.770931A923F@mollari.NetBSD.org>
Date: Fri, 24 Apr 2026 07:31:16 +0000 (UTC)
From: rvp@SDF.ORG
Reply-To: rvp@SDF.ORG
To: gnats-bugs@NetBSD.org
Subject: freetype2.pc has invalid Version
X-Send-Pr-Version: www-1.0
X-From4GNATS: "rvp@SDF.ORG via gnats" <gnats-admin@NetBSD.org>
>Number: 60209
>Category: xsrc
>Synopsis: freetype2.pc has invalid Version
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 24 07:35:00 +0000 2026
>Last-Modified: Fri Apr 24 07:50:01 +0000 2026
>Originator: RVP
>Release: NetBSD-HEAD, NetBSD-11, ...
>Organization:
>Environment:
NetBSD/amd64 11.99.5
>Description:
This is wrong:
```
$ fgrep Version /usr/X11R7/lib/pkgconfig/freetype2.pc
Version: 23:0:17
$
```
a) The separator should be `.' rather than `:'.
b) The version no. should now actually be `23.4.17':
```
$ sed -n \
'/^version_info=/{s/version_info=.\([0-9]*\):\([0-9]*\):\([0-9]*\)./\1.\2.\3/;p;q;}' \
/usr/xsrc/external/mit/freetype/dist/builds/unix/configure.ac
23.4.17
$
```
>How-To-Repeat:
As above.
>Fix:
As above.
>Audit-Trail:
From: RVP <rvp@SDF.ORG>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: xsrc/60209: freetype2.pc has invalid Version
Date: Fri, 24 Apr 2026 07:46:33 +0000 (UTC)
On Fri, 24 Apr 2026, rvp@SDF.ORG via gnats wrote:
>> Fix:
> As above.
>
Ah, sorry--it should be here, I think:
src/external/mit/xorg/lib/freetype/Makefile:
```
112
113 PKGCONFIG= freetype2
114 PKGDIST.freetype2= ${.CURDIR}
115 PKGCONFIG_VERSION.freetype2= 23:0:17
116
```
Change the VERSION on line 115 to `23.4.17'.
-RVP
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.