Your message dated Sat, 26 May 2018 21:19:54 +0000
with message-id <e1fmgbs-0008nb...@fasolo.debian.org>
and subject line Bug#897358: fixed in pjproject 2.7.2~dfsg-2
has caused the Debian Bug report #897358,
regarding python-pjproject breaks package system in multiarch setting
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.)


-- 
897358: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897358
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-pjproject
Version: 2.7.2~dfsg-1
Severity: critical
Justification: breaks unrelated software

Dear Maintainer,

python-pjproject is marked as Multi-Arch: same but its postinst and preinst 
scripts call pycompile and pyclean without specifying the package architecture. 
As 
a result if python-pjproject is installed for more than one architecture the 
package name is ambiguous, causing the postinst and prerm scripts fail.

This then prevents any package from being installed or removed, thus breaking 
the 
packaging system permanently.


The solution is to replace the following line in 
/var/lib/dpkg/info/python-pjproject:*.postinst

        pycompile -p python-pjproject
with
        pycompile -p python-pjproject:$DPKG_MAINTSCRIPT_ARCH 

And the following line in /var/lib/dpkg/info/python-pjproject:*.prerm

        pyclean -p python-pjproject
    else
        dpkg -L python-pjproject | grep '\.py$' | while read file

with

        pyclean -p python-pjproject:$DPKG_MAINTSCRIPT_ARCH
    else
        dpkg -L python-pjproject:$DPKG_MAINTSCRIPT_ARCH | grep '\.py$' | while 
read file


See also bug #770625 which shows how this same bug was fixed in gir1.2-ibus-1.0.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-pjproject:amd64 depends on:
ii  libc6      2.27-3
ii  libpj2     2.7.2~dfsg-1
ii  libpjsip2  2.7.2~dfsg-1
ii  libpjsua2  2.7.2~dfsg-1

python-pjproject:amd64 recommends no packages.

python-pjproject:amd64 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pjproject
Source-Version: 2.7.2~dfsg-2

We believe that the bug you reported is fixed in the latest version of
pjproject, 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 897...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bernhard Schmidt <be...@debian.org> (supplier of updated pjproject 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: Sat, 26 May 2018 22:54:29 +0200
Source: pjproject
Binary: libpjlib-util2 libpjmedia-audiodev2 libpjmedia-codec2 
libpjmedia-videodev2 libpjmedia2 libpjnath2 libpjsip-simple2 libpjsip-ua2 
libpjsip2 libpjsua2 libpjsua2-2v5 libpj2 libpjproject-dev python-pjproject
Architecture: source
Version: 2.7.2~dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian VoIP Team <pkg-voip-maintain...@lists.alioth.debian.org>
Changed-By: Bernhard Schmidt <be...@debian.org>
Description:
 libpj2     - PJ Project - PJProject core libraries
 libpjlib-util2 - PJ Project - helper utilities
 libpjmedia-audiodev2 - PJ Project - Audio devices
 libpjmedia-codec2 - PJ Project - Multimedia codecs handling
 libpjmedia-videodev2 - SIP handling library - video devices
 libpjmedia2 - PJ Project - VoIP media
 libpjnath2 - PJ Project - NAT handling
 libpjproject-dev - PJ Project - development headers
 libpjsip-simple2 - PJ Project - SIP SIMPLE instant messaging
 libpjsip-ua2 - SIP handling library - SIP user agent library
 libpjsip2  - PJ Project - SIP handling library
 libpjsua2  - PJ Project - Basic VoIP client library
 libpjsua2-2v5 - PJ Project - Basic VoIP client library
 python-pjproject - PJ Project - Python bindings
Closes: 897358
Changes:
 pjproject (2.7.2~dfsg-2) unstable; urgency=medium
 .
   * Drop Multi-Arch: same for python-pjproject, specifying the architecture
     for pycompile/pyclean is not supported by dh-python (Closes: #897358)
Checksums-Sha1:
 ef3917b0889c9e05ff5ed69ff691c30dbef6eff5 3357 pjproject_2.7.2~dfsg-2.dsc
 33bd09005b283e7ab8dad629da1a941201c23d8d 37304 
pjproject_2.7.2~dfsg-2.debian.tar.xz
 2650a05cb264877ab36d95350424b6b5999eb00d 23085 
pjproject_2.7.2~dfsg-2_amd64.buildinfo
Checksums-Sha256:
 a40a99bb979d3917a3bad190d728a6ace4b186742c39a120e872a5c34b23964c 3357 
pjproject_2.7.2~dfsg-2.dsc
 a104497167c39387ba6c96307976eebcae1bdf581843c6f9bb9ab81a20926087 37304 
pjproject_2.7.2~dfsg-2.debian.tar.xz
 338983b6274f4829e40198dbeafaabf7eb27c8d698e7e93424b1716460a67b92 23085 
pjproject_2.7.2~dfsg-2_amd64.buildinfo
Files:
 96bd5f0bef10fec712f027675e8808b6 3357 libs optional pjproject_2.7.2~dfsg-2.dsc
 418708846f303486a0831f52860dfb53 37304 libs optional 
pjproject_2.7.2~dfsg-2.debian.tar.xz
 00b6d53f1da848bf10be3f5247a8734b 23085 libs optional 
pjproject_2.7.2~dfsg-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE1uAexRal3873GVbTd1B55bhQvJMFAlsJy2QRHGJlcm5pQGRl
Ymlhbi5vcmcACgkQd1B55bhQvJPwLhAAmT3pSY15QLU4Tflos5bT68eN64Fg4+Xo
nDoRNXPAVCPbYofd5dyMC/9mNxjfaoGeYvxdxsHj5I0W1pBe4kJDc8qut4l+gZBZ
eBdba69R+JfnyRcDKqxjfGM2UCYHTPAmkQUOjyTK5Hr3LiwtwkFHaMJDmRbGnWRU
CTTlns7pc3IEoq0/4ZK1ty6Ogz0l3C292Ea2H+xBHmm2w/Urb1DFaKeRccysOJ2p
id2ieDYlZUaPIE6oR6A4tKotqzVmMlfhPk5hn2EAXSg3jkA8AsUmCAfSF2LAS3uI
yS08d7b4IDz1vyyxHSIblz6HB/mJiCuI7ri8jKYM+zbhgiFCKBYQah5OKc6AMikV
YK4kIdDAGPQg2cx4PQp/P6gnX0rkKFwFZzDA4AqXJVldgr5gm5fQ426bsFfosZNr
Mlm2ZzhSdb2c8dV1zc9UZ1BTaYlv19FiqCJSvNQF5f7h5ylCE9vGKH5QCGiI5UJr
WoeztDu1VIvWD2O3ANRa3GGvF8ees5GilHLl8SF3jHtYRRlQiFsQcTQyXilcwKLO
56ENdAw0s2IBmyeEhX7pFZuvzpQOw6eI7QGuBh9kLHnmsmlTeE1UoTSqbRM25dI7
DOgoReQjovjC0kQO6+5HZxQKXJG/N3lUXFn9BcM3gHZbxqklchMsIh8XT7ABZdPu
ID5NjrNCoCg=
=WAIH
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to