Package Details: liblinphone 5.4.119-1

Git Clone URL: https://aur.archlinux.org/liblinphone.git (read-only, click to copy)
Package Base: liblinphone
Description: A high-level SIP library
Upstream URL: http://www.linphone.org
Licenses: AGPL-3.0-only
Submitter: Megver83
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 1
Popularity: 0.012879
First Submitted: 2020-07-23 05:09 (UTC)
Last Updated: 2026-06-08 18:42 (UTC)

Latest Comments

1 2 Next › Last »

dreieck commented on 2026-06-06 18:31 (UTC) (edited on 2026-06-06 18:33 (UTC) by dreieck)

After fixing this, I get the next build error:

[ 98%] Built target liblinphone-test-ecc
[ 99%] Generating include/linphone++/linphone.hh, src/linphone++.cc
Traceback (most recent call last):
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/genwrapper.py", line 553, in <module>
    genwrapper = GenWrapper(includedir, srcdir, args.xmldir)
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/genwrapper.py", line 463, in __init__
    project.initFromDir(xmldir)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/../../tools/genapixml.py", line 659, in initFromDir
    self.initFromFiles(files)
    ~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/../../tools/genapixml.py", line 652, in initFromFiles
    self.__findCTypedef(tree)
    ~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/../../tools/genapixml.py", line 553, in __findCTypedef
    td = self.__parseCTypedefMemberdef(m)
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/../../tools/genapixml.py", line 470, in __parseCTypedefMemberdef
    detailedDoc = self.docparser.parse_description(node.find('./detaileddescription'))
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/../../tools/metadoc.py", line 295, in parse_description
    desc.paragraphs += self._parse_paragraph(paraNode)
                       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/../../tools/metadoc.py", line 321, in _parse_paragraph
    paragraphs.append(self._parse_parameter_list(partNode))
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/../../tools/metadoc.py", line 380, in _parse_parameter_list
    name.from_snake_case(paramItemNode.find('./parameternamelist/parametername').text)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/wrappers/cpp/../../tools/metaname.py", line 76, in from_snake_case
    self.words = name.split('_')
                 ^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'
make[2]: *** [wrappers/cpp/CMakeFiles/liblinphone-cxx-wrapper.dir/build.make:85: wrappers/cpp/include/linphone++/linphone.hh] Error 1
make[1]: *** [CMakeFiles/Makefile2:720: wrappers/cpp/CMakeFiles/liblinphone-cxx-wrapper.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().

Workaround: Changing -DENABLE_CXX_WRAPPER=YES to -DENABLE_CXX_WRAPPER=NO. But I don't know which other issues this might produce for using this library. ([ 15%] Building CXX object src/CMakeFiles/liblinphone.dir/c-wrapper/c-wrapper.cpp.o is still executed, though.)

In package(),

  sed -i "${srcdir//\//\\/}\/$pkgname-$pkgver\/wrappers\/cpp\/include/d" \
         "$pkgdir/usr/share/LinphoneCxx/cmake/LinphoneCxxConfig.cmake"

needs to be removed accordingly.

dreieck commented on 2026-06-06 18:18 (UTC)

-Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-suggest-override can also be appended to the $CXXFLAGS, since there are a lot of those warnings now, too. That would silence them.

I also suggest to add -Wno-dev to the cmake command line since there are a lot CMake warnings of the type "This warning is for project developers. Use -Wno-dev to suppress it.".

Regards!

dreieck commented on 2026-06-06 17:58 (UTC)

Build fails with

[ 50%] Building CXX object src/CMakeFiles/liblinphone.dir/factory/factory.cpp.o
/var/cache/makepkg/build/liblinphone/src/liblinphone-5.4.50/src/factory/factory.cpp:38:10: fatal error: ZXing/TextUtfEncoding.h: No such file or directory
   38 | #include <ZXing/TextUtfEncoding.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

(Note that I compiled mediastreamer without the QR code option due to a build issue, maybe related or causing this issue?)

Adding -DENABLE_QRCODE=OFF to the cmake build options does work around this issue (and probably disables QR code support).

Regards!

Kunda commented on 2025-07-30 19:12 (UTC)

Current stable is 5.4.31
https://github.com/BelledonneCommunications/liblinphone/archive/refs/tags/5.4.31.tar.gz

thrasibule commented on 2023-03-16 02:33 (UTC)

@xiretza What makes you think boost is required in makedepends?

xiretza commented on 2023-03-12 16:38 (UTC)

Requires makedepends=(boost).

xiretza commented on 2023-01-29 19:47 (UTC) (edited on 2023-03-12 15:32 (UTC) by xiretza)

Requires depends=(python-six).

thrasibule commented on 2022-12-10 18:56 (UTC)

I've pushed jsoncpp-cmake that has the fix, the maintainer of jsoncpp-cmake-git was not responsive. I'm not sure what you mean for mediastreamer. If there is an issue with the current PKGBUILD, please explain in the comment page of mediastreamer.

ikidd commented on 2022-12-10 04:12 (UTC)

mediastreamer download link broken, manually building from current mediastreamer PKGBUILD works.

jsoncpp-cmake-git needs to have libjsoncpp.so added to providers and manually built to get past conflict with jsoncpp used by cmake.

I have no clue how to make a patch to fix this PKGBUILD because I'm an idiot.