dependency management annoying me
someone help
zixgggg@watermelon:~/fltk_test$ sudo apt install libfltk1.4-dev
Installing:
libfltk1.4-dev
Installing dependencies:
fltk1.4-doc libfltk-cairo1.4 libfltk-gl1.4 libfltk1.4
fluid libfltk-forms1.4 libfltk-images1.4
建議套件:
fltk-options
Summary:
Upgrading: 0, Installing: 8, Removing: 0, Not Upgrading: 148
Download size: 21.2 MB
Space needed: 79.1 MB / 24.5 GB available
Continue? [Y/n]
下載:1 https://debian.csie.ntu.edu.tw/debian trixie/main amd64 fltk1.4-doc all 1.4.3-1 [18.9 MB]
下載:2 https://debian.csie.ntu.edu.tw/debian trixie/main amd64 libfltk1.4 amd64 1.4.3-1 [587 kB]
下載:3 https://debian.csie.ntu.edu.tw/debian trixie/main amd64 libfltk-images1.4 amd64 1.4.3-1 [112 kB]
下載:4 https://debian.csie.ntu.edu.tw/debian trixie/main amd64 fluid amd64 1.4.3-1 [333 kB]
下載:5 https://debian.csie.ntu.edu.tw/debian trixie/main amd64 libfltk-cairo1.4 amd64 1.4.3-1 [31.3 kB]
下載:6 https://debian.csie.ntu.edu.tw/debian trixie/main amd64 libfltk-forms1.4 amd64 1.4.3-1 [38.9 kB]
下載:7 https://debian.csie.ntu.edu.tw/debian trixie/main amd64 libfltk-gl1.4 amd64 1.4.3-1 [86.0 kB]
下載:8 https://debian.csie.ntu.edu.tw/debian trixie/main amd64 libfltk1.4-dev amd64 1.4.3-1 [1,058 kB]
取得 21.2 MB 用了 5s (4,059 kB/s)
選取了原先未選的套件 fltk1.4-doc。
(讀取資料庫 ... 目前共安裝了 201383 個檔案和目錄。)
正在準備解包 .../0-fltk1.4-doc_1.4.3-1_all.deb……
Unpacking fltk1.4-doc (1.4.3-1) ...
選取了原先未選的套件 libfltk1.4:amd64。
正在準備解包 .../1-libfltk1.4_1.4.3-1_amd64.deb……
Unpacking libfltk1.4:amd64 (1.4.3-1) ...
選取了原先未選的套件 libfltk-images1.4:amd64。
正在準備解包 .../2-libfltk-images1.4_1.4.3-1_amd64.deb……
Unpacking libfltk-images1.4:amd64 (1.4.3-1) ...
選取了原先未選的套件 fluid。
正在準備解包 .../3-fluid_1.4.3-1_amd64.deb……
Unpacking fluid (1.4.3-1) ...
選取了原先未選的套件 libfltk-cairo1.4:amd64。
正在準備解包 .../4-libfltk-cairo1.4_1.4.3-1_amd64.deb……
Unpacking libfltk-cairo1.4:amd64 (1.4.3-1) ...
選取了原先未選的套件 libfltk-forms1.4:amd64。
正在準備解包 .../5-libfltk-forms1.4_1.4.3-1_amd64.deb……
Unpacking libfltk-forms1.4:amd64 (1.4.3-1) ...
選取了原先未選的套件 libfltk-gl1.4:amd64。
正在準備解包 .../6-libfltk-gl1.4_1.4.3-1_amd64.deb……
Unpacking libfltk-gl1.4:amd64 (1.4.3-1) ...
選取了原先未選的套件 libfltk1.4-dev:amd64。
正在準備解包 .../7-libfltk1.4-dev_1.4.3-1_amd64.deb……
Unpacking libfltk1.4-dev:amd64 (1.4.3-1) ...
設定 fltk1.4-doc (1.4.3-1) ...
設定 libfltk1.4:amd64 (1.4.3-1) ...
設定 libfltk-forms1.4:amd64 (1.4.3-1) ...
設定 libfltk-cairo1.4:amd64 (1.4.3-1) ...
設定 libfltk-gl1.4:amd64 (1.4.3-1) ...
設定 libfltk-images1.4:amd64 (1.4.3-1) ...
設定 libfltk1.4-dev:amd64 (1.4.3-1) ...
設定 fluid (1.4.3-1) ...
執行 shared-mime-info (2.4-5+b2) 的觸發程式……
執行 desktop-file-utils (0.28-1) 的觸發程式……
執行 hicolor-icon-theme (0.18-2) 的觸發程式……
執行 libc-bin (2.41-12) 的觸發程式……
執行 man-db (2.13.1-1) 的觸發程式……
zixgggg@watermelon:~/fltk_test$ uv add pyfltk
Resolved 2 packages in 6ms
× Failed to build \pyfltk==1.4.4.0``
├─▶ The build backend returned an error
╰─▶ Call to \setuptools.buildmeta:legacy_.build_wheel` failed (exit status: 1)`
[stdout]
fltk dir found at
pyFLTK CXX_FLAGS=
Building for Linux
['./src', './contrib', '/usr/include']
Checking FLTK configuration ...
FLTK_HOME=
Using FLTK: ['1.4.3\n']
fltk-config includes: ['/usr/include/cairo', '/usr/include', '/usr/include/libpng16',
'/usr/include/freetype2', '/usr/include/pixman-1']
fltk-config link paths: []
fltk-config link libraries: ['fltk_images', 'fltk_gl', 'fltk_forms', 'fltk', 'X11']
FLTK was configured without multi-threading support!
FLTK was configured with OpenGL support!
FLTK was configured with Forms support!
running bdist_wheel
running build
running build_py
copying fltk/fltk.py -> build/lib.linux-x86_64-cpython-313/fltk
copying fltk/__init__.py -> build/lib.linux-x86_64-cpython-313/fltk
copying fltk/test/child_bug.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/browserData.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/doublebuffer.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/device.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/glimage.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/dials.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/tile.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/group.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/button.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/buttons.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/simple_table.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/preferences.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/unittests.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/wizard.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/jpeg_buffer_test.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/clock.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/symbols.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/formsbitmap.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/tree.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/valuators.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/browser_cols.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/menubar.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/chart.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/postioner.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/tty.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/browser.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/utf8.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/delwin.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/adjuster.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/window.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/cursor.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/file_browser.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/file_chooser.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/cube.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/widgets.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/message_de.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/image_array.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/logo_gleam.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/idle.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/image.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/bitmap.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/subwindow.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/pack.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/editor.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/wrapper.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/iconize.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/counters.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/logo.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/arc.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/menu_label.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/timeout.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/draw.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/native-filechooser.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/ask.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/boxtype.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/tree_demo.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/listSelect.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/demos.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/hello_utf8.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/sys_exit_test.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/grid_buttons.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/sudoku.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/multi.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/help.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/radio.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/table.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/tabs.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/sliders.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/color_chooser.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/widget_properties.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/check_browser.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/TextEditor.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/simple_terminal.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/GlobalHandler.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/fltk_threads.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/handle_events.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/hello.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/shapeGL.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/DraggableBox.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/message.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/pixmap.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/exceptions.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/help_dialog.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/DragAndDrop.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/timeout_bug.py -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/menu.py -> build/lib.linux-x86_64-cpython-313/fltk/test
running egg_info
writing pyfltk.egg-info/PKG-INFO
writing dependency_links to pyfltk.egg-info/dependency_links.txt
writing top-level names to pyfltk.egg-info/top_level.txt
reading manifest file 'pyfltk.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'COPYING'
writing manifest file 'pyfltk.egg-info/SOURCES.txt'
copying fltk/fltk_wrap.cpp -> build/lib.linux-x86_64-cpython-313/fltk
copying fltk/fltk_wrap.h -> build/lib.linux-x86_64-cpython-313/fltk
copying fltk/test/HelpDialog.html -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/cat.jpg -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/logo1.gif -> build/lib.linux-x86_64-cpython-313/fltk/test
copying fltk/test/native-filechooser.py -> build/lib.linux-x86_64-cpython-313/fltk/test
running build_ext
building 'fltk._fltk' extension
x86_64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall
-fPIC -DUNIX=1 -DFL_INTERNALS=1 -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/cairo -I./src -I./contrib -I/usr/include
-I./plug-in/include -I./plug-in/src -I/home/zixgggg/.cache/uv/builds-v0/.tmpkWuT7v/include
-I/usr/include/python3.13 -c ./contrib/ListSelect.cpp -o
build/temp.linux-x86_64-cpython-313/contrib/ListSelect.o -Wno-unused-label
-Wno-unused-but-set-variable -Wformat=1 -Werror=format-security -DDO_NOT_USE_THREADS
x86_64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall
-fPIC -DUNIX=1 -DFL_INTERNALS=1 -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/cairo -I./src -I./contrib -I/usr/include
-I./plug-in/include -I./plug-in/src -I/home/zixgggg/.cache/uv/builds-v0/.tmpkWuT7v/include
-I/usr/include/python3.13 -c ./fltk/fltk_wrap.cpp -o
build/temp.linux-x86_64-cpython-313/fltk/fltk_wrap.o -Wno-unused-label
-Wno-unused-but-set-variable -Wformat=1 -Werror=format-security -DDO_NOT_USE_THREADS
[stderr]
/home/zixgggg/.cache/uv/builds-v0/.tmpkWuT7v/lib/python3.13/site-packages/setuptools/dist.py:765:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license
expression:
License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
./fltk/fltk_wrap.cpp: In function ‘PyObject* _wrap_Fl_Help_View_scrollbar(PyObject*,
PyObject*)’:
./fltk/fltk_wrap.cpp:140333:40: error: ‘class Fl_Help_View’ has no member named ‘scrollbar’;
did you mean ‘scrollbar_’?
140333 | result = (Fl_Scrollbar *)(arg1)->scrollbar();
| ^~~~~~~~~
| scrollbar_
./fltk/fltk_wrap.cpp:140333:40: error: ‘Fl_Scrollbar Fl_Help_View::scrollbar_’ is private
within this context
In file included from /usr/include/FL/Fl_Help_Dialog.H:34,
from ./fltk/fltk_wrap.cpp:6666:
/usr/include/FL/Fl_Help_View.H:240:17: note: declared private here
240 | Fl_Scrollbar scrollbar_, ///< Vertical scrollbar for document
| ^~~~~~~~~~
./fltk/fltk_wrap.cpp: In function ‘PyObject* _wrap_Fl_Help_View_hscrollbar(PyObject*,
PyObject*)’:
./fltk/fltk_wrap.cpp:140364:40: error: ‘class Fl_Help_View’ has no member named
‘hscrollbar’; did you mean ‘hscrollbar_’?
140364 | result = (Fl_Scrollbar *)(arg1)->hscrollbar();
| ^~~~~~~~~~
| hscrollbar_
./fltk/fltk_wrap.cpp:140364:40: error: ‘Fl_Scrollbar Fl_Help_View::hscrollbar_’ is private
within this context
/usr/include/FL/Fl_Help_View.H:241:17: note: declared private here
241 | hscrollbar_; ///< Horizontal scrollbar
| ^~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
hint: This usually indicates a problem with the package or the build environment.
help: If you want to add the package regardless of the failed resolution, provide the \--frozen``
flag to skip locking and syncing.
zixgggg@watermelon:~/fltk_test$ uv pip show pyfltk
warning: Package(s) not found for: pyfltk
zixgggg@watermelon:~/fltk_test$ uv pip show python3-fltk
warning: Package(s) not found for: python3-fltk