Your message dated Mon, 10 Oct 2022 01:37:10 +0530
with message-id <[email protected]>
and subject line Re: python3-matrix-common: matrix-synapse not starting due to 
ModuleNotFoundError: No module named 'matrix_common'
has caused the Debian Bug report #1021435,
regarding python3-matrix-common: matrix-synapse not starting due to 
ModuleNotFoundError: No module named 'matrix_common'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1021435: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021435
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-matrix-common
Version: 1.3.0-2~bpo11+1
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

   * What led up to the situation?
     Was updating matrix-synapse from 1.63.0-1~bpo11+1 to v1.66.0-1~bpo11+1 
when python3-matrix-common was also updated to 1.3.0-2~bpo11+1. 
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     From `journalctl -u matrix-synapse`, it shows ModuleNotFoundError: No 
module named 'matrix_common'. Full log can be found here 
https://paste.debian.net/1256360/
   * What was the outcome of this action?
     matrix-synapse package is stuck in activating state. 
   * What outcome did you expect instead?
     matrix-synapse package is not starting. 

-- System Information:
Debian Release: 11.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-9-amd64 (SMP w/12 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-matrix-common depends on:
ii  python3                     3.9.2-3
ii  python3-attr                20.3.0-1
ii  python3-importlib-metadata  1.6.0-2

python3-matrix-common recommends no packages.

python3-matrix-common suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1.3.0-2~bpo11+3

This should be fixed in a later upload of the package so I am marking it as 
closed.
Although, that said I find the upload a little sub-optimal as the build-time 
tests
are still disabled and copying is taken care at the dh_auto_install step, rather
it'd be nicer to copy that to the build_dir before build itself and let
pyproject plugin do its install job -- patch attached.

But, no big of a deal in current status quo though which should work OK.

diff --git a/debian/python3-matrix-common.install 
b/debian/python3-matrix-common.install
deleted file mode 100644
index 3899dd6..0000000
--- a/debian/python3-matrix-common.install
+++ /dev/null
@@ -1 +0,0 @@
-src/matrix_common /usr/lib/python3/dist-packages/
diff --git a/debian/rules b/debian/rules
index 9a85c76..e5e3dd1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,8 @@
 %:
        dh $@ --buildsystem=pybuild
 
-override_dh_auto_test:
-       -dh_auto_test
+execute_after_dh_auto_configure:
+       cp -av src/matrix_common .pybuild/cpython3_*/build/
 
 execute_after_dh_auto_install:
        -rm -rf debian/*/usr/lib/*/dist-packages/.pytest_cache

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to