[pybind11/openimageio] Add feature python2#18143
[pybind11/openimageio] Add feature python2#18143JackBoosY wants to merge 4 commits intomicrosoft:masterfrom
Conversation
|
@akilaln According to our policy, we shouldn't add the conflict features in vcpkg, so this PR will not be accepted. Thanks. |
|
On Linux, it is failing while trying to build pybind11 with Python2 |
|
@akilaln Ahh... python2 not support non-Windows currently. |
|
@JackBoosY - Thanks for adding python 2 support for Linux. I was able to successfully build pybind11 with Python2. However when I built OIIO I saw this error |
|
@akilaln Can you please provide /home/alakshminarayanan/test/oiio_test/vcpkg/buildtrees/glib/package-x64-linux-dbg-out.log? |
|
@JackBoosY , Here the output log you requested |
|
@akilaln Can you please re-install glib again? |
|
@JackBoosY - I tried installing glib |
|
@akilaln It seems you built the dynamic glib library, what else did you modify? |
|
@JackBoosY , I didn't make any changes myself. I pulled your changes from #18143 and #18219 |
|
@akilaln I think that's a port bug on master branch, can you please clone a new vcpkg then try to install glib:x64-windows again? And please provide the configure log /home/alakshminarayanan/test/oiio_test/vcpkg/buildtrees/glib/config-x64-linux-dbg-out.log and /home/alakshminarayanan/test/oiio_test/vcpkg/buildtrees/glib/config-x64-linux-dbg-err.log. Thanks. |
|
@Neumann-A Do you know what happened? |
|
@JackBoosY , I cloned a fresh vcpkg and tried building glib:x64-linux and got the same error. Here are the logs you requested Actually |
|
Hi @JackBoosY I've been working on this with @akilaln . It looks like the error occurs because it's trying to link against a newer version of As an example, on Fedora I see: While on CentOS 7 I see: If you look at line 712 of the log @akilaln linked, it complains about that symbol (even though the build is occurring on CentOS 7). I'm not sure if I'm digging in the wrong spot and if just disabling the tests would resolve it. |
|
@UnlawfulMonad Hmm... I don't have a Fedora machine, so I think I should disable the test automatically. And in fact, test has been declared disabled, but I don't know why it was still activated: vcpkg/ports/glib/portfile.cmake Lines 45 to 46 in 3199354 |
Fixes #18113.