[Ubuntu-ir] Ubuntu font packaging

A. Shafiei rshf at gmx.com
Fri Aug 26 04:37:28 UTC 2022


Hello,

I am using Ubuntu 20.04 for packaging a free Persian font called Vazirmatn
[1] and I am using the ubuntu software packaging tutorial [2].

[1] https://github.com/rastikerdar/vazirmatn
[2] https://packaging.ubuntu.com/html/packaging-new-software.html

The very first step is to run the command bzr dh-make:

> bzr dh-make fonts-vazirmatn 33.003 vazirmatn-33.003.tar.gz

Running this command, I get the following result:

-----------------------------------------------------------------
Looking for a way to retrieve the upstream tarball
Upstream tarball already exists in build directory, using that
brz: ERROR: TypeError: debuild_config() missing 1 required positional
argument: 'subpath'

Traceback (most recent call last):
  File
"/usr/lib/python3/dist-packages/breezy/plugins/debian/upstream/pristinetar.py",
line 182, in make_pristine_tar_delta_from_tree
    return make_pristine_tar_delta(dest, tarball_path)
  File
"/usr/lib/python3/dist-packages/breezy/plugins/debian/upstream/pristinetar.py",
line 169, in make_pristine_tar_delta
    raise PristineTarError(
breezy.plugins.debian.upstream.pristinetar.PristineTarError: There was an
error using pristine-tar: Generating delta from tar failed: b'tar:
vazirmatn-33.003/\\\\330\\\\261\\\\330\\\\247\\\\331\\\\207\\\\331\\\\206\\\\331\\\\205\\\\330\\\\247.txt:
Cannot stat: No such file or directory\ntar: Exiting with failure status
due to previous errors\npristine-tar: command failed: tar cf
/tmp/pristine-tar.cHECacLBBt/recreatetarball --owner 0 --group 0
--numeric-owner -C /tmp/pristine-tar.cHECacLBBt/workdir --no-recursion
--mode 0644 --verbatim-files-from --files-from
/tmp/pristine-tar.cHECacLBBt/manifest\n'.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in
exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in
run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in
run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in
run_simple
    return _do_with_cleanups(
  File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in
_do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line
1385, in run
    tree = dh_make.import_upstream(
  File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py",
line 96, in import_upstream
    db.import_upstream_tarballs(
  File
"/usr/lib/python3/dist-packages/breezy/plugins/debian/import_dsc.py", line
910, in import_upstream_tarballs
    return self.import_upstream(
  File
"/usr/lib/python3/dist-packages/breezy/plugins/debian/import_dsc.py", line
881, in import_upstream
    (tag, revid) = self.pristine_upstream_source.import_component_tarball(
  File
"/usr/lib/python3/dist-packages/breezy/plugins/debian/upstream/pristinetar.py",
line 402, in import_component_tarball
    delta = make_pristine_tar_delta_from_tree(
  File
"/usr/lib/python3/dist-packages/breezy/plugins/debian/upstream/pristinetar.py",
line 186, in make_pristine_tar_delta_from_tree
    conf = debuild_config(tree)
TypeError: debuild_config() missing 1 required positional argument:
'subpath'

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/brz.1000.2022-08-26T04:20.crash
if a bug-reporting window does not automatically appear.
-----------------------------------------------------------------

I would appreciate your help.
Thanks in advance.
Shafiei.


More information about the Ubuntu-ir mailing list