Have a look at the .gitlab-ci.yml file. It contains a working recipe for building the deb. You can watch it run on gitlab.com, and download complete artifacts as well.
On Sun, Dec 15, 2024, 05:29 Elimork Bald via Wireshark-dev < wireshark-dev@wireshark.org> wrote: > > On Sunday, December 15th, 2024 at 3:53 AM, Elimork Bald via Wireshark-dev < > wireshark-dev@wireshark.org> wrote: > > The 'dpkg-buildpackage' nocheck option is unappealing to me. I'll try > and see what pytest will tell me, next. > > In dir where I ran dpkg-buildpackage with those errors, I ran: > pytest test/suite_wslua.py > and got 33 times > AssertionError: Missing directory with Wireshark binaries > > which I believe is significant indication to you devs on what this could > be. > > Here's part of what pytest got me (it's repetitive, so I substituted > '[SAME-AS-ABOVE]' for easier reading, instead of the block starting with: > @pytest.fixture(scope='session') > and ending with: > E AssertionError: Missing directory with Wireshark binaries > > Here: > > ============================= test session starts > ============================== > platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0 > rootdir: /some-dir/wireshark > configfile: pytest.ini > plugins: xdist-3.6.1, typeguard-4.4.1 > created: 8/8 workers > 8 workers [33 items] > > EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE > [100%] > ==================================== ERRORS > ==================================== > ______________ ERROR at setup of TestWslua.test_wslua_byte_array > _______________ > [gw7] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_byte_array>> > > @pytest.fixture(scope='session') > def program_path(request): > ''' > Path to the Wireshark binaries as set by the --program-path > option, the > WS_BIN_PATH environment variable or (curdir)/run. > ''' > curdir_run = os.path.join(os.curdir, 'run') > if sys.platform == 'win32': > build_type = request.config.getoption('--build-type') > curdir_run_config = os.path.join(curdir_run, build_type) > if os.path.exists(curdir_run_config): > curdir_run = curdir_run_config > paths = ( > request.config.getoption('--program-path', default=None), > os.environ.get('WS_BIN_PATH'), > curdir_run, > ) > for path in paths: > if type(path) == str and os.path.isdir(path): > return path > > raise AssertionError('Missing directory with Wireshark binaries') > E AssertionError: Missing directory with Wireshark binaries > > test/fixtures_ws.py:75: AssertionError > _________________ ERROR at setup of TestWslua.test_wslua_field > _________________ > [gw3] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_field>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ______________ ERROR at setup of TestWslua.test_wslua_file_writer > ______________ > [gw4] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_file_writer>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ___________ ERROR at setup of TestWslua.test_wslua_dissector_mode_1 > ____________ > [gw1] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function > test_wslua_dissector_mode_1>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > _________________ ERROR at setup of TestWslua.test_wslua_pinfo > _________________ > [gw6] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_pinfo>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ___________ ERROR at setup of TestWslua.test_wslua_dissector_mode_3 > ____________ > [gw2] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function > test_wslua_dissector_mode_3>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > __________________ ERROR at setup of TestWslua.test_wslua_dir > __________________ > [gw0] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_dir>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ______________ ERROR at setup of TestWslua.test_wslua_file_reader > ______________ > [gw3] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_field>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ____________ ERROR at setup of TestWslua.test_wslua_protofield_tree > ____________ > [gw7] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_byte_array>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > _______________ ERROR at setup of TestWslua.test_wslua_listener > ________________ > [gw5] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_listener>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ___________ ERROR at setup of TestWslua.test_wslua_file_acme_reader > ____________ > [gw4] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_file_writer>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > _________________ ERROR at setup of TestWslua.test_wslua_proto > _________________ > [gw6] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_pinfo>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > _____________ ERROR at setup of TestWslua.test_wslua_dissector_fpm > _____________ > [gw2] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function > test_wslua_dissector_mode_3>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ___________ ERROR at setup of TestWslua.test_wslua_dissector_mode_2 > ____________ > [gw1] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function > test_wslua_dissector_mode_1>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > _________________ ERROR at setup of TestWslua.test_wslua_util > __________________ > [gw0] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_dir>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > __________ ERROR at setup of TestWslua.test_wslua_protofield_no_tree > ___________ > [gw3] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_field>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > _________________ ERROR at setup of TestWslua.test_wslua_int64 > _________________ > [gw7] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_byte_array>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ________________ ERROR at setup of TestWslua.test_wslua_nstime > _________________ > [gw5] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_listener>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ________________ ERROR at setup of TestWslua.test_wslua_args_4 > _________________ > [gw6] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_pinfo>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ________________ ERROR at setup of TestWslua.test_wslua_args_3 > _________________ > [gw2] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function > test_wslua_dissector_mode_3>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ________________ ERROR at setup of TestWslua.test_wslua_args_1 > _________________ > [gw4] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_file_writer>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ________________ ERROR at setup of TestWslua.test_wslua_args_5 > _________________ > [gw0] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_dir>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ________________ ERROR at setup of TestWslua.test_wslua_args_2 > _________________ > [gw1] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function > test_wslua_dissector_mode_1>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ________________ ERROR at setup of TestWslua.test_wslua_globals > ________________ > [gw3] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_field>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ________________ ERROR at setup of TestWslua.test_wslua_struct > _________________ > [gw7] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_byte_array>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ___________ ERROR at setup of TestWslua.test_wslua_add_packet_field > ____________ > [gw2] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function > test_wslua_dissector_mode_3>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ____________ ERROR at setup of TestWslua.test_wslua_try_heuristics > _____________ > [gw6] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_pinfo>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > _______________ ERROR at setup of TestWslua.test_wslua_tvb_tree > ________________ > [gw5] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_listener>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ______________ ERROR at setup of TestWslua.test_wslua_tvb_no_tree > ______________ > [gw4] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_file_writer>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ___________ ERROR at setup of TestWsluaLocale.test_wslua_util_locale > ___________ > [gw0] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_dir>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ____________ ERROR at setup of TestWsluaUnicode.test_wslua_unicode > _____________ > [gw1] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function > test_wslua_dissector_mode_1>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > _____ ERROR at setup of TestWsluaLocale.test_wslua_protofield_locale_tree > ______ > [gw3] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_field>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > ____ ERROR at setup of > TestWsluaLocale.test_wslua_protofield_locale_no_tree ____ > [gw7] linux -- Python 3.12.8 /usr/bin/python3 > > request = <SubRequest 'program_path' for <Function test_wslua_byte_array>> > > [SAME-AS-ABOVE] > > test/fixtures_ws.py:75: AssertionError > =========================== short test summary info > ============================ > ERROR test/suite_wslua.py::TestWslua::test_wslua_byte_array - > AssertionError:... > ERROR test/suite_wslua.py::TestWslua::test_wslua_field - AssertionError: > Miss... > ERROR test/suite_wslua.py::TestWslua::test_wslua_file_writer - > AssertionError... > ERROR test/suite_wslua.py::TestWslua::test_wslua_dissector_mode_1 - > Assertion... > ERROR test/suite_wslua.py::TestWslua::test_wslua_pinfo - AssertionError: > Miss... > ERROR test/suite_wslua.py::TestWslua::test_wslua_dissector_mode_3 - > Assertion... > ERROR test/suite_wslua.py::TestWslua::test_wslua_dir - AssertionError: > Missin... > ERROR test/suite_wslua.py::TestWslua::test_wslua_file_reader - > AssertionError... > ERROR test/suite_wslua.py::TestWslua::test_wslua_protofield_tree - > AssertionE... > ERROR test/suite_wslua.py::TestWslua::test_wslua_listener - > AssertionError: M... > ERROR test/suite_wslua.py::TestWslua::test_wslua_file_acme_reader - > Assertion... > ERROR test/suite_wslua.py::TestWslua::test_wslua_proto - AssertionError: > Miss... > ERROR test/suite_wslua.py::TestWslua::test_wslua_dissector_fpm - > AssertionErr... > ERROR test/suite_wslua.py::TestWslua::test_wslua_dissector_mode_2 - > Assertion... > ERROR test/suite_wslua.py::TestWslua::test_wslua_util - AssertionError: > Missi... > ERROR test/suite_wslua.py::TestWslua::test_wslua_protofield_no_tree - > Asserti... > ERROR test/suite_wslua.py::TestWslua::test_wslua_int64 - AssertionError: > Miss... > ERROR test/suite_wslua.py::TestWslua::test_wslua_nstime - AssertionError: > Mis... > ERROR test/suite_wslua.py::TestWslua::test_wslua_args_4 - AssertionError: > Mis... > ERROR test/suite_wslua.py::TestWslua::test_wslua_args_3 - AssertionError: > Mis... > ERROR test/suite_wslua.py::TestWslua::test_wslua_args_1 - AssertionError: > Mis... > ERROR test/suite_wslua.py::TestWslua::test_wslua_args_5 - AssertionError: > Mis... > ERROR test/suite_wslua.py::TestWslua::test_wslua_args_2 - AssertionError: > Mis... > ERROR test/suite_wslua.py::TestWslua::test_wslua_globals - AssertionError: > Mi... > ERROR test/suite_wslua.py::TestWslua::test_wslua_struct - AssertionError: > Mis... > ERROR test/suite_wslua.py::TestWslua::test_wslua_add_packet_field - > Assertion... > ERROR test/suite_wslua.py::TestWslua::test_wslua_try_heuristics - > AssertionEr... > ERROR test/suite_wslua.py::TestWslua::test_wslua_tvb_tree - > AssertionError: M... > ERROR test/suite_wslua.py::TestWslua::test_wslua_tvb_no_tree - > AssertionError... > ERROR test/suite_wslua.py::TestWsluaLocale::test_wslua_util_locale - > Assertio... > ERROR test/suite_wslua.py::TestWsluaUnicode::test_wslua_unicode - > AssertionEr... > ERROR > test/suite_wslua.py::TestWsluaLocale::test_wslua_protofield_locale_tree > ERROR > test/suite_wslua.py::TestWsluaLocale::test_wslua_protofield_locale_no_tree > ============================== 33 > > Sent with Proton Mail secure email. > > _______________________________________________ > Wireshark-dev mailing list -- wireshark-dev@wireshark.org > To unsubscribe send an email to wireshark-dev-le...@wireshark.org >
_______________________________________________ Wireshark-dev mailing list -- wireshark-dev@wireshark.org To unsubscribe send an email to wireshark-dev-le...@wireshark.org