Bug#262744: marked as done (vdr: FTBFS with gcc-3.4: there are no arguments to `First' that depend on a template parameter, so a declaration of `First' must be available)

Debian Bug Tracking System pkg-vdr-dvb-devel@lists.alioth.debian.org
Mon, 09 Aug 2004 09:03:21 -0700


Your message dated Mon, 09 Aug 2004 11:47:05 -0400
with message-id <E1BuCMb-0002hR-00@newraff.debian.org>
and subject line Bug#262744: fixed in vdr 1.2.6-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Aug 2004 19:39:07 +0000
>From aj@andaco.de Sun Aug 01 12:39:07 2004
Return-path: <aj@andaco.de>
Received: from c204006.adsl.hansenet.de (localhost) [213.39.204.6] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BrMAk-0001ep-00; Sun, 01 Aug 2004 12:39:07 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1BrMAj-00049d-Hq; Sun, 01 Aug 2004 21:39:05 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: vdr: FTBFS with gcc-3.4: there are no arguments to `First' that depend on a template parameter, so a declaration of `First' must be available
Message-Id: <E1BrMAj-00049d-Hq@localhost>
Date: Sun, 01 Aug 2004 21:39:05 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: vdr
Severity: normal
Tags: patch

When building 'vdr' with gcc-3.4 I get the following error:

g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_ -DCMD_SUBMENUS -D_GNU_SOURCE -DVIDEODIR=\"/var/lib/video\" -DCFGDIR=\"/var/lib/vdr\" -DPLUGINDIR=\"/usr/lib/vdr/plugins\" -DVFAT -I/usr/include/include channels.c
In file included from channels.h:13,
                 from channels.c:10:
config.h: In member function `bool cConfig<T>::Save()':
config.h:154: error: there are no arguments to `First' that depend on a template parameter, so a declaration of `First' must be available
config.h:154: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[1]: *** [channels.o] Error 1
make[1]: Leaving directory `/vdr-1.2.6'
make: *** [build-stamp] Error 2

With the attached patch 'vdr' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/vdr-1.2.6/config.h ./config.h
--- ../tmp-orig/vdr-1.2.6/config.h	2003-11-14 14:29:13.000000000 +0100
+++ ./config.h	2004-08-01 20:46:39.369861664 +0200
@@ -137,7 +137,7 @@
   bool Save(void)
   {
     bool result = true;
-    T *l = (T *)First();
+    T *l = (T *)this->First();
     cSafeFile f(fileName);
     if (f.Open()) {
        while (l) {
diff -urN ../tmp-orig/vdr-1.2.6/plugin.c ./plugin.c
--- ../tmp-orig/vdr-1.2.6/plugin.c	2003-08-30 16:52:58.000000000 +0200
+++ ./plugin.c	2004-08-01 20:45:53.008831825 +0200
@@ -162,7 +162,7 @@
   const char *error = dlerror();
   if (!error) {
      void *(*creator)(void);
-     (void *)creator = dlsym(handle, "VDRPluginCreator");
+     creator = (void*(*)())dlsym(handle, "VDRPluginCreator");
      if (!(error = dlerror()))
         plugin = (cPlugin *)creator();
      }

---------------------------------------
Received: (at 262744-close) by bugs.debian.org; 9 Aug 2004 15:53:03 +0000
>From katie@ftp-master.debian.org Mon Aug 09 08:53:03 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BuCSM-0003vQ-00; Mon, 09 Aug 2004 08:53:03 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BuCMb-0002hR-00; Mon, 09 Aug 2004 11:47:05 -0400
From: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
To: 262744-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#262744: fixed in vdr 1.2.6-5
Message-Id: <E1BuCMb-0002hR-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 09 Aug 2004 11:47:05 -0400
Delivered-To: 262744-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: vdr
Source-Version: 1.2.6-5

We believe that the bug you reported is fixed in the latest version of
vdr, which is due to be installed in the Debian FTP archive:

vdr-daemon_1.2.6-5_i386.deb
  to pool/main/v/vdr/vdr-daemon_1.2.6-5_i386.deb
vdr-dev_1.2.6-5_all.deb
  to pool/main/v/vdr/vdr-dev_1.2.6-5_all.deb
vdr-kbd_1.2.6-5_i386.deb
  to pool/main/v/vdr/vdr-kbd_1.2.6-5_i386.deb
vdr-lirc_1.2.6-5_i386.deb
  to pool/main/v/vdr/vdr-lirc_1.2.6-5_i386.deb
vdr-plugin-examples_1.2.6-5_i386.deb
  to pool/main/v/vdr/vdr-plugin-examples_1.2.6-5_i386.deb
vdr-plugin-sky_1.2.6-5_i386.deb
  to pool/main/v/vdr/vdr-plugin-sky_1.2.6-5_i386.deb
vdr-rcu_1.2.6-5_i386.deb
  to pool/main/v/vdr/vdr-rcu_1.2.6-5_i386.deb
vdr_1.2.6-5.diff.gz
  to pool/main/v/vdr/vdr_1.2.6-5.diff.gz
vdr_1.2.6-5.dsc
  to pool/main/v/vdr/vdr_1.2.6-5.dsc
vdr_1.2.6-5_all.deb
  to pool/main/v/vdr/vdr_1.2.6-5_all.deb



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 262744@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> (supplier of updated vdr 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 08 Aug 2004 19:48:33 +0200
Source: vdr
Binary: vdr-kbd vdr-plugin-sky vdr-lirc vdr-daemon vdr-rcu vdr vdr-dev vdr-plugin-examples
Architecture: source i386 all
Version: 1.2.6-5
Distribution: unstable
Urgency: low
Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
Changed-By: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
Description: 
 vdr        - Video Disk Recorder for DVB cards
 vdr-daemon - Server version of Video Disk Recorder for DVB cards
 vdr-dev    - Video Disk Recorder for DVB cards
 vdr-kbd    - Video Disk Recorder for DVB cards with keyboard control
 vdr-lirc   - Video Disk Recorder for DVB cards with IR remote control
 vdr-plugin-examples - Plugins for vdr to show some possible features
 vdr-plugin-sky - Plugin for using a Sky Digibox with vdr
 vdr-rcu    - Video Disk Recorder for DVB cards with RCU control
Closes: 258412 258615 262744 264071
Changes: 
 vdr (1.2.6-5) unstable; urgency=low
 .
   * Tobias Grimm <tg@e-tobi.net>
     - fixed Bug in vdr-shutdown script - osd messages have to be send detached
     - added patchlevel check in vdr.init - only plugins that have been compiled
       with the same patch levels will be loaded, to avoid conflicts due to
       binary incompatibility.
     - removed dh_shlibdeps and $shlibs:Depends from binary independent target
     - extracted common patch code from dpatch files
     - added patchlevel generation
     - added patchlevel checking when loading plugins - it's enabled in
       /etc/default by setting PLUGIN_CHECK_PATCHLEVEL="yes"
     - added ElchiAio4d as optional patch (see README.Debian)
     - added ttxtsubs-patch as optional patch
     - added 8-bit-color-patch as optional patch
     - added osdpip-patch as optional patch
     - added jumpplay-patch as optional patch
     - an entry in the (commands|reccmds).order.conf can now be disabled by
       prepending a "-", just like this is done in the plugins.order.conf too
   * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
     - It is not possible anymore to start more than one instance of vdr
       with the init-script
     - Changed runvdr-script as suggested by Nikolaus Regnat (Closes: #258412)
     - Fix spelling error in vdr.postinst (Closes: #258615)
     - Changed Maintainer to Debian VDR and DVB Packaging team
       <pkg-vdr-dvb-devel@lists.alioth.debian.org>
     - List Andreas Mueller <amu@tr.debian.net> as Uploader
     - Added patch from Andreas Jochens <aj@andaco.de> to fix FTBFS with
       gcc 3.4 (Closes: #262744)
     - Changed $PLUGIN_CFG_DIR in /etc/default/vdr, to /etc/vdr/plugins
       (Closes: #264071)
     - Changed package-description of vdr-plugin-examples a little bit
Files: 
 b1ee305d56d25b67cf70fca9ebf0f56e 868 misc extra vdr_1.2.6-5.dsc
 dd31da43593d32cb59bd2acf4d8b215d 123287 misc extra vdr_1.2.6-5.diff.gz
 eeeae22cc574c689f1732f1abe5629dc 154842 misc extra vdr_1.2.6-5_all.deb
 e48acc53aaa46b0a8b16936c66cd0298 125432 misc extra vdr-dev_1.2.6-5_all.deb
 b40cb9b884a54c8bc01c1e7f9562fdcc 272948 misc extra vdr-kbd_1.2.6-5_i386.deb
 c07e17c30316e5ede76e06031d5522a4 272964 misc extra vdr-lirc_1.2.6-5_i386.deb
 8853da0907846ad030b13e792746e171 272990 misc extra vdr-rcu_1.2.6-5_i386.deb
 99e229420212689d273ef98e10293215 272918 misc extra vdr-daemon_1.2.6-5_i386.deb
 490ca9a8e886c2257f164e1546d9eef7 16242 misc extra vdr-plugin-sky_1.2.6-5_i386.deb
 8903da471f0e48958bdf9aae23e8bdc0 12210 misc extra vdr-plugin-examples_1.2.6-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBF5u3geVih7XOVJcRAohRAJ0Tj+u04NWXCBSFyG9y7r3ETdu1wQCgkwo9
QrlQQ//CwQRvqsPYrPSE0Jw=
=9DLK
-----END PGP SIGNATURE-----