NetBSD Problem Report #61003
From tyto@farpointstation.net Sat Nov 14 01:41:30 2026
Return-Path: <tyto@farpointstation.net>
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)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id D38D11A923B
for <gnats-bugs@gnats.NetBSD.org>; Sat, 14 Nov 2026 01:41:30 +0000 (UTC)
Message-Id: <20261114014126.CA1D910AA2C0@persephone.farpointstation.net>
Date: Fri, 13 Nov 2026 20:41:26 -0500 (EST)
From: tyto@farpointstation.net
Reply-To: tyto@farpointstation.net
To: gnats-bugs@NetBSD.org
Subject: urlview fails to build
X-Send-Pr-Version: 3.95
X-From4GNATS: "tyto@farpointstation.net via gnats" <gnats-admin@NetBSD.org>
>Number: 61003
>Category: pkg
>Synopsis: urlview fails to build at "can compile" test
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 14 01:45:00 +0000 2026
>Closed-Date: Sat Nov 14 06:39:53 +0000 2026
>Last-Modified: Sat Nov 14 06:40:01 +0000 2026
>Originator: Tyto Strix
>Release: NetBSD 11.99.11
>Organization:
Just a user
>Environment:
System: NetBSD persephone.farpointstation.net 11.99.11 NetBSD 11.99.11 (PERSEPHONE) #2: Wed Nov 11 18:02:22 EST 2026 tyto@persephone.farpointstation.net:/usr/obj/sys/arch/amd64/compile/PERSEPHONE amd64
Architecture: x86_64
Machine: amd64
>Description:
urlview compile test fails:
[13 Nov 10:17] root@persephone:/usr/pkgsrc/textproc/urlview # bmake
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Fetching urlview-0.9.tar.gz
=> Checksum BLAKE2s OK for urlview-0.9.tar.gz
=> Checksum SHA512 OK for urlview-0.9.tar.gz
===> Installing dependencies for urlview-0.9nb7
==========================================================================
The following variables will affect the build process of this package,
urlview-0.9nb7. Their current value is shown below:
* CURSES_DEFAULT = curses
Based on these variables, the following variables have been set:
* CURSES_TYPE = curses
You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing. Be sure to run
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
===> Checking for vulnerabilities in urlview-0.9nb7
===> Overriding tools for urlview-0.9nb7
===> Extracting for urlview-0.9nb7
===> Patching for urlview-0.9nb7
=> Applying pkgsrc patches for urlview-0.9nb7
===> Creating toolchain wrappers for urlview-0.9nb7
===> Configuring for urlview-0.9nb7
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... cc
checking whether the C compiler (cc -O2 -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
*** Error code 1
>How-To-Repeat:
cd /usr/pkgsrc/textproc/urlview && bmake
I bootstrapped pkgsrc on a NetBSD machine because I misunderstood
the instructions but this happens with 'make' as well.
Running the offending snippet (cc -O2... etc) results in:
ld: /usr/lib/crt0.o: in function `___start':
(.text+0x365): undefined reference to `main'
But I can't find the source for crt0.o to look at.
>Fix:
In IRC, I was encouraged to run aclocal and autoconf to fix, but I tried
all permutations of that (remove configure.in, rename to .ac, etc) and
unsuccessful. I would like to fix this myself, just need some help
getting started?
Thanks in advance for your help!
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 14 Nov 2026 06:39:53 +0000
State-Changed-Why:
Fixed, thanks for the report
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/61003 CVS commit: pkgsrc/textproc/urlview
Date: Sat, 14 Nov 2026 06:39:33 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Sat Nov 14 06:39:33 UTC 2026
Modified Files:
pkgsrc/textproc/urlview: distinfo
Added Files:
pkgsrc/textproc/urlview/patches: patch-configure
Log Message:
urlview: fix build on -current
Fixes PR 61003.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/urlview/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/urlview/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.