-
-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix wxwidgets with gtk3 #5247
fix wxwidgets with gtk3 #5247
Conversation
|
参数列表也不算长,而且我本地暂时无法复现。。正常在执行,反而遇到其他的一些错误 -- Configuring done (36.0s)
CMake Error at build/cmake/functions.cmake:598 (add_library):
Cannot find source file:
/home/ruki/.xmake/cache/packages/2409/w/wxwidgets/v3.2.4/source/3rdparty/pcre/src/pcre2_auto_possess.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
Call Stack (most recent call first):
build/cmake/lib/regex.cmake:13 (wx_add_builtin_library)
build/cmake/lib/CMakeLists.txt:27 (include)
CMake Error at build/cmake/functions.cmake:598 (add_library):
No SOURCES given to target: wxregex
Call Stack (most recent call first):
build/cmake/lib/regex.cmake:13 (wx_add_builtin_library)
build/cmake/lib/CMakeLists.txt:27 (include)
CMake Generate step failed. Build files cannot be regenerated correctly.
error: @programdir/core/sandbox/modules/os.lua:378: execv(/home/ruki/.xmake/packages/c/cmake/3.30.2/924bf70cd2964eea80fdac45c84f12e4/bin/cmake -DwxBUILD_TESTS=OFF -DwxBUILD_SAMPLES=OFF -DwxBUILD_DEMOS=OFF -DwxBUILD_PRECOMP=OFF -DwxBUILD_BENCHMARKS=OFF -DwxUSE_REGEX=sys -DwxUSE_ZLIB=sys -DwxUSE_EXPAT=sys -DwxUSE_LIBJPEG=sys -DwxUSE_LIBPNG=sys -DwxUSE_NANOSVG=sys -DwxUSE_LIBTIFF=sys -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/home/ruki/.xmake/packages/w/wxwidgets/v3.2.4/cc2eae835d8b4c1aa4f4e02d863ae5a3 -DCMAKE_INSTALL_LIBDIR:PATH=lib -G "Unix Makefiles" -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_EXE_LINKER_FLAGS_RELEASE= "-DCMAKE_CXX_FLAGS_RELEASE= -O3 -DNDEBUG" -DCMAKE_SHARED_LINKER_FLAGS_RELEASE= "-DCMAKE_C_FLAGS_RELEASE= -O3 -DNDEBUG" -DCMAKE_STATIC_LINKER_FLAGS_RELEASE= /home/ruki/.xmake/cache/packages/2409/w/wxwidgets/v3.2.4/source) failed(1) |
下载了3.2.4版本source code(tar.gz)确实在该文件夹是空的,而tar.bz版本是包含该文件的 @waruqi @star-hengxing |
shasum 不对
|
谢谢ruki哥中秋节都帮忙看问题!马上修改! |
现在报另外一个错误,不过尽管没法复现参数过长失败问题,但是本地看,参数确实有点长,主要是因为 gtk3 依赖链太深,add_deps 时候已经追加了一遍 linkdirs ,然后 cmake.install 的 packagedeps 又去额外加了一遍,重复了,导致非常长 可以尝试 简化 packagedeps
-- Which libraries should wxWidgets use?
wxUSE_STL: OFF (use C++ STL classes)
wxUSE_REGEX: builtin (enable support for wxRegEx class)
wxUSE_ZLIB: sys (use zlib for LZW compression)
wxUSE_EXPAT: sys (use expat for XML parsing)
wxUSE_LIBJPEG: sys (use libjpeg (JPEG file format))
wxUSE_LIBPNG: sys (use libpng (PNG image format))
wxUSE_LIBTIFF: sys (use libtiff (TIFF file format))
wxUSE_NANOSVG: sys (use NanoSVG for rasterizing SVG)
wxUSE_LIBLZMA: OFF (use liblzma for LZMA compression)
wxUSE_LIBSDL: OFF (use SDL for audio on Unix)
wxUSE_LIBMSPACK: OFF (use libmspack (CHM help files loading))
-- Configured wxWidgets 3.2.5 for Linux-5.10.25-linuxkit
Min OS Version required at runtime: Linux x86_64
Which GUI toolkit should wxWidgets use? gtk3 3.24.43 with support for: GTK+ printing
Should wxWidgets be compiled into single library? OFF
Should wxWidgets be linked as a shared library? OFF
Should wxWidgets support Unicode? ON
What wxWidgets compatibility level should be used? 3.0
-- Configuring done (24.2s)
CMake Error at build/cmake/functions.cmake:480 (target_link_libraries):
Target "wxcore" links to:
CMath::CMath
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
build/cmake/lib/core/CMakeLists.txt:61 (wx_lib_link_libraries)
-- Generating done (0.6s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_INSTALL_LIBDIR
CMake Generate step failed. Build files cannot be regenerated correctly.
error: @programdir/core/sandbox/modules/os.lua:378: execv(/home/ruki/.xmake/packages/c/cmake/3.30.2/924bf70cd2964eea80fdac45c84f12e4/bin/cmake -DwxBUILD_TESTS=OFF -DwxBUILD_SAMPLES=OFF -DwxBUILD_DEMOS=OFF -DwxBUILD_PRECOMP=OFF -DwxBUILD_BENCHMARKS=OFF -DwxUSE_REGEX=sys -DwxUSE_ZLIB=sys -DwxUSE_EXPAT=sys -DwxUSE_LIBJPEG=sys -DwxUSE_LIBPNG=sys -DwxUSE_NANOSVG=sys -DwxUSE_LIBTIFF=sys -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DGTK3_LIBRARIES=gtk-3;gdk-3;gailutil-3;pangoft2-1.0;pango-1.0;pangocairo-1.0;fribidi;harfbuzz-subset;harfbuzz-gobject;harfbuzz;freetype;z;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;cairo-script-interpreter;cairo;cairo-gobject;png;pixman-1;fontconfig;freetype;z;z;expat;freetype;z;expat;Xrender;X11;xcb;Xau;Xext;X11;xcb;Xau;X11;xcb;Xau;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;png;pixman-1;fontconfig;freetype;z;z;expat;freetype;z;expat;Xrender;X11;xcb;Xau;Xext;X11;xcb;Xau;X11;xcb;Xau;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;thai;datrie;datrie;fribidi;harfbuzz-subset;harfbuzz-gobject;harfbuzz;freetype;z;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;cairo-script-interpreter;cairo;cairo-gobject;png;pixman-1;fontconfig;freetype;z;z;expat;freetype;z;expat;Xrender;X11;xcb;Xau;Xext;X11;xcb;Xau;X11;xcb;Xau;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;pixman-1;fontconfig;freetype;z;z;expat;freetype;z;thai;datrie;datrie;epoxy;X11;xcb;Xau;graphene-1.0;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;xkbregistry;xkbcommon;wayland-cursor;wayland-egl;wayland-server;wayland-client;xml2;ffi;expat;xml2;ffi;expat;wayland-cursor;wayland-egl;wayland-server;wayland-client;xml2;ffi;expat;Xcursor;Xfixes;X11;xcb;Xau;Xrender;X11;xcb;Xau;X11;xcb;Xau;Xcomposite;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xrandr;Xext;X11;xcb;Xau;Xrender;X11;xcb;Xau;X11;xcb;Xau;Xrender;X11;xcb;Xau;Xdamage;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xinerama;Xext;X11;xcb;Xau;X11;xcb;Xau;atk-bridge-2.0;atspi;atk-1.0;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;dbus-1;expat;expat;Xtst;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;xml2;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;dbus-1;expat;expat;Xtst;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;xml2;dbus-1;expat;expat;Xtst;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;xml2;gdk_pixbuf-2.0;png;jpeg;turbojpeg;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;tiff;tiffxx;png;jpeg;turbojpeg;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;tiff;tiffxx -DCMAKE_INSTALL_PREFIX=/home/ruki/.xmake/packages/w/wxwidgets/3.2.5/2398c6b5c1a44d64bfb2f7ba6e7699cc -DCMAKE_INSTALL_LIBDIR:PATH=lib -G "Unix Makefiles" "-DCMAKE_EXE_LINKER_FLAGS=-L/home/ruki/.xmake/packages/p/pango/1.51.1/55a21ee59e8e4db4a5902ce6ad6ca9b2/lib -L/home/ruki/.xmake/packages/f/fribidi/1.0.15/2420815ff060423eb7f98ebbe17911d3/lib -L/home/ruki/.xmake/packages/h/harfbuzz/9.0.0/a73b70abb6334ebdb3eee5a12e37dea5/lib -L/home/ruki/.xmake/packages/f/freetype/2.13.1/22773b67079e4fc8a5c5e1f2b2afdc21/lib -L/home/ruki/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/lib -L/home/ruki/.xmake/packages/l/libffi/3.4.6/fe364041468445adabace9ccc642d997/lib -L/home/ruki/.xmake/packages/p/pcre2/10.44/b7e4e4f0b94148d5af10bb2f45ebfe03/lib -L/home/ruki/.xmake/packages/c/cairo/1.18.0/046197e312384c25be58e62441b9a3a0/lib -L/home/ruki/.xmake/packages/l/libpng/v1.6.43/2a20ed22d50e4485b4393c83ee3f6261/lib -L/home/ruki/.xmake/packages/p/pixman/0.43.4/ad68ebb111f244baa33ac224ee72b1cc/lib -L/home/ruki/.xmake/packages/f/fontconfig/2.14.2/0ef664274caa4032bba74971a4e50d0d/lib -L/home/ruki/.xmake/packages/e/expat/2.6.3/583cd305ba1d4d8382d92ff1b5ef3964/lib -L/home/ruki/.xmake/packages/l/libxrender/0.9.11/fac60acfd692409586d9ed6a3c85811e/lib -L/home/ruki/.xmake/packages/l/libxext/1.3.6/5a0d83a7724446099fee649c3d9afd32/lib -L/home/ruki/.xmake/packages/l/libthai/0.1.29/f743d2c56bf049b48a2de0c9f97aff37/lib -L/home/ruki/.xmake/packages/l/libdatrie/0.2.13/397e8355b87f40069aa7ed9d57e23228/lib -L/home/ruki/.xmake/packages/a/at-spi2-core/2.53.90/8e38b81c85bd4c938a73c27287a38ece/lib -L/home/ruki/.xmake/packages/d/dbus/1.14.8/a5671b41621c46148279052a825bc532/lib -L/home/ruki/.xmake/packages/l/libxtst/1.2.3/d3432207e33a45a986788570085d882a/lib -L/home/ruki/.xmake/packages/l/libxi/1.8.1/f0ece17e7c7349338311542ec9d1306f/lib -L/home/ruki/.xmake/packages/l/libxfixes/6.0.0/2d757f76f719404da3e722f3d838e427/lib -L/home/ruki/.xmake/packages/l/libxml2/2.13.2/9427f99957984d7b9a347930fe25c375/lib -L/home/ruki/.xmake/packages/g/gtk3/3.24.43/e1f58b5741cc42bbbd09a7912c040387/lib -L/home/ruki/.xmake/packages/l/libepoxy/1.5.10/fabd3cdcc9c440fcbd550c27224c635c/lib -L/home/ruki/.xmake/packages/g/graphene/1.10.6/29f6b448e94c4a5a8c5cdf702835db52/lib -L/home/ruki/.xmake/packages/l/libxkbcommon/1.0.3/7247f68c47b64197ac9169b27ec6ee54/lib -L/home/ruki/.xmake/packages/w/wayland/1.23.0/82f27813d01748c8acbdd6f351c9ad1c/lib -L/home/ruki/.xmake/packages/l/libxcursor/1.2.1/0732a9883e0c44a2a5e1529e9d2dbe14/lib -L/home/ruki/.xmake/packages/l/libxcomposite/0.4.6/8437c0ce94014a799f515cf89a974b26/lib -L/home/ruki/.xmake/packages/l/libxrandr/1.5.4/a36fcab100ed449e86944351e00c0384/lib -L/home/ruki/.xmake/packages/l/libxdamage/1.1.5/f94ac45db9a4434f9739e251e5e87687/lib -L/home/ruki/.xmake/packages/l/libxinerama/1.1.5/e539e5b3575342a89c7a931295fe40c5/lib -L/home/ruki/.xmake/packages/g/gdk-pixbuf/2.42.10/10cdd63312a54c3aa2ec96e8c25f462f/lib -L/home/ruki/.xmake/packages/l/libjpeg-turbo/3.0.3/62c56eb3cf584c03babe26d2fe3c2878/lib -L/home/ruki/.xmake/packages/l/libtiff/v4.6.0/88915fcbcf1140faaadae836c55f1719/lib -lgtk-3 -lgdk-3 -lgailutil-3 -lpangoft2-1.0 -lpango-1.0 -lpangocairo-1.0 -lfribidi -lharfbuzz-subset -lharfbuzz-gobject -lharfbuzz -lcairo-script-interpreter -lcairo -lcairo-gobject -lpixman-1 -lfontconfig -lfreetype -lthai -ldatrie -lepoxy -lgraphene-1.0 -lxkbregistry -lxkbcommon -lwayland-cursor -lwayland-egl -lwayland-server -lwayland-client -lXcursor -lXcomposite -lXrandr -lXrender -lXdamage -lXinerama -latk-bridge-2.0 -latspi -latk-1.0 -ldbus-1 -lexpat -lXtst -lXi -lXext -lXfixes -lX11 -lxcb -lXau -lxml2 -lgdk_pixbuf-2.0 -lpng -ljpeg -lturbojpeg -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lffi -lz -lpcre2-posix -lpcre2-8 -ltiff -ltiffxx -lrt" "-DCMAKE_SHARED_LINKER_FLAGS=-L/home/ruki/.xmake/packages/p/pango/1.51.1/55a21ee59e8e4db4a5902ce6ad6ca9b2/lib -L/home/ruki/.xmake/packages/f/fribidi/1.0.15/2420815ff060423eb7f98ebbe17911d3/lib -L/home/ruki/.xmake/packages/h/harfbuzz/9.0.0/a73b70abb6334ebdb3eee5a12e37dea5/lib -L/home/ruki/.xmake/packages/f/freetype/2.13.1/22773b67079e4fc8a5c5e1f2b2afdc21/lib -L/home/ruki/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/lib -L/home/ruki/.xmake/packages/l/libffi/3.4.6/fe364041468445adabace9ccc642d997/lib -L/home/ruki/.xmake/packages/p/pcre2/10.44/b7e4e4f0b94148d5af10bb2f45ebfe03/lib -L/home/ruki/.xmake/packages/c/cairo/1.18.0/046197e312384c25be58e62441b9a3a0/lib -L/home/ruki/.xmake/packages/l/libpng/v1.6.43/2a20ed22d50e4485b4393c83ee3f6261/lib -L/home/ruki/.xmake/packages/p/pixman/0.43.4/ad68ebb111f244baa33ac224ee72b1cc/lib -L/home/ruki/.xmake/packages/f/fontconfig/2.14.2/0ef664274caa4032bba74971a4e50d0d/lib -L/home/ruki/.xmake/packages/e/expat/2.6.3/583cd305ba1d4d8382d92ff1b5ef3964/lib -L/home/ruki/.xmake/packages/l/libxrender/0.9.11/fac60acfd692409586d9ed6a3c85811e/lib -L/home/ruki/.xmake/packages/l/libxext/1.3.6/5a0d83a7724446099fee649c3d9afd32/lib -L/home/ruki/.xmake/packages/l/libthai/0.1.29/f743d2c56bf049b48a2de0c9f97aff37/lib -L/home/ruki/.xmake/packages/l/libdatrie/0.2.13/397e8355b87f40069aa7ed9d57e23228/lib -L/home/ruki/.xmake/packages/a/at-spi2-core/2.53.90/8e38b81c85bd4c938a73c27287a38ece/lib -L/home/ruki/.xmake/packages/d/dbus/1.14.8/a5671b41621c46148279052a825bc532/lib -L/home/ruki/.xmake/packages/l/libxtst/1.2.3/d3432207e33a45a986788570085d882a/lib -L/home/ruki/.xmake/packages/l/libxi/1.8.1/f0ece17e7c7349338311542ec9d1306f/lib -L/home/ruki/.xmake/packages/l/libxfixes/6.0.0/2d757f76f719404da3e722f3d838e427/lib -L/home/ruki/.xmake/packages/l/libxml2/2.13.2/9427f99957984d7b9a347930fe25c375/lib -L/home/ruki/.xmake/packages/g/gtk3/3.24.43/e1f58b5741cc42bbbd09a7912c040387/lib -L/home/ruki/.xmake/packages/l/libepoxy/1.5.10/fabd3cdcc9c440fcbd550c27224c635c/lib -L/home/ruki/.xmake/packages/g/graphene/1.10.6/29f6b448e94c4a5a8c5cdf702835db52/lib -L/home/ruki/.xmake/packages/l/libxkbcommon/1.0.3/7247f68c47b64197ac9169b27ec6ee54/lib -L/home/ruki/.xmake/packages/w/wayland/1.23.0/82f27813d01748c8acbdd6f351c9ad1c/lib -L/home/ruki/.xmake/packages/l/libxcursor/1.2.1/0732a9883e0c44a2a5e1529e9d2dbe14/lib -L/home/ruki/.xmake/packages/l/libxcomposite/0.4.6/8437c0ce94014a799f515cf89a974b26/lib -L/home/ruki/.xmake/packages/l/libxrandr/1.5.4/a36fcab100ed449e86944351e00c0384/lib -L/home/ruki/.xmake/packages/l/libxdamage/1.1.5/f94ac45db9a4434f9739e251e5e87687/lib -L/home/ruki/.xmake/packages/l/libxinerama/1.1.5/e539e5b3575342a89c7a931295fe40c5/lib -L/home/ruki/.xmake/packages/g/gdk-pixbuf/2.42.10/10cdd63312a54c3aa2ec96e8c25f462f/lib -L/home/ruki/.xmake/packages/l/libjpeg-turbo/3.0.3/62c56eb3cf584c03babe26d2fe3c2878/lib -L/home/ruki/.xmake/packages/l/libtiff/v4.6.0/88915fcbcf1140faaadae836c55f1719/lib -lgtk-3 -lgdk-3 -lgailutil-3 -lpangoft2-1.0 -lpango-1.0 -lpangocairo-1.0 -lfribidi -lharfbuzz-subset -lharfbuzz-gobject -lharfbuzz -lcairo-script-interpreter -lcairo -lcairo-gobject -lpixman-1 -lfontconfig -lfreetype -lthai -ldatrie -lepoxy -lgraphene-1.0 -lxkbregistry -lxkbcommon -lwayland-cursor -lwayland-egl -lwayland-server -lwayland-client -lXcursor -lXcomposite -lXrandr -lXrender -lXdamage -lXinerama -latk-bridge-2.0 -latspi -latk-1.0 -ldbus-1 -lexpat -lXtst -lXi -lXext -lXfixes -lX11 -lxcb -lXau -lxml2 -lgdk_pixbuf-2.0 -lpng -ljpeg -lturbojpeg -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lffi -lz -lpcre2-posix -lpcre2-8 -ltiff -ltiffxx -lrt" -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_EXE_LINKER_FLAGS_RELEASE= "-DCMAKE_C_FLAGS_RELEASE= -O3 -DNDEBUG" -DCMAKE_STATIC_LINKER_FLAGS_RELEASE= "-DCMAKE_CXX_FLAGS_RELEASE= -O3 -DNDEBUG" -DCMAKE_SHARED_LINKER_FLAGS_RELEASE= /home/ruki/.xmake/cache/packages/2409/w/wxwidgets/3.2.5/source) failed(1)
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:1004]:
[@programdir/core/sandbox/modules/os.lua:378]:
[@programdir/core/sandbox/modules/os.lua:291]: in function 'vrunv'
[@programdir/modules/package/tools/cmake.lua:1204]: in function 'configure'
[@programdir/modules/package/tools/cmake.lua:1246]: in function 'install'
[/mnt/xmake-repo/packages/w/wxwidgets/xmake.lua:163]: in function 'script'
[...dir/modules/private/action/require/impl/utils/filter.lua:114]: in function 'call'
[.../modules/private/action/require/impl/actions/install.lua:392]:
=> install wxwidgets 3.2.5 .. failed
error: @programdir/core/main.lua:329: @programdir/modules/async/runjobs.lua:325: .../modules/private/action/require/impl/actions/install.lua:494: install failed!
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:1004]:
[.../modules/private/action/require/impl/actions/install.lua:494]: in function 'catch'
[@programdir/core/sandbox/modules/try.lua:123]: in function 'try'
[.../modules/private/action/require/impl/actions/install.lua:361]:
[...modules/private/action/require/impl/install_packages.lua:496]: in function 'jobfunc'
[@programdir/modules/async/runjobs.lua:241]:
stack traceback:
[C]: in function 'error'
@programdir/core/base/os.lua:1004: in function 'base/os.raiselevel'
(...tail calls...)
@programdir/core/main.lua:329: in upvalue 'cotask'
@programdir/core/base/scheduler.lua:406: in function <@programdir/core/base/scheduler.lua:399>
error: execv(xmake require -f -y --build -v -D --shallow --extra={configs={shared=false}} wxwidgets) failed(255) |
/home/ruki/.xmake/packages/c/cmake/3.30.2/924bf70cd2964eea80fdac45c84f12e4/bin/cmake -DwxBUILD_TESTS=OFF -DwxBUILD_SAMPLES=OFF -DwxBUILD_DEMOS=OFF -DwxBUILD_PRECOMP=OFF -DwxBUILD_BENCHMARKS=OFF -DwxUSE_REGEX=sys -DwxUSE_ZLIB=sys -DwxUSE_EXPAT=sys -DwxUSE_LIBJPEG=sys -DwxUSE_LIBPNG=sys -DwxUSE_NANOSVG=sys -DwxUSE_LIBTIFF=sys -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DGTK3_LIBRARIES=gtk-3;gdk-3;gailutil-3;pangoft2-1.0;pango-1.0;pangocairo-1.0;fribidi;harfbuzz-subset;harfbuzz-gobject;harfbuzz;freetype;z;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;cairo-script-interpreter;cairo;cairo-gobject;png;pixman-1;fontconfig;freetype;z;z;expat;freetype;z;expat;Xrender;X11;xcb;Xau;Xext;X11;xcb;Xau;X11;xcb;Xau;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;png;pixman-1;fontconfig;freetype;z;z;expat;freetype;z;expat;Xrender;X11;xcb;Xau;Xext;X11;xcb;Xau;X11;xcb;Xau;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;thai;datrie;datrie;fribidi;harfbuzz-subset;harfbuzz-gobject;harfbuzz;freetype;z;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;cairo-script-interpreter;cairo;cairo-gobject;png;pixman-1;fontconfig;freetype;z;z;expat;freetype;z;expat;Xrender;X11;xcb;Xau;Xext;X11;xcb;Xau;X11;xcb;Xau;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;pixman-1;fontconfig;freetype;z;z;expat;freetype;z;thai;datrie;datrie;epoxy;X11;xcb;Xau;graphene-1.0;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;xkbregistry;xkbcommon;wayland-cursor;wayland-egl;wayland-server;wayland-client;xml2;ffi;expat;xml2;ffi;expat;wayland-cursor;wayland-egl;wayland-server;wayland-client;xml2;ffi;expat;Xcursor;Xfixes;X11;xcb;Xau;Xrender;X11;xcb;Xau;X11;xcb;Xau;Xcomposite;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xrandr;Xext;X11;xcb;Xau;Xrender;X11;xcb;Xau;X11;xcb;Xau;Xrender;X11;xcb;Xau;Xdamage;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xinerama;Xext;X11;xcb;Xau;X11;xcb;Xau;atk-bridge-2.0;atspi;atk-1.0;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;dbus-1;expat;expat;Xtst;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;xml2;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;dbus-1;expat;expat;Xtst;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;xml2;dbus-1;expat;expat;Xtst;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xi;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;Xext;X11;xcb;Xau;Xfixes;X11;xcb;Xau;X11;xcb;Xau;xml2;gdk_pixbuf-2.0;png;jpeg;turbojpeg;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;tiff;tiffxx;png;jpeg;turbojpeg;gio-2.0;gobject-2.0;gthread-2.0;gmodule-2.0;glib-2.0;ffi;z;pcre2-posix;pcre2-8;ffi;z;pcre2-posix;pcre2-8;tiff;tiffxx -DCMAKE_INSTALL_PREFIX=/home/ruki/.xmake/packages/w/wxwidgets/3.2.5/2398c6b5c1a44d64bfb2f7ba6e7699cc -DCMAKE_INSTALL_LIBDIR:PATH=lib -G "Unix Makefiles" "-DCMAKE_EXE_LINKER_FLAGS=-L/home/ruki/.xmake/packages/p/pango/1.51.1/55a21ee59e8e4db4a5902ce6ad6ca9b2/lib -L/home/ruki/.xmake/packages/f/fribidi/1.0.15/2420815ff060423eb7f98ebbe17911d3/lib -L/home/ruki/.xmake/packages/h/harfbuzz/9.0.0/a73b70abb6334ebdb3eee5a12e37dea5/lib -L/home/ruki/.xmake/packages/f/freetype/2.13.1/22773b67079e4fc8a5c5e1f2b2afdc21/lib -L/home/ruki/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/lib -L/home/ruki/.xmake/packages/l/libffi/3.4.6/fe364041468445adabace9ccc642d997/lib -L/home/ruki/.xmake/packages/p/pcre2/10.44/b7e4e4f0b94148d5af10bb2f45ebfe03/lib -L/home/ruki/.xmake/packages/c/cairo/1.18.0/046197e312384c25be58e62441b9a3a0/lib -L/home/ruki/.xmake/packages/l/libpng/v1.6.43/2a20ed22d50e4485b4393c83ee3f6261/lib -L/home/ruki/.xmake/packages/p/pixman/0.43.4/ad68ebb111f244baa33ac224ee72b1cc/lib -L/home/ruki/.xmake/packages/f/fontconfig/2.14.2/0ef664274caa4032bba74971a4e50d0d/lib -L/home/ruki/.xmake/packages/e/expat/2.6.3/583cd305ba1d4d8382d92ff1b5ef3964/lib -L/home/ruki/.xmake/packages/l/libxrender/0.9.11/fac60acfd692409586d9ed6a3c85811e/lib -L/home/ruki/.xmake/packages/l/libxext/1.3.6/5a0d83a7724446099fee649c3d9afd32/lib -L/home/ruki/.xmake/packages/l/libthai/0.1.29/f743d2c56bf049b48a2de0c9f97aff37/lib -L/home/ruki/.xmake/packages/l/libdatrie/0.2.13/397e8355b87f40069aa7ed9d57e23228/lib -L/home/ruki/.xmake/packages/a/at-spi2-core/2.53.90/8e38b81c85bd4c938a73c27287a38ece/lib -L/home/ruki/.xmake/packages/d/dbus/1.14.8/a5671b41621c46148279052a825bc532/lib -L/home/ruki/.xmake/packages/l/libxtst/1.2.3/d3432207e33a45a986788570085d882a/lib -L/home/ruki/.xmake/packages/l/libxi/1.8.1/f0ece17e7c7349338311542ec9d1306f/lib -L/home/ruki/.xmake/packages/l/libxfixes/6.0.0/2d757f76f719404da3e722f3d838e427/lib -L/home/ruki/.xmake/packages/l/libxml2/2.13.2/9427f99957984d7b9a347930fe25c375/lib -L/home/ruki/.xmake/packages/g/gtk3/3.24.43/e1f58b5741cc42bbbd09a7912c040387/lib -L/home/ruki/.xmake/packages/l/libepoxy/1.5.10/fabd3cdcc9c440fcbd550c27224c635c/lib -L/home/ruki/.xmake/packages/g/graphene/1.10.6/29f6b448e94c4a5a8c5cdf702835db52/lib -L/home/ruki/.xmake/packages/l/libxkbcommon/1.0.3/7247f68c47b64197ac9169b27ec6ee54/lib -L/home/ruki/.xmake/packages/w/wayland/1.23.0/82f27813d01748c8acbdd6f351c9ad1c/lib -L/home/ruki/.xmake/packages/l/libxcursor/1.2.1/0732a9883e0c44a2a5e1529e9d2dbe14/lib -L/home/ruki/.xmake/packages/l/libxcomposite/0.4.6/8437c0ce94014a799f515cf89a974b26/lib -L/home/ruki/.xmake/packages/l/libxrandr/1.5.4/a36fcab100ed449e86944351e00c0384/lib -L/home/ruki/.xmake/packages/l/libxdamage/1.1.5/f94ac45db9a4434f9739e251e5e87687/lib -L/home/ruki/.xmake/packages/l/libxinerama/1.1.5/e539e5b3575342a89c7a931295fe40c5/lib -L/home/ruki/.xmake/packages/g/gdk-pixbuf/2.42.10/10cdd63312a54c3aa2ec96e8c25f462f/lib -L/home/ruki/.xmake/packages/l/libjpeg-turbo/3.0.3/62c56eb3cf584c03babe26d2fe3c2878/lib -L/home/ruki/.xmake/packages/l/libtiff/v4.6.0/88915fcbcf1140faaadae836c55f1719/lib -lgtk-3 -lgdk-3 -lgailutil-3 -lpangoft2-1.0 -lpango-1.0 -lpangocairo-1.0 -lfribidi -lharfbuzz-subset -lharfbuzz-gobject -lharfbuzz -lcairo-script-interpreter -lcairo -lcairo-gobject -lpixman-1 -lfontconfig -lfreetype -lthai -ldatrie -lepoxy -lgraphene-1.0 -lxkbregistry -lxkbcommon -lwayland-cursor -lwayland-egl -lwayland-server -lwayland-client -lXcursor -lXcomposite -lXrandr -lXrender -lXdamage -lXinerama -latk-bridge-2.0 -latspi -latk-1.0 -ldbus-1 -lexpat -lXtst -lXi -lXext -lXfixes -lX11 -lxcb -lXau -lxml2 -lgdk_pixbuf-2.0 -lpng -ljpeg -lturbojpeg -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lffi -lz -lpcre2-posix -lpcre2-8 -ltiff -ltiffxx -lrt" "-DCMAKE_SHARED_LINKER_FLAGS=-L/home/ruki/.xmake/packages/p/pango/1.51.1/55a21ee59e8e4db4a5902ce6ad6ca9b2/lib -L/home/ruki/.xmake/packages/f/fribidi/1.0.15/2420815ff060423eb7f98ebbe17911d3/lib -L/home/ruki/.xmake/packages/h/harfbuzz/9.0.0/a73b70abb6334ebdb3eee5a12e37dea5/lib -L/home/ruki/.xmake/packages/f/freetype/2.13.1/22773b67079e4fc8a5c5e1f2b2afdc21/lib -L/home/ruki/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/lib -L/home/ruki/.xmake/packages/l/libffi/3.4.6/fe364041468445adabace9ccc642d997/lib -L/home/ruki/.xmake/packages/p/pcre2/10.44/b7e4e4f0b94148d5af10bb2f45ebfe03/lib -L/home/ruki/.xmake/packages/c/cairo/1.18.0/046197e312384c25be58e62441b9a3a0/lib -L/home/ruki/.xmake/packages/l/libpng/v1.6.43/2a20ed22d50e4485b4393c83ee3f6261/lib -L/home/ruki/.xmake/packages/p/pixman/0.43.4/ad68ebb111f244baa33ac224ee72b1cc/lib -L/home/ruki/.xmake/packages/f/fontconfig/2.14.2/0ef664274caa4032bba74971a4e50d0d/lib -L/home/ruki/.xmake/packages/e/expat/2.6.3/583cd305ba1d4d8382d92ff1b5ef3964/lib -L/home/ruki/.xmake/packages/l/libxrender/0.9.11/fac60acfd692409586d9ed6a3c85811e/lib -L/home/ruki/.xmake/packages/l/libxext/1.3.6/5a0d83a7724446099fee649c3d9afd32/lib -L/home/ruki/.xmake/packages/l/libthai/0.1.29/f743d2c56bf049b48a2de0c9f97aff37/lib -L/home/ruki/.xmake/packages/l/libdatrie/0.2.13/397e8355b87f40069aa7ed9d57e23228/lib -L/home/ruki/.xmake/packages/a/at-spi2-core/2.53.90/8e38b81c85bd4c938a73c27287a38ece/lib -L/home/ruki/.xmake/packages/d/dbus/1.14.8/a5671b41621c46148279052a825bc532/lib -L/home/ruki/.xmake/packages/l/libxtst/1.2.3/d3432207e33a45a986788570085d882a/lib -L/home/ruki/.xmake/packages/l/libxi/1.8.1/f0ece17e7c7349338311542ec9d1306f/lib -L/home/ruki/.xmake/packages/l/libxfixes/6.0.0/2d757f76f719404da3e722f3d838e427/lib -L/home/ruki/.xmake/packages/l/libxml2/2.13.2/9427f99957984d7b9a347930fe25c375/lib -L/home/ruki/.xmake/packages/g/gtk3/3.24.43/e1f58b5741cc42bbbd09a7912c040387/lib -L/home/ruki/.xmake/packages/l/libepoxy/1.5.10/fabd3cdcc9c440fcbd550c27224c635c/lib -L/home/ruki/.xmake/packages/g/graphene/1.10.6/29f6b448e94c4a5a8c5cdf702835db52/lib -L/home/ruki/.xmake/packages/l/libxkbcommon/1.0.3/7247f68c47b64197ac9169b27ec6ee54/lib -L/home/ruki/.xmake/packages/w/wayland/1.23.0/82f27813d01748c8acbdd6f351c9ad1c/lib -L/home/ruki/.xmake/packages/l/libxcursor/1.2.1/0732a9883e0c44a2a5e1529e9d2dbe14/lib -L/home/ruki/.xmake/packages/l/libxcomposite/0.4.6/8437c0ce94014a799f515cf89a974b26/lib -L/home/ruki/.xmake/packages/l/libxrandr/1.5.4/a36fcab100ed449e86944351e00c0384/lib -L/home/ruki/.xmake/packages/l/libxdamage/1.1.5/f94ac45db9a4434f9739e251e5e87687/lib -L/home/ruki/.xmake/packages/l/libxinerama/1.1.5/e539e5b3575342a89c7a931295fe40c5/lib -L/home/ruki/.xmake/packages/g/gdk-pixbuf/2.42.10/10cdd63312a54c3aa2ec96e8c25f462f/lib -L/home/ruki/.xmake/packages/l/libjpeg-turbo/3.0.3/62c56eb3cf584c03babe26d2fe3c2878/lib -L/home/ruki/.xmake/packages/l/libtiff/v4.6.0/88915fcbcf1140faaadae836c55f1719/lib -lgtk-3 -lgdk-3 -lgailutil-3 -lpangoft2-1.0 -lpango-1.0 -lpangocairo-1.0 -lfribidi -lharfbuzz-subset -lharfbuzz-gobject -lharfbuzz -lcairo-script-interpreter -lcairo -lcairo-gobject -lpixman-1 -lfontconfig -lfreetype -lthai -ldatrie -lepoxy -lgraphene-1.0 -lxkbregistry -lxkbcommon -lwayland-cursor -lwayland-egl -lwayland-server -lwayland-client -lXcursor -lXcomposite -lXrandr -lXrender -lXdamage -lXinerama -latk-bridge-2.0 -latspi -latk-1.0 -ldbus-1 -lexpat -lXtst -lXi -lXext -lXfixes -lX11 -lxcb -lXau -lxml2 -lgdk_pixbuf-2.0 -lpng -ljpeg -lturbojpeg -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lffi -lz -lpcre2-posix -lpcre2-8 -ltiff -ltiffxx -lrt" -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_EXE_LINKER_FLAGS_RELEASE= "-DCMAKE_C_FLAGS_RELEASE= -O3 -DNDEBUG" -DCMAKE_STATIC_LINKER_FLAGS_RELEASE= "-DCMAKE_CXX_FLAGS_RELEASE= -O3 -DNDEBUG" -DCMAKE_SHARED_LINKER_FLAGS_RELEASE= /home/ruki/.xmake/cache/packages/2409/w/wxwidgets/3.2.5/source) failed(1) |
@@ -110,6 +114,14 @@ package("wxwidgets") | |||
else | |||
package:add("deps", "libtiff") | |||
end | |||
|
|||
if is_plat("linux") then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package:is_plat
cmake args 稍微收缩了下,xmake-io/xmake#5678 先观察下 ci |
好的 |
https://github.com/waruqi/xmake-repo/actions/runs/11145616300/job/30975626233 是 GTK3_INCLUDE_DIRS GTK3_LIBRARIES 的设置太长了,没做去重。。得去重精简下。。
|
packages/w/wxwidgets/xmake.lua
Outdated
@@ -65,10 +65,10 @@ package("wxwidgets") | |||
add_versions("3.2.4", "0640e1ab716db5af2ecb7389dbef6138d7679261fbff730d23845ba838ca133e") | |||
add_versions("3.2.5", "0ad86a3ad3e2e519b6a705248fc9226e3a09bbf069c6c692a02acf7c2d1c6b51") | |||
|
|||
add_deps("cmake") | |||
add_deps("cmake", {configs = {version = "3.26.4"}}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为啥还要限制 cmake 版本,而且也不是这么配的
add_deps("cmake >=3.26.4")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的我修改一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prusa3d/PrusaSlicer#12169 具体可以参考这个issue
因为高版本的cmake会找不到cmath,我也写了警告在里面
…---Original---
From: ***@***.***>
Date: Wed, Oct 16, 2024 22:43 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [xmake-io/xmake-repo] fix wxwidgets with gtk3 (PR #5247)
@waruqi commented on this pull request.
In packages/w/wxwidgets/xmake.lua:
> @@ -65,10 +65,10 @@ package("wxwidgets") add_versions("3.2.4", "0640e1ab716db5af2ecb7389dbef6138d7679261fbff730d23845ba838ca133e") add_versions("3.2.5", "0ad86a3ad3e2e519b6a705248fc9226e3a09bbf069c6c692a02acf7c2d1c6b51") - add_deps("cmake") + add_deps("cmake", {configs = {version = "3.26.4"}})
为啥还要限制 cmake 版本,而且也不是这么配的
add_deps("cmake >=3.26.4")
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
修复wxwidgets,将gtk+3改为gtk3后出现的构建问题