pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/58668: gettext fails to build if base compiler is clang
The following reply was made to PR pkg/58668; it has been noted by GNATS.
From: devel.v9zjk%slmail.me@localhost
To: Tobias Nygren <tnn%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: pkg/58668: gettext fails to build if base compiler is clang
Date: Wed, 11 Sep 2024 10:11:34 +0000
Hi Tobias,
sorry for the malformed patch. It seems like it was corrupted from Apple Ma=
il despite setting the plain-text format.
About the missing keywords in /etc/mk.conf, I set them in another mk.conf I=
used when I cross-built the image of NetBSD.
The system where I'm running pkgsrc was installed with sysinst from the ISO=
image that build.sh made.
I faced the problem about a wrong CPP detected with the following packages,=
when I was trying to build modular-xorg-server:
- gettext-lib
- nghttp2
- libva
Other dependencies of that package that were built with GNU Autotools didn'=
t show this behavior.
Best regards,
Luca De Pandis
> On 11 Sep 2024, at 12:00, Tobias Nygren - tnn at netbsd.org <tnn@netbsd.o=
rg> wrote:
>=20
> Hi,
>=20
> I don't think the patch is is correct. Rather I suspect this is a
> problem due to interaction between pkgsrc and /usr/share/mk on NetBSD.
>=20
> On a NetBSD system with clang as the base compiler you should explicitly
> set these options in mk.conf:
>=20
> HAVE_LLVM=3Dyes
> MKLLVM=3Dyes
> MKGCC=3Dno
>=20
> The last two might be optional but they will be required also for
> rebuilding your userland with ./build.sh so it's best to set them.
> Please let us know if this solves the issue.
>=20
> -Tobias
>=20
Home |
Main Index |
Thread Index |
Old Index