tech-pkg archive

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

Re: ocaml, dune, environment, PKG_CONFIG in the environment



On Fri, Nov 29, 2024 at 10:55:00PM +0000, David Holland wrote:
> On Sun, Nov 24, 2024 at 09:42:04AM -0500, Greg Troxel wrote:
>  > I just committed a kludge to ocaml-lablgtk3 that lets it build.
>  > Essentially, dune seems to choke if PKG_CONFIG is defined in the
>  > environment.  That's probably a dune bug to be fixed, but for now
>  > avoiding that seems to build a working package.
> 
> I can't replicate the problem.

Interesting. It's been failing in basically every bulk build for at least a year.

I see it too it looks like this one:

http://shadow.netbsd.org/pub/pkgsrc/packages/reports/2024Q1/NetBSD-10.0-x86_64/20240501.1349//ocaml-lablgtk3-3.1.3nb8/build.log

21 |  (action (run dune_config -pkg gtksourceview-3.0 -version 3.18)))
(cd _build/default/src-sourceview3 && ../.bin/dune_config -pkg gtksourceview-3.0 -version 3.18)
configure error: pkg_config not installed

And yes, pkg-config is installed. We had the theory that it was
because pkg-config in ${BUILDLINK_DIR}/bin was a script, but even
replacing that with the actual binary didn't help.

 Thomas


Home | Main Index | Thread Index | Old Index