Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Current build failures on 10.1 STABLE





On 19/12/2025 23:47, Lloyd Parkes wrote:

On 19/12/2025 07:00, Mike Pumford wrote:

More detailed from a build today on 11.0-BETA.
17:22:07 ld: /work/netbsd/.jenkins/workspace/NetBSD-current-amd64- build/obj.amd64/external/gpl3/gcc/usr.bin/host-libcpp/libcpp/ libcpp.a(errors.o): in function `cpp_diagnostic_at(cpp_reader*, cpp_diagnostic_level, cpp_warning_reason, rich_location*, char const*, __va_list_tag (*) [1])':
17:22:07 errors.cc:(.text+0xcd): undefined reference to `dgettext'


Any suggestions on what could be triggering this?

Is this NLS support? I think it is.

Do you have something set in /etc/mk.conf that might be triggering this?

Been away without access to the build system so haven't been able to check.

My /etc/mk.conf has:
ACCEPTABLE_LICENSES+= xv-license
PKG_OPTIONS.fvwm=xft2 xrender
PKGSRCDIR=/work/pkgsrc
PKG_DBDIR ?= /var/db/pkg

All of which is left over from pkgsrc and I do all that in chroot setups these days.

Only other thing is that I do have LC_ALL set. However while I've been away this commit:
https://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile?rev=1.8

seems to have resolved my problem. So looks like your suspicion about NLS was right as that change forces it to be disabled.

Mike

Mike


Ngā mihi,
Lloyd




Home | Main Index | Thread Index | Old Index