Bug#269893: marked as done (dvb-driver does not compile due to wrong Makefile)

Debian Bug Tracking System pkg-vdr-dvb-devel@lists.alioth.debian.org
Mon, 06 Sep 2004 03:18:26 -0700

Your message dated Mon, 06 Sep 2004 06:02:04 -0400
with message-id <E1C4GK4-0002s8-00@newraff.debian.org>
and subject line Bug#269893: fixed in linuxtv-dvb 1.1.1-3
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; 4 Sep 2004 07:32:20 +0000
>From nregnat@gmx.de Sat Sep 04 00:32:20 2004
Return-path: <nregnat@gmx.de>
Received: from pop.gmx.net (mail.gmx.net) [] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1C3V24-0005pH-00; Sat, 04 Sep 2004 00:32:20 -0700
Received: (qmail 18227 invoked by uid 65534); 4 Sep 2004 07:31:48 -0000
Received: from p5091C477.dip0.t-ipconnect.de (EHLO []) (
  by mail.gmx.net (mp003) with SMTP; 04 Sep 2004 09:31:48 +0200
X-Authenticated: #1079037
From: Regnat Nikolaus <nregnat@gmx.de>
Reply-To: nregnat@gmx.de
To: submit@bugs.debian.org
Subject: dvb-driver does not compile due to wrong Makefile
Date: Sat, 4 Sep 2004 09:31:38 +0200
User-Agent: KMail/1.7
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200409040931.38258.nregnat@gmx.de>
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

Package: dvb-driver-source
Version: 1.1.1-2
Severity: Important

Trying to build the dvb-driver-source for my custom kernel did not work. 
make-kpkg modules_image told:

cd build-2.4 && [ -L saa7146_video.c ] || ./getlinks
cat: CVS/Root: No such file or directory
make[2]: Entering directory `/usr/src/modules/dvb-driver'
/usr/bin/make -C /usr/src/modules/dvb-driver/build-2.4
make[3]: Entering directory `/usr/src/modules/dvb-driver/build-2.4'
cc -D__KERNEL__ -I/home/regnat/kernel/epia/linux-2.4.26include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE 
-include /home/regnat/kernel/epia/linux-2.4.26include/linux/modversions.h -MD 
-I ../linux/include -I ./include -I. -DCONFIG_DVB_AV7110_OSD -nostdinc 
-iwithprefix include -DEXPORT_SYMTAB -c video-buf.c
line>:138473950:61984: /home/regnat/kernel/epia/linux-2.4.26include/linux/modversions.h: 
No such file or directory
video-buf.c:19:24: linux/init.h: No such file or directory
video-buf.c:20:26: linux/module.h: No such file or directory
video-buf.c:21:27: linux/vmalloc.h: No such file or directory

Seeing the line 
-include /home/regnat/kernel/epia/linux-2.4.26include/linux/modversions.h
showed me there's a problem (missing slash /)

Therefore I added the / after both (KSRC) statements (within 

export KCFLAGS= -D__KERNEL__ -I$(KSRC)/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
-pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS 
-include $(KSRC)/include/linux/modversions.h -MD -I ../linux/include 
-I ./include -I. -DCONFIG_DVB_AV7110_OSD -nostdinc -iwithprefix include 

After that everything worked as expected, the module compiled fine.

Received: (at 269893-close) by bugs.debian.org; 6 Sep 2004 10:11:28 +0000
>From katie@ftp-master.debian.org Mon Sep 06 03:11:28 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C4GTA-0002ps-00; Mon, 06 Sep 2004 03:11:28 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1C4GK4-0002s8-00; Mon, 06 Sep 2004 06:02:04 -0400
From: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
To: 269893-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#269893: fixed in linuxtv-dvb 1.1.1-3
Message-Id: <E1C4GK4-0002s8-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 06 Sep 2004 06:02:04 -0400
Delivered-To: 269893-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

Source: linuxtv-dvb
Source-Version: 1.1.1-3

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

  to pool/main/l/linuxtv-dvb/dvb-dev_1.1.1-3_all.deb
  to pool/main/l/linuxtv-dvb/dvb-driver-source_1.1.1-3_all.deb
  to pool/main/l/linuxtv-dvb/linuxtv-dvb_1.1.1-3.diff.gz
  to pool/main/l/linuxtv-dvb/linuxtv-dvb_1.1.1-3.dsc

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 269893@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

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

Hash: SHA1

Format: 1.7
Date: Sat,  4 Sep 2004 13:52:20 +0200
Source: linuxtv-dvb
Binary: dvb-dev dvb-driver-source
Architecture: source all
Version: 1.1.1-3
Distribution: unstable
Urgency: high
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>
 dvb-dev    - Dummy package for upgrade purposes only
 dvb-driver-source - sources for drivers for the Fujitsu Siemens DVB card
Closes: 269893
 linuxtv-dvb (1.1.1-3) unstable; urgency=high
   * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
     - Change 10_Makefile_fix.dpatch to use the correct include-path,
       when using a KSRC-variable without a trailing / (closes: #269893)
 2f9dc10db70fe145de041d07e2db8687 741 misc extra linuxtv-dvb_1.1.1-3.dsc
 f32cc677fb5c890dd1a1deca2b3cd88e 9672 misc extra linuxtv-dvb_1.1.1-3.diff.gz
 e34ae859afc0b8c14b92d10b37e7ab5e 5306 devel extra dvb-dev_1.1.1-3_all.deb
 758d5a3b78290528858ae5a9beb7b0b8 287070 misc extra dvb-driver-source_1.1.1-3_all.deb

Version: GnuPG v1.2.4 (GNU/Linux)