Debian Bug report logs - #805952
mysqmail: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)

version graph

Package: src:mysqmail; Maintainer for src:mysqmail is Thomas Goirand <zigo@debian.org>;

Reported by: Santiago Vila <sanvila@debian.org>

Date: Tue, 24 Nov 2015 11:21:51 UTC

Severity: serious

Tags: patch, sid

Found in version mysqmail/0.4.9-10.1

Fixed in version mysqmail/0.4.9-10.2

Done: Andreas Beckmann <anbe@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Thomas Goirand <zigo@debian.org>:
Bug#805952; Package src:mysqmail. (Tue, 24 Nov 2015 11:21:55 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Thomas Goirand <zigo@debian.org>. (Tue, 24 Nov 2015 11:21:55 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: mysqmail: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Tue, 24 Nov 2015 11:17:56 +0000
Package: src:mysqmail
Version: 0.4.9-10.1
User: sanvila@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 fakeroot debian/rules binary-indep
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
install -D -m 0755 mysqmail-courier-logger   debian/mysqmail-courier-logger/usr/sbin/mysqmail-courier-logger
install -D -m 0755 mysqmail-postfix-logger   debian/mysqmail-postfix-logger/usr/sbin/mysqmail-postfix-logger
install -D -m 0755 mysqmail-pure-ftpd-logger debian/mysqmail-pure-ftpd-logger/usr/sbin/mysqmail-pure-ftpd-logger
install -D -m 0755 mysqmail-dovecot-logger   debian/mysqmail-dovecot-logger/usr/sbin/mysqmail-dovecot-logger
 dpkg-genchanges -A >../mysqmail_0.4.9-10.1_all.changes
dpkg-genchanges: warning: unknown information field 'Dm-Upload-Allowed' in input data in general section of control info file
dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
--------------------------------------------------------------------------------

This usually happens because there is a binary-indep target in debian/rules
which is either empty or does not do anything useful.

If all the arch-independent packages are dummy transitional packages released with jessie,
the easy fix is to drop them now. If not, debian/rules should be modified so that the
binary-indep target generates the architecture independent packages (and only those).

After checking that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, this package will be suitable to be uploaded in source-only form if you wish
(I recommend that you try it).

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Thomas Goirand <zigo@debian.org>:
Bug#805952; Package src:mysqmail. (Wed, 04 May 2016 14:21:10 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Thomas Goirand <zigo@debian.org>. (Wed, 04 May 2016 14:21:10 GMT) (full text, mbox, link).


Message #10 received at 805952@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: 805952@bugs.debian.org
Cc: Debian BTS <control@bugs.debian.org>, Thomas Goirand <zigo@debian.org>
Subject: Re: Bug#805952: mysqmail: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Wed, 4 May 2016 16:18:14 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 805952 + patch
thanks

This package is simple enough that switching to dh would not be too
difficult. That would probably fix the bug automatically.

In the meantime, I attach a trivial patch. This is just the result of
duplicating every dh_* call to binary-indep (except for dh_testroot
and dh_testdir which I consider useless, as dpkg-buildpackage already
takes care of being in the right directory and being root when needed).

Thanks.
[mysqmail.patch.txt (text/plain, attachment)]

Added tag(s) patch. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Wed, 04 May 2016 14:21:13 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Thomas Goirand <zigo@debian.org>:
Bug#805952; Package src:mysqmail. (Wed, 13 Jul 2016 21:12:08 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Thomas Goirand <zigo@debian.org>. (Wed, 13 Jul 2016 21:12:08 GMT) (full text, mbox, link).


Message #17 received at 805952@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: 805952@bugs.debian.org
Cc: Thomas Goirand <zigo@debian.org>
Subject: Re: Bug#805952: mysqmail: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Wed, 13 Jul 2016 23:08:45 +0200 (CEST)
Greetings.

I have the ok from the Release Managers to consider this issue as RC
for stretch. I'm going to wait at least one week before raising
this to "serious".

There is a patch available for this bug. If you need someone to make
an upload, please ask for a sponsor in debian-mentors.

Thanks.



Severity set to 'serious' from 'important' Request was from Santiago Vila <sanvila@debian.org> to control@bugs.debian.org. (Mon, 01 Aug 2016 21:15:09 GMT) (full text, mbox, link).


Added tag(s) sid. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Tue, 02 Aug 2016 16:24:28 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Andreas Beckmann <anbe@debian.org> to 845880-submit@bugs.debian.org. (Thu, 12 Jan 2017 17:27:04 GMT) (full text, mbox, link).


Reply sent to Andreas Beckmann <anbe@debian.org>:
You have taken responsibility. (Sat, 14 Jan 2017 17:54:09 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Sat, 14 Jan 2017 17:54:09 GMT) (full text, mbox, link).


Message #28 received at 805952-close@bugs.debian.org (full text, mbox, reply):

From: Andreas Beckmann <anbe@debian.org>
To: 805952-close@bugs.debian.org
Subject: Bug#805952: fixed in mysqmail 0.4.9-10.2
Date: Sat, 14 Jan 2017 17:51:38 +0000
Source: mysqmail
Source-Version: 0.4.9-10.2

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

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated mysqmail 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 12 Jan 2017 17:53:31 +0100
Source: mysqmail
Binary: mysqmail mysqmail-pure-ftpd-logger mysqmail-postfix-logger mysqmail-courier-logger mysqmail-dovecot-logger
Architecture: source
Version: 0.4.9-10.2
Distribution: unstable
Urgency: medium
Maintainer: Thomas Goirand <zigo@debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description:
 mysqmail   - real-time logging system in MySQL
 mysqmail-courier-logger - real-time logging system in MySQL - Courier traffic-logger
 mysqmail-dovecot-logger - real-time logging system in MySQL - Dovecot traffic-logger
 mysqmail-postfix-logger - real-time logging system in MySQL - Postfix traffic-logger
 mysqmail-pure-ftpd-logger - real-time logging system in MySQL - Pure-FTPd traffic-logger
Closes: 790469 805952 822006 845880
Changes:
 mysqmail (0.4.9-10.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add missing build-{arch,indep} targets and fix dpkg-buildpackage -A,
     thanks to Santiago Vila.  (Closes: #822006, #805952)
   * Switch Build-Depends to default-libmysqlclient-dev.
     (Closes: #845880, #790469)
   * Switch to source format 3.0 (quilt).
Checksums-Sha1:
 5b300de019ec77a7a707a9a10ebd5af3c2e1e8b2 2175 mysqmail_0.4.9-10.2.dsc
 7ed960f807ab2c021ca1dd822432499ba92bae45 14644 mysqmail_0.4.9-10.2.debian.tar.xz
Checksums-Sha256:
 a8c4e024918d810e1dd2dda4769da7376acfc666650c1305a9b25dbb45e68f09 2175 mysqmail_0.4.9-10.2.dsc
 21f786f0119e827b4a0d100807d117378200363c0936b73169377b1392481688 14644 mysqmail_0.4.9-10.2.debian.tar.xz
Files:
 eb5bcc69576f9ed68c030ca00bf45214 2175 mail extra mysqmail_0.4.9-10.2.dsc
 43c594cb414fbcd41eeb2f6ac6ca50ad 14644 mail extra mysqmail_0.4.9-10.2.debian.tar.xz

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

iQIcBAEBCAAGBQJYd7rYAAoJEF+zP5NZ6e0IiwQP/jLtRJFIm/B/lrtsIU6O9378
DWTKmJxaazugdLTQdAVS1VBkvn5ERugOFU1vIann3ii3u9RIzopRdJMYDHG0+kLC
/Nqf0TsIaiipNLh3Bc8U7es5fPPHV5B+OuflE1aTzAktZ2fvzxgzrzoJbnUQTJxx
PJIm7NB4dE29esXKbhMgM3g7vgykSe6eS/SXk7ayhNQKi7FBaMKE3avgd5vqH7Mk
BQ12Nw2Myw17mamRH20EPw+B3LAC9GjNPI8B2PgCJ9/5Jpk15Y89dclhIwL/2AcH
poGPue73aTbxXF7z7ksw/mU3wYsgoLKMgroPZ2W7yezOUlwOgN4KCLgTyoTPlyTS
72JExI78MUpM3cHK32v7aey9Uj0gWue8SXVRvVL89waRP+Vzc4Y8+r7tWLAUEcXo
8Tzlp6gkH0aZj1BD3rKioGLRXD4IOS4LwjcdzNHrVUMQ7Ea4k0Hbg7swvRVo/YkL
Af+DD60qy6LXMR2uwrPbc51tOm8BRgsy0VnYwKtBNSacVrnKiDcU2U9vQxcsfL/1
GTMpW5VwMp2HyB4Z5AJRfzUEuoFFpaLEoUtaeJ/8KkGBOoph3DXqy83l6vgQrn8N
BdTOm/PaO+AsKmuQhjtseFHJ/To1J+HpoRUNr56elXf7cqWWgYx4g6IZNiUsW0p0
0Jffx9qRZfBuUUE3pXwH
=5MbS
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 12 Feb 2017 07:32:27 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Oct 23 00:07:15 2017; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.