pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/61003: urlview fails to build
>Number: 61003
>Category: pkg
>Synopsis: urlview fails to build at "can compile" test
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 14 01:45:00 +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@localhost:/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!
Home |
Main Index |
Thread Index |
Old Index