Skip to content

[lapack] build failure - pkgconfig undefined prefix variable #12911

@bill-healey

Description

@bill-healey

Host Environment

  • OS: Windows 10
  • vcpkg: 2020.06.15-nohash

To Reproduce
Steps to reproduce the behavior:
vcpkg.exe install lapack-reference[cblas] --triplet x64-windows

CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:84 (message):
pkg-config error output:Variable 'prefix' not defined in
'/D/git/vcpkg/packages/lapack-reference_x64-windows/lib/pkgconfig/cblas.pc'
Call Stack (most recent call first):
scripts/cmake/vcpkg_fixup_pkgconfig.cmake:316 (vcpkg_fixup_pkgconfig_check_files)
ports/lapack-reference/portfile.cmake:94 (vcpkg_fixup_pkgconfig)
scripts/ports.cmake:79 (include)

Error: Building package lapack-reference:x64-windows failed with: BUILD_FAILED

Looks like prefix is not defined at the top of the pkgconfig file for lapack, however it is for cblas. Is there a way to pass it through, or a bug in the pkgconfig file?

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions