Your message dated Tue, 05 Feb 2019 19:39:08 +0000
with message-id <e1gr6ym-000ckx...@fasolo.debian.org>
and subject line Bug#918074: fixed in meep-mpich2 1.7.0-3
has caused the Debian Bug report #918074,
regarding python-meep-mpich2 fails to install, postinst script looks for wrong
package name.
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 ow...@bugs.debian.org
immediately.)
--
918074: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918074
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-meep-mpich2
Version: 1.7.0-2
Severity: serious
https://piuparts.debian.org/sid/fail/python-meep-mpich2_1.7.0-2.log
Setting up python-meep-mpich2 (1.7.0-2) ...
dpkg-query: package 'python-meep' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
Traceback (most recent call last):
File "/usr/bin/pycompile", line 289, in <module>
main()
File "/usr/bin/pycompile", line 262, in main
options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 154, in compile
for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/pycompile", line 109, in filter_files
for fn in files:
File "/usr/share/python/debpython/files.py", line 77, in filter_out_ext
for fn in files:
File "/usr/share/python/debpython/namespace.py", line 77, in
add_namespace_files
for fn in files:
File "/usr/share/python/debpython/files.py", line 69, in filter_public
for fn in files:
File "/usr/share/python/debpython/files.py", line 53, in from_package
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of python-meep
dpkg: error processing package python-meep-mpich2 (--configure):
installed python-meep-mpich2 package post-installation script subprocess
returned error exit status 1
Processing triggers for libc-bin (2.28-4) ...
Errors were encountered while processing:
python-meep-mpich2
E: Sub-process /usr/bin/dpkg returned an error code (1)
After some investigating it looks like this was caused by failing to update the
package name in the postinst script when copying the python changes from the
plain meep source package to the meep-mpich2 source package. The prerm script
also seems to suffer from a similar issue.
While working on the above issues I also discovered that the clean target did
not clean up properly, so I fixed that too.
A debdiff fixing that is attatched, no intent to NMU.
diff -Nru meep-mpich2-1.7.0/debian/changelog meep-mpich2-1.7.0/debian/changelog
--- meep-mpich2-1.7.0/debian/changelog 2018-12-25 15:29:02.000000000 +0000
+++ meep-mpich2-1.7.0/debian/changelog 2019-01-03 01:21:28.000000000 +0000
@@ -1,3 +1,9 @@
+meep-mpich2 (1.7.0-2+rpi1) buster-staging; urgency=medium
+
+ * Fix postinst script for python-meep-mpich2 to use correct package name.
+
+ -- Peter Michael Green <plugw...@raspbian.org> Thu, 03 Jan 2019 01:21:28
+0000
+
meep-mpich2 (1.7.0-2) unstable; urgency=medium
* upload to unstable
diff -Nru meep-mpich2-1.7.0/debian/python-meep-mpich2.postinst
meep-mpich2-1.7.0/debian/python-meep-mpich2.postinst
--- meep-mpich2-1.7.0/debian/python-meep-mpich2.postinst 2018-12-23
11:41:15.000000000 +0000
+++ meep-mpich2-1.7.0/debian/python-meep-mpich2.postinst 2019-01-03
01:19:17.000000000 +0000
@@ -2,7 +2,7 @@
set -e
if which pycompile >/dev/null 2>&1; then
- pycompile -p python-meep
+ pycompile -p python-meep-mpich2
fi
#DEBHELPER#
diff -Nru meep-mpich2-1.7.0/debian/python-meep-mpich2.prerm
meep-mpich2-1.7.0/debian/python-meep-mpich2.prerm
--- meep-mpich2-1.7.0/debian/python-meep-mpich2.prerm 2018-12-23
11:41:15.000000000 +0000
+++ meep-mpich2-1.7.0/debian/python-meep-mpich2.prerm 2019-01-03
01:21:28.000000000 +0000
@@ -2,7 +2,7 @@
set -e
if which pyclean >/dev/null 2>&1; then
- pyclean -p python-meep
+ pyclean -p python-meep-mpich2
else
dpkg -L python-meep | grep \.py$ | while read file
do
diff -Nru meep-mpich2-1.7.0/debian/rules meep-mpich2-1.7.0/debian/rules
--- meep-mpich2-1.7.0/debian/rules 2018-12-23 15:24:08.000000000 +0000
+++ meep-mpich2-1.7.0/debian/rules 2019-01-03 01:21:28.000000000 +0000
@@ -50,6 +50,7 @@
rm -f meep_mpi.pc
rm -f src/libmeep_mpi.la
dh_clean
+ rm -f scheme/meep_enum_renames.i scheme/meep_renames.i
scheme/meep_swig_bug_workaround.i scheme/meep_wrap.cxx src/sphere-quad.h
src/step_generic_stride1.cpp
override_dh_auto_test:
echo ${arch}
--- End Message ---
--- Begin Message ---
Source: meep-mpich2
Source-Version: 1.7.0-3
We believe that the bug you reported is fixed in the latest version of
meep-mpich2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 918...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thorsten Alteholz <deb...@alteholz.de> (supplier of updated meep-mpich2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 04 Feb 2019 19:00:00 +0100
Source: meep-mpich2
Binary: libmeep-mpich2-12 libmeep-mpich2-12-dbgsym libmeep-mpich2-dev
meep-mpich2 meep-mpich2-dbgsym python-meep-mpich2 python-meep-mpich2-dbgsym
Architecture: source amd64
Version: 1.7.0-3
Distribution: sid
Urgency: medium
Maintainer: Thorsten Alteholz <deb...@alteholz.de>
Changed-By: Thorsten Alteholz <deb...@alteholz.de>
Description:
libmeep-mpich2-12 - library for using parallel (OpenMPI) version of meep
libmeep-mpich2-dev - development library for using parallel (OpenMPI) version
of meep
meep-mpich2 - software package for FDTD simulation, parallel (OpenMPI) version
python-meep-mpich2 - software package for FDTD simulation with Python
Closes: 918074 918858
Changes:
meep-mpich2 (1.7.0-3) sid; urgency=medium
.
* debian/*postinst debian/*prerm: add correct package name
(Closes: #918074, #918858)
Thanks to Peter Green and Andreas Beckmann for their hints
* debian/control: update description according to upstream wishes
* debian/control: update homepage
* debian/control: Standards Version to 4.3.0. (No changes needed).
* debian/copyright: update Upstream-Source:
Checksums-Sha1:
999e57bfc5de81c0cf830b4d5ee1d9a25dde914c 2486 meep-mpich2_1.7.0-3.dsc
b440a22182e04882f00578ca6bc45fc23c322d68 10182150 meep-mpich2_1.7.0.orig.tar.gz
f621ffaac903055a6dcdf3e71255941b0784f7bc 7564 meep-mpich2_1.7.0-3.debian.tar.xz
370ea902cf4ef0839104667f8fd5d3259586d44b 2187924
libmeep-mpich2-12-dbgsym_1.7.0-3_amd64.deb
bd6cb7deec59ace3125a64c3ce263d3a00b003c7 315320
libmeep-mpich2-12_1.7.0-3_amd64.deb
855c118d0ea4a0c7d1d294fe23cfee98cbd78996 331340
libmeep-mpich2-dev_1.7.0-3_amd64.deb
430cde4e44c20420bad1469d067819cd5990f2ec 1248596
meep-mpich2-dbgsym_1.7.0-3_amd64.deb
a9e4bf7e991f37a6d2ed250e72f403cf47bf5d59 9714
meep-mpich2_1.7.0-3_amd64.buildinfo
4ce87da16ab1ab71bfbb1b86293905b1b9a239b6 211972 meep-mpich2_1.7.0-3_amd64.deb
35e13b93d439786d03e02e24e38b4b709ea3b2b5 2589568
python-meep-mpich2-dbgsym_1.7.0-3_amd64.deb
13cf0f43665a48effcb50448ff0f186960a2c27c 430396
python-meep-mpich2_1.7.0-3_amd64.deb
Checksums-Sha256:
ec8ff13e566fea2ed2948b235a1f3a52d6355dfeba2e07d661aa3db13c8bbc40 2486
meep-mpich2_1.7.0-3.dsc
a5af8c28da2626a0987a6fd4aa97f4fcc5695cf17f9ee2247caa90208efaa8bf 10182150
meep-mpich2_1.7.0.orig.tar.gz
4da3a981227b228d3a9cd0be7564554ded1aa8a58b88701de5392c3f6aa34014 7564
meep-mpich2_1.7.0-3.debian.tar.xz
29c54376a508215cb541543a2bd11f0c629ee66e3de09968ff49be273d3fbd52 2187924
libmeep-mpich2-12-dbgsym_1.7.0-3_amd64.deb
737c880fac617ac1efe4febfbfd691f09c2409a3a4db219c7b5c1312027c0db1 315320
libmeep-mpich2-12_1.7.0-3_amd64.deb
632ff3f86124282269b3ec351cea4d0c169041a167440fbe9dc8993c30c36e2c 331340
libmeep-mpich2-dev_1.7.0-3_amd64.deb
eb161a2f091b5475f901dbbeea4395ab3129ebe5142e4a79b1ce14ae1c88ee1e 1248596
meep-mpich2-dbgsym_1.7.0-3_amd64.deb
8f49aafbfb54a16f98f68aa7f960409b70c9ec048ddf6fd8c3ad65a2f0a3126e 9714
meep-mpich2_1.7.0-3_amd64.buildinfo
2b6c9afd4c88b675caa06d36da4edbd07defbf564d0b4fcb3eb1f8850eea4b3f 211972
meep-mpich2_1.7.0-3_amd64.deb
20b222a34242ae3ab6d3d55e30453de2764520f272bfb7e0d88627d3fd097a84 2589568
python-meep-mpich2-dbgsym_1.7.0-3_amd64.deb
0a463d2998c5d8f51e5270c33bbbca6ed75f2a0438a84c1f3d7721f6d7e44fa1 430396
python-meep-mpich2_1.7.0-3_amd64.deb
Files:
99588830a709721d065c44123a02d502 2486 science optional meep-mpich2_1.7.0-3.dsc
6e5bb086caa536b025c52c19d993a73d 10182150 science optional
meep-mpich2_1.7.0.orig.tar.gz
f5301961247f751adc87ff7f40f6e077 7564 science optional
meep-mpich2_1.7.0-3.debian.tar.xz
8c24d5dc628113dbf10403096feb9c00 2187924 debug optional
libmeep-mpich2-12-dbgsym_1.7.0-3_amd64.deb
d32959bd642f3ef6c4228043ef0cf8cc 315320 libs optional
libmeep-mpich2-12_1.7.0-3_amd64.deb
d40715524afc6615232ceaebe2dee866 331340 libdevel optional
libmeep-mpich2-dev_1.7.0-3_amd64.deb
6a8005a39b9bfd6e3e9c06884888ce96 1248596 debug optional
meep-mpich2-dbgsym_1.7.0-3_amd64.deb
fbfff610c20422c9860e16dce2231516 9714 science optional
meep-mpich2_1.7.0-3_amd64.buildinfo
0513fb17a1b5b2a1810cc42e1e857163 211972 science optional
meep-mpich2_1.7.0-3_amd64.deb
c2b263f2ac67ffa1a3a055fb85c9976d 2589568 debug optional
python-meep-mpich2-dbgsym_1.7.0-3_amd64.deb
6b5a07b715085115c16e54e75ca426d3 430396 python optional
python-meep-mpich2_1.7.0-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAlxZ4MxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYRxCQD/4mrZW5pYa9FS6wX6yRaLbeMsCvk35L
J/xF5AXkrPc0gJ1O7v+DX2BN1RKg3GRgILXRMSY8jWed45KXyGr9eGhOxd+JlToj
j6wbFLvNXLfQPS9ygs0NvCiHnF9BURHx4pGmZRHdW9T6XQBKuxCdL61DXArnCl0q
/c3P8/YYsjt5fg0e+TPXu2Cbe7W33RUInhPf+NCS+nCwuuPpkMuPbmXnl29pjnkx
yiqXHglwmfXQWZxHM3iDsQFmDFdkDl8ZVbxpN0zdN4FfFn7R36O6wYD+TNy7sqWz
vX6r/+2UwfaA4x09M3N1kuhlWrYIECbdqwxnxZXhKnBxlMoaCTYpjeH12qEuvNa8
LCFbB6D1u7WnL7wAYZx3z/LxgkUItFikqhD/AksRUpbbs/DcLQMXXdJUhvEXj6i1
brneE39XzlCMkfCJ0bsPPBIy9GzscFChHpHUioHa69vycnm8F8mk5s47bdel1uNX
WQCIaWOXbPEKwqLmgu1VoPSYIXzlD4kfCDdg4OJWSjqw7oHmFpC2D3lxHyNF99Mi
QC6EPBi/yK2kKGfSiCyFDWoymwqjpVD9L59QwCZwIlu+9ozhLAK7cPUhRQIn2IQg
Gq6RMgqxAO2u+G0Xp30KmYrLlUQ7WlF9h9d5wpGHjnM3QlUdBucekMU8N5IbTACV
mzxccHEqGQwN2Q==
=3cOE
-----END PGP SIGNATURE-----
--- End Message ---