Bug#315233: pwlib: FTBFS: Failed to satisfy Build-Depends dependency for pwlib: libdc1394-11-dev

Andreas Jochens Andreas Jochens <aj@andaco.de>, 315233@bugs.debian.org
Tue, 21 Jun 2005 12:03:53 +0200


Package: pwlib
Version: 1.8.4-1
Severity: serious
Tags: patch

When building 'pwlib' in a clean unstable chroot,
I get the following error:

Reading Package Lists...
Building Dependency Tree...
E: Package libdc1394-11-dev has no installation candidate
E: Failed to satisfy Build-Depends dependency for pwlib: libdc1394-11-dev
Package libdc1394-11-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

The attached patch upgrades the Build-Depends to libdc1394-13-dev.

The patch also fixes compilation problems with gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/pwlib-1.8.4/debian/control ./debian/control
--- ../tmp-orig/pwlib-1.8.4/debian/control	2005-06-21 11:15:18.000000000 +0200
+++ ./debian/control	2005-06-17 16:54:52.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
 Uploaders: Kilian Krause <kk@verfaction.de>, Jose Carlos Garcia Sogo <jsogo@debian.org>, Mark Purcell <msp@debian.org>, Santiago Garcia Mantinan <manty@debian.org>
-Build-Depends: debhelper (>=4.0.2), bison, flex, libssl-dev, libldap2-dev, libsdl1.2-dev, libexpat1-dev, g++ (>=2.95), autotools-dev, dpatch (>=1.11), libasound2-dev, libavc1394-dev, libraw1394-dev, libdv-dev, libdc1394-11-dev, libsasl2-dev, libkrb5-dev, doxygen, linux-kernel-headers
+Build-Depends: debhelper (>=4.0.2), bison, flex, libssl-dev, libldap2-dev, libsdl1.2-dev, libexpat1-dev, g++ (>=2.95), autotools-dev, dpatch (>=1.11), libasound2-dev, libavc1394-dev, libraw1394-dev, libdv-dev, libdc1394-13-dev, libsasl2-dev, libkrb5-dev, doxygen, linux-kernel-headers
 Build-Depends-Indep: doxygen
 Build-Conflicts: libpt-1.8.3
 Standards-Version: 3.6.1
diff -urN ../tmp-orig/pwlib-1.8.4/include/ptlib/pprocess.h ./include/ptlib/pprocess.h
--- ../tmp-orig/pwlib-1.8.4/include/ptlib/pprocess.h	2004-06-30 14:17:04.000000000 +0200
+++ ./include/ptlib/pprocess.h	2005-06-21 11:09:41.000000000 +0200
@@ -249,6 +249,7 @@
 #include <ptlib/syncpoint.h>
 #include <ptlib/pfactory.h>
 
+class PHouseKeepingThread;
 
 /**Create a process.
    This macro is used to create the components necessary for a user PWLib
@@ -752,10 +753,10 @@
 
     PArgList arguments;
     // The list of arguments
-
+  public:
     PTimerList timers;
     // List of active timers in system
-
+  private:
     PTime programStartTime;
     // time at which process was intantiated, i.e. started
 
diff -urN ../tmp-orig/pwlib-1.8.4/include/ptlib/timer.h ./include/ptlib/timer.h
--- ../tmp-orig/pwlib-1.8.4/include/ptlib/timer.h	2003-09-17 11:01:00.000000000 +0200
+++ ./include/ptlib/timer.h	2005-06-17 16:51:05.000000000 +0200
@@ -123,6 +123,7 @@
 #endif
 
 class PThread;
+class PTimerList;
 
 #include <ptlib/notifier.h>
 
diff -urN ../tmp-orig/pwlib-1.8.4/include/ptlib/unix/ptlib/pprocess.h ./include/ptlib/unix/ptlib/pprocess.h
--- ../tmp-orig/pwlib-1.8.4/include/ptlib/unix/ptlib/pprocess.h	2004-05-23 23:11:39.000000000 +0200
+++ ./include/ptlib/unix/ptlib/pprocess.h	2005-06-21 11:10:19.000000000 +0200
@@ -171,6 +171,7 @@
     PDICTIONARY(ThreadDict, POrdinalKey, PThread);
     ThreadDict activeThreads;
     PMutex     threadMutex;
+  public:
     int        timerChangePipe[2];
     PHouseKeepingThread * housekeepingThread;