Advertisement
Guest User

Untitled

a guest
Mar 16th, 2024
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. PKG_NAME="gobject-introspection"
  2. PKG_VERSION="1.70.0"
  3. PKG_LICENSE="GPL"
  4. PKG_SITE="https://gi.readthedocs.io/"
  5. PKG_URL="https://download.gnome.org/sources/gobject-introspection/1.70/gobject-introspection-1.70.0.tar.xz"
  6. PKG_DEPENDS_TARGET="toolchain glib Python3"
  7. PKG_PRIORITY="optional"
  8. PKG_SECTION="lib"
  9. PKG_SHORTDESC="GObject introspection middleware layer"
  10. PKG_LONGDESC="gobject-introspection is a middleware layer that allows programming languages to interface with GObject-based libraries through run>
  11.  
  12. PKG_TOOLCHAIN="meson"
  13.  
  14. prepare_target() {
  15. meson setup ${PKG_BUILD} ${PKG_SOURCE} \
  16. --prefix=/usr \
  17. --buildtype=release \
  18. -Dintrospection=false
  19. }
  20.  
  21. build_target() {
  22. meson compile -C ${PKG_BUILD}
  23. }
  24.  
  25. install_target() {
  26. DESTDIR=${INSTALL} meson install -C ${PKG_BUILD}
  27. }
  28.  
  29.  
  30. #include <Python.h>
  31. Compiler stdout:
  32.  
  33. Compiler stderr:
  34. In file included from /mnt/pve/builder/LibreElec.tv/build.LibreElec.tv-AMLGX.arm-11.0-devel/toolchain/include/python3.11/Python.h:38,
  35. from /mnt/pve/builder/LibreElec.tv/build.LibreElec.tv-AMLGX.arm-11.0-devel/build/gobject-introspection-1.70.0/.armv8a-libreelec-linux-gnueabihf/meson-private/tmpu8kxq5dp/testfile.c:2:
  36. /mnt/pve/builder/LibreElec.tv/build.LibreElec.tv-AMLGX.arm-11.0-devel/toolchain/include/python3.11/pyport.h:601:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
  37. 601 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement