Bug#399178: [Buildd-tools-devel] Bug#399178: noisy warnings: "Unable to locate package..."

Roger Leigh rleigh at whinlatter.ukfsn.org
Mon Feb 5 00:00:51 CET 2007


Martin Michlmayr <tbm at cyrius.com> writes:

> A current example is arpack++_2.2-9 which will give you:
>
> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>> 4.1.0 ), g++ (>> 2.95), libg2c0-dev, refblas3-dev | libblas-3.so, lapack3-dev | lapack-3.so, libarpack2-dev, chrpath
> Checking for already installed source dependencies...
> W: Unable to locate package lapack-3.so

This is from apt-cache:

% apt-cache show lapack-3.so
W: Unable to locate package lapack-3.so
E: No packages found

I can't find a warning suppression option on the command-line or in
the APT configuration options.

While it would be possible to send all stderr output to /dev/null, I
don't feel that this is appropriate, because it will discard all error
reporting when running apt-cache.  One solution I am now looking at is
sending stderr to the package log (rather than the main log) for just
apt-cache invokations.  Errors and warnings will still be logged, but
they will then not get mailed to you separately.  Does that sound OK.

Note to self: Use Perl IPC::Open3 to do the stream redirects.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20070204/8608ff87/attachment.pgp


More information about the Buildd-tools-devel mailing list