[Debian-med-packaging] Bug#1030713: cwltool: Installs the text of 'Moby-Dick' under /usr/lib/python3/dist-packages

Chris Lamb lamby at debian.org
Mon Feb 6 17:31:47 GMT 2023


Source: cwltool
Version: 3.1.20230201224320-1
Severity: normal
Tags: patch

Hi,

Installing Debian's cwltool package installs a file directly into the
/usr/lib/python3/dist-packages directory that contains the opening
paragraph of Herman Melville's 1851 novel 'Moby-Dick':

  $ cat /usr/lib/python3/dist-packages/whale.txt

  Call me Ishmael. Some years ago--never mind how long precisely--having
  little or no money in my purse, and nothing particular to interest me on
  shore, I thought I would sail about a little and see the watery part of
  the world. It is a way I have of driving off the spleen and regulating
  the circulation. Whenever I find myself growing grim about the mouth;
  whenever it is a damp, drizzly November in my soul; whenever I find
  myself involuntarily pausing before coffin warehouses, and bringing up
  the rear of every funeral I meet; and especially whenever my hypos get
  such an upper hand of me, that it requires a strong moral principle to
  prevent me from deliberately stepping into the street, and methodically
  knocking people's hats off--then, I account it high time to get to sea
  as soon as I can. This is my substitute for pistol and ball. With a
  philosophical flourish Cato throws himself upon his sword; I quietly
  take to the ship. There is nothing surprising in this. If they but knew
  it, almost all men in their degree, some time or other, cherish very
  nearly the same feelings towards the ocean with me.

Whilst the text of Melville's epic tale of the monomaniacal quest of
Ahab on the whaling ship Pequod is in the public domain (and thus
Debian's distribution of it does not constitute a copyright
violation), I suspect its inclusion in the binary package is a bug.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2023-02-06 08:37:40.811072429 -0800
--- b/debian/rules	2023-02-06 09:25:22.046419734 -0800
@@ -38,6 +38,7 @@
 		-k 'not (test_http_path_mapping or test_get_subgraph or test_udocker_usage_should_not_write_cid_file or test_udocker_should_display_memory_usage or test_content_types or test_get_step or test_udocker_nobanner)' \
 		-n auto --ignore cwltool/schemas/ -rs --pyargs cwltool" dh_auto_test
 	find .pybuild -name "out" -type f -delete
+	find .pybuild/*/build -maxdepth 1 -type f -delete
 endif
 # test_http_path_mapping requires internet access (could be mocked?)
 # test_get_{subgraph,step} embedded local path isn't being cleaned properly


More information about the Debian-med-packaging mailing list