[asterisk-bugs] [JIRA] (ASTERISK-30395) install_prereq: sipp 3.5.2 compilation fails

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Jan 12 13:11:03 CST 2023


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261193#comment-261193 ] 

Asterisk Team commented on ASTERISK-30395:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].

> install_prereq: sipp 3.5.2 compilation fails
> --------------------------------------------
>
>                 Key: ASTERISK-30395
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30395
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Tests/testsuite
>    Affects Versions: 20.1.0
>         Environment: Ubuntu GitHub Actions runner
>            Reporter: N A
>            Severity: Major
>
> sipp 3.5.2 no longer seems to compile:
> Furthermore, no check is done as to success, so the installation of the rest of the test suite proceeds even though things failed and it would probably be more appropriate to just abort at this point.
> {noformat}
> make[1]: Leaving directory '/usr/src/testsuite/asttest/lib/lua/luaposix-5.1.4'
> install -d /usr/local/bin
> install -m 755 asttest /usr/local/bin
> Cloning into 'sipp'...
> Note: switching to 'v3.5.2'.
> You are in 'detached HEAD' state. You can look around, make experimental
> changes and commit them, and you can discard any commits you make in this
> state without impacting any branches by switching back to a branch.
> If you want to create a new branch to retain commits you create, you may
> do so (now or later) by using -c with the switch command. Example:
>   git switch -c <new-branch-name>
> Or undo this operation with:
>   git switch -
> Turn off this advice by setting config variable advice.detachedHead to false
> HEAD is now at 8050f2d build: Replace _rc1 with ~rc1 in version.h
> Submodule 'gmock' (https://chromium.googlesource.com/external/googlemock) registered for path 'gmock'
> Submodule 'gtest' (https://chromium.googlesource.com/external/googletest) registered for path 'gtest'
> Cloning into '/tmp/sipp/gmock'...
> Cloning into '/tmp/sipp/gtest'...
> Submodule path 'gmock': checked out 'c7ee6b5c206e498063b1e89d381045f78cb6ab36'
> Submodule path 'gtest': checked out '935f1265d088d81e802c49aec8cb717c30741caa'
> autoreconf: export WARNINGS=
> autoreconf: Entering directory '.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force 
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: configure.ac: not using Intltool
> autoreconf: configure.ac: not using Gtkdoc
> autoreconf: running: /usr/bin/autoconf --force
> configure.ac:21: warning: The macro `AC_HELP_STRING' is obsolete.
> configure.ac:21: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> configure.ac:21: the top level
> configure.ac:22: warning: The macro `AC_HELP_STRING' is obsolete.
> configure.ac:22: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> configure.ac:22: the top level
> configure.ac:23: warning: The macro `AC_HELP_STRING' is obsolete.
> configure.ac:23: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> configure.ac:23: the top level
> configure.ac:24: warning: The macro `AC_HELP_STRING' is obsolete.
> configure.ac:24: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> configure.ac:24: the top level
> configure.ac:25: warning: The macro `AC_HELP_STRING' is obsolete.
> configure.ac:25: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> configure.ac:25: the top level
> configure.ac:28: warning: The macro `AC_HELP_STRING' is obsolete.
> configure.ac:28: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> configure.ac:28: the top level
> configure.ac:45: warning: The macro `AC_HEADER_STDC' is obsolete.
> configure.ac:45: You should run autoupdate.
> ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
> configure.ac:45: the top level
> configure.ac:94: warning: The macro `AC_ERROR' is obsolete.
> configure.ac:94: You should run autoupdate.
> ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
> aclocal.m4:161: PKG_CHECK_MODULES is expanded from...
> aclocal.m4:161: PKG_CHECK_MODULES is expanded from...
> configure.ac:94: the top level
> configure.ac:105: warning: The macro `AC_ERROR' is obsolete.
> configure.ac:105: You should run autoupdate.
> ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
> configure.ac:105: the top level
> configure.ac:106: warning: The macro `AC_ERROR' is obsolete.
> configure.ac:106: You should run autoupdate.
> ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
> configure.ac:106: the top level
> autoreconf: running: /usr/bin/autoheader --force
> autoreconf: running: automake --add-missing --force-missing
> configure.ac:43: installing './compile'
> configure.ac:15: installing './config.guess'
> configure.ac:15: installing './config.sub'
> configure.ac:19: installing './install-sh'
> configure.ac:19: installing './missing'
> Makefile.am: installing './depcomp'
> parallel-tests: installing './test-driver'
> autoreconf: Leaving directory '.'
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... x86_64-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a race-free mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> configure: WARNING: cannot find help2man, you will not be able to generate manpages
> checking for help2man... no
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether the compiler supports GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to enable C11 features... none needed
> checking whether gcc understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of gcc... gcc3
> checking for g++... g++
> checking whether the compiler supports GNU C++... yes
> checking whether g++ accepts -g... yes
> checking for g++ option to enable C++11 features... none needed
> checking dependency style of g++... gcc3
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for strings.h... yes
> checking for sys/stat.h... yes
> checking for sys/types.h... yes
> checking for unistd.h... yes
> checking for vfork.h... no
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking whether g++ supports C++11 features by default... yes
> checking whether C compiler accepts -std=gnu11... yes
> checking for pkg-config... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for ncurses... yes
> checking for pthread_mutex_init in -lpthread... yes
> checking for library containing dlopen... none required
> checking for library containing dlerror... none required
> checking for library containing dlsym... none required
> checking for library containing clock_gettime... none required
> checking for library containing inet_addr... none required
> checking for library containing inet_ntoa... none required
> checking for library containing pthread_mutex_init... none required
> checking for library containing pthread_mutex_destroy... none required
> checking for library containing pthread_mutex_lock... none required
> checking for library containing pthread_mutex_unlock... none required
> checking for library containing pthread_self... none required
> checking for library containing pthread_cancel... none required
> checking for library containing pthread_join... none required
> checking for library containing pthread_attr_init... none required
> checking for library containing pthread_attr_setstacksize... none required
> checking for library containing pthread_create... none required
> checking for library containing pthread_attr_destroy... none required
> checking for library containing pthread_setschedparam... none required
> checking for library containing pthread_setcancelstate... none required
> checking for library containing pthread_setcanceltype... none required
> checking for library containing pthread_exit... none required
> checking for library containing pthread_sigmask... none required
> checking for library containing floor... -lm
> checking for library containing pow... none required
> checking for library containing htons... none required
> checking for library containing ntohs... none required
> checking for library containing bind... none required
> checking for library containing freeaddrinfo... none required
> checking for library containing getaddrinfo... none required
> checking for library containing listen... none required
> checking for library containing recvfrom... none required
> checking for library containing shutdown... none required
> checking for openssl/bio.h... yes
> checking for openssl/err.h... yes
> checking for openssl/rand.h... yes
> checking for openssl/ssl.h... yes
> checking for openssl/x509v3.h... yes
> checking for SSL_CTX_new in -lssl... yes
> checking for CRYPTO_free in -lcrypto... yes
> checking for netinet/sctp.h... yes
> checking for library containing sctp_send... -lsctp
> checking for library containing sctp_freepaddrs... none required
> checking for library containing sctp_bindx... none required
> checking for library containing sctp_recvmsg... none required
> checking for pcap.h... yes
> checking for library containing pcap_open_offline... -lpcap
> checking for library containing pcap_next... none required
> checking for library containing pcap_close... none required
> checking for pcap_next_ex in -lpcap... yes
> checking for linux/version.h... yes
> checking for Linux epoll(7) interface... yes
> checking for size_t... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for arpa/inet.h... yes
> checking for endian.h... yes
> checking for fcntl.h... yes
> checking for limits.h... yes
> checking for netdb.h... yes
> checking for netinet/in.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for sys/endian.h... no
> checking for sys/socket.h... yes
> checking for sys/time.h... yes
> checking for unistd.h... (cached) yes
> checking for _Bool... yes
> checking for stdbool.h that conforms to C99... yes
> checking for inline... inline
> checking for pid_t... yes
> checking for size_t... (cached) yes
> checking for ssize_t... yes
> checking for fork... yes
> checking for vfork... yes
> checking for working fork... yes
> checking for working vfork... (cached) yes
> checking for alarm... yes
> checking for dup2... yes
> checking for floor... yes
> checking for gethostname... yes
> checking for gettimeofday... yes
> checking for inet_ntoa... yes
> checking for memmove... yes
> checking for memset... yes
> checking for pow... yes
> checking for regcomp... yes
> checking for socket... yes
> checking for sqrt... yes
> checking for strcasecmp... yes
> checking for strchr... yes
> checking for strcspn... yes
> checking for strdup... yes
> checking for strerror... yes
> checking for strncasecmp... yes
> checking for strrchr... yes
> checking for strstr... yes
> checking for strtol... yes
> checking for strtoul... yes
> checking for strtoull... yes
> checking for gcc options needed to detect all undeclared functions... none needed
> checking whether le16toh is declared... yes
> checking whether g++ supports is_default_constructible (used by gmock)... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating include/config.h
> config.status: executing depfiles commands
> make clean
> make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> make[1]: Entering directory '/tmp/sipp'
> test -z "sipp" || rm -f sipp
> test -z "sipp_unittest" || rm -f sipp_unittest
> test -z "" || rm -f 
> rm -f *.o
> rm -f gmock/src/*.o
> rm -f gtest/src/*.o
> rm -f src/*.o
> test -z "sipp_unittest.log" || rm -f sipp_unittest.log
> test -z "sipp_unittest.trs" || rm -f sipp_unittest.trs
> test -z "test-suite.log" || rm -f test-suite.log
> make[1]: Leaving directory '/tmp/sipp'
> echo > .autoclean
> /usr/bin/gmake  all-am
> gmake[1]: Entering directory '/tmp/sipp'
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-actions.o -MD -MP -MF src/.deps/sipp-actions.Tpo -c -o src/sipp-actions.o `test -f 'src/actions.cpp' || echo './'`src/actions.cpp
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-auth.o -MD -MP -MF src/.deps/sipp-auth.Tpo -c -o src/sipp-auth.o `test -f 'src/auth.cpp' || echo './'`src/auth.cpp
> gcc -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -std=gnu11 -D__LINUX -MT src/sipp-comp.o -MD -MP -MF src/.deps/sipp-comp.Tpo -c -o src/sipp-comp.o `test -f 'src/comp.c' || echo './'`src/comp.c
> mv -f src/.deps/sipp-comp.Tpo src/.deps/sipp-comp.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-call.o -MD -MP -MF src/.deps/sipp-call.Tpo -c -o src/sipp-call.o `test -f 'src/call.cpp' || echo './'`src/call.cpp
> src/auth.cpp: In function ‘int createAuthHeaderMD5(const char*, const char*, int, const char*, const char*, const char*, const char*, const char*, char*)’:
> src/auth.cpp:396:40: warning: ‘%s’ directive output may be truncated writing up to 2048 bytes into a region of size 2043 [-Wformat-truncation=]
>   396 |     snprintf(tmp, sizeof(tmp), ",uri=\"%s\"", sipuri);
>       |                                        ^~     ~~~~~~
> In file included from /usr/include/stdio.h:894,
>                  from src/auth.cpp:29:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output between 8 and 2056 bytes into a destination of size 2049
>    71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    72 |                                    __glibc_objsize (__s), __fmt,
>       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    73 |                                    __va_arg_pack ());
>       |                                    ~~~~~~~~~~~~~~~~~
> src/auth.cpp:418:44: warning: ‘%s’ directive output may be truncated writing up to 2048 bytes into a region of size 2041 [-Wformat-truncation=]
>   418 |     snprintf(tmp2, sizeof(tmp2), ",nonce=\"%s\",response=\"%s\",algorithm=%s", nonce, resp_hex, algo);
>       |                                            ^~                                  ~~~~~
> In file included from /usr/include/stdio.h:894,
>                  from src/auth.cpp:29:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output 33 or more bytes (assuming 2113) into a destination of size 2049
>    71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    72 |                                    __glibc_objsize (__s), __fmt,
>       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    73 |                                    __va_arg_pack ());
>       |                                    ~~~~~~~~~~~~~~~~~
> mv -f src/.deps/sipp-auth.Tpo src/.deps/sipp-auth.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-deadcall.o -MD -MP -MF src/.deps/sipp-deadcall.Tpo -c -o src/sipp-deadcall.o `test -f 'src/deadcall.cpp' || echo './'`src/deadcall.cpp
> mv -f src/.deps/sipp-actions.Tpo src/.deps/sipp-actions.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-infile.o -MD -MP -MF src/.deps/sipp-infile.Tpo -c -o src/sipp-infile.o `test -f 'src/infile.cpp' || echo './'`src/infile.cpp
> src/call.cpp: In member function ‘virtual void call::dump()’:
> src/call.cpp:834:31: warning: ‘%s’ directive output may be truncated writing up to 2048 bytes into a region of size 64 [-Wformat-truncation=]
>   834 |         snprintf(tmpbuf, 64, "%s (next retrans %u)", s, next_retrans);
>       |                               ^~                     ~
> src/call.cpp:834:30: note: directive argument in the range [1, 4294967295]
>   834 |         snprintf(tmpbuf, 64, "%s (next retrans %u)", s, next_retrans);
>       |                              ^~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/stdio.h:894,
>                  from /usr/include/c++/11/cstdio:42,
>                  from /usr/include/c++/11/ext/string_conversions.h:43,
>                  from /usr/include/c++/11/bits/basic_string.h:6608,
>                  from /usr/include/c++/11/string:55,
>                  from /usr/include/c++/11/bits/locale_classes.h:40,
>                  from /usr/include/c++/11/bits/ios_base.h:41,
>                  from /usr/include/c++/11/streambuf:41,
>                  from /usr/include/c++/11/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/11/iterator:66,
>                  from src/call.cpp:41:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output between 18 and 2075 bytes into a destination of size 64
>    71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    72 |                                    __glibc_objsize (__s), __fmt,
>       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    73 |                                    __va_arg_pack ());
>       |                                    ~~~~~~~~~~~~~~~~~
> mv -f src/.deps/sipp-deadcall.Tpo src/.deps/sipp-deadcall.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-listener.o -MD -MP -MF src/.deps/sipp-listener.Tpo -c -o src/sipp-listener.o `test -f 'src/listener.cpp' || echo './'`src/listener.cpp
> mv -f src/.deps/sipp-infile.Tpo src/.deps/sipp-infile.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-logger.o -MD -MP -MF src/.deps/sipp-logger.Tpo -c -o src/sipp-logger.o `test -f 'src/logger.cpp' || echo './'`src/logger.cpp
> mv -f src/.deps/sipp-listener.Tpo src/.deps/sipp-listener.Po
> gcc -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -std=gnu11 -D__LINUX -MT src/sipp-md5.o -MD -MP -MF src/.deps/sipp-md5.Tpo -c -o src/sipp-md5.o `test -f 'src/md5.c' || echo './'`src/md5.c
> mv -f src/.deps/sipp-md5.Tpo src/.deps/sipp-md5.Po
> mv -f src/.deps/sipp-logger.Tpo src/.deps/sipp-logger.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-message.o -MD -MP -MF src/.deps/sipp-message.Tpo -c -o src/sipp-message.o `test -f 'src/message.cpp' || echo './'`src/message.cpp
> gcc -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -std=gnu11 -D__LINUX -MT src/sipp-milenage.o -MD -MP -MF src/.deps/sipp-milenage.Tpo -c -o src/sipp-milenage.o `test -f 'src/milenage.c' || echo './'`src/milenage.c
> mv -f src/.deps/sipp-call.Tpo src/.deps/sipp-call.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-call_generation_task.o -MD -MP -MF src/.deps/sipp-call_generation_task.Tpo -c -o src/sipp-call_generation_task.o `test -f 'src/call_generation_task.cpp' || echo './'`src/call_generation_task.cpp
> mv -f src/.deps/sipp-milenage.Tpo src/.deps/sipp-milenage.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-ratetask.o -MD -MP -MF src/.deps/sipp-ratetask.Tpo -c -o src/sipp-ratetask.o `test -f 'src/ratetask.cpp' || echo './'`src/ratetask.cpp
> mv -f src/.deps/sipp-ratetask.Tpo src/.deps/sipp-ratetask.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-reporttask.o -MD -MP -MF src/.deps/sipp-reporttask.Tpo -c -o src/sipp-reporttask.o `test -f 'src/reporttask.cpp' || echo './'`src/reporttask.cpp
> mv -f src/.deps/sipp-call_generation_task.Tpo src/.deps/sipp-call_generation_task.Po
> gcc -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -std=gnu11 -D__LINUX -MT src/sipp-rijndael.o -MD -MP -MF src/.deps/sipp-rijndael.Tpo -c -o src/sipp-rijndael.o `test -f 'src/rijndael.c' || echo './'`src/rijndael.c
> mv -f src/.deps/sipp-message.Tpo src/.deps/sipp-message.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-scenario.o -MD -MP -MF src/.deps/sipp-scenario.Tpo -c -o src/sipp-scenario.o `test -f 'src/scenario.cpp' || echo './'`src/scenario.cpp
> mv -f src/.deps/sipp-rijndael.Tpo src/.deps/sipp-rijndael.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-sip_parser.o -MD -MP -MF src/.deps/sipp-sip_parser.Tpo -c -o src/sipp-sip_parser.o `test -f 'src/sip_parser.cpp' || echo './'`src/sip_parser.cpp
> mv -f src/.deps/sipp-sip_parser.Tpo src/.deps/sipp-sip_parser.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-screen.o -MD -MP -MF src/.deps/sipp-screen.Tpo -c -o src/sipp-screen.o `test -f 'src/screen.cpp' || echo './'`src/screen.cpp
> mv -f src/.deps/sipp-reporttask.Tpo src/.deps/sipp-reporttask.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-socket.o -MD -MP -MF src/.deps/sipp-socket.Tpo -c -o src/sipp-socket.o `test -f 'src/socket.cpp' || echo './'`src/socket.cpp
> src/socket.cpp: In function ‘ssl_init_status FI_init_ssl_context()’:
> src/socket.cpp:2065:48: warning: ‘const SSL_METHOD* TLSv1_method()’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
>  2065 |     sip_trp_ssl_ctx = SSL_CTX_new( TLSv1_method() );
>       |                                    ~~~~~~~~~~~~^~
> In file included from ./include/sslcommon.h:25,
>                  from ./include/socket.hpp:25,
>                  from ./include/sipp.hpp:76,
>                  from src/socket.cpp:41:
> /usr/include/openssl/ssl.h:2004:50: note: declared here
>  2004 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_method(void); /* TLSv1.0 */
>       |                                                  ^~~~~~~~~~~~
> src/socket.cpp:2071:55: warning: ‘const SSL_METHOD* TLSv1_method()’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
>  2071 |     sip_trp_ssl_ctx_client = SSL_CTX_new( TLSv1_method() );
>       |                                           ~~~~~~~~~~~~^~
> In file included from ./include/sslcommon.h:25,
>                  from ./include/socket.hpp:25,
>                  from ./include/sipp.hpp:76,
>                  from src/socket.cpp:41:
> /usr/include/openssl/ssl.h:2004:50: note: declared here
>  2004 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_method(void); /* TLSv1.0 */
>       |                                                  ^~~~~~~~~~~~
> mv -f src/.deps/sipp-screen.Tpo src/.deps/sipp-screen.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-socketowner.o -MD -MP -MF src/.deps/sipp-socketowner.Tpo -c -o src/sipp-socketowner.o `test -f 'src/socketowner.cpp' || echo './'`src/socketowner.cpp
> mv -f src/.deps/sipp-socketowner.Tpo src/.deps/sipp-socketowner.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-stat.o -MD -MP -MF src/.deps/sipp-stat.Tpo -c -o src/sipp-stat.o `test -f 'src/stat.cpp' || echo './'`src/stat.cpp
> mv -f src/.deps/sipp-scenario.Tpo src/.deps/sipp-scenario.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-strings.o -MD -MP -MF src/.deps/sipp-strings.Tpo -c -o src/sipp-strings.o `test -f 'src/strings.cpp' || echo './'`src/strings.cpp
> mv -f src/.deps/sipp-strings.Tpo src/.deps/sipp-strings.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-task.o -MD -MP -MF src/.deps/sipp-task.Tpo -c -o src/sipp-task.o `test -f 'src/task.cpp' || echo './'`src/task.cpp
> mv -f src/.deps/sipp-socket.Tpo src/.deps/sipp-socket.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-time.o -MD -MP -MF src/.deps/sipp-time.Tpo -c -o src/sipp-time.o `test -f 'src/time.cpp' || echo './'`src/time.cpp
> mv -f src/.deps/sipp-time.Tpo src/.deps/sipp-time.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-variables.o -MD -MP -MF src/.deps/sipp-variables.Tpo -c -o src/sipp-variables.o `test -f 'src/variables.cpp' || echo './'`src/variables.cpp
> mv -f src/.deps/sipp-task.Tpo src/.deps/sipp-task.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-watchdog.o -MD -MP -MF src/.deps/sipp-watchdog.Tpo -c -o src/sipp-watchdog.o `test -f 'src/watchdog.cpp' || echo './'`src/watchdog.cpp
> mv -f src/.deps/sipp-watchdog.Tpo src/.deps/sipp-watchdog.Po
> gcc -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -std=gnu11 -D__LINUX -MT src/sipp-xp_parser.o -MD -MP -MF src/.deps/sipp-xp_parser.Tpo -c -o src/sipp-xp_parser.o `test -f 'src/xp_parser.c' || echo './'`src/xp_parser.c
> mv -f src/.deps/sipp-xp_parser.Tpo src/.deps/sipp-xp_parser.Po
> gcc -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -std=gnu11 -D__LINUX -MT src/sipp-sslinit.o -MD -MP -MF src/.deps/sipp-sslinit.Tpo -c -o src/sipp-sslinit.o `test -f 'src/sslinit.c' || echo './'`src/sslinit.c
> src/sslinit.c: In function ‘SSL_ERROR’:
> src/sslinit.c:52:5: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>    52 |     code = ERR_get_error_line_data(&file,&line,&data,&flags);
>       |     ^~~~
> In file included from ./include/sslcommon.h:23,
>                  from src/sslinit.c:21:
> /usr/include/openssl/err.h:413:15: note: declared here
>   413 | unsigned long ERR_get_error_line_data(const char **file, int *line,
>       |               ^~~~~~~~~~~~~~~~~~~~~~~
> src/sslinit.c:63:9: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>    63 |         code = ERR_get_error_line_data(&file,&line,&data,&flags);
>       |         ^~~~
> In file included from ./include/sslcommon.h:23,
>                  from src/sslinit.c:21:
> /usr/include/openssl/err.h:413:15: note: declared here
>   413 | unsigned long ERR_get_error_line_data(const char **file, int *line,
>       |               ^~~~~~~~~~~~~~~~~~~~~~~
> mv -f src/.deps/sipp-sslinit.Tpo src/.deps/sipp-sslinit.Po
> gcc -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -std=gnu11 -D__LINUX -MT src/sipp-sslthreadsafe.o -MD -MP -MF src/.deps/sipp-sslthreadsafe.Tpo -c -o src/sipp-sslthreadsafe.o `test -f 'src/sslthreadsafe.c' || echo './'`src/sslthreadsafe.c
> mv -f src/.deps/sipp-stat.Tpo src/.deps/sipp-stat.Po
> gcc -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -std=gnu11 -D__LINUX -MT src/sipp-prepare_pcap.o -MD -MP -MF src/.deps/sipp-prepare_pcap.Tpo -c -o src/sipp-prepare_pcap.o `test -f 'src/prepare_pcap.c' || echo './'`src/prepare_pcap.c
> mv -f src/.deps/sipp-sslthreadsafe.Tpo src/.deps/sipp-sslthreadsafe.Po
> gcc -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -std=gnu11 -D__LINUX -MT src/sipp-send_packets.o -MD -MP -MF src/.deps/sipp-send_packets.Tpo -c -o src/sipp-send_packets.o `test -f 'src/send_packets.c' || echo './'`src/send_packets.c
> mv -f src/.deps/sipp-prepare_pcap.Tpo src/.deps/sipp-prepare_pcap.Po
> mv -f src/.deps/sipp-send_packets.Tpo src/.deps/sipp-send_packets.Po
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-rtpstream.o -MD -MP -MF src/.deps/sipp-rtpstream.Tpo -c -o src/sipp-rtpstream.o `test -f 'src/rtpstream.cpp' || echo './'`src/rtpstream.cpp
> g++ -DHAVE_CONFIG_H -DUSE_OPENSSL -DPCAPPLAY -DRTP_STREAM -DUSE_SCTP  -DHAVE_EPOLL -I. -I./include   -D__LINUX -I./include -Wall -pedantic  -g -O2 -MT src/sipp-sipp.o -MD -MP -MF src/.deps/sipp-sipp.Tpo -c -o src/sipp-sipp.o `test -f 'src/sipp.cpp' || echo './'`src/sipp.cpp
> mv -f src/.deps/sipp-variables.Tpo src/.deps/sipp-variables.Po
> In file included from ./include/strings.hpp:24,
>                  from ./include/sipp.hpp:484,
>                  from src/sipp.cpp:41:
> /usr/include/c++/11/cstddef:52:8: error: expected unqualified-id before string constant
>    52 | extern "C++"
>       |        ^~~~~
> mv -f src/.deps/sipp-rtpstream.Tpo src/.deps/sipp-rtpstream.Po
> gmake[1]: *** [Makefile:1852: src/sipp-sipp.o] Error 1
> gmake[1]: *** Waiting for unfinished jobs....
> gmake[1]: Leaving directory '/tmp/sipp'
> gmake: *** [Makefile:877: all] Error 2
> Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (5.4.1)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list