You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question that is similar to issue 30497. I want to be able to skip a port depending on a triplet. Here is my use case.
I am building python3 in manifest mode. This all works great when I build for Windows or Linux using native compilers. However, it fails when cross compiling on Linux. It fails when cross compiling because the port called gettext-libintl returns the error,
-- libintl header: LIBINTL_H-NOTFOUND
The problem seems to be that the gettext-libintl portfile.cmake uses find_package(Intl) which does not find the include file when cross compiling even though libintl.h is in the /usr/aarch64-linux-gnu/include directory. The only thing the gettext-libintl port seems to do on Linux is confirm that the libintl.h exists. Since I know that the libintl.h file exists, I would like to skip this port when I run on Linux or more specifically when I run using my cross compile triplet.
I know I can solve this issue using overlay ports. I don't want to really create an overlay for python3, but creating an overlay for gettext-libintl would not be too bad. I'd just like to avoid creating any overlay ports. Any ideas would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a question that is similar to issue 30497. I want to be able to skip a port depending on a triplet. Here is my use case.
I am building python3 in manifest mode. This all works great when I build for Windows or Linux using native compilers. However, it fails when cross compiling on Linux. It fails when cross compiling because the port called gettext-libintl returns the error,
-- libintl header: LIBINTL_H-NOTFOUND
The problem seems to be that the gettext-libintl portfile.cmake uses find_package(Intl) which does not find the include file when cross compiling even though libintl.h is in the /usr/aarch64-linux-gnu/include directory. The only thing the gettext-libintl port seems to do on Linux is confirm that the libintl.h exists. Since I know that the libintl.h file exists, I would like to skip this port when I run on Linux or more specifically when I run using my cross compile triplet.
I know I can solve this issue using overlay ports. I don't want to really create an overlay for python3, but creating an overlay for gettext-libintl would not be too bad. I'd just like to avoid creating any overlay ports. Any ideas would be appreciated.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions