actions / runner-images

GitHub Actions runner images
MIT License
9.82k stars 3.01k forks source link

Strawberry perl installation includes pkg-config which interferes with other stuff #10482

Closed phadej closed 1 week ago

phadej commented 2 weeks ago

Description

The /c/Strawberry/perl/bin is apparently in PATH, and that path contains pkg-config; so every tool which relies on existence of pkg-config picks that.

What makes it worse, apparently, that pkg-config database contains PostgreSQL client library, libpq; which is quite old (11.3), so new stuff just doesnt' work.

Platforms affected

Runner images affected

Image version and build link

Runner Image
  Image: windows-2022
  Version: 20240[8](https://github.com/haskellari/postgresql-libpq/actions/runs/10539408119/job/29202958333#step:1:9)11.1.0

Is it regression?

Maybe

Expected behavior

I would expect no pkg-config in PATH; it's not a thing on Windows. Or if there were one, than the one by the MSYS installation.

Actual behavior

There is an arbitrary pkg-config in PATH.

Repro steps

  steps:
      - name: which pkg-config
        run: which pkg-config

prints /c/Strawberry/perl/bin/pkg-config

vidyasagarnimmagaddi commented 2 weeks ago

Hi @phadej , Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.

kishorekumar-anchala commented 2 weeks ago

HI @phadej ,

i am unable to produce the issue, could you please retry and confirm?

kishorekumar-anchala commented 1 week ago

Hi @phadej ,

We're unable to produce the error , we're closing the issue. thanks for raising the issue with us.