Debian Bug report logs -
#602880
FTBFS: undefined reference to 'S_ISCHR'
Reported by: Alex Chiang <achiang@canonical.com>
Date: Tue, 9 Nov 2010 04:39:02 UTC
Severity: normal
Tags: patch
Found in version zvbi/0.2.33-2
Fixed in version zvbi/0.2.33-3
Done: Christian Marillat <marillat@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Christian Marillat <marillat@debian.org>:
Bug#602880; Package src:zvbi.
(Tue, 09 Nov 2010 04:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Alex Chiang <achiang@canonical.com>:
New Bug report received and forwarded. Copy sent to Christian Marillat <marillat@debian.org>.
(Tue, 09 Nov 2010 04:39:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: zvbi
Version: 0.2.33-2
Tags: patch
zvbi references S_ISCHR in several source files, but they do not
#include <sys/stat.h>. This is not a significant issue at the
moment, but with the Wheezy toolchain will cause a FTBFS.
Below patch fixes the issue. Note that upstream bug has already
been filed and patch submitted.
---
Description:
Fix FTBFS due to lack of #include <sys/stat.h>. Without these #includes,
we get a link time failure due to undefined S_ISCHR.
Author: Alex Chiang <achiang@canonical.com>
Bug: https://sourceforge.net/tracker/?func=detail&aid=3105671&group_id=2599&atid=102599
--- zvbi-0.2.33.orig/src/io-dvb.c
+++ zvbi-0.2.33/src/io-dvb.c
@@ -29,6 +29,8 @@
#include <errno.h>
#include <sys/select.h>
#include <sys/ioctl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#ifndef HAVE_S64_U64
/* Linux 2.6.x asm/types.h defines __s64 and __u64 only
--- zvbi-0.2.33.orig/src/io-v4l.c
+++ zvbi-0.2.33/src/io-v4l.c
@@ -42,6 +42,7 @@ static const char rcsid [] =
#include <assert.h>
#include <sys/time.h> /* timeval */
#include <sys/types.h> /* fd_set, uid_t */
+#include <sys/stat.h> /* S_ISCHR */
#include <sys/ioctl.h> /* for (_)videodev.h */
#include <pthread.h>
--- zvbi-0.2.33.orig/contrib/ntsc-cc.c
+++ zvbi-0.2.33/contrib/ntsc-cc.c
@@ -34,6 +34,7 @@
#include <locale.h>
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <sys/stat.h>
#include <sys/time.h>
#ifdef HAVE_GETOPT_LONG
# include <getopt.h>
Reply sent
to Christian Marillat <marillat@debian.org>:
You have taken responsibility.
(Tue, 09 Nov 2010 08:39:08 GMT) (full text, mbox, link).
Notification sent
to Alex Chiang <achiang@canonical.com>:
Bug acknowledged by developer.
(Tue, 09 Nov 2010 08:39:08 GMT) (full text, mbox, link).
Message #10 received at 602880-close@bugs.debian.org (full text, mbox, reply):
Source: zvbi
Source-Version: 0.2.33-3
We believe that the bug you reported is fixed in the latest version of
zvbi, which is due to be installed in the Debian FTP archive:
libzvbi-common_0.2.33-3_all.deb
to main/z/zvbi/libzvbi-common_0.2.33-3_all.deb
libzvbi-dev_0.2.33-3_i386.deb
to main/z/zvbi/libzvbi-dev_0.2.33-3_i386.deb
libzvbi-doc_0.2.33-3_all.deb
to main/z/zvbi/libzvbi-doc_0.2.33-3_all.deb
libzvbi0_0.2.33-3_i386.deb
to main/z/zvbi/libzvbi0_0.2.33-3_i386.deb
zvbi_0.2.33-3.debian.tar.gz
to main/z/zvbi/zvbi_0.2.33-3.debian.tar.gz
zvbi_0.2.33-3.dsc
to main/z/zvbi/zvbi_0.2.33-3.dsc
zvbi_0.2.33-3_i386.deb
to main/z/zvbi/zvbi_0.2.33-3_i386.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 602880@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christian Marillat <marillat@debian.org> (supplier of updated zvbi 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.8
Date: Tue, 09 Nov 2010 09:21:04 +0100
Source: zvbi
Binary: libzvbi0 libzvbi-dev libzvbi-common libzvbi-doc zvbi
Architecture: source all i386
Version: 0.2.33-3
Distribution: unstable
Urgency: low
Maintainer: Christian Marillat <marillat@debian.org>
Changed-By: Christian Marillat <marillat@debian.org>
Description:
libzvbi-common - Vertical Blanking Interval decoder (VBI) - common files
libzvbi-dev - Vertical Blanking Interval decoder (VBI) - development files
libzvbi-doc - Vertical Blanking Interval decoder (VBI) - documentation files
libzvbi0 - Vertical Blanking Interval decoder (VBI) - runtime files
zvbi - Vertical Blanking Interval (VBI) utilities
Closes: 533781 602880
Changes:
zvbi (0.2.33-3) unstable; urgency=low
.
* Update config.sub and config.guess for avr32 arch (Closes: #533781).
* Add missing sys/stat.h include (Closes: #602880).
Checksums-Sha1:
a6e9d01a2331ea76e7a4d89859b9fb77de7cb3a9 1128 zvbi_0.2.33-3.dsc
7cd10ecaa2d02b55f3fafb5e70985d27aa00e140 29173 zvbi_0.2.33-3.debian.tar.gz
41f0b52e7a3cc449aa45e1cc0aadae441d220f8e 63838 libzvbi-common_0.2.33-3_all.deb
12948bbbcea5abcbd504ca2d1ca8c4094554ca99 195020 libzvbi-doc_0.2.33-3_all.deb
bc6eeb269df9513f1314260c0e03f1e4c48667b6 282546 libzvbi0_0.2.33-3_i386.deb
8d9ae2b7f5574b3f9aea2de7bdd49aa9d811eab1 298836 libzvbi-dev_0.2.33-3_i386.deb
4274e2b91c1a4911094beebf54d09afbe03fee90 224664 zvbi_0.2.33-3_i386.deb
Checksums-Sha256:
31ff19f58cabda029824beb269ed584d1358cce9650097030e8e32ef23b8874e 1128 zvbi_0.2.33-3.dsc
3ba04066a9d5c4c6e86d3557b2c737920b73f29b1f5645785b5a1c771f7f3ab0 29173 zvbi_0.2.33-3.debian.tar.gz
f0c43e22ae31859d98979f981d55fd930adcc0a6d729869a317fc316aaa46408 63838 libzvbi-common_0.2.33-3_all.deb
5b0c416857857c41b19f6f64e03bd93ffd612545d85e7d872620b6e058ac2147 195020 libzvbi-doc_0.2.33-3_all.deb
3a42e914055e631447d3c915c9fcea36c40865aae7d4f7f08689b4bc42f7d570 282546 libzvbi0_0.2.33-3_i386.deb
fe192c76b051cac83a022c0d7b2b4c13880aae816fac298d367e610a6c5be0d7 298836 libzvbi-dev_0.2.33-3_i386.deb
a3da43ee72005b1a6fb9d189865b8f28b90a5e05c6fddb1d8f9d07647605087c 224664 zvbi_0.2.33-3_i386.deb
Files:
85f6847eff7a81030d0175ce9b998092 1128 devel optional zvbi_0.2.33-3.dsc
39b3c1ddccb384778958835d205ddeff 29173 devel optional zvbi_0.2.33-3.debian.tar.gz
e1418a21559bacad865101935054e78f 63838 libs optional libzvbi-common_0.2.33-3_all.deb
3de3d2b4ac3c5dea5e1e79ecd8dffdce 195020 doc optional libzvbi-doc_0.2.33-3_all.deb
513d7ccdf06f66bfb287da7074e959e6 282546 libs optional libzvbi0_0.2.33-3_i386.deb
9c6fd23997060de863df368b5844500b 298836 libdevel optional libzvbi-dev_0.2.33-3_i386.deb
7a90f06176724f1803a8fc1dbc2990d3 224664 utils optional zvbi_0.2.33-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFM2QXBB9xWPR9BuQcRAj2sAKCCilObjp9E3y4iS2oNQwfnzwKz9ACdE4q5
1YHzRPWSeRab5pnClcbQ1zQ=
=CRhl
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 08 Dec 2010 07:34:57 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Jan 8 01:40:54 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.