On Sun, Feb 3, 2019 at 8:57 PM Robert Arkiletian <rob...@gmail.com> wrote: > > On Sun, Feb 3, 2019 at 7:15 PM Paul Wise <p...@debian.org> wrote: > > > > On Mon, Feb 4, 2019 at 11:03 AM Robert Arkiletian wrote: > > > > > Thank you for your suggestions. I think I have finally finished making > > > the package. However, the final step debuild -us -uc fails > > > with an error message stating that the source package has two > > > conflicting values: pyfltk and python3-fltk. > > > > The debian/changelog has the wrong package name at the top, it is also > > missing all the history from the old package that was in Debian > > before. > > > > > I'm hoping someone can help me co-maintain it or help me get this > > > package accepted. For your information I am a high school CS teacher > > > in Canada who uses python fltk to teach gui programming. It's a lot > > > easier to tell my students to simply type apt-get install python3-fltk > > > than to get them to build and install the package from source. So I am > > > trying to get the package back into Debian for Buster. > > > > Once the package is ready, you can upload it to the mentors site and > > ask for a sponsor. If you have any questions while creating the > > package, you can ask them on this list or on the #debian-mentors IRC > > channel. > > > > https://mentors.debian.net/intro-maintainers > > https://mentors.debian.net/sponsors/rfs-howto > > Ok I got it a bit further. I fixed the issues mentioned and pushed the > fixes to bitbucket. > > https://bitbucket.org/robark/python3-fltk/src/master > > Now I'm getting this error. Any help would be appreciated. > > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture amd64 > fakeroot debian/rules clean > dh clean --with python3 > dh_auto_clean > dh_auto_clean: Please use the third-party "pybuild" build system > instead of python-distutils > dh_auto_clean: This feature will be removed in compat 12. > pyversions: error parsing Python-Version attribute > dh_auto_clean: pyversions -r failed [4] > make: *** [debian/rules:4: clean] Error 4 > dpkg-buildpackage: error: fakeroot debian/rules clean subprocess > returned exit status 2 > debuild: fatal error at line 1182: > dpkg-buildpackage -us -uc -ui failed
Ok got a little further. changed rules file to #export DH_VERBOSE=1 export PYBUILD_NAME=fltk %: dh $@ --with python3 --buildsystem=pybuild but now I'm getting this error dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean debian/rules: 4: debian/rules: %:: not found dh_auto_clean -O--buildsystem=pybuild I: pybuild base:217: python3.7 setup.py clean 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.4\n'] fltk-config includes: ['/usr/include/cairo', '/usr/include/glib-2.0', '/usr/lib/x86_64-linux-gnu/glib-2.0/include', '/usr/include/pixman-1', '/usr/include/freetype2', '/usr/include/libpng16', '/usr/include/freetype2', '/usr/include/libpng16', '/usr/include/cairo', '/usr/include/glib-2.0', '/usr/lib/x86_64-linux-gnu/glib-2.0/include', '/usr/include/pixman-1', '/usr/include/freetype2', '/usr/include/libpng16'] 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! done running clean removing '/home/*****/build/python3-fltk/pyFltk-1.3.4.1/.pybuild/cpython3_3.7_fltk/build' (and everything under it) 'build/bdist.linux-amd64' does not exist -- can't clean it 'build/scripts-3.7' does not exist -- can't clean it I: pybuild base:217: python3.7-dbg setup.py clean 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.4\n'] fltk-config includes: ['/usr/include/cairo', '/usr/include/glib-2.0', '/usr/lib/x86_64-linux-gnu/glib-2.0/include', '/usr/include/pixman-1', '/usr/include/freetype2', '/usr/include/libpng16', '/usr/include/freetype2', '/usr/include/libpng16', '/usr/include/cairo', '/usr/include/glib-2.0', '/usr/lib/x86_64-linux-gnu/glib-2.0/include', '/usr/include/pixman-1', '/usr/include/freetype2', '/usr/include/libpng16'] 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! done running clean removing '/home/*****/build/python3-fltk/pyFltk-1.3.4.1/.pybuild/cpython3_3.7_dbg_fltk/build' (and everything under it) /usr/lib/python3.7/subprocess.py:858: ResourceWarning: subprocess 3113 is still running ResourceWarning, source=self) ResourceWarning: Enable tracemalloc to get the object allocation traceback setup.py:187: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> result = os.popen(ver_cmd).readlines() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.7/subprocess.py:858: ResourceWarning: subprocess 3116 is still running ResourceWarning, source=self) ResourceWarning: Enable tracemalloc to get the object allocation traceback setup.py:194: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> result = os.popen(inc_cmd).readlines() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.7/subprocess.py:858: ResourceWarning: subprocess 3121 is still running ResourceWarning, source=self) ResourceWarning: Enable tracemalloc to get the object allocation traceback setup.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> result = os.popen(lib_cmd).readlines() ResourceWarning: Enable tracemalloc to get the object allocation traceback 'build/bdist.linux-amd64' does not exist -- can't clean it 'build/scripts-3.7' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules: 7: debian/rules: override_dh_strip:: not found Can't stat debian/python3-fltk: No such file or directory at /usr/bin/dh_strip line 352. Can't stat debian/python3-fltk-doc: No such file or directory at /usr/bin/dh_strip line 352. Can't stat debian/python3-fltk-dbg: No such file or directory at /usr/bin/dh_strip line 352. dpkg-source -b . dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../pyfltk_1.3.4.1.orig.tar.{bz2,gz,lzma,xz} dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 25 debuild: fatal error at line 1182: dpkg-buildpackage -us -uc -ui failed