Package: ocrad
Version: 0.11-1
Severity: normal
Tags: patch

When building 'ocrad' on ppc64/unstable with gcc-4.0,
I get the following error:

Building ocrad unstable main ppc64...
Reading Package Lists...
Building Dependency Tree...
E: Build-Depends dependency for ocrad cannot be satisfied because no available 
versions of package libstdc++5 can satisfy version requirements


This is caused by some unnecessary Build-Depends:

gcc-3.3 (>= 1 ), 
libacl1 (>= 2.2.26-1 ), 
libattr1 (>= 2.4.18-1 ), 
libc6 (>= 2.3.2.ds1-18 ), 
libc6-dev (>= 2.3.2.ds1-18 ), 
libgcc1 (>= 1 ), 
libncurses5 (>= 5.4-4 ), 
libstdc++5 (>= 1 ), 
libstdc++5-3.3-dev (>= 1 )

Please remove those Build-Depends from debian/control. They are not
necessary. Especially gcc, libc6 and libstdc++ should not be specified
explicitly because they are automatically provided by the 'build-essential'
environment.

With the attached patch 'ocrad' can be compiled
on ppc64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/ocrad-0.11/debian/control ./debian/control
--- ../tmp-orig/ocrad-0.11/debian/control       2005-04-12 08:04:05.797156132 
+0200
+++ ./debian/control    2005-04-12 08:03:49.479518823 +0200
@@ -2,7 +2,7 @@
 Section: graphics
 Priority: optional
 Maintainer: Miguel Gea Milvaques <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), gcc-3.3 (>= 1 ), libacl1 (>= 2.2.26-1 ), 
libattr1 (>= 2.4.18-1 ), libc6 (>= 2.3.2.ds1-18 ), libc6-dev (>= 2.3.2.ds1-18 
), libgcc1 (>= 1 ), libncurses5 (>= 5.4-4 ), libstdc++5 (>= 1 ), 
libstdc++5-3.3-dev (>= 1 )
+Build-Depends: debhelper
 Standards-Version: 3.6.1.1
 
 Package: ocrad


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to