Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] emerge linphone-desktop from overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1121

PostPosted: Thu Oct 22, 2020 10:00 pm    Post subject: [solved] emerge linphone-desktop from overlay Reply with quote

After having added all the ebuilds needed in local overlay, the dependency media-libs/mediastreamer2 fails to build. I got this build log

I have also tried 9999 ebuild which fails too.

How to solve?


Last edited by Elleni on Sun Oct 25, 2020 8:22 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24782
Location: here

PostPosted: Fri Oct 23, 2020 5:28 am    Post subject: Reply with quote

Probabli you should add ebuild for ortp-4.4.0
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1121

PostPosted: Sun Oct 25, 2020 12:34 am    Post subject: Reply with quote

Thanks, I tried, but I still get an error while trying to compile mediastreamer2 after having added mentioned ortp ebuild to my local overlay.
Code:
emerge ortp --search
 
[ Results for search key : ortp ]
Searching...

*  app-portage/portpeek
      Latest version available: 3.1.4
      Latest version installed: [ Not Installed ]
      Size of files: 14 KiB
      Homepage:      https://www.mpagano.com/blog/?page_id=3
      Description:   A helper program for maintaining the package.keyword and package.unmask files
      License:       GPL-2

*  net-libs/ortp
      Latest version available: 4.4.0
      Latest version installed: 4.4.0
      Size of files: 228 KiB
      Homepage:      https://gitlab.linphone.org/BC/public/ortp
      Description:   Open Real-time Transport Protocol (RTP, RFC3550) stack
      License:       GPL-3
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24782
Location: here

PostPosted: Sun Oct 25, 2020 7:15 am    Post subject: Reply with quote

Try to disable portaudio use flag.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1121

PostPosted: Sun Oct 25, 2020 8:22 am    Post subject: Reply with quote

Yep, that worked. Thank you :)
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24782
Location: here

PostPosted: Sun Oct 25, 2020 8:46 am    Post subject: Reply with quote

You can open new issue in nest overlay where I think you got the ebuild
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sethleon
Guru
Guru


Joined: 14 Dec 2003
Posts: 398
Location: Germany

PostPosted: Mon Nov 16, 2020 10:04 am    Post subject: Reply with quote

I also want to emerge linphone-desktop, but emerge failes at libodb as reported in #753173.

Can anyone successfully emerge dev-cpp/libodb ?

... I am asking myself, why every other distro has the stable 2.4.0 of it,
but gentoo only the 2.5.0-beta19 ... ò.Ó
_________________
Mess with the best, die like the rest.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24782
Location: here

PostPosted: Mon Nov 16, 2020 10:12 am    Post subject: Reply with quote

With gcc-9.3 compile fine, you can post your build.log?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sethleon
Guru
Guru


Joined: 14 Dec 2003
Posts: 398
Location: Germany

PostPosted: Mon Nov 16, 2020 10:41 am    Post subject: Reply with quote

fedeliallalinea wrote:
With gcc-9.3 compile fine, you can post your build.log?


Thats strange, I tried to emerge it using both gcc-9.3.0 and gcc-10.2.0.
I just switched it using 9.3.0 and rebuilding libtool. But there are still compile issues attached in the bug: https://bugs.gentoo.org/attachment.cgi?id=670133 .
I let rebuild gcc 9.3.0 now, maybe there are some profile changes.
Last errors are similar to those in the bug's attachment:

Code:
[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/new:201:40: error: expected ‘,’ or ‘...’ before ‘_GLIBCXX_NOEXCEPT_QUAL’
  201 |     void launder(_Ret (*)(_Args......) _GLIBCXX_NOEXCEPT_QUAL) = delete;
      |                                        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/allocator.h:46,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:64,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/ext/new_allocator.h:40:21: error: expected ‘{’ before ‘_GLIBCXX_VISIBILITY’
   40 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
      |                     ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/ext/new_allocator.h:40:40: error: expected constructor, destructor, or type conversion before ‘(’ token
   40 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
      |                                        ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/allocator.h:46,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:64,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/x86_64-pc-linux-gnu/bits/c++allocator.h:48:41: error: ‘new_allocator’ in namespace ‘__gnu_cxx’ does not name a template type
   48 |     using __allocator_base = __gnu_cxx::new_allocator<_Tp>;
      |                                         ^~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/allocator.h:47,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:64,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/memoryfwd.h:50:15: error: expected ‘{’ before ‘_GLIBCXX_VISIBILITY’
   50 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/memoryfwd.h:50:34: error: expected constructor, destructor, or type conversion before ‘(’ token
   50 | namespace std _GLIBCXX_VISIBILITY(default)
      |                                  ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:64,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/allocator.h:57:15: error: expected ‘{’ before ‘_GLIBCXX_VISIBILITY’
   57 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/allocator.h:57:34: error: expected constructor, destructor, or type conversion before ‘(’ token
   57 | namespace std _GLIBCXX_VISIBILITY(default)
      |                                  ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:65,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_function.h:63:15: error: expected ‘{’ before ‘_GLIBCXX_VISIBILITY’
   63 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_function.h:63:34: error: expected constructor, destructor, or type conversion before ‘(’ token
   63 | namespace std _GLIBCXX_VISIBILITY(default)
      |                                  ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_function.h:1392,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:65,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/backward/binders.h:63:15: error: expected ‘{’ before ‘_GLIBCXX_VISIBILITY’
   63 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/backward/binders.h:63:34: error: expected constructor, destructor, or type conversion before ‘(’ token
   63 | namespace std _GLIBCXX_VISIBILITY(default)
      |                                  ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/ext/alloc_traits.h:36,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:67,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/alloc_traits.h:41:15: error: expected ‘{’ before ‘_GLIBCXX_VISIBILITY’
   41 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/alloc_traits.h:41:34: error: expected constructor, destructor, or type conversion before ‘(’ token
   41 | namespace std _GLIBCXX_VISIBILITY(default)
      |                                  ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:67,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/ext/alloc_traits.h:41:21: error: expected ‘{’ before ‘_GLIBCXX_VISIBILITY’
   41 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
      |                     ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/ext/alloc_traits.h:41:40: error: expected constructor, destructor, or type conversion before ‘(’ token
   41 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
      |                                        ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:69,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/ext/aligned_buffer.h:91:27: error: expected template-name before ‘<’ token
   91 |     : std::aligned_storage<sizeof(_Tp), __alignof__(_Tp)>
      |                           ^
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/ext/aligned_buffer.h:91:27: error: expected ‘{’ before ‘<’ token
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/utility:69,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/optional:36,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/node_handle.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:72,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_relops.h:67:15: error: expected ‘{’ before ‘_GLIBCXX_VISIBILITY’
   67 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_relops.h:67:34: error: expected constructor, destructor, or type conversion before ‘(’ token
   67 | namespace std _GLIBCXX_VISIBILITY(default)
      |                                  ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/utility:76,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/optional:36,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/node_handle.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_tree.h:72,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/map:60,
                 from /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19/odb/schema-catalog.cxx:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/initializer_list:53:15: error: ‘size_t’ does not name a type
   53 |       typedef size_t   size_type;
      |               ^~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/initializer_list:34:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
   33 | #pragma GCC system_header
  +++ |+#include <cstddef>
   34 |
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/initializer_list:59:7: error: ‘size_type’ does not name a type
   59 |       size_type   _M_len;
      |       ^~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/initializer_list:62:54: error: ‘size_type’ has not been declared
   62 |       constexpr initializer_list(const_iterator __a, size_type __l)
      |                                                      ^~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/initializer_list:70:17: error: ‘size_type’ does not name a type
   70 |       constexpr size_type
      |                 ^~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/initializer_list:47:11: fatal error: definition of ‘class std::initializer_list<_E>’ does not match ‘#include <initializer_list>’
   47 |     class initializer_list
      |           ^~~~~~~~~~~~~~~~
compilation terminated.
info: failed to update (for install) /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/dir{libodb-2.5.0-b.19/}
 * ERROR: dev-cpp/libodb-2.5.0_beta19::TSWCode failed (compile phase):
 *   /var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/build2-toolchain-0.13.0/build2/build2/b-boot update-for-install --jobs 4 --verbose 3 failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 1177:  Called b 'update-for-install'
 *   environment, line  401:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${@} failed"
 *
 * If you need support, post the output of `emerge --info '=dev-cpp/libodb-2.5.0_beta19::TSWCode'`,
 * the complete build log and the output of `emerge -pqv '=dev-cpp/libodb-2.5.0_beta19::TSWCode'`.
 * The complete build log is located at '/var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19'
 * S: '/var/tmp/portage/dev-cpp/libodb-2.5.0_beta19/work/libodb-2.5.0-b.19'

_________________
Mess with the best, die like the rest.
Back to top
View user's profile Send private message
sethleon
Guru
Guru


Joined: 14 Dec 2003
Posts: 398
Location: Germany

PostPosted: Tue Nov 17, 2020 8:16 am    Post subject: Reply with quote

sethleon wrote:
fedeliallalinea wrote:
With gcc-9.3 compile fine, you can post your build.log?


Thats strange, I tried to emerge it using both gcc-9.3.0 and gcc-10.2.0.
I just switched it using 9.3.0 and rebuilding libtool. But there are still compile issues attached in the bug: https://bugs.gentoo.org/attachment.cgi?id=670133 .
I let rebuild gcc 9.3.0 now, maybe there are some profile changes.



I even re-emerged clang, llvm and gcc, yet libodb compiles with errors.
Maybe because the rest of the system is built with gcc-10. :(
_________________
Mess with the best, die like the rest.
Back to top
View user's profile Send private message
sethleon
Guru
Guru


Joined: 14 Dec 2003
Posts: 398
Location: Germany

PostPosted: Tue Nov 17, 2020 9:38 am    Post subject: Reply with quote

sethleon wrote:
sethleon wrote:
fedeliallalinea wrote:
With gcc-9.3 compile fine, you can post your build.log?


Thats strange, I tried to emerge it using both gcc-9.3.0 and gcc-10.2.0.
I just switched it using 9.3.0 and rebuilding libtool. But there are still compile issues attached in the bug: https://bugs.gentoo.org/attachment.cgi?id=670133 .
I let rebuild gcc 9.3.0 now, maybe there are some profile changes.



I even re-emerged clang, llvm and gcc, yet libodb compiles with errors.
Maybe because the rest of the system is built with gcc-10. :(


OK, I got the issue by reading the build log/output, looks like the compiling has issues with ccache.
Thus the following emerge command works:

Code:
FEATURES=-ccache emerge libodb

_________________
Mess with the best, die like the rest.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum