Created
March 6, 2025 13:36
-
-
Save TomasTomecek/2c87c80a43b1679b0390b127ea83c767 to your computer and use it in GitHub Desktop.
opensips build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fgnu89-inline -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DQ_MALLOC -DHP_MALLOC -DDBG_MALLOC -DHAVE_STDATOMIC -DHAVE_GENERICS -DNAME='"opensips"' -DVERSION='"3.5.4"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 15"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"051e1c4cc"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c mi/fmt.c -o mi/fmt.o | |
Compiling mi/item.c | |
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fgnu89-inline -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DQ_MALLOC -DHP_MALLOC -DDBG_MALLOC -DHAVE_STDATOMIC -DHAVE_GENERICS -DNAME='"opensips"' -DVERSION='"3.5.4"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 15"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"051e1c4cc"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c mi/item.c -o mi/item.o | |
Compiling mi/mi.c | |
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fgnu89-inline -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DQ_MALLOC -DHP_MALLOC -DDBG_MALLOC -DHAVE_STDATOMIC -DHAVE_GENERICS -DNAME='"opensips"' -DVERSION='"3.5.4"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 15"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"051e1c4cc"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c mi/mi.c -o mi/mi.o | |
Compiling mi/mi_core.c | |
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fgnu89-inline -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DQ_MALLOC -DHP_MALLOC -DDBG_MALLOC -DHAVE_STDATOMIC -DHAVE_GENERICS -DNAME='"opensips"' -DVERSION='"3.5.4"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 15"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"051e1c4cc"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c mi/mi_core.c -o mi/mi_core.o | |
db/db.c:294:11: error: conflicting types for ‘db_do_init’; have ‘db_con_t *(const str *, void * (*)(const struct db_id *))’ {aka ‘db_con_t *(const struct __str *, void * (*)(const struct db_id *))’} | |
294 | db_con_t* db_do_init(const str* url, void* (*new_connection)(const struct db_id *)) | |
| ^~~~~~~~~~ | |
In file included from db/db.c:52: | |
db/db.h:410:11: note: previous declaration of ‘db_do_init’ with type ‘db_con_t *(const str *, void * (*)(void))’ {aka ‘db_con_t *(const struct __str *, void * (*)(void))’} | |
410 | db_con_t* db_do_init(const str* url, void* (*new_connection)()); | |
| ^~~~~~~~~~ | |
db/db.c:373:6: error: conflicting types for ‘db_do_close’; have ‘void(db_con_t *, void (*)(struct pool_con *))’ | |
373 | void db_do_close(db_con_t* _h, void (*free_connection)(struct pool_con*)) | |
| ^~~~~~~~~~~ | |
db/db.h:421:6: note: previous declaration of ‘db_do_close’ with type ‘void(db_con_t *, void (*)(void))’ | |
421 | void db_do_close(db_con_t* _h, void (*free_connection)()); | |
| ^~~~~~~~~~~ | |
make: *** [Makefile.rules:27: db/db.o] Error 1 | |
make: *** Waiting for unfinished jobs.... | |
transformations.c: In function ‘tr_eval_sdp’: | |
transformations.c:1779:70: warning: ‘media.len’ may be used uninitialized [-Wmaybe-uninitialized] | |
1779 | if ((media.s != NULL && stream->media.len == media.len && | |
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
transformations.c:1632:13: note: ‘media.len’ was declared here | |
1632 | str media; | |
| ^~~~~ | |
error: Bad exit status from /var/tmp/rpm-tmp.2y4oQs (%build) | |
line 51: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-auth_diameter | |
line 52: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-event_datagram | |
line 53: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-event_jsonrpc | |
line 54: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-mi_xmlrpc | |
line 56: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-seas | |
line 57: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-sms | |
line 58: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-xmlrpc | |
line 155: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-memcached | |
RPM build warnings: | |
RPM build errors: | |
line 177: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-redis | |
line 257: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-mysql | |
line 284: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-perlvdb | |
line 295: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-postgresql | |
line 315: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-unixodbc | |
line 466: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-xmlrpc_ng | |
line 626: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-tlsops | |
line 660: It's not recommended to have unversioned Obsoletes: Obsoletes: opensips-tlsops | |
Macro expanded in comment on line 769: %{?python_provide:%python_provide python2-opensips} | |
Macro expanded in comment on line 771: %{name}-python = %{version}-%{release} | |
Macro expanded in comment on line 772: %{name}-python%{?_isa} = %{version}-%{release} | |
Macro expanded in comment on line 773: %{name}-python < %{version}-%{release} | |
Macro expanded in comment on line 775: %{name}%{?_isa} = %{version}-%{release} | |
Macro expanded in comment on line 1532: %{_libdir}/opensips/modules/python.so | |
Bad exit status from /var/tmp/rpm-tmp.2y4oQs (%build) | |
Child return code was: 1 | |
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a7e8422d800d42ef8d9fc0280fffd99b -D /var/lib/mock/f43-build-57367757-6552120/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.aelvgoch:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensips.spec\'\n', 1)] | |
Traceback (most recent call last): | |
File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace | |
result = func(*args, **kw) | |
File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status | |
raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) | |
mockbuild.exception.Error: Command failed: | |
# /usr/bin/systemd-nspawn -q -M a7e8422d800d42ef8d9fc0280fffd99b -D /var/lib/mock/f43-build-57367757-6552120/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.aelvgoch:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensips.spec' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment