Wednesday, September 18, 2024

Re: pkgconfig errors

On Thu, Sep 19, 2024 at 02:16:27AM GMT, Jesse Lawton wrote:
> > 1. How have you configured st compilation/edited config.mk? Which
> > version of st are you using? Any patches? I use (and therefore
> > compile) my fork based on st 0.9.2 on OpenBSD 7.5 without any
> > issues, but also just a fresh `git clone`d copy compiles without
> > issues, when the section of config.mk titled `# OpenBSD:` is
> > uncommented.
> I haven't uncommented the OpenBSD stuff but its not only st anything
> that calls pkg-config.
> > 2. What happens when you execute, eg.
> >
> > pkg-config --cflags fontconfig
> Deep recursion on subroutine "main::handle_config" at /usr/bin/pkg-config.bak line 331.
> Deep recursion on subroutine "main::handle_config" at /usr/bin/pkg-config.bak line 331.
> > 3. Which version of pkg-config are you using (`pkg-config --version`)?
> > I don't have any issues with pkg-config 0.29.2.
> 0.29.2
> > 4. Have you set up any unusual environment variables affecting
> > pkg-config (`man 1 pkg-config`)? (Essentially a part of 1. above.)
> I don't *think* so.
>
> But I just decided to use pkgconf from ports as that works fine.

You're seemingly the only one having this issue. I also did a test
against a fresh clone of st and didn't have any issues compiling it. Can
you share your /usr/bin/pkg-config.bak ? Also, what's the output of
"ulimit -a" when pkg-config fails?

Lucas

No comments:

Post a Comment