Open talregev opened 2 months ago
Yes, the port is broken and only tested on windows...
@dg0yt I am kindly ask if you will have the time to look at this, thank you for your hard work! šš»
FTR the capabilities of gobject-introspection depend on shared libs. There is no benefit from enabling it in the static triplets, except for eventually providing host tools. But I can't even cross-build from x64-linux to arm64-linux, because python3 doesn't cross-build...
maybe python can be host tool?
or target tool?
Operating system
wsl2 ubuntu 22.04
Compiler
gcc 11.4.0
Steps to reproduce the behavior
I change this line: https://github.com/microsoft/vcpkg/blob/master/ports/gobject-introspection/portfile.cmake#L47 to this:
Failure logs
gobject-introspection.zip
Additional context
I am not sure what it mean the native in the support. https://github.com/microsoft/vcpkg/blob/master/ports/gobject-introspection/vcpkg.json#L8
Also the path of the python is not fit for python3: https://github.com/microsoft/vcpkg/blob/master/ports/gobject-introspection/portfile.cmake#L47
This line should be: python='${CURRENT_HOST_INSTALLED_DIR}/tools/python3/python3${VCPKG_HOST_EXECUTABLE_SUFFIX}'
For me it indicate that who did that change, didn't check that port.