Bug#600826: emacs23: FTBFS: E: Package 'mailx' has no installation candidate

2010-10-29 Thread Sven Joachim
tags 600826 + patch
thanks

On 2010-10-20 14:25 +0200, Cyril Brulebois wrote:

> Source: emacs23
> Version: 23.2+1-5
> Severity: serious
> Justification: FTBFS
>
> Hi,
>
> you're build-depending on a virtual package, mailx, which isn't blessed
> by policy. That's not supported by the buildds (#595934), so depending
> on the installed packages in the chroots and on the running version of
> sbuild running, your package may be given back again and again.

This can trivially be avoided by preferring bsd-mailx over mailx as
build dependency.  I've attached a diff in case somebody wants to NMU.

Cheers,
   Sven

diff -Nru emacs23-23.2+1/debian/changelog emacs23-23.2+1/debian/changelog
--- emacs23-23.2+1/debian/changelog 2010-10-18 07:17:56.0 +0200
+++ emacs23-23.2+1/debian/changelog 2010-10-29 11:31:54.0 +0200
@@ -1,3 +1,11 @@
+emacs23 (23.2+1-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Prefer bsd-mailx over mailx as build dependency, since the latter
+is a pure virtual package (Closes: #600826).
+
+ -- Sven Joachim   Fri, 29 Oct 2010 11:31:54 +0200
+
 emacs23 (23.2+1-5) unstable; urgency=low
 
   * Apply upstream patches to prevent the string and unibyte-string
diff -Nru emacs23-23.2+1/debian/control emacs23-23.2+1/debian/control
--- emacs23-23.2+1/debian/control   2010-10-18 07:19:32.0 +0200
+++ emacs23-23.2+1/debian/control   2010-10-29 11:36:47.0 +0200
@@ -2,7 +2,7 @@
 Section: editors
 Priority: optional
 Maintainer: Rob Browning 
-Build-Depends: mailx, libncurses5-dev, texinfo, liblockfile-dev, librsvg2-dev,
+Build-Depends: bsd-mailx | mailx, libncurses5-dev, texinfo, liblockfile-dev, 
librsvg2-dev,
  libgif-dev | libungif4-dev, libtiff4-dev | libtiff-dev, xaw3dg-dev,
  libpng12-dev, libjpeg62-dev, libm17n-dev, libotf-dev,
  libgpm-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libdbus-1-dev,
diff -Nru emacs23-23.2+1/debian/control.in emacs23-23.2+1/debian/control.in
--- emacs23-23.2+1/debian/control.in2010-08-14 18:54:18.0 +0200
+++ emacs23-23.2+1/debian/control.in2010-10-29 11:31:38.0 +0200
@@ -2,7 +2,7 @@
 Section: editors
 Priority: optional
 Maintainer: Rob Browning 
-Build-Depends: mailx, libncurses5-dev, texinfo, liblockfile-dev, librsvg2-dev,
+Build-Depends: bsd-mailx | mailx, libncurses5-dev, texinfo, liblockfile-dev, 
librsvg2-dev,
  libgif-dev | libungif4-dev, libtiff4-dev | libtiff-dev, xaw3dg-dev,
  libpng12-dev, libjpeg62-dev, libm17n-dev, libotf-dev,
  libgpm-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libdbus-1-dev,


Processed: Re: Bug#600826: emacs23: FTBFS: E: Package 'mailx' has no installation candidate

2010-10-29 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 600826 + patch
Bug #600826 [src:emacs23] emacs23: FTBFS: E: Package 'mailx' has no 
installation candidate
Added tag(s) patch.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
600826: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600826
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#600826: emacs23: FTBFS: E: Package 'mailx' has no installation candidate

2010-10-20 Thread Cyril Brulebois
Source: emacs23
Version: 23.2+1-5
Severity: serious
Justification: FTBFS

Hi,

you're build-depending on a virtual package, mailx, which isn't blessed
by policy. That's not supported by the buildds (#595934), so depending
on the installed packages in the chroots and on the running version of
sbuild running, your package may be given back again and again.

Mraw,
KiBi.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org