Giter Club home page Giter Club logo

jami-overlay's Introduction

How to use this overlay

with local overlays

Local overlays should be managed via /etc/portage/repos.conf/. To enable this overlay make sure you are using a recent Portage version (at least 2.2.14), and create an /etc/portage/repos.conf/ring-overlay.conf file containing precisely:

[ring-overlay]
location = /usr/local/portage/ring-overlay
sync-type = git
sync-uri = https://github.com/stefan-langenmaier/ring-overlay.git
priority=9999

Afterwards, simply run emerge --sync, and Portage should seamlessly make all our ebuilds available.

with layman

Invoke the following:

layman -f -a ring-overlay

Or read the instructions on the Gentoo Wiki.

Installation

After performing those steps, the following should work:

sudo emerge -av net-voip/gnome-ring

live vs stable ebuild

There are two kind of ebuilds available. The live ebuilds (with version 9999) are taken directly from the git master branch (and in case of the ring-daemon are compiled with the bundled libraries). The stable ebuilds are from fixed versions and have been tested to work together. As a bonus they try to unbundle the application as much as possible.

jami-overlay's People

Contributors

casta avatar dmio avatar echelonxray avatar l29ah avatar netfab avatar pmiess avatar stefan-langenmaier avatar steils avatar wgh- avatar yogsottot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jami-overlay's Issues

net-voip/kde-ring-99999999::ring-overlay has file collisions with net-libs/libringclient-20170803.2-r1:0::ring-overlay

Hey all,

Please reference the attached build.log from net-voip/kde-ring-99999999::ring-overlay - as you can see, it compiles all the way and then fails during the install phase due to file collisions with net-libs/libringclient-20170803.2-r1:0::ring-overlay as seen at the end of the file.

build.log.txt

Most probably, libringclient should provide these files and kde-ring simply needs to reference them as a dependency. I wasn't able to figure out on my own how to stop kde-ring from installing these files.

Best regards,
Martijn Schmidt

ring-daemon not compiling

jamiaccount.cpp:3628:13: error: ‘registeredName_’ was not declared in this scope
if (not registeredName_.empty())
^~~~~~~~~~~~~~~
jamiaccount.cpp:3628:13: note: suggested alternative: ‘register_t’
if (not registeredName_.empty())
^~~~~~~~~~~~~~~
register_t
make[4]: *** [Makefile:589: libringacc_la-jamiaccount.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/net-voip/ring-daemon-20190608.1/work/ring-project/daemon/src/jamidht'
make[3]: *** [Makefile:632: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-voip/ring-daemon-20190608.1/work/ring-project/daemon/src/jamidht'
make[2]: *** [Makefile:1035: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-voip/ring-daemon-20190608.1/work/ring-project/daemon/src'
make[1]: *** [Makefile:540: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-voip/ring-daemon-20190608.1/work/ring-project/daemon'
make: *** [Makefile:471: all] Error 2

build.log

ring-daemon can not be compiled with apulse

ring-daemon-20170209.1 or 99999999 can not be compiled with apulse
I'm don't use pulseaudio so install media-sound/apulse-0.1.7

checking for PULSEAUDIO... no
configure: error: Missing pulseaudio development files
/var/tmp/portage/net-voip/ring-daemon-20170209.1/temp/environment: line 2352: Configure failed: command not found
sed: can't read bin/Makefile: No such file or directory
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-voip/ring-daemon-20170209.1/work/ring-project/daemon ...
>>> Source compiled.
>>> Test phase [not enabled]: net-voip/ring-daemon-20170209.1

>>> Install ring-daemon-20170209.1 into /var/tmp/portage/net-voip/ring-daemon-20170209.1/image/ category net-voip
>>> Completed installing ring-daemon-20170209.1 into /var/tmp/portage/net-voip/ring-daemon-20170209.1/image/

 * Final size of build directory: 553488 KiB
 * Final size of installed tree: 44 KiB

 * QA Notice: command not found:
 * 
 *      /var/tmp/portage/net-voip/ring-daemon-20170209.1/temp/environment: line 2352: Configure failed: command not found
 * QA Notice: Unrecognized configure options:
 * 
 *      --disable-psk-authentication-FIXME
 *      --disable-psk-authentication-FIXME

 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * ../src/pjlib-util/md5.c:154:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * ../src/pjlib-util/md5.c:155:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * ../src/pjnath/stun_msg_dump.c:277:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * ../src/pjnath/stun_msg_dump.c:278:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * ../src/pjnath/stun_msg_dump.c:279:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: https://tuleap.ring.cx/projects/ring
ecompressdir: bzip2 -9 /usr/share/doc

>>> Installing (1 of 1) net-voip/ring-daemon-20170209.1::ring-overlay
 * checking 4 files for package collisions
>>> Merging net-voip/ring-daemon-20170209.1 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/ring-daemon-20170209.1/
>>> /usr/share/doc/ring-daemon-20170209.1/NEWS.bz2
>>> /usr/share/doc/ring-daemon-20170209.1/ChangeLog
>>> /usr/share/doc/ring-daemon-20170209.1/AUTHORS.bz2
>>> /usr/share/doc/ring-daemon-20170209.1/README.bz2
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/doc/ring-daemon-20170209.1/README.bz2
--- replaced obj /usr/share/doc/ring-daemon-20170209.1/NEWS.bz2
--- replaced obj /usr/share/doc/ring-daemon-20170209.1/ChangeLog
--- replaced obj /usr/share/doc/ring-daemon-20170209.1/AUTHORS.bz2
--- replaced dir /usr/share/doc/ring-daemon-20170209.1
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced dir /usr
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
>>> net-voip/ring-daemon-20170209.1 merged.
>>> Auto-cleaning packages...

equery f apulse
 * Searching for apulse ...
 * Contents of media-sound/apulse-0.1.7:
/usr
/usr/bin
/usr/bin/apulse
/usr/bin/x86_64-pc-linux-gnu-apulse
/usr/lib64
/usr/lib64/apulse
/usr/lib64/apulse/libpulse-simple.so -> libpulse-simple.so.0
/usr/lib64/apulse/libpulse-simple.so.0
/usr/lib64/apulse/libpulse.so -> libpulse.so.0
/usr/lib64/apulse/libpulse.so.0
/usr/lib64/apulse/libpulsecommon-5.0.so
/usr/share
/usr/share/doc
/usr/share/doc/apulse-0.1.7
/usr/share/doc/apulse-0.1.7/README.md.bz2

I'm add to configure --without-pulse and build it successful.
So there is should be added USE flag pulseaudio

In configure for ring-daemon

Optional Features:
  --disable-video         Disable video
  --disable-accel         Disable all hardware accelerations
  --disable-vaapi         Disable VAAPI hardware acceleration
  --enable-ipv6           Enable IPv6 support
  --enable-doxygen        enable documentation generation with doxygen (disabled by default)
  --enable-dot            use 'dot' to generate graphs in doxygen (auto)
  --enable-debug          Build in debug mode, adds stricter warnings, disables optimization

Optional Packages:
  --without-opensl        Ignore presence of opensl and disable it
  --without-alsa          disable support for alsa
  --without-pulse         disable support for pulseaudio
  --without-jack          Ignore presence of jack and disable it
  --without-portaudio     disable support for portaudio
  --without-dbus          disable support for dbus
  --with-restcpp          enable rest support with C++
  --without-sdes          disable support for sdes key exchange
  --without-gsm           disable support for gsm codec
  --without-speex         disable support for speex codec
  --without-speexdsp      disable support for speexdp Noise Suppression and Automatic Gain Control
  --with-libilbc          support ilbc audio [default=check]
  --with-opus             support opus audio [default=check]
  --without-upnp          disable support for upnp
  --without-natpmp        disable support for NAT-PMP

This options can be added as USE flags as well.
I'm compile ring-daemon with --without-pulse --without-jack --without-opensl --without-portaudio --without-upnp --without-natpmp
It works.

Phone can't record voicemails

So I'm not sure if this is in the right place... If there's a better upstream for sflphone, lmk. Otherwise here maybe?

I used one of the core sflphone packages in Fedora 30. I installed sflphone and got it registered with a FreePBX/asterisk server. Current and up-to-date as of today.

Long story short, whenever I would use it to leave a voicemail on someone's extension, it wouldn't work. Some logs:

The sflphone sucks.

[2019-11-27 03:08:03] VERBOSE[4527][C-00000003] pbx_builtins.c: Goto (macro-vm,s-NOANSWER,1)
[2019-11-27 03:08:03] VERBOSE[4527][C-00000003] pbx.c: Executing [s-NOANSWER@macro-vm:1] Macro("PJSIP/1002-00000004", "get-vmcontext,100
1") in new stack
[2019-11-27 03:08:03] VERBOSE[4527][C-00000003] pbx.c: Executing [s@macro-get-vmcontext:1] Set("PJSIP/1002-00000004", "VMCONTEXT=default
") in new stack
[2019-11-27 03:08:03] VERBOSE[4527][C-00000003] pbx.c: Executing [s@macro-get-vmcontext:2] GotoIf("PJSIP/1002-00000004", "0?200:300") in
 new stack
[2019-11-27 03:08:03] VERBOSE[4527][C-00000003] pbx_builtins.c: Goto (macro-get-vmcontext,s,300)
[2019-11-27 03:08:03] VERBOSE[4527][C-00000003] pbx.c: Executing [s@macro-get-vmcontext:300] NoOp("PJSIP/1002-00000004", "") in new stac
k
[2019-11-27 03:08:03] VERBOSE[4527][C-00000003] pbx.c: Executing [s-NOANSWER@macro-vm:2] VoiceMail("PJSIP/1002-00000004", "1001@default,
u") in new stack
[2019-11-27 03:08:04] VERBOSE[4527][C-00000003] file.c: <PJSIP/1002-00000004> Playing '/var/spool/asterisk/voicemail/default/1001/unavai
l.slin' (language 'en')  

[2019-11-27 03:08:07] VERBOSE[4527][C-00000003] file.c: <PJSIP/1002-00000004> Playing 'vm-intro.ulaw' (language 'en')

[2019-11-27 03:08:13] VERBOSE[4527][C-00000003] file.c: <PJSIP/1002-00000004> Playing 'beep.ulaw' (language 'en')
[2019-11-27 03:08:13] VERBOSE[4527][C-00000003] app_voicemail.c: Recording the message
[2019-11-27 03:08:13] VERBOSE[4527][C-00000003] app.c: x=0, open writing:  /var/spool/asterisk/voicemail/default/1001/tmp/zAcM3R format:
 wav, 0x7fa0c0014f40

[2019-11-27 03:08:22] VERBOSE[4527][C-00000003] app.c: User ended message by pressing #
[2019-11-27 03:08:22] VERBOSE[4527][C-00000003] file.c: <PJSIP/1002-00000004> Playing 'auth-thankyou.ulaw' (language 'en')
[2019-11-27 03:08:23] VERBOSE[4527][C-00000003] app_voicemail.c: Recording was 0 seconds long but needs to be at least 1 - abandoning
[2019-11-27 03:08:23] VERBOSE[4527][C-00000003] pbx.c: Executing [s-NOANSWER@macro-vm:3] Goto("PJSIP/1002-00000004", "exit-FAILED,1") in
 new stack
[2019-11-27 03:08:23] VERBOSE[4527][C-00000003] pbx_builtins.c: Goto (macro-vm,exit-FAILED,1)
[2019-11-27 03:08:23] VERBOSE[4527][C-00000003] pbx.c: Executing [exit-FAILED@macro-vm:1] Playback("PJSIP/1002-00000004", "im-sorry&an-e
rror-has-occurred") in new stack
[2019-11-27 03:08:23] VERBOSE[4527][C-00000003] file.c: <PJSIP/1002-00000004> Playing 'im-sorry.ulaw' (language 'en')
[2019-11-27 03:08:24] VERBOSE[4527][C-00000003] file.c: <PJSIP/1002-00000004> Playing 'an-error-has-occurred.ulaw' (language 'en')

Long story short, there's bugs. This rfc2833compensate=yes might be related, I didn't test.

See:

https://community.freepbx.org/t/sip-no-audio-on-voicemail-from-inbound-calls-phones-work-fine-calles-transferred-to-voicemail-work-too/24179/3

and

https://community.spiceworks.com/topic/2166075-freepbx-voicemail-issue-using-sip-uri-issue

Not sure how to fix this, but I figured I'd start by reporting it.

HTH!

Add use flags for configure options

Add more use flags for ring-daemon configure options.

Optional Features:
  --disable-video         Disable video
  --disable-accel         Disable all hardware accelerations
  --disable-vaapi         Disable VAAPI hardware acceleration
  --enable-ipv6           Enable IPv6 support
  --enable-doxygen        enable documentation generation with doxygen (disabled by default)
  --enable-dot            use 'dot' to generate graphs in doxygen (auto)
  --enable-debug          Build in debug mode, adds stricter warnings, disables optimization

Optional Packages:
  --without-opensl        Ignore presence of opensl and disable it
  --without-alsa          disable support for alsa
  --without-pulse         disable support for pulseaudio
  --without-jack          Ignore presence of jack and disable it
  --without-portaudio     disable support for portaudio
  --without-dbus          disable support for dbus
  --with-restcpp          enable rest support with C++
  --without-sdes          disable support for sdes key exchange
  --without-gsm           disable support for gsm codec
  --without-speex         disable support for speex codec
  --without-speexdsp      disable support for speexdp Noise Suppression and Automatic Gain Control
  --with-libilbc          support ilbc audio [default=check]
  --with-opus             support opus audio [default=check]
  --without-upnp          disable support for upnp
  --without-natpmp        disable support for NAT-PMP

kde-ring fails to compile

Emerging (1 of 1) net-voip/kde-ring-99999999::ring-overlay
Unpacking source...
Initialized empty Git repository in /usr/portage/distfiles/git3-src/ring-kde.git/

  • Fetching git://anongit.kde.org/ring-kde ...
    git fetch git://anongit.kde.org/ring-kde +HEAD:refs/git-r3/HEAD
    remote: Counting objects: 20294, done.
    remote: Compressing objects: 100% (2959/2959), done.
    remote: Total 20294 (delta 17361), reused 20177 (delta 17268)
    Receiving objects: 100% (20294/20294), 7.13 MiB | 2.01 MiB/s, done.
    Resolving deltas: 100% (17361/17361), done.
    From git://anongit.kde.org/ring-kde
  • [new ref] -> refs/git-r3/HEAD
  • [new tag] 1.2.0 -> 1.2.0
  • [new tag] 1.3.0 -> 1.3.0
  • [new tag] 1.4.0 -> 1.4.0
  • [new tag] 1.4.1 -> 1.4.1
  • [new tag] 2.0.0 -> 2.0.0
    git symbolic-ref refs/git-r3/net-voip/kde-ring/0/main refs/git-r3/HEAD
  • Checking out git://anongit.kde.org/ring-kde to /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999 ...
    git checkout --quiet refs/git-r3/HEAD
    GIT NEW branch -->
    repository: git://anongit.kde.org/ring-kde
    at the commit: de9cc2fea7480c3f2d706809860ad3954e6d6d9d

Source unpacked in /var/tmp/portage/net-voip/kde-ring-99999999/work
Preparing source in /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999 ...
Source prepared.
Configuring source in /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999 ...
Working in BUILD_DIR: "/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999_build"
cmake -C /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_VIDEO=true -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999_build/gentoo_toolchain.cmake /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999
loading initial cache file /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LIB_RING_CLIENT: /usr/lib64/libringclient.so
-- Found Git: /usr/bin/git (found version "2.13.0")
-- Downloading the GNU Ring API definition
-- Fetching Ring-LRC from GitHub
Cloning into '/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999_build/ring-lrc'...
CMake Error at cmake/FetchRing-LRC.cmake:76 (ADD_SUBDIRECTORY):
add_subdirectory not given a binary directory but the given source
directory
"/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999_build/ring-lrc"
is not a subdirectory of
"/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999". When
specifying an out-of-tree source a binary directory must be explicitly
specified.
Call Stack (most recent call first):
CMakeLists.txt:32 (INCLUDE)

-- Installing in the same prefix as Qt, adopting their path scheme.
-- Could not set up the appstream test. appstreamcli is missing.
-- Looking for GLIBC
-- Looking for GLIBC - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found GCC version >= 4.8: 6.3.0

-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.34.0")
-- Found KF5GuiAddons: /usr/lib64/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.34.0")
-- Found KF5DBusAddons: /usr/lib64/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.34.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "3.4.5")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.34.0")
-- Found KF5Init: /usr/lib64/cmake/KF5Init/KF5InitConfig.cmake (found version "5.34.0")
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.34.0")
-- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.34.0")
-- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.34.0")
-- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.34.0")
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.34.0")
-- Found KF5Completion: /usr/lib64/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.34.0")
-- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.34.0")
-- Found KF5NotifyConfig: /usr/lib64/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.34.0")
-- Found KF5GlobalAccel: /usr/lib64/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.34.0")
-- Found KF5: success (found suitable version "5.34.0", minimum required is "5.6.0") found components: Config GuiAddons DBusAddons I18n Init WindowSystem XmlGui Notifications IconThemes KIO Completion Crash NotifyConfig GlobalAccel
-- Found KF5Akonadi: /usr/lib64/cmake/KF5Akonadi/KF5AkonadiConfig.cmake (found version "5.5.2")
-- Found KF5AkonadiContact: /usr/lib64/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found version "5.5.2")
-- Found KF5Contacts: /usr/lib64/cmake/KF5Contacts/KF5ContactsConfig.cmake (found version "5.5.2")
-- Found KF5: success (found suitable version "5.34.0", minimum required is "5.6.0") found components: KIO I18n GuiAddons
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.34.0")
-- Found KF5: success (found version "5.34.0") found components: Config GuiAddons I18n Init WindowSystem WidgetsAddons XmlGui
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C -march=native -O2 -pipe -std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration
C++ -march=native -O2 -pipe -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time
Linker flags:
Executable -Wl,--enable-new-dtags -march=native -O2 -pipe
Module -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -march=native -O2 -pipe
Shared -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -march=native -O2 -pipe

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999_build/CMakeFiles/CMakeOutput.log".

Missing dev-qt/qtquickcontrols2 dependency for net-voip/kde-ring

Hi all,

It seems net-voip/kde-ring-99999999::ring-overlay is missing a dependency on dev-qt/qtquickcontrols2 in its ebuild. After manually emerging that package, and using the CMAKE_IN_SOURCE_BUILD="true" flag trick referenced in #33 I was able to build successfully.

Installing is another matter due to file collisions with libringclient, I will open a separate issue for that.

Best regards,
Martijn Schmidt

kde-ring doesn't build

Hi, I'm trying to emerge kde-ring, I tried with gcc 5, 6 and 7 (latest revision of each) but it always fails.
I've already closed the console with log, but the first error I got is:

error: ‘DropAction’ in ‘class Call’ does not name a type

sorry if I just post that. If you're unable to reproduce it and need more details from the log, please ask and I'll restart the build.

net-libs/restbed-4.0 missed versionator eclass inheriting in the ebuild

~/projects/ring-overlay/net-libs/restbed/ ebuild restbed-4.0.ebuild manifest 
Appending /home/stefan/projects/ring-overlay to PORTDIR_OVERLAY...
 * ERROR: net-libs/restbed-4.0::ring-overlay failed (depend phase):
 *   External commands disallowed while sourcing ebuild: version_compare 4.0 4.5
 * 
 * Call stack:
 *            ebuild.sh, line 620:  Called source '/home/stefan/projects/ring-overlay/net-libs/restbed/restbed-4.0.ebuild'
 *   restbed-4.0.ebuild, line  43:  Called command_not_found_handle 'version_compare' '4.0' '4.5'
 *            ebuild.sh, line  88:  Called die
 * The specific snippet of code:
 *   		die "External commands disallowed while sourcing ebuild: ${*}"
 * 
 * If you need support, post the output of `emerge --info '=net-libs/restbed-4.0::ring-overlay'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/restbed-4.0::ring-overlay'`.
 * Working directory: '/usr/lib64/python3.6/site-packages'
 * S: '/var/tmp/portage/net-libs/restbed-4.0/work/restbed-4.0'

net-voip/ring-daemon-20170803.2 fails to compile : missing Argon2

Hello Stefan,

I hope you are doing well! I tried to update to Ring 1.0 this morning and the ebuild failed at the configure phase with the following error:

configure: error: Missing Argon2

Here's the econf line:

'--without-opensl' '--with-alsa' '--with-dbus' '--with-gsm' '--without-jack' '--with-libilbc' '--with-natpmp' '--with-opus' '--without-portaudio' '--with-puls' '--without-restcpp' '--with-sdes' '--with-speex' '--with-speexdsp' '--with-upnp' '--enable-doxygen' '--enable-dot' '--enable-accel' '--enable-ipv6' '--enable-ringns' '--enable-vaapi' '--enable-video'

Do you have a similar issue on your end?

Thanks!

webkit2gtk needed in DEPEND for gnome-ring

Build quietly fails without it:

-- Checking for module 'webkit2gtk-4.0'
--   No package 'webkit2gtk-4.0' found
-- Checking for module 'webkit2gtk-3.0'
--   No package 'webkit2gtk-3.0' found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:415 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
  CMakeLists.txt:103 (PKG_CHECK_MODULES)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-voip/gnome-ring-20161109.2/work/ring-project/client-gnome/build/CMakeFiles/CMakeOutput.log".
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-voip/gnome-ring-20161109.2/work/ring-project/client-gnome ...
>>> Source compiled.
>>> Test phase [not enabled]: net-voip/gnome-ring-20161109.2

>>> Install gnome-ring-20161109.2 into /var/tmp/portage/net-voip/gnome-ring-20161109.2/image/ category net-voip
>>> Completed installing gnome-ring-20161109.2 into /var/tmp/portage/net-voip/gnome-ring-20161109.2/image/

 * Final size of build directory: 327164 KiB
 * Final size of installed tree: 0 KiB

net-libs/restbed-4.5: compilation error

dev-cpp/asio-1.13.0,

$ emerge -pqv '=net-libs/restbed-4.5::ring-overlay'
[ebuild  N    ] net-libs/restbed-4.5  USE="libressl ssl -examples -static-libs -test"
[ 80%] Building CXX object CMakeFiles/restbed.dir/source/corvusoft/restbed/detail/service_impl.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_SSL=TRUE -Drestbed_EXPORTS -I/var/tmp/portage/net-libs/restbed-4.5/work/restbed-4.5/source   -DNDEBUG -march=skylake -O3 -pipe -Wno-non-virtual-dtor -std=c++11 -O2 -Wall -Wextra -Weffc++ -pedantic -Wno-unknown-pragmas -pthread -DASIO_STANDALONE=YES -fPIC   -o CMakeFiles/restbed.dir/source/corvusoft/restbed/detail/service_impl.cpp.o -c /var/tmp/portage/net-libs/restbed-4.5/work/restbed-4.5/source/corvusoft/restbed/detail/service_impl.cpp
/var/tmp/portage/net-libs/restbed-4.5/work/restbed-4.5/source/corvusoft/restbed/detail/socket_impl.cpp: In constructor ‘restbed::detail::SocketImpl::SocketImpl(const std::shared_ptr<asio::basic_stream_socket<asio::ip::tcp> >&, const std::shared_ptr<restbed::Logger>&)’:
/var/tmp/portage/net-libs/restbed-4.5/work/restbed-4.5/source/corvusoft/restbed/detail/socket_impl.cpp:52:65: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’ {aka ‘class asio::basic_stream_socket<asio::ip::tcp>’} has no member named ‘get_io_service’
             m_timer( make_shared< asio::steady_timer >( socket->get_io_service( ) ) )

build.log

unable to build net-libs/libringclient-20180608.2 : Unknown CMake command "QT5_USE_MODULES".

emerge net-voip/gnome-ring

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] net-libs/libringclient-20180608.2::ring-overlay  USE="dbus video -doc -static-libs" 0 KiB
[ebuild  N    ~] net-voip/gnome-ring-20180608.2::ring-overlay  USE="libnotify qrcode -appindicator -networkmanager -static-libs" 0 KiB

Total: 2 packages (2 new), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 2) net-libs/libringclient-20180608.2::ring-overlay
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * ring_20180608.2.2b7ff35.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking ring_20180608.2.2b7ff35.tar.gz to /var/tmp/portage/net-libs/libringclient-20180608.2/work
>>> Source unpacked in /var/tmp/portage/net-libs/libringclient-20180608.2/work
>>> Preparing source in /var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc ...
>>> Working in BUILD_DIR: "/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build"
cmake -C /var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_VIDEO=true -DENABLE_STATIC=false -DENABLE_LIBWRAP=false -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/gentoo_toolchain.cmake  /var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc/
loading initial cache file /var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found GCC version >= 4.8: 6.4.0

-- Ring daemon header is in /usr/include/dring
-- Ring library path is /usr/lib/libring.so
-- VIDEO enabled
-- Using Ring DBus-XML interfaces in /usr/share/dbus-1/interfaces
CMake Error at CMakeLists.txt:710 (QT5_USE_MODULES):
  Unknown CMake command "QT5_USE_MODULES".


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/CMakeFiles/CMakeOutput.log".
 * ERROR: net-libs/libringclient-20180608.2::ring-overlay failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 2848:  Called cmake-utils_src_configure
 *   environment, line  917:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=net-libs/libringclient-20180608.2::ring-overlay'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libringclient-20180608.2::ring-overlay'`.
 * The complete build log is located at '/var/log/portage/net-libs:libringclient-20180608.2:20180611-172736.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libringclient-20180608.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libringclient-20180608.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build'
 * S: '/var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc/'

>>> Failed to emerge net-libs/libringclient-20180608.2, Log file:

>>>  '/var/log/portage/net-libs:libringclient-20180608.2:20180611-172736.log'

 * Messages for package net-libs/libringclient-20180608.2:
 * Log file: /var/log/portage/net-libs:libringclient-20180608.2:20180611-172736.log

 * ERROR: net-libs/libringclient-20180608.2::ring-overlay failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 2848:  Called cmake-utils_src_configure
 *   environment, line  917:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=net-libs/libringclient-20180608.2::ring-overlay'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libringclient-20180608.2::ring-overlay'`.
 * The complete build log is located at '/var/log/portage/net-libs:libringclient-20180608.2:20180611-172736.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libringclient-20180608.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libringclient-20180608.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build'
 * S: '/var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc/'

net-voip/kde-ring-20170813 does not build anymore

I tried to build kde-ring-20170813 but it fails like this :

-- Downloading the GNU Ring API definition
-- Fetching Ring-LRC from GitHub
Cloning into '/var/tmp/portage/net-voip/kde-ring-20170813/work/kde-ring-20170813/ring-lrc'...
CMake Error at CMakeLists.txt:56 (ADD_SUBDIRECTORY):
The source directory

/var/tmp/portage/net-voip/kde-ring-20170813/work/kde-ring-20170813/ring-lrc

does not contain a CMakeLists.txt file.

The ring-lrc library has been renamed :
https://github.com/Elv13/ring-lrc

I also tried with USE="system-libringclient", but this seems to have no effect : it fails with the same error. I don't know if it's possible to to fix the problem just by replacing the repository URI, I do not know enough the cmake build system to try.

I also tried with the live version which is fixed, but unfortunately it requires some Qt deps >= 5.8, but these deps are not stabilized yet on gentoo, and I do not want to upgrade half of the system for this. I will wait then.

net-voip/ring-daemon building without pulseaudio support

net-voip/ring-daemon turns on 'pulseaudio' by default (IUSE="+pulseaudio"). Is it really needed? ring-daemon successfully builds with -pulseaudio, but I have to explicitly set USE="-pulseaudio" for net-voip/ring-daemon.
Shouldn't it be just IUSE="pulseaudio"?

undefined symbol: _ZN6Person9callAddedEP4Call

I have successfully compiled gnome-ring, but when I go to start I get this.
gnome-ring: symbol lookup error: gnome-ring: undefined symbol: _ZN6Person9callAddedEP4Call

strace ring provides this

execve("/usr/bin/ring", ["ring"], [/* 45 vars /]) = 0
brk(NULL) = 0x18d7000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe99d4aa000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=159933, ...}) = 0
mmap(NULL, 159933, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe99d479000
close(3) = 0
open("/lib64/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220e\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=296856, ...}) = 0
mmap(NULL, 2398136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe99d031000
mprotect(0x7fe99d071000, 2097152, PROT_NONE) = 0
mmap(0x7fe99d271000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x40000) = 0x7fe99d271000
mmap(0x7fe99d27a000, 1976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe99d27a000
close(3) = 0
open("/lib64/libncurses.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320Y\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=378584, ...}) = 0
mmap(NULL, 2476432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe99cdd1000
mprotect(0x7fe99ce29000, 2093056, PROT_NONE) = 0
mmap(0x7fe99d028000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x57000) = 0x7fe99d028000
mmap(0x7fe99d02d000, 2448, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe99d02d000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\10\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1656648, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe99d4a9000
mmap(NULL, 3763608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe99ca39000
mprotect(0x7fe99cbc6000, 2097152, PROT_NONE) = 0
mmap(0x7fe99cdc6000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18d000) = 0x7fe99cdc6000
mmap(0x7fe99cdcc000, 15768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe99cdcc000
close(3) = 0
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14344, ...}) = 0
mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe99c831000
mprotect(0x7fe99c833000, 2097152, PROT_NONE) = 0
mmap(0x7fe99ca33000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fe99ca33000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe99d4a8000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe99d4a7000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe99d4a6000
arch_prctl(ARCH_SET_FS, 0x7fe99d4a7700) = 0
mprotect(0x7fe99cdc6000, 16384, PROT_READ) = 0
mprotect(0x7fe99ca33000, 4096, PROT_READ) = 0
mprotect(0x7fe99d028000, 16384, PROT_READ) = 0
mprotect(0x7fe99d271000, 8192, PROT_READ) = 0
mprotect(0x6a8000, 4096, PROT_READ) = 0
mprotect(0x7fe99d4a3000, 4096, PROT_READ) = 0
munmap(0x7fe99d479000, 159933) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK) = 3
close(3) = 0
brk(NULL) = 0x18d7000
brk(0x18f8000) = 0x18f8000
getuid() = 1000
getgid() = 1000
geteuid() = 1000
getegid() = 1000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
sysinfo({uptime=275701, loads=[38944, 47392, 31936], totalram=12565557248, freeram=2656571392, sharedram=182452224, bufferram=1009516544, totalswap=536866816, freeswap=505884672, procs=873, totalhigh=0, freehigh=0, mem_unit=1}) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fe99ca6c000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fe99ca6c000}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fe99ca6c000}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe99ca6c000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe99ca6c000}, {SIG_DFL, [], SA_RESTORER, 0x7fe99ca6c000}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7fe99ca6c000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7fe99ca6c000}, {SIG_DFL, [], SA_RESTORER, 0x7fe99ca6c000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7fe99ca6c000}, {SIG_DFL, [], SA_RESTORER, 0x7fe99ca6c000}, 8) = 0
uname({sysname="Linux", nodename="pc125", ...}) = 0
stat("/home/jan", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
stat(".", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
getpid() = 26268
getppid() = 26266
getpgrp() = 26266
rt_sigaction(SIGCHLD, {0x42e2d0, [], SA_RESTORER|SA_RESTART, 0x7fe99ca6c000}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fe99ca6c000}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=47672, rlim_max=47672}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/usr/bin/ring", O_RDONLY) = 3
ioctl(3, TCGETS, 0x7ffcce461840) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
read(3, "#!/bin/bash\n#\n# Copyright (C) 2"..., 80) = 80
lseek(3, 0, SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4
1024}) = 0
fcntl(255, F_GETFD) = -1 EBADF (Bad file descriptor)
dup2(3, 255) = 255
close(3) = 0
fcntl(255, F_SETFD, FD_CLOEXEC) = 0
fcntl(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(255, {st_mode=S_IFREG|0755, st_size=1608, ...}) = 0
lseek(255, 0, SEEK_CUR) = 0
read(255, "#!/bin/bash\n#\n# Copyright (C) 2"..., 1608) = 1608
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_GETFD) = 0
fcntl(1, F_DUPFD, 10) = 10
fcntl(1, F_GETFD) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(2, F_GETFD) = 0
fcntl(2, F_DUPFD, 10) = 11
fcntl(2, F_GETFD) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 2) = 2
close(3) = 0
stat(".", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
stat("/usr/local/bin/ring-kde", 0x7ffcce461300) = -1 ENOENT (No such file or directory)
stat("/usr/bin/ring-kde", 0x7ffcce461300) = -1 ENOENT (No such file or directory)
stat("/bin/ring-kde", 0x7ffcce461300) = -1 ENOENT (No such file or directory)
stat("/opt/bin/ring-kde", 0x7ffcce461300) = -1 ENOENT (No such file or directory)
stat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.4/ring-kde", 0x7ffcce461300) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/subversion/bin/ring-kde", 0x7ffcce461300) = -1 ENOENT (No such file or directory)
fstat(2, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
ioctl(2, TCGETS, 0x7ffcce460bf0) = -1 ENOTTY (Inappropriate ioctl for device)
write(2, "/usr/bin/ring: line 25: type: ri"..., 50) = 50
dup2(11, 2) = 2
fcntl(11, F_GETFD) = 0x1 (flags FD_CLOEXEC)
close(11) = 0
dup2(10, 1) = 1
fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
close(10) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_GETFD) = 0
fcntl(1, F_DUPFD, 10) = 10
fcntl(1, F_GETFD) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(2, F_GETFD) = 0
fcntl(2, F_DUPFD, 10) = 11
fcntl(2, F_GETFD) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 2) = 2
close(3) = 0
stat(".", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
stat("/usr/local/bin/gnome-ring", 0x7ffcce461300) = -1 ENOENT (No such file or directory)
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/usr/bin/gnome-ring", X_OK) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/usr/bin/gnome-ring", R_OK) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/usr/bin/gnome-ring", X_OK) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/usr/bin/gnome-ring", R_OK) = 0
fstat(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
ioctl(1, TCGETS, 0x7ffcce460c90) = -1 ENOTTY (Inappropriate ioctl for device)
write(1, "gnome-ring is /usr/bin/gnome-rin"..., 34) = 34
dup2(11, 2) = 2
fcntl(11, F_GETFD) = 0x1 (flags FD_CLOEXEC)
close(11) = 0
dup2(10, 1) = 1
fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
close(10) = 0
stat(".", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
stat("/usr/local/bin/gnome-ring", 0x7ffcce4611b0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/usr/bin/gnome-ring", X_OK) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/usr/bin/gnome-ring", R_OK) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/usr/bin/gnome-ring", X_OK) = 0
stat("/usr/bin/gnome-ring", {st_mode=S_IFREG|0755, st_size=1007672, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/usr/bin/gnome-ring", R_OK) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -205, SEEK_CUR) = 1403
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fe99d4a79d0) = 26269
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x42b570, [], SA_RESTORER, 0x7fe99ca6c000}, {SIG_DFL, [], SA_RESTORER, 0x7fe99ca6c000}, 8) = 0
wait4(-1, gnome-ring: symbol lookup error: gnome-ring: undefined symbol: _ZN6Person9callAddedEP4Call
[{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 26269
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe99ca6c000}, {0x42b570, [], SA_RESTORER, 0x7fe99ca6c000}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=26269, si_uid=1000, si_status=127, si_utime=2, si_stime=0} ---
wait4(-1, 0x7ffcce460d10, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn({mask=[]}) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(127) = ?
+++ exited with 127 +++

Any thoughts or suggestions on what this could be?

ring-overlay ebuild does not compile

In the net-voip/ring-daemon-99999999 ebuild, curl fails to download:

curl -sS -f -L --retry-delay 10 --retry 4 -- "https://github.com/P-H-C/phc-winner-argon2/archive/1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz" > "../../contrib/tarballs/argon2-1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz"
curl: (6) Couldn't resolve host 'github.com'

In the Gentoo forum at:

https://forums.gentoo.org/viewtopic.php?p=8542192#8542192

Moderator Hu diagnoses the problem:

"Is this failure when curl is run from inside the ebuild? If so, this failure is expected and correct. To support reproducible builds, ebuilds run in a network sandbox, without the ability to download arbitrary blobs directly from the Internet. The ebuild should direct Portage to download the relevant files as part of SRC_URI, then use the copy from the files directory."

Since none of the earlier ebuilds now work, can you please patch this issue?

Catch dependency missing in net-libs/restbed

>>> Emerging (20 of 22) net-libs/restbed-4.6::ring-overlay
 * restbed-4.6.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking restbed-4.6.tar.gz to /tmp/portage/net-libs/restbed-4.6/work
>>> Source unpacked in /tmp/portage/net-libs/restbed-4.6/work
>>> Preparing source in /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6 ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6 ...
>>> Working in BUILD_DIR: "/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build"
cmake -C /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED=OFF -DBUILD_TESTS=ON -DBUILD_EXAMPLES=OFF -DBUILD_SSL=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build/gentoo_toolchain.cmake  /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6
loading initial cache file /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build/gentoo_common_config.cmake
-- The CXX compiler identification is GNU 8.3.0
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
   Copyright 2013-2017, Corvusoft Ltd, All Rights Reserved.
-- Found ASIO include at: /usr/include
-- Found Kashmir include at: /usr/include
-- Found OpenSSL library at: /usr/lib/libssl.so
-- Found OpenSSL include at: /usr/include
-- Found Crypto library at: /usr/lib/libcrypto.so
CMake Error at cmake/modules/Findcatch.cmake:10 (message):
  Failed to locate Catch dependency.

net-libs/restbed-4.6 requires dev-cpp/asio-1.12.2 to build properly

Mask it in portage mask:
>dev-cpp/asio-1.12.0
otherwise
[ 90%] Building CXX object CMakeFiles/restbed.dir/source/corvusoft/restbed/detail/web_socket_impl.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_SSL=TRUE -Drestbed_EXPORTS -I/var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source -DNDEBUG -O3 -pipe -march=corei7 -mtune=corei7 -Wno-non-virtual-dtor -std=c++11 -O2 -Wall -Wextra -Weffc++ -pedantic -Wno-unknown-pragmas -pthread -DASIO_STANDALONE=YES -fPIC -o CMakeFiles/restbed.dir/source/corvusoft/restbed/detail/web_socket_impl.cpp.o -c /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/web_socket_impl.cpp /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp: In constructor ‘restbed::detail::SocketImpl::SocketImpl(const std::shared_ptr<asio::basic_stream_socket<asio::ip::tcp> >&, const std::shared_ptr<restbed::Logger>&)’: /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp:54:65: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’ {aka ‘class asio::basic_stream_socket<asio::ip::tcp>’} has no member named ‘get_io_service’ 54 | m_timer( make_shared< asio::steady_timer >( socket->get_io_service( ) ) ), | ^~~~~~~~~~~~~~ /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp:55:67: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’ {aka ‘class asio::basic_stream_socket<asio::ip::tcp>’} has no member named ‘get_io_service’ 55 | m_strand( make_shared< io_service::strand > ( socket->get_io_service( ) ) ), | ^~~~~~~~~~~~~~ /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp: In constructor ‘restbed::detail::SocketImpl::SocketImpl(const std::shared_ptr<asio::ssl::stream<asio::basic_stream_socket<asio::ip::tcp> > >&, const std::shared_ptr<restbed::Logger>&)’: /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp:70:81: error: ‘asio::ssl::stream<asio::basic_stream_socket<asio::ip::tcp> >::lowest_layer_type’ {aka ‘class asio::basic_socket<asio::ip::tcp, asio::executor>’} has no member named ‘get_io_service’ 70 | m_timer( make_shared< asio::steady_timer >( socket->lowest_layer( ).get_io_service( ) ) ), | ^~~~~~~~~~~~~~ /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp:71:67: error: ‘using element_type = class asio::ssl::stream<asio::basic_stream_socket<asio::ip::tcp> >’ {aka ‘class asio::ssl::stream<asio::basic_stream_socket<asio::ip::tcp> >’} has no member named ‘get_io_service’ 71 | m_strand( make_shared< io_service::strand > ( socket->get_io_service( ) ) ), | ^~~~~~~~~~~~~~ /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp: In member function ‘void restbed::detail::SocketImpl::connect(const string&, uint16_t, const std::function<void(const std::error_code&)>&)’: /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp:122:72: error: ‘using element_type = class asio::basic_stream_socket<asio::ip::tcp>’ {aka ‘class asio::basic_stream_socket<asio::ip::tcp>’} has no member named ‘get_io_service’ 122 | auto& io_service = ( m_socket not_eq nullptr ) ? m_socket->get_io_service( ) : m_ssl_socket->lowest_layer( ).get_io_service( ); | ^~~~~~~~~~~~~~ /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/socket_impl.cpp:122:122: error: ‘asio::ssl::stream<asio::basic_stream_socket<asio::ip::tcp> >::lowest_layer_type’ {aka ‘class asio::basic_socket<asio::ip::tcp, asio::executor>’} has no member named ‘get_io_service’ 122 | auto& io_service = ( m_socket not_eq nullptr ) ? m_socket->get_io_service( ) : m_ssl_socket->lowest_layer( ).get_io_service( ); | ^~~~~~~~~~~~~~ /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/service_impl.cpp: In member function ‘void restbed::detail::ServiceImpl::http_listen() const’: /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/service_impl.cpp:150:67: error: ‘using element_type = class asio::basic_socket_acceptor<asio::ip::tcp>’ {aka ‘class asio::basic_socket_acceptor<asio::ip::tcp>’} has no member named ‘get_io_service’ 150 | auto socket = make_shared< tcp::socket >( m_acceptor->get_io_service( ) ); | ^~~~~~~~~~~~~~ /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/service_impl.cpp: In member function ‘void restbed::detail::ServiceImpl::https_listen() const’: /var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6/source/corvusoft/restbed/detail/service_impl.cpp:276:92: error: ‘using element_type = class asio::basic_socket_acceptor<asio::ip::tcp>’ {aka ‘class asio::basic_socket_acceptor<asio::ip::tcp>’} has no member named ‘get_io_service’ 276 | auto socket = make_shared< asio::ssl::stream< tcp::socket > >( m_ssl_acceptor->get_io_service( ), *m_ssl_context ); | ^~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/restbed.dir/build.make:275: CMakeFiles/restbed.dir/source/corvusoft/restbed/detail/socket_impl.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [CMakeFiles/restbed.dir/build.make:288: CMakeFiles/restbed.dir/source/corvusoft/restbed/detail/service_impl.cpp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build' make[1]: *** [CMakeFiles/Makefile2:93: CMakeFiles/restbed.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build' make: *** [Makefile:147: all] Error 2
will occur

Bring packages upstream

There is now a good base of the needed dependencies. It would be great to get them into the official Gentoo repositories.

Missing dependency in net-voip/gnome-ring

cmake fails with a message that libcanberra-gtk3>=0.25 is missing.
Installing the media-libs/libcanberra package with the gtk3 use flag solves the issue so it should be probably added as a dependency.

Setting S variable in ring-daemon-99999999 is redundant

Setting the S variable to "${WORKDIR}/ring-project/daemon/" in ring-daemon-99999999 seems to be redundant (and wrong). In my case, source was made available under /var/tmp/portage/net-voip/ring-daemon-99999999/work/ring-daemon-99999999/.

net-voip/gnome-ring-20191110.1: Build fails with USE="static-libs"

I'm getting a lot of these errors:

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-
linux-gnu/9.2.0/../../../../lib64/libringclient_static.a(database.cpp.o): in function `lrc::Database::~Database()':
database.cpp:(.text+0x188): undefined reference to `QSqlDatabase::~QSqlDatabase()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/libringclient_static.a(database.cpp.o): in function `lrc::Database::Database(QString const&, QString const&)':

It seems that CMake is trying to link against static libraries when the use-flag static-libs is enabled. However static-libs means “Build static versions of dynamic libraries as well”. I think the appropriate use-flag is static – “Causes binaries to be statically linked instead of dynamically”.

The build completes successfully with -static-libs.

build.log

net-voip/ring-daemon: HW acceleration build options (VDPAU, VAAPI) removed in upstream

Since commit 2cc09ccc (https://gerrit-ring.savoirfairelinux.com/8043) --disable-vdpau and --disable-vaapi are removed from ring-daemon, leaving only --disable-accel. net-void/ring-daemon doesn't build without USE flag 'vdpau' because of that.

I see two possible approaches:
a) Remove 'vdpau' and 'vaapi' from IUSE, add x11-libs/libvdpau to dependencies when 'hwaccel' is enabled. But that would force to install libvdpau even with global USE="-vdpau" (bad).
b) Add a patch returning the flags --disable-vdpau and --disable-vaapi to configure.ac in ring-daemon. That would make vdpau and vaapi USE flags meaningful again. But it has purpose only in Gentoo, and probably such a patch will require some maintenance here (not in upstream), and I don't know how much work is that. For now I can just say that ring-daemon successfully configures and builds without libvdpau on my system if I return --disable-vdpau build option.

See also:
https://tuleap.ring.cx/plugins/tracker/?aid=1883 (probably will be declined as notabug/wontfix but anyway)
https://tuleap.ring.cx/plugins/tracker/?aid=1884

Add pjsip

ring daemon uses now pjproject-2.5.5 and there is version 2.5.2 already in portage

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.