Summary: | net-libs/opal-3.10.11-r1 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steve Arnold <nerdboy> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | jstein, treecleaner |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Steve Arnold
2017-07-25 21:59:05 UTC
There are too many warnings, not sure why i fixed this one: --- plugins/video/common/platform.h.orig 2017-07-25 14:34:52.641104250 -0700 +++ plugins/video/common/platform.h 2017-07-25 14:35:31.048983136 -0700 @@ -36,7 +36,9 @@ #ifndef __PLATFORM_H__ #define __PLATFORM_H__ 1 +#ifndef __STDC_CONSTANT_MACROS #define __STDC_CONSTANT_MACROS 1 +#endif #if defined (_MSC_VER) #define _CRT_NONSTDC_NO_DEPRECATE 1 but the key is adding another append-cxxflags to set a newer standard than default so it will at least compile (append-cxxflags "-std=gnu++11" worked for me). Thank you for the report and the analysis. Do you want to maintain or fix this package? The easiest could be a bump. Upstream seems still alive: https://sourceforge.net/p/opalvoip/opal/ci/master/tree/ If no one wants to care about this package soon, I suggest to tree clean it. The current version still has problems (so I'm still fiddling to see if there's an easy-ish fix) but I think some video stuff still depends on it. I may have some other "fixes" and upgrades for linphone deps, but I haven't played with that lately. I'll try the newer upstream and see what that does... Looks like upstream is up to 3.16.2 and 2.16.2 for opal/ptlib "stable" releases, but apparently I have no idea what stable even means, since the code is still wonky even after a couple of small patches. And this is one of those C++ source trees that just gives me a headache... So if there really isn't anything that depends on these libs in the tree anymore then nuking them seems like a good idea. If anybody complains then hopefully they are up on their C++ syntax and standards-conformance. We cannot bump it since the *only* dep that uses this lib (ekiga) needs this version... and since Ekiga looks to delay its bumping forever... we are forced to use this (as all the other distributions). Please provide the build.log. I see other distributions (like Arch) are passing -fpermissive probably to workaround this issues -fpermissive is a pretty harsh/risky workaround; maybe there's a less bad option? Hmm, now it doesn't build at all; I also had to roll back to the older ptlib (which actually does build). If I switch back to gcc 5.4 and set linker to bfd I can whittle it down to (possibly) 1 ambiguous name error, but it still fails even with -fpermissive: [CC] src/rtp/jitter.cxx [CC] src/rtp/rtp.cxx [CC] src/rtp/metrics.cxx /var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11/src/opal/transcoders.cxx: In member function ‘void OpalTranscoder::NotifyCommand(const OpalMediaCommand&) const’: /var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11/src/opal/transcoders.cxx:115:77: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body] PTRACE(4, "Opal\tNo command notifier available for transcoder " << this); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stl_algobase.h:64:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/char_traits.h:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/string:40, from /usr/include/ptlib/object.h:57, from /usr/include/ptlib/psync.h:43, from /usr/include/ptlib/critsec.h:34, from /usr/include/ptlib/contain.h:42, from /usr/include/ptlib.h:56, from /var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11/src/opal/transcoders.cxx:31: /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stl_pair.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = const OpalMediaFormat&; _U2 = const OpalMediaFormat&; <template-parameter-2-3> = void; _T1 = PString; _T2 = PString]’: /var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11/src/opal/transcoders.cxx:189:110: required from here /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stl_pair.h:145:64: error: call of overloaded ‘PString(const OpalMediaFormat&)’ is ambiguous : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } ^ In file included from /usr/include/ptlib/contain.h:624:0, from /usr/include/ptlib.h:56, from /var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11/src/opal/transcoders.cxx:31: /usr/include/ptlib/pstring.h:145:5: note: candidate: PString::PString(const char*) PString( ^ /usr/include/ptlib/pstring.h:127:13: note: candidate: PString::PString(const PString&) PINLINE PString( ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stl_algobase.h:64:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/char_traits.h:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/string:40, from /usr/include/ptlib/object.h:57, from /usr/include/ptlib/psync.h:43, from /usr/include/ptlib/critsec.h:34, from /usr/include/ptlib/contain.h:42, from /usr/include/ptlib.h:56, from /var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11/src/opal/transcoders.cxx:31: /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stl_pair.h:145:64: error: call of overloaded ‘PString(const OpalMediaFormat&)’ is ambiguous : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } ^ In file included from /usr/include/ptlib/contain.h:624:0, from /usr/include/ptlib.h:56, from /var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11/src/opal/transcoders.cxx:31: /usr/include/ptlib/pstring.h:145:5: note: candidate: PString::PString(const char*) PString( ^ /usr/include/ptlib/pstring.h:127:13: note: candidate: PString::PString(const PString&) PINLINE PString( ^ make[1]: *** [Makefile:534: /var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11/lib_linux_x86_64/obj/transcoders.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11' make: *** [Makefile:729: opt] Error 2 * ERROR: net-libs/opal-3.10.11-r1::nerdboy failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/opal-3.10.11-r1::nerdboy'`, * the complete build log and the output of `emerge -pqv '=net-libs/opal-3.10.11-r1::nerdboy'`. * The complete build log is located at '/var/log/portage/net-libs:opal-3.10.11-r1:20170831-061041.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/opal-3.10.11-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/opal-3.10.11-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11' * S: '/var/tmp/portage/net-libs/opal-3.10.11-r1/work/opal-3.10.11' !!! When you file a bug report, please include the following information: GENTOO_VM=oracle-jdk-bin-1.7 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.80" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info =opal-3.10.11 I took a look at ubuntu's versions, and they're using the same ptlib version and opal 3.10.10 instead of 3.10.11 (plus their own patches). I'm out of time for a while, so have at it... Do you know if Ekiga is still having so many users? We are carrying opal and ptlib simply for it... all of them are maintainer-needed for years, also ekiga had some pending bugs and relies on other obsolete stuff. Maybe it is time to treeclean the tree. If some year Ekiga 5 is released and someone want to put it in the tree, nice, but for now... it seems that release is never arriving :/ I'd be happy with linphone, which seems more active, yet has its own metric load of dependencies (hopefully not as bad as ekiga). Maybe you can try to ping bircoph as it seems linphone also needs important work :( https://bugs.gentoo.org/buglist.cgi?quicksearch=linphone&list_id=3728576 Gone |