NetBSD Problem Report #59614

From www@netbsd.org  Thu Aug 28 18:05:25 2025
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 435A31A923A
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 28 Aug 2025 18:05:25 +0000 (UTC)
Message-Id: <20250828180524.1096D1A923E@mollari.NetBSD.org>
Date: Thu, 28 Aug 2025 18:05:24 +0000 (UTC)
From: contact@piperswe.me
Reply-To: contact@piperswe.me
To: gnats-bugs@NetBSD.org
Subject: FTBFS lowdown on Debian 12
X-Send-Pr-Version: www-1.0

>Number:         59614
>Category:       pkg
>Synopsis:       FTBFS lowdown on Debian 12
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 28 18:10:01 +0000 2025
>Closed-Date:    Wed Nov 19 14:46:47 +0000 2025
>Last-Modified:  Wed Nov 19 15:55:01 +0000 2025
>Originator:     Piper McCorkle
>Release:        pkgsrc HEAD 8/28/2025
>Organization:
>Environment:
$ uname -a
Linux ma 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm
>Description:
lowdown-2.0.2 FTBFS on Debian 12 with unprivileged pkgsrc.

Full build log: https://pastebin.com/1rqbtFLH

Error:

/usr/bin/ld: .libs/main.o: in function `main':
main.c:(.text.startup+0x177e): undefined reference to `getprogname'
/usr/bin/ld: main.c:(.text.startup+0x19d7): undefined reference to `strtonum'
/usr/bin/ld: main.c:(.text.startup+0x1ad6): undefined reference to `strtonum'
/usr/bin/ld: main.c:(.text.startup+0x1b63): undefined reference to `strtonum'
/usr/bin/ld: main.c:(.text.startup+0x1baa): undefined reference to `strtonum'
/usr/bin/ld: main.c:(.text.startup+0x1bee): undefined reference to `strtonum'
/usr/bin/ld: .libs/main.o:main.c:(.text.startup+0x1f01): more undefined references to `strtonum' follow
--- lowdown-diff ---
/usr/bin/ld: .libs/main.o: in function `main':
main.c:(.text.startup+0x177e): undefined reference to `getprogname'
/usr/bin/ld: main.c:(.text.startup+0x19d7): undefined reference to `strtonum'
/usr/bin/ld: main.c:(.text.startup+0x1ad6): undefined reference to `strtonum'
/usr/bin/ld: main.c:(.text.startup+0x1b63): undefined reference to `strtonum'
/usr/bin/ld: main.c:(.text.startup+0x1baa): undefined reference to `strtonum'
/usr/bin/ld: main.c:(.text.startup+0x1bee): undefined reference to `strtonum'
/usr/bin/ld: .libs/main.o:main.c:(.text.startup+0x1f01): more undefined references to `strtonum' follow
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: "David H. Gutteridge" <gutteridge@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59614 CVS commit: pkgsrc/textproc/lowdown
Date: Wed, 19 Nov 2025 14:36:03 +0000

 Module Name:	pkgsrc
 Committed By:	gutteridge
 Date:		Wed Nov 19 14:36:03 UTC 2025

 Modified Files:
 	pkgsrc/textproc/lowdown: Makefile
 	pkgsrc/textproc/lowdown/patches: patch-Makefile

 Log Message:
 lowdown: fix builds on platforms that require compat functions

 Addresses PR pkg/59614 from Piper McCorkle (Linux) and PR pkg/59619
 from db7@mini.fritz.box (macOS).


 To generate a diff of this commit:
 cvs rdiff -u -r1.36 -r1.37 pkgsrc/textproc/lowdown/Makefile
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/lowdown/patches/patch-Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Wed, 19 Nov 2025 14:46:47 +0000
State-Changed-Why:
This should be fixed now in pkgsrc -current. Thanks for the PR! Sorry
this took a bit of time to get to.

From: "David H. Gutteridge" <gutteridge@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59614 CVS commit: pkgsrc/textproc/lowdown
Date: Wed, 19 Nov 2025 15:54:26 +0000

 Module Name:	pkgsrc
 Committed By:	gutteridge
 Date:		Wed Nov 19 15:54:26 UTC 2025

 Modified Files:
 	pkgsrc/textproc/lowdown: Makefile distinfo
 	pkgsrc/textproc/lowdown/patches: patch-Makefile

 Log Message:
 lowdown: fix compat function linking differently

 As of 2.0.4, upstream actually added context to handle this linking
 while keeping other symbol visibility hidden as they want. However, it
 wasn't factored in to the "libtoolization" changes that were made for
 pkgsrc purposes. (PR pkg/59614, PR pkg/59619.)


 To generate a diff of this commit:
 cvs rdiff -u -r1.37 -r1.38 pkgsrc/textproc/lowdown/Makefile \
     pkgsrc/textproc/lowdown/distinfo
 cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/lowdown/patches/patch-Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.