[Bug 1815936] Review Request: reSIProcate - SIP and TURN stacks, with SIP proxy and TURN server implementations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1815936

Jared Smith <jsmith.fedora@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?(daniel@xxxxxxxxxx
                   |                            |.au)



--- Comment #3 from Jared Smith <jsmith.fedora@xxxxxxxxx> ---
I tried building this in Rawhide, but wasn't successful.

The first issue I ran into was that on line 168 of your spec file, you have
PYCONFIG hard-coded to /usr/bin/python3.7-config, where in Fedora the
python3-devel package provides /usr/bin/python3-config and
/usr/bin/python-config.

Once I changed that, I ran into the following issue during compilation:

g++ -DHAVE_CONFIG_H -I. -I..   -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64
-DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -I .. -DASIO_HAS_BOOST_BIND
-DBOOST_ASIO_HAS_STD_CHRONO -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-I/usr/include/libdb4 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -Wall -Wno-deprecated -c -o TlsServer.o TlsServer.cxx
In file included from ReTurnConfig.cxx:16:
ReTurnConfig.hxx:116:13: error: 'steady_timer' in namespace 'asio' does not
name a type
  116 |       asio::steady_timer mTimer;
      |             ^~~~~~~~~~~~
ReTurnConfig.cxx:34:22: error: 'chrono' is not a namespace-name
   34 | using namespace std::chrono;
      |                      ^~~~~~
ReTurnConfig.cxx: In constructor
'reTurn::ReTurnUserFileScanner::ReTurnUserFileScanner(asio::io_service&,
reTurn::ReTurnConfig&)':
ReTurnConfig.cxx:365:4: error: class 'reTurn::ReTurnUserFileScanner' does not
have any field named 'mTimer'
  365 |    mTimer(ioService, seconds(mLoopInterval))
      |    ^~~~~~
ReTurnConfig.cxx:365:22: error: 'seconds' was not declared in this scope
  365 |    mTimer(ioService, seconds(mLoopInterval))
      |                      ^~~~~~~
ReTurnConfig.cxx:365:22: note: suggested alternatives:
In file included from /usr/include/boost/chrono/chrono.hpp:11,
                 from /usr/include/boost/chrono/include.hpp:15,
                 from /usr/include/boost/chrono.hpp:17,
                 from ReTurnConfig.cxx:14:
/usr/include/boost/chrono/duration.hpp:201:44: note:   'boost::chrono::seconds'
  201 |     typedef duration<boost::int_least64_t> seconds;              // at
least 35 bits needed
      |                                            ^~~~~~~
In file included from
/usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/asio/time_traits.hpp:23,
                 from /usr/include/asio/deadline_timer_service.hpp:27,
                 from /usr/include/asio/basic_deadline_timer.hpp:25,
                 from /usr/include/asio.hpp:20,
                 from ReTurnConfig.hxx:5,
                 from ReTurnConfig.cxx:16:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:  
'boost::posix_time::seconds'
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
ReTurnConfig.cxx: In member function 'void
reTurn::ReTurnUserFileScanner::start()':
ReTurnConfig.cxx:383:7: error: 'mTimer' was not declared in this scope
  383 |       mTimer.expires_from_now(seconds(timerInterval));
      |       ^~~~~~
ReTurnConfig.cxx:383:31: error: 'seconds' was not declared in this scope
  383 |       mTimer.expires_from_now(seconds(timerInterval));
      |                               ^~~~~~~
ReTurnConfig.cxx:383:31: note: suggested alternatives:
In file included from /usr/include/boost/chrono/chrono.hpp:11,
                 from /usr/include/boost/chrono/include.hpp:15,
                 from /usr/include/boost/chrono.hpp:17,
                 from ReTurnConfig.cxx:14:
/usr/include/boost/chrono/duration.hpp:201:44: note:   'boost::chrono::seconds'
  201 |     typedef duration<boost::int_least64_t> seconds;              // at
least 35 bits needed
      |                                            ^~~~~~~
In file included from
/usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
                 from /usr/include/asio/time_traits.hpp:23,
                 from /usr/include/asio/deadline_timer_service.hpp:27,
                 from /usr/include/asio/basic_deadline_timer.hpp:25,
                 from /usr/include/asio.hpp:20,
                 from ReTurnConfig.hxx:5,
                 from ReTurnConfig.cxx:16:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:  
'boost::posix_time::seconds'
   53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
      |                              ^~~~~~~
In file included from TurnManager.hxx:9,
                 from RequestHandler.hxx:10,
                 from TcpConnection.hxx:11,
                 from TcpServer.hxx:10,
                 from TcpServer.cxx:1:
ReTurnConfig.hxx:116:13: error: 'steady_timer' in namespace 'asio' does not
name a type
  116 |       asio::steady_timer mTimer;
      |             ^~~~~~~~~~~~
In file included from TurnManager.hxx:9,
                 from RequestHandler.hxx:10,
                 from RequestHandler.cxx:1:
ReTurnConfig.hxx:116:13: error: 'steady_timer' in namespace 'asio' does not
name a type
  116 |       asio::steady_timer mTimer;
      |             ^~~~~~~~~~~~
In file included from TurnManager.hxx:9,
                 from RequestHandler.hxx:10,
                 from TlsConnection.hxx:14,
                 from TlsConnection.cxx:11:
ReTurnConfig.hxx:116:13: error: 'steady_timer' in namespace 'asio' does not
name a type
  116 |       asio::steady_timer mTimer;
      |             ^~~~~~~~~~~~
In file included from TurnManager.hxx:9,
                 from RequestHandler.hxx:10,
                 from TcpConnection.hxx:11,
                 from TcpConnection.cxx:1:
ReTurnConfig.hxx:116:13: error: 'steady_timer' in namespace 'asio' does not
name a type
  116 |       asio::steady_timer mTimer;
      |             ^~~~~~~~~~~~
In file included from RequestHandler.cxx:6:
TurnAllocation.hxx:86:10: error: 'steady_timer' in namespace 'asio' does not
name a type
   86 |    asio::steady_timer mAllocationTimer;
      |          ^~~~~~~~~~~~
make[3]: *** [Makefile:731: ReTurnConfig.o] Error 1
make[3]: *** Waiting for unfinished jobs....
RequestHandler.cxx: In member function 'reTurn::RequestHandler::ProcessResult
reTurn::RequestHandler::processTurnAllocateRequest(reTurn::AsyncSocketBase*,
reTurn::TurnAllocationManager&, reTurn::StunMessage&, reTurn::StunMessage&)':
RequestHandler.cxx:599:29: warning: catching polymorphic type
'asio::system_error' {aka 'class std::system_error'} by value [-Wcatch-value=]
  599 |    catch(asio::system_error e)
      |                             ^
make[3]: *** [Makefile:731: TcpServer.o] Error 1
In file included from TurnManager.hxx:9,
                 from RequestHandler.hxx:10,
                 from TlsConnection.hxx:14,
                 from TlsServer.hxx:14,
                 from TlsServer.cxx:7:
ReTurnConfig.hxx:116:13: error: 'steady_timer' in namespace 'asio' does not
name a type
  116 |       asio::steady_timer mTimer;
      |             ^~~~~~~~~~~~
make[3]: *** [Makefile:731: TcpConnection.o] Error 1
make[3]: *** [Makefile:731: TlsConnection.o] Error 1
make[3]: *** [Makefile:731: RequestHandler.o] Error 1
make[3]: *** [Makefile:731: TlsServer.o] Error 1
In file included from TurnManager.hxx:9,
                 from RequestHandler.hxx:10,
                 from TcpConnection.hxx:11,
                 from TcpServer.hxx:10,
                 from reTurnServer.cxx:17:
ReTurnConfig.hxx:116:13: error: 'steady_timer' in namespace 'asio' does not
name a type
  116 |       asio::steady_timer mTimer;
      |             ^~~~~~~~~~~~
In file included from reTurnServer.cxx:19:
UdpServer.hxx:70:13: error: 'steady_timer' in namespace 'asio' does not name a
type
   70 |       asio::steady_timer mCleanupTimer;
      |             ^~~~~~~~~~~~
make[3]: *** [Makefile:731: reTurnServer.o] Error 1
make[3]: Leaving directory
'/home/jsmith/Build/BUILD/resiprocate-1.12.0~beta12/reTurn'
make[2]: *** [Makefile:829: all-recursive] Error 1
make[2]: Leaving directory
'/home/jsmith/Build/BUILD/resiprocate-1.12.0~beta12/reTurn'
make[1]: *** [Makefile:454: all-recursive] Error 1
make[1]: Leaving directory '/home/jsmith/Build/BUILD/resiprocate-1.12.0~beta12'
make: *** [Makefile:384: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.7Vk5RV (%build)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux