Your message dated Wed, 14 Jan 2015 10:03:31 +0000
with message-id <e1ybknt-0005aa...@franck.debian.org>
and subject line Bug#775034: fixed in apport 2.15.1-2
has caused the Debian Bug report #775034,
regarding apport: FTBFS on arch-only builds
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.)


-- 
775034: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775034
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: apport
Version: 2.15.1-1
Severity: serious
Tags: patch
Justification: fails to build from source
Control: found -1 apport/2.14.2-2

Hi,

apport fails to build in arch-only builds (debian/rules build-arch),
as done e.g. on buildds [1].

This happens because python(3)-distutils and python(3)-apt seem to be
mandatory when building, and they are pulled as Build-Depends-Indep,
so not when doing arch-only builds.
Furthermore, the dh_install override edits files of arch:all binaries,
which are not available in arch-only builds.

The attached patch fixes these issues:
- python-distutils-extra, python-apt, python3-distutils-extra, and
  python3-apt are now Build-Depends
- apport-retrace and apport-kde are edited only when building their
  binaries

[1] https://buildd.debian.org/status/logs.php?pkg=apport&ver=2.15.1-1

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -9,11 +9,12 @@ Build-Depends: debhelper (>= 7.0.50~),
  net-tools,
  xauth,
  python-all,
- python3-all
-Build-Depends-Indep: python-distutils-extra (>= 2.24~),
- python3-distutils-extra (>= 2.24~),
+ python3-all,
+ python-distutils-extra (>= 2.24~),
  python-apt (>= 0.7.9),
+ python3-distutils-extra (>= 2.24~),
  python3-apt (>= 0.7.9),
+Build-Depends-Indep:
  intltool,
  xvfb,
  python-mock,
--- a/debian/rules
+++ b/debian/rules
@@ -34,12 +34,16 @@ override_dh_install:
 	dh_install -X.pyc -X.egg-info --list-missing
 	pod2man -c Debhelper -r "$(DEB_VERSION)" debian/debhelper/dh_apport debian/debhelper/dh_apport.1
 
+ifneq (, $(filter apport-retrace, $(shell dh_listpackages)))
         # apport-retrace needs python-launchpadlib, which is not yet available
         #         # for Python 3; so switch back to Python 2
 	sed -i '1 s/python3.*$$/python/' debian/apport-retrace/usr/bin/apport-retrace
+endif
 
+ifneq (, $(filter apport-kde, $(shell dh_listpackages)))
 	# Same applies for KDE4...
 	sed -i '1 s/python3.*$$/python/' debian/apport-kde/usr/share/apport/apport-kde
+endif
 
 override_dh_python3:
 	dh_python3 --skip-private

--- End Message ---
--- Begin Message ---
Source: apport
Source-Version: 2.15.1-2

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

Debian distribution maintenance software
pp.
Ritesh Raj Sarraf <r...@debian.org> (supplier of updated apport 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: SHA1

Format: 1.8
Date: Wed, 14 Jan 2015 13:48:33 +0530
Source: apport
Binary: apport apport-notify python-problem-report python3-problem-report 
python-apport python3-apport apport-retrace apport-valgrind apport-gtk 
apport-kde dh-apport
Architecture: source all amd64
Version: 2.15.1-2
Distribution: experimental
Urgency: medium
Maintainer: Ritesh Raj Sarraf <r...@debian.org>
Changed-By: Ritesh Raj Sarraf <r...@debian.org>
Description:
 apport     - automatically generate crash reports for debugging
 apport-gtk - GTK+ frontend for the apport crash report system
 apport-kde - KDE frontend for the apport crash report system
 apport-notify - automatically generate crash reports for debugging
 apport-retrace - tools for reprocessing Apport crash reports
 apport-valgrind - valgrind wrapper that first downloads debug symbols
 dh-apport  - debhelper extension for the apport crash report system
 python-apport - Python library for Apport crash report handling
 python-problem-report - Python library to handle problem reports
 python3-apport - Python 3 library for Apport crash report handling
 python3-problem-report - Python 3 library to handle problem reports
Closes: 775034 775036 775037
Changes:
 apport (2.15.1-2) experimental; urgency=medium
 .
   * [79091ac] Be more certain on how we determine package name and version
   * [ae8c208] Add patch to ignore UnicodeDecode Error. Debian BTS #775327
   * [60c1887] Fix arch-only FTBFS builds.
     Thanks to Pino Toscano (Closes: #775034)
   * [24b5dff] Use build flags from dpkg-buildflags.
     Thanks to Pino Toscano (Closes: #775036)
   * [c85ed69] Don't ship KDE3 mimetype.
     Thanks to Pino Toscano (Closes: #775037)
Checksums-Sha1:
 87cea430c45870fb11c574fc176431c54124ed61 2979 apport_2.15.1-2.dsc
 6ad91fb2b9c6a31b5bd2e8b9b2ea5bfc39dab967 11132 apport_2.15.1-2.debian.tar.xz
 aab79c88144693c9fa14e57026eb53c32d03c431 524376 apport_2.15.1-2_all.deb
 e96523676fbc84883932de13050b9a83862b029b 143774 
apport-notify_2.15.1-2_amd64.deb
 c5176312eca7022f7c234a238d853d0f367c95c9 147144 
python-problem-report_2.15.1-2_all.deb
 75ae81d8e32b4985b1c6cc61abba774ccda4d0a4 147226 
python3-problem-report_2.15.1-2_all.deb
 3bbfd982be1305395578bc88becf54a60bfe286b 215470 python-apport_2.15.1-2_all.deb
 ee7b7c97c0bccf1046a8f2d101802fe44ce6bbb4 215524 python3-apport_2.15.1-2_all.deb
 88210ff894c5eee15701827afddeccdc19bfb789 152246 apport-retrace_2.15.1-2_all.deb
 e81567d0a1e9e5b92ca3dda9c127be647f2ba5f9 145044 
apport-valgrind_2.15.1-2_all.deb
 3f7348a7922e151ed2837d9c6edc931f9d4cf364 151848 apport-gtk_2.15.1-2_all.deb
 46676e70ac066d8a3c6c98e649d37e067750a45a 160186 apport-kde_2.15.1-2_all.deb
 3af62250f464767d590315f1b1776a03e056b3c7 144928 dh-apport_2.15.1-2_all.deb
Checksums-Sha256:
 dd3c0c5dfe9ec921e6706bcf827e43727cb40079ea874378b407ceb2a3ce6b9b 2979 
apport_2.15.1-2.dsc
 e9d49699917ef2c0ebac22c7e7407d206b84149df8e948fd84e66f587c5c36c0 11132 
apport_2.15.1-2.debian.tar.xz
 623ad9cbf38dc6b2871908b8458522bf4a32d5ab3cee661406c47260a163598c 524376 
apport_2.15.1-2_all.deb
 7a4a106aa7de388e249f43fc4c57acdbaa4abf081d98a15c6858effe556969a0 143774 
apport-notify_2.15.1-2_amd64.deb
 14c13ce55c69ef5a6ada27f5f2899413f3dafc20f30f07f2663ea07f4141d1fc 147144 
python-problem-report_2.15.1-2_all.deb
 105717dce117207c842b02cd5532fbd1f2e6d7adff1d7c1481c18e342e6993fd 147226 
python3-problem-report_2.15.1-2_all.deb
 13735a6e75868ac019b457f09816aa052a2c2098f4aa919c1980c754859342ec 215470 
python-apport_2.15.1-2_all.deb
 2c4166bccb6e84a2045bb32bd2bb2a7d8844dcc389569dc8f580033f8fb3e95a 215524 
python3-apport_2.15.1-2_all.deb
 02e082077b6eb75107695d38232712e7f42528976e8360ae403da591ee3176e8 152246 
apport-retrace_2.15.1-2_all.deb
 3f7f579234d2f56b563bf07ca6fd9c40995f99c0affebbdd93265b75cb46f248 145044 
apport-valgrind_2.15.1-2_all.deb
 5245206d18120aa1d8c0de8a30563f0f027e556e20bddcaefb3a99869daebccd 151848 
apport-gtk_2.15.1-2_all.deb
 a9dd1d2dff3bb781ee472c3faaf1f6c79c23bca520cde9529ae3f770438b714c 160186 
apport-kde_2.15.1-2_all.deb
 83b7f0d6945159ae79ad115234fdded1fa2c9bb08d7fe3156a2d511230f34871 144928 
dh-apport_2.15.1-2_all.deb
Files:
 240fcedf09322f12c9a8f921ee5a36c2 2979 utils optional apport_2.15.1-2.dsc
 0423280b9720ae187a3b34f991e25f29 11132 utils optional 
apport_2.15.1-2.debian.tar.xz
 22bde4934581d0b3ff9bbdbe67eb67d9 524376 utils optional apport_2.15.1-2_all.deb
 56970ff92752750168c6a0f99a3ab00b 143774 utils optional 
apport-notify_2.15.1-2_amd64.deb
 c9cca7ea025e8a6e82f38285623194c2 147144 python optional 
python-problem-report_2.15.1-2_all.deb
 8e006199759fcdfb1e5457666bb1ee0a 147226 python optional 
python3-problem-report_2.15.1-2_all.deb
 53133a2b6402460731c6b348a3eb1f1b 215470 python optional 
python-apport_2.15.1-2_all.deb
 1ce5782bee07db7a2f26a2807237396e 215524 python optional 
python3-apport_2.15.1-2_all.deb
 8553b66b8857e96c977919a5a022788d 152246 devel optional 
apport-retrace_2.15.1-2_all.deb
 4abc137526c00a01c64e0e225fd50565 145044 devel optional 
apport-valgrind_2.15.1-2_all.deb
 b65b7151186011e01d5af236c3a5a70c 151848 gnome optional 
apport-gtk_2.15.1-2_all.deb
 34012f3097cad8eabf73e28ae2f416e9 160186 kde optional 
apport-kde_2.15.1-2_all.deb
 413dec75a9afa9bcb3405d3d91b147e5 144928 devel optional 
dh-apport_2.15.1-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUtjq/AAoJEKY6WKPy4XVpMegP/jll3qjOnmHfOiWl3KrM6NBP
6ly1orXeRAJvDS7ez8pKs8cJ2Ppcc+I05Qlza+3dh0h2+nDlUaGPAU/w3b6KpVW6
8rJtK1jaWhjDXeZQmrZYbVOo2fYpTO3HS3qAwNXgX+Y/SV4Vw0Rr6revar2ymD7b
qRj68VmTn4GP3hbSHOEG12NkT+nxtAmPp45ljeBsV0orM9iAToMAwVuBm/cT3nR7
yzChyn6soyPuLpDttBbZn1LAd9UuTbyw685/47WMScGOap6HlBrq2OdFgT3uAfkY
b89haC1JII1ZhyOCTgyTo5W2Gr6yc37GCtK3CTihIpPi83Kdfeuk59lXDmI7bm5U
Y42LE1rkHZnGXfU1Rocm9/HFciOtkVn9GOW7MAfPa4NvXdyw/csaHGzfc5dN3yWf
FyQCXAy/g7ZcYdnIw6lnosUqfxlJq1kpkXyJiQf+L72ufQZdUmfRl4rJD3rFLGzf
V+Qzc5yqqqP5+St1CA8A2SRAPX6VokXqePe1zWi+gtrOGcRdgD4Tlx28Ehk6eUG3
aTRwjLneZ7RFV+mWNPZyZl4LgXqz0JiZV8PxTz8FTOqy6En5MeDR03ICxsEPzcOA
EnWTEVQtDM24PCOTQVzIVBHQ9dskq5m2f4EcV7cdB4As45WFxsqIiBnf8hCXB7pc
AWWwabH0kbkAZcLY+ctb
=4jZa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to