Your message dated Tue, 28 Feb 2012 12:18:41 +0000
with message-id <e1s2m0v-0001fn...@franck.debian.org>
and subject line Bug#661336: fixed in linphone 3.5.2-6
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-6

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-6_amd64.deb
  to main/l/linphone/liblinphone-dev_3.5.2-6_amd64.deb
liblinphone4_3.5.2-6_amd64.deb
  to main/l/linphone/liblinphone4_3.5.2-6_amd64.deb
libmediastreamer-dev_3.5.2-6_amd64.deb
  to main/l/linphone/libmediastreamer-dev_3.5.2-6_amd64.deb
libmediastreamer1_3.5.2-6_amd64.deb
  to main/l/linphone/libmediastreamer1_3.5.2-6_amd64.deb
libortp-dev_3.5.2-6_amd64.deb
  to main/l/linphone/libortp-dev_3.5.2-6_amd64.deb
libortp8_3.5.2-6_amd64.deb
  to main/l/linphone/libortp8_3.5.2-6_amd64.deb
linphone-common_3.5.2-6_all.deb
  to main/l/linphone/linphone-common_3.5.2-6_all.deb
linphone-dbg_3.5.2-6_amd64.deb
  to main/l/linphone/linphone-dbg_3.5.2-6_amd64.deb
linphone-nox_3.5.2-6_amd64.deb
  to main/l/linphone/linphone-nox_3.5.2-6_amd64.deb
linphone_3.5.2-6.debian.tar.gz
  to main/l/linphone/linphone_3.5.2-6.debian.tar.gz
linphone_3.5.2-6.dsc
  to main/l/linphone/linphone_3.5.2-6.dsc
linphone_3.5.2-6_amd64.deb
  to main/l/linphone/linphone_3.5.2-6_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: Tue, 28 Feb 2012 22:59:05 +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-6
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-6) unstable; urgency=low
 .
   * [!linux] --disable-video (Closes: #661336)
   * Build-Depends: libsrtp-dev [linux-any !sparc] - see Bug 628583
Checksums-Sha1: 
 77fad23801e87264c96a631cfa74e77afec916a5 2338 linphone_3.5.2-6.dsc
 299c29715610573aabf5170fd75ff6295196285d 14065 linphone_3.5.2-6.debian.tar.gz
 b57e8bdd552739aa7ba72793bc6e1a754b195ff9 94824 linphone_3.5.2-6_amd64.deb
 15609f723ea541f3b163c3ec2a5c8638e7326cec 55258 linphone-nox_3.5.2-6_amd64.deb
 401f58655881042e984ecb557fb818163a5bd7a4 6235938 
linphone-common_3.5.2-6_all.deb
 eaa1dc56e8d7e57d23b4a4c2a5085ac8ea2a11e9 133668 liblinphone4_3.5.2-6_amd64.deb
 c136f68af1b0e94599330381f5e41dbcd8b59100 31396 
liblinphone-dev_3.5.2-6_amd64.deb
 691b2bec6a314282defb24bba293b149148d8468 168304 
libmediastreamer1_3.5.2-6_amd64.deb
 e1894f4ed03c39a44f9d535487afc4518343f5b8 45736 
libmediastreamer-dev_3.5.2-6_amd64.deb
 f9e6f6581dc73a86e61217f51fa57fcf2bfef396 75896 libortp8_3.5.2-6_amd64.deb
 14a119030c097149ffe866f339504ba3141d5167 193202 libortp-dev_3.5.2-6_amd64.deb
 3cfb179b7c9a4b481a93c876795d437d4bdd2a24 972854 linphone-dbg_3.5.2-6_amd64.deb
Checksums-Sha256: 
 04c75fe37f7f9f49dad7861f5cb131f7f1628d49873a371f8ec88b558e7ce5aa 2338 
linphone_3.5.2-6.dsc
 392875b3766bd4ba98eddc9ff9c136fff322397516d044ec46adede5c937908a 14065 
linphone_3.5.2-6.debian.tar.gz
 d733af2cd8f9fe437562ee82af633704f7d8edcb71fca1f07b752028f6ff016f 94824 
linphone_3.5.2-6_amd64.deb
 191824a9121eb3edeedbd9b6e14f624db7f68aea05343c6ffba6f5c746a9fcaa 55258 
linphone-nox_3.5.2-6_amd64.deb
 d26f8a47320751be58e597cd9b5cd280c35c489ac9d3c87d39b050c0e9c5eea7 6235938 
linphone-common_3.5.2-6_all.deb
 f82a4c10e4732bef648e97883e0148184908a7052b43cb74dc34a27c2860deb3 133668 
liblinphone4_3.5.2-6_amd64.deb
 87da760cc16401af1f0f3e627edbe8b61f45469f8987385210602f1558c8357e 31396 
liblinphone-dev_3.5.2-6_amd64.deb
 5770de6d4d963e9f67dc7b1a16d04a3cc463e207a9e97dcbd397c115b6cf10a8 168304 
libmediastreamer1_3.5.2-6_amd64.deb
 cf62bf51a8be02a6c21b7df495a5c5bbdaae955a7d329f1c2f1605d7ead0fbc6 45736 
libmediastreamer-dev_3.5.2-6_amd64.deb
 2cfca195322535eb451ed34970881d7bf7abc719db8373294df43402c6842462 75896 
libortp8_3.5.2-6_amd64.deb
 cfa5dc7d9da41f5d2cd3a74059b2620ac05ddcbfe8b020f68b497a4c2587a986 193202 
libortp-dev_3.5.2-6_amd64.deb
 dd0fa885cb09530da20496ed1968025bb929dcc7a54bd1d9abfa9228ea04b863 972854 
linphone-dbg_3.5.2-6_amd64.deb
Files: 
 d3b5b7f95aa48fcf27faef9e790affb9 2338 sound optional linphone_3.5.2-6.dsc
 18ccaaad712721bab0bc3989bd804bc1 14065 sound optional 
linphone_3.5.2-6.debian.tar.gz
 a7c30020bbc96d66ee61058e723b8882 94824 sound optional 
linphone_3.5.2-6_amd64.deb
 fdaaa5045970bc1e869664dd0f59fbff 55258 sound optional 
linphone-nox_3.5.2-6_amd64.deb
 33eb48bbbd087f80ee16f33ca091a31d 6235938 sound optional 
linphone-common_3.5.2-6_all.deb
 80b7b5f6ebbb430f00d71375231d1b9e 133668 libs optional 
liblinphone4_3.5.2-6_amd64.deb
 420b6dd462d58c2190b5789f971abf1c 31396 libdevel optional 
liblinphone-dev_3.5.2-6_amd64.deb
 a07e9908067b409388a766d8c0973155 168304 libs optional 
libmediastreamer1_3.5.2-6_amd64.deb
 8083deaccdc709575c78f6c17450ecca 45736 libdevel optional 
libmediastreamer-dev_3.5.2-6_amd64.deb
 7089f63ffc71ed372cfce6f1dcdbc3a6 75896 libs optional libortp8_3.5.2-6_amd64.deb
 52a77466d284c7658452956b0768788b 193202 libdevel optional 
libortp-dev_3.5.2-6_amd64.deb
 79c9ccf891975ee52a8cc544be68fc37 972854 debug extra 
linphone-dbg_3.5.2-6_amd64.deb

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

iEYEARECAAYFAk9Mwi8ACgkQoCzanz0IthINRQCeIl2MM/5uGIPOLncVP6bN1uTx
iiQAnR/vhIzVdov3AV6CG+ymsc9JwBKu
=LSZs
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to