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
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
severity: serious
version: 3.5.2-2
tags: patch
x-debbugs-cc: debian-...@lists.debian.org

checking for alloca... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
checking for linux/videodev2.h... yes
checking for LIBV4L2... no
No libv4l2 found.
checking for LIBV4L1... no
No libv4l1 found.
configure: error:
Missing libv4l2. It is highly recommended to build with
libv4l2 headers and library. Many camera will won't work or will crash
your application if libv4l2 is not installed.
If you know what you are doing, you can use --disable-libv4l2 to disable
this check.

I tried installing libv4l-dev but then the build failed with

 OBJCLD mediastream
../src/.libs/libmediastreamer.so: undefined reference to `v4l_desc'
../src/.libs/libmediastreamer.so: undefined reference to `ms_v4l_desc'
collect2: ld returned 1 exit status
make[5]: *** [mediastream] Error 1
make[5]: Leaving directory `/root/linphone-3.5.2/mediastreamer2/tests'

So I went back and looked at the last successful build log for linphone on kfreebsd and saw

checking for alloca... yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
checking linux/videodev2.h usability... no
checking linux/videodev2.h presence... no
checking for linux/videodev2.h... no
checking for LIBV4L2... no
No libv4l2 found.
checking for LIBV4L1... no
No libv4l1 found.
checking for doxygen... /usr/bin/doxygen

I then tried building with --disable-libv4l2 but the package still failed to build with link errors, it seems there is some support in linphone for building directly against v4l without using libv4l2.

To sumarise the situation it seems that kfreebsd now has a version of v4l but linphone doesn't build with it.

I see two courses of action

1: Build with --disable-video on kfreebsd. Afaict this will restore things to the way they were before kfreebsd added v4l support (i'm not a linphone expert though, maybe there is some form of other video support that doesn't rely on v4l, if so please tell us if it's possible to disable just v4l).
2: Fix linphone to work with kfreebsd's variant of v4l.

I've attatched a patch that does the former, ccing debian-bsd to see if anyone is interested in working on the latter.

* It seems that even with --disable-libv4l2 on the command line the package tries to use it anyway if it's present :(
Only in linphone-3.5.2: config.h
diff -ur linphone-3.5.2/debian/rules linphone-3.5.2.new/debian/rules
--- linphone-3.5.2/debian/rules	2012-02-26 14:19:04.000000000 +0000
+++ linphone-3.5.2.new/debian/rules	2012-02-26 14:08:55.000000000 +0000
@@ -2,8 +2,16 @@
 %:
 	dh $@ --parallel --with autotools_dev
 
+DEB_HOST_ARCH_OS ?=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+CONFARGS := --disable-strict
+
+ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
+  CONFARGS += --disable-video
+endif
+
 override_dh_auto_configure:
-	dh_auto_configure -- --disable-strict
+	dh_auto_configure -- $(CONFARGS)
 
 override_dh_makeshlibs:
 	dh_makeshlibs -V
Only in linphone-3.5.2: linphone.spec
Only in linphone-3.5.2/mediastreamer2: mediastreamer2.spec
Only in linphone-3.5.2/mediastreamer2/src: gitversion.h
Only in linphone-3.5.2.new/oRTP: doc
Only in linphone-3.5.2/oRTP: ortp.doxygen
Only in linphone-3.5.2/oRTP: ortp.spec

--- 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