D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/python-pyfltk-1.3.5-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9Ewoyv + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf pyFltk-1.3.5 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/pyFltk-1.3.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyFltk-1.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf pyFltk.egg-info + echo 'Patch #0 (pyFltk-1.3.0rc1-build.patch):' Patch #0 (pyFltk-1.3.0rc1-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cflags --fuzz=0 patching file setup.py Hunk #1 succeeded at 98 (offset 9 lines). + echo 'Patch #1 (pyFltk-1.3.3_py3-link.patch):' Patch #1 (pyFltk-1.3.3_py3-link.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .link --fuzz=0 patching file setup.py Hunk #1 succeeded at 314 (offset 5 lines). + sed -i -e 's|@MGA_CFLAGS@|-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wformat=2|' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.oq0lo5 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pyFltk-1.3.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CPPFLAGS='-DFL_INTERNALS -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + CFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' Building for Linux ['./src', './contrib', '/usr/include'] Checking FLTK configuration ... Checking fltk-config using FLTK_HOME Checking fltk-config using default installation Using FLTK: ['1.3.6\n'] fltk-config includes: [] fltk-config link paths: ['/usr/lib64'] fltk-config link libraries: ['fltk_images', 'jpeg', 'png', 'z', 'fltk_gl', 'GLU', 'GL', 'fltk_forms', 'fltk', 'm', 'X11', 'Xext', 'pthread', 'Xinerama', 'Xfixes', 'Xcursor', 'Xft', 'Xrender', 'm', 'fontconfig', 'dl'] FLTK was configured with multi-threading support! FLTK was configured with OpenGL support! FLTK was configured with Forms support! done running build running build_py creating build creating build/lib.linux-aarch64-3.9 creating build/lib.linux-aarch64-3.9/fltk copying fltk/fltk.py -> build/lib.linux-aarch64-3.9/fltk copying fltk/__init__.py -> build/lib.linux-aarch64-3.9/fltk running egg_info creating pyFltk.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 writing manifest file 'pyFltk.egg-info/SOURCES.txt' my_init_posix: changing gcc to g++ 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' creating build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/CH0_Preface.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/CH1_Intro.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/CH2_Basics.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/CH3_Common.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/CH4_Editor.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/CH5_Drawing.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/CH6_Events.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/CH7_Subclassing.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/CH8_Opengl.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/Hello.jpg -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/HowToAddNewWidgets.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/boxtype.jpg -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/buttons.jpg -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/editor-replace.jpg -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/editor.jpg -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/fltk.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/pyFltk.html -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/symbols.jpg -> build/lib.linux-aarch64-3.9/fltk/docs copying fltk/docs/valuators.jpg -> build/lib.linux-aarch64-3.9/fltk/docs running build_ext building 'fltk._fltk' extension creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-3.9/contrib creating build/temp.linux-aarch64-3.9/python gcc -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wformat=2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFL_INTERNALS -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -fPIC -DUNIX=1 -I./src -I./contrib -I/usr/include -I/usr/include/python3.9 -c ./contrib/ListSelect.cpp -o build/temp.linux-aarch64-3.9/./contrib/ListSelect.o -Wno-unused-label -Wno-unused-but-set-variable -Wformat=2 -Werror=format-security gcc -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wformat=2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFL_INTERNALS -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -fPIC -DUNIX=1 -I./src -I./contrib -I/usr/include -I/usr/include/python3.9 -c ./python/fltk_wrap.cpp -o build/temp.linux-aarch64-3.9/./python/fltk_wrap.o -Wno-unused-label -Wno-unused-but-set-variable -Wformat=2 -Werror=format-security In file included from /usr/include/python3.9/Python.h:141, from ./python/fltk_wrap.cpp:174: ./python/fltk_wrap.cpp: In function 'void PythonCallBack(Fl_Widget*, void*)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:4328:17: note: in expansion of macro 'PyEval_CallObject' 4328 | result = PyEval_CallObject(func, arglist); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'void PythonCallBack(Fl_File_Chooser*, void*)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:4863:14: note: in expansion of macro 'PyEval_CallObject' 4863 | result = PyEval_CallObject(func, arglist); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'void pyFLTK_idleCallback(void*)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:4932:18: note: in expansion of macro 'PyEval_CallObject' 4932 | result = PyEval_CallObject(registeredDoIDle, arglist); // Call Python | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'void pyFLTK_timeoutCallback(void*)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:5019:12: note: in expansion of macro 'PyEval_CallObject' 5019 | result = PyEval_CallObject(cb->func, args); // Call Python | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'void pyFLTK_fdCallback(int, void*)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:5184:10: note: in expansion of macro 'PyEval_CallObject' 5184 | PyEval_CallObject(hl->func, args); // Call Python | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'int pyFLTK_handlerCallback(int)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:5306:17: note: in expansion of macro 'PyEval_CallObject' 5306 | result = PyEval_CallObject(hl->handle, args); // Call Python | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'void pyFLTK_checkCallback(void*)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:5420:17: note: in expansion of macro 'PyEval_CallObject' 5420 | result = PyEval_CallObject(hl->handle, args); // Call Python | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'const char* PythonLink(Fl_Widget*, const char*)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:6067:17: note: in expansion of macro 'PyEval_CallObject' 6067 | result = PyEval_CallObject(func, arglist); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'void PythonModifyCallBack(int, int, int, int, const char*, void*)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:6431:16: note: in expansion of macro 'PyEval_CallObject' 6431 | result = PyEval_CallObject(func, arglist); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'void UnfinishedStyleCB(int, void*)': /usr/include/python3.9/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp:6512:15: note: in expansion of macro 'PyEval_CallObject' 6512 | result = PyEval_CallObject(func, arglist); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_new_Fl_RGB_Image__SWIG_0(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:39405:40: warning: 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' is deprecated [-Wdeprecated-declarations] 39405 | int failure = PyObject_AsReadBuffer(obj1,&buffer,&size_buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:147, from ./python/fltk_wrap.cpp:174: /usr/include/python3.9/abstract.h:343:17: note: declared here 343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_fl_message__varargs__(PyObject*, PyObject*, PyObject*)': ./python/fltk_wrap.cpp:60865:13: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 60865 | fl_message((char const *)arg1,arg2); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_fl_alert__varargs__(PyObject*, PyObject*, PyObject*)': ./python/fltk_wrap.cpp:60908:11: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 60908 | fl_alert((char const *)arg1,arg2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_fl_ask__varargs__(PyObject*, PyObject*, PyObject*)': ./python/fltk_wrap.cpp:60952:23: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 60952 | result = (int)fl_ask((char const *)arg1,arg2); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_fl_choice__varargs__(PyObject*, PyObject*, PyObject*)': ./python/fltk_wrap.cpp:61026:26: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 61026 | result = (int)fl_choice((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_new_Fl_Bitmap(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:61813:40: warning: 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' is deprecated [-Wdeprecated-declarations] 61813 | int failure = PyObject_AsReadBuffer(obj1,&buffer,&size_buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:147, from ./python/fltk_wrap.cpp:174: /usr/include/python3.9/abstract.h:343:17: note: declared here 343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_fl_draw_image(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:79605:40: warning: 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' is deprecated [-Wdeprecated-declarations] 79605 | int failure = PyObject_AsReadBuffer(obj0,&buffer,&size_buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:147, from ./python/fltk_wrap.cpp:174: /usr/include/python3.9/abstract.h:343:17: note: declared here 343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_fl_draw_image_mono(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:79713:40: warning: 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' is deprecated [-Wdeprecated-declarations] 79713 | int failure = PyObject_AsReadBuffer(obj0,&buffer,&size_buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:147, from ./python/fltk_wrap.cpp:174: /usr/include/python3.9/abstract.h:343:17: note: declared here 343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_Fl_FormsBitmap_set(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:84497:40: warning: 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' is deprecated [-Wdeprecated-declarations] 84497 | int failure = PyObject_AsReadBuffer(obj3,&buffer,&size_buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:147, from ./python/fltk_wrap.cpp:174: /usr/include/python3.9/abstract.h:343:17: note: declared here 343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_gl_draw_image(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:88088:40: warning: 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' is deprecated [-Wdeprecated-declarations] 88088 | int failure = PyObject_AsReadBuffer(obj0,&buffer,&size_buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:147, from ./python/fltk_wrap.cpp:174: /usr/include/python3.9/abstract.h:343:17: note: declared here 343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_new_Fl_PNG_Image__SWIG_1(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:100337:40: warning: 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' is deprecated [-Wdeprecated-declarations] 100337 | int failure = PyObject_AsReadBuffer(obj2,&buffer,&size_buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:147, from ./python/fltk_wrap.cpp:174: /usr/include/python3.9/abstract.h:343:17: note: declared here 343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ g++ -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFL_INTERNALS -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags build/temp.linux-aarch64-3.9/./contrib/ListSelect.o build/temp.linux-aarch64-3.9/./python/fltk_wrap.o -L/usr/lib64 -Llib -L/usr/lib -L/usr/lib64 -lfltk_images -ljpeg -lpng -lz -lfltk_gl -lGLU -lGL -lfltk_forms -lfltk -lm -lX11 -lXext -lpthread -lXinerama -lXfixes -lXcursor -lXft -lXrender -lm -lfontconfig -ldl -lfltk -lpython3 -lpython3.9 -o build/lib.linux-aarch64-3.9/fltk/_fltk.cpython-39-aarch64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.mninm6 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64 + cd pyFltk-1.3.5 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py install -O1 --skip-build --root /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64 Building for Linux ['./src', './contrib', '/usr/include'] Checking FLTK configuration ... Checking fltk-config using FLTK_HOME Checking fltk-config using default installation Using FLTK: ['1.3.6\n'] fltk-config includes: [] fltk-config link paths: ['/usr/lib64'] fltk-config link libraries: ['fltk_images', 'jpeg', 'png', 'z', 'fltk_gl', 'GLU', 'GL', 'fltk_forms', 'fltk', 'm', 'X11', 'Xext', 'pthread', 'Xinerama', 'Xfixes', 'Xcursor', 'Xft', 'Xrender', 'm', 'fontconfig', 'dl'] FLTK was configured with multi-threading support! FLTK was configured with OpenGL support! FLTK was configured with Forms support! done running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( my_init_posix: changing gcc to g++ running install_lib creating /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr creating /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64 creating /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9 creating /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages creating /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk copying build/lib.linux-aarch64-3.9/fltk/_fltk.cpython-39-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk creating /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/valuators.jpg -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/symbols.jpg -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/pyFltk.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/fltk.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/editor.jpg -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/editor-replace.jpg -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/buttons.jpg -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/boxtype.jpg -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/HowToAddNewWidgets.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/Hello.jpg -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/CH8_Opengl.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/CH7_Subclassing.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/CH6_Events.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/CH5_Drawing.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/CH4_Editor.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/CH3_Common.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/CH2_Basics.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/CH1_Intro.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/docs/CH0_Preface.html -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs copying build/lib.linux-aarch64-3.9/fltk/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk copying build/lib.linux-aarch64-3.9/fltk/fltk.py -> /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/__init__.py to __init__.cpython-39.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/fltk.py to fltk.cpython-39.pyc writing byte-compilation script '/tmp/tmpn6zfs22k.py' /usr/bin/python3 /tmp/tmpn6zfs22k.py removing /tmp/tmpn6zfs22k.py running install_egg_info 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 pyFltk.egg-info to /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/pyFltk-1.3.5-py3.9.egg-info running install_scripts + rm -rfv /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/bin/__pycache__ + rm -rf /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/docs + rm -rf /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/test + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.3.5-1.mga9 --unique-debug-suffix -1.3.5-1.mga9.aarch64 --unique-debug-src-base python-pyfltk-1.3.5-1.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/pyFltk-1.3.5 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9/site-packages/fltk/_fltk.cpython-39-aarch64-linux-gnu.so dwz: ./usr/lib64/python3.9/site-packages/fltk/_fltk.cpython-39-aarch64-linux-gnu.so-1.3.5-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 13408kB, size after compression: 13408kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 10533 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 Bytecompiling .py files below /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib/debug/usr/lib64/python3.9 using python3.9 Bytecompiling .py files below /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/lib64/python3.9 using python3.9 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python3-pyfltk-1.3.5-1.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NNk8mY + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pyFltk-1.3.5 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/share/doc/python3-pyfltk + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/share/doc/python3-pyfltk + cp -pr CHANGES /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/share/doc/python3-pyfltk + cp -pr README /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64/usr/share/doc/python3-pyfltk + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pyfltk = 1.3.5-1.mga9 python3-pyfltk = 1.3.5-1.mga9 python3-pyfltk(aarch-64) = 1.3.5-1.mga9 python3.9-pyfltk = 1.3.5-1.mga9 python3.9dist(pyfltk) = 1.3.5 python3dist(pyfltk) = 1.3.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libGL.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libfltk.so.1.3()(64bit) libfltk_forms.so.1.3()(64bit) libfltk_gl.so.1.3()(64bit) libfltk_images.so.1.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libpython3.9.so.1.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) python(abi) = 3.9 Obsoletes: python-pyfltk < 1.3.5-1.mga9 Processing files: python-pyfltk-debugsource-1.3.5-1.mga9.aarch64 Provides: python-pyfltk-debugsource = 1.3.5-1.mga9 python-pyfltk-debugsource(aarch-64) = 1.3.5-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-pyfltk-debuginfo-1.3.5-1.mga9.aarch64 Provides: debuginfo(build-id) = 572b4ac33a78963fac593eba8465eae2f7726b51 python-pyfltk-debuginfo = 1.3.5-1.mga9 python3-pyfltk-debuginfo = 1.3.5-1.mga9 python3-pyfltk-debuginfo(aarch-64) = 1.3.5-1.mga9 python3.9-pyfltk-debuginfo = 1.3.5-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-pyfltk-debugsource(aarch-64) = 1.3.5-1.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/python3-pyfltk-1.3.5-1.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/python-pyfltk-debugsource-1.3.5-1.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/python3-pyfltk-debuginfo-1.3.5-1.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Do36Aw + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pyFltk-1.3.5 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/python-pyfltk-1.3.5-1.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ttRIza + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf pyFltk-1.3.5 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!