Your message dated Mon, 27 Feb 2012 10:03:47 +0000
with message-id <e1s1xqp-0002ee...@franck.debian.org>
and subject line Bug#661336: fixed in linphone 3.5.2-3
has caused the Debian Bug report #661336,
regarding linphone: FTBFS on kfreebsd: linux-only v4l support
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
661336: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661336
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linphone
Version: 3.5.2-2
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

linphone 3.5.x currently fails to build on kFreeBSD.

The problem is that the mediastreamer2 configure detects the Linux
v4l headers (linux/videodev.h and linux/videodev2.h) that newer FreeBSD
kernels provide, but then the v4l code assumes is it a Linux system.
The solution is to disable the v4l1/2 support in any non-Linux OS
(patch non-linux.diff, which also explicitly disables ALSA); although,
to really disable the detection of the videodev*.h headers,
mediastreamer2's configure has to be patched to do the lookup only if
the current OS is linux (patch linux_headers_linux_only.diff).
Please note the latest patch needs autoreconf, which seems to work only
using the provided autogen.sh (and not manually calling autoreconf).

Thanks,
-- 
Pino
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,15 @@
 #!/usr/bin/make -f
+
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+ifneq ($(DEB_HOST_ARCH_OS),linux)
+  CONFIGURE_ARGS += --disable-alsa --disable-libv4l1 --disable-libv4l2
+endif
+
 %:
 	dh $@ --parallel --with autotools_dev
 
 override_dh_auto_configure:
-	dh_auto_configure -- --disable-strict
+	dh_auto_configure -- --disable-strict $(CONFIGURE_ARGS)
 
 override_dh_makeshlibs:
 	dh_makeshlibs -V
--- a/mediastreamer2/configure.ac
+++ b/mediastreamer2/configure.ac
@@ -625,17 +625,25 @@
 AC_SUBST(PACKAGE_DATA_DIR)
 
 dnl check for video4linux headers
-AC_CHECK_HEADERS(linux/videodev.h linux/videodev2.h)
-if test "${ac_cv_header_linux_videodev_h}" = "yes" ; then
-	found_v4l1=yes
-else
+case $host_os in
+linux*)
+	AC_CHECK_HEADERS(linux/videodev.h linux/videodev2.h)
+	if test "${ac_cv_header_linux_videodev_h}" = "yes" ; then
+		found_v4l1=yes
+	else
+		found_v4l1=no
+	fi
+	if test "${ac_cv_header_linux_videodev2_h}" = "yes" ; then
+		found_v4l2=yes
+	else
+		found_v4l2=no
+	fi
+	;;
+*)
 	found_v4l1=no
-fi
-if test "${ac_cv_header_linux_videodev2_h}" = "yes" ; then
-	found_v4l2=yes
-else
 	found_v4l2=no
-fi
+	;;
+esac
 
 AM_CONDITIONAL(BUILD_V4L1, test x$found_v4l1 = xyes )
 AM_CONDITIONAL(BUILD_V4L2, test x$found_v4l2 = xyes )

--- End Message ---
--- Begin Message ---
Source: linphone
Source-Version: 3.5.2-3

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

liblinphone-dev_3.5.2-3_amd64.deb
  to main/l/linphone/liblinphone-dev_3.5.2-3_amd64.deb
liblinphone4_3.5.2-3_amd64.deb
  to main/l/linphone/liblinphone4_3.5.2-3_amd64.deb
libmediastreamer-dev_3.5.2-3_amd64.deb
  to main/l/linphone/libmediastreamer-dev_3.5.2-3_amd64.deb
libmediastreamer1_3.5.2-3_amd64.deb
  to main/l/linphone/libmediastreamer1_3.5.2-3_amd64.deb
libortp-dev_3.5.2-3_amd64.deb
  to main/l/linphone/libortp-dev_3.5.2-3_amd64.deb
libortp8_3.5.2-3_amd64.deb
  to main/l/linphone/libortp8_3.5.2-3_amd64.deb
linphone-common_3.5.2-3_all.deb
  to main/l/linphone/linphone-common_3.5.2-3_all.deb
linphone-dbg_3.5.2-3_amd64.deb
  to main/l/linphone/linphone-dbg_3.5.2-3_amd64.deb
linphone-nox_3.5.2-3_amd64.deb
  to main/l/linphone/linphone-nox_3.5.2-3_amd64.deb
linphone_3.5.2-3.debian.tar.gz
  to main/l/linphone/linphone_3.5.2-3.debian.tar.gz
linphone_3.5.2-3.dsc
  to main/l/linphone/linphone_3.5.2-3.dsc
linphone_3.5.2-3_amd64.deb
  to main/l/linphone/linphone_3.5.2-3_amd64.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 661...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Purcell <m...@debian.org> (supplier of updated linphone 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Mon, 27 Feb 2012 20:48:58 +1100
Source: linphone
Binary: linphone linphone-nox linphone-common liblinphone4 liblinphone-dev 
libmediastreamer1 libmediastreamer-dev libortp8 libortp-dev linphone-dbg
Architecture: source amd64 all
Version: 3.5.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintain...@lists.alioth.debian.org>
Changed-By: Mark Purcell <m...@debian.org>
Description: 
 liblinphone-dev - linphone web phone's library (supporting the SIP protocol)
 liblinphone4 - linphone's shared library part (supporting the SIP protocol)
 libmediastreamer-dev - linphone web phone's media library
 libmediastreamer1 - linphone web phone's media library
 libortp-dev - Real-time Transport Protocol stack
 libortp8   - Real-time Transport Protocol stack
 linphone   - SIP softphone - graphical client
 linphone-common - Shared components of the linphone SIP softphone
 linphone-dbg - Debugging symbols for linphone and its libraries
 linphone-nox - SIP softphone - console-only client
Closes: 661336
Changes: 
 linphone (3.5.2-3) unstable; urgency=low
 .
   * Fix FTBFS on [!linux] - thanks pinotree (Closes: #661336)
     - --disable-{alsa,v4l}[!linux]
     - Build-Depends srtp,asound2,v4l[linux-any]
     - Added linux_headers_linux_only.diff
     - Call autogen.sh (autoreconf)
   * Cleanup obsolete versioned Build-Depends
   * --disable-ssl to avoid unintended linking
   * Drop obsolete debian/README.*
   * source/format 3.0 (quilt)
Checksums-Sha1: 
 c4090b04f278d4985560d1f4372807bd3f64ba48 2346 linphone_3.5.2-3.dsc
 13d3bd63c14ba8bb6c94a28c1fbd008507f9988d 17887 linphone_3.5.2-3.debian.tar.gz
 a90c8d5a45d28615d9671ada33cc779005c1a543 94706 linphone_3.5.2-3_amd64.deb
 9151a48c0523325444053339a317f10ecfec0f27 55156 linphone-nox_3.5.2-3_amd64.deb
 d938c0c97ef447a3d286cf6a1d0e5674e5c927b4 6235848 
linphone-common_3.5.2-3_all.deb
 04e92860a32d862e7fb0844b9d7f7ecdd6a88002 133522 liblinphone4_3.5.2-3_amd64.deb
 dcfc8a3a23b282c4979f43808c9255e347fd9fd3 31292 
liblinphone-dev_3.5.2-3_amd64.deb
 e7adc39c075d4e5551908f9c4f2fb55f1927afc6 168174 
libmediastreamer1_3.5.2-3_amd64.deb
 688d8c3c46339a9df54b17c1f5a371d581130034 45624 
libmediastreamer-dev_3.5.2-3_amd64.deb
 499da55e9046ceb8136ef329312697a1b0e745ce 75810 libortp8_3.5.2-3_amd64.deb
 1d180fec2e04b7bde7725ef458a78715d0ec7243 193056 libortp-dev_3.5.2-3_amd64.deb
 1594cea9e59bf8f2b6e32cb066be8db31a2616d2 972730 linphone-dbg_3.5.2-3_amd64.deb
Checksums-Sha256: 
 71a4872e8489954ae6214291f124aaf55e8faf453cb12b9ec852d5349ea34569 2346 
linphone_3.5.2-3.dsc
 a88e6ea1a6dc6f5347f49ef14db08dc32611070d111f550829625bba30b7516d 17887 
linphone_3.5.2-3.debian.tar.gz
 51b508fa1caf41a8c445eac9e6539767d6c5756cc2de19919f8ca6bf4c0cbec0 94706 
linphone_3.5.2-3_amd64.deb
 8674a5cad5348c19c517fb56935954f0d594976e026ea792b98556dcd8767f4b 55156 
linphone-nox_3.5.2-3_amd64.deb
 1ce2c67ef0d7447fc73d7d9e5c5178bddbde6f67ce3c08aa056abd38e884be0d 6235848 
linphone-common_3.5.2-3_all.deb
 5fe8ca82ce24bad8f2aeb0434e481057725b315e77d219b40a35ffe56b311143 133522 
liblinphone4_3.5.2-3_amd64.deb
 17faff2174d612b6ccb1475bc8755cce12dfb6959d325ce2e122970d321df9f1 31292 
liblinphone-dev_3.5.2-3_amd64.deb
 5076a0f2c096f1be4eed5206541f4e82c196a06a8d3f099c431b3d822d32812f 168174 
libmediastreamer1_3.5.2-3_amd64.deb
 839aa2436665bf5611ff5db24e01bf64daab02d470b3b274b2ccaa5fef748e44 45624 
libmediastreamer-dev_3.5.2-3_amd64.deb
 de68e7bf2a9973681751dd67865c54efa897e77f416a96c113c592f112ae0ef1 75810 
libortp8_3.5.2-3_amd64.deb
 0c4b78c322d56264b6a60995712ea1cacbe15a6ec0fbb390233ca2bab20dddac 193056 
libortp-dev_3.5.2-3_amd64.deb
 2a3eff011892912e3a6cc1d4905d0b3ae0a734f623ab9f8201144c12761e3edc 972730 
linphone-dbg_3.5.2-3_amd64.deb
Files: 
 24e800d54b8f71caf18d2e10772887a7 2346 sound optional linphone_3.5.2-3.dsc
 d4efeb7bbeef9d38af59c38df291546d 17887 sound optional 
linphone_3.5.2-3.debian.tar.gz
 937e4f975d68e8e47c0b63cd28120508 94706 sound optional 
linphone_3.5.2-3_amd64.deb
 32c6f90318f4b5bf2fb8d36985323518 55156 sound optional 
linphone-nox_3.5.2-3_amd64.deb
 c646256e2ada9d358de7b246e235cb4e 6235848 sound optional 
linphone-common_3.5.2-3_all.deb
 f302736e9857375e122278a7faf807df 133522 libs optional 
liblinphone4_3.5.2-3_amd64.deb
 cfd234a00e67144ac6246bad3270da55 31292 libdevel optional 
liblinphone-dev_3.5.2-3_amd64.deb
 cce84e481742e231e4d10935fccff2e4 168174 libs optional 
libmediastreamer1_3.5.2-3_amd64.deb
 1531bc8d658fc99858be8fd76a903a14 45624 libdevel optional 
libmediastreamer-dev_3.5.2-3_amd64.deb
 b29520e71c88b4b058e3111a0c7f0367 75810 libs optional libortp8_3.5.2-3_amd64.deb
 383162bcac152f340287f30d33a34d05 193056 libdevel optional 
libortp-dev_3.5.2-3_amd64.deb
 a379257fd091d21b7fcc3580079f77ed 972730 debug extra 
linphone-dbg_3.5.2-3_amd64.deb

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

iEYEARECAAYFAk9LUoYACgkQoCzanz0IthIHJwCgimZlPa4WKnx8GydzzGi9HDv+
N0cAmQEz8F2COvKY9jXiMmmBZw6CadPA
=ToGx
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to