Hello,
I propose to aim freezing the development for 6.0.x series at the end of
the 16th of December 2024 (Monday).
New features that one wants to get in this release series have to be
pushed to git repository or pull requests made for them. Afterwards
usually follows a 4-6 weeks of testing till the first release 6.0.0.
Unfreezing will happen earlier, after the first weeks of testing when
the 6.0 branch will be created.
Cheers,
Daniel
--
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com
Discuss and track updates to default kamailio.cfg for v6.0.x series.
If you want to add something new to or remove from kamailio.cfg, post a comment in this thread.
Commits to kamailio.cfg can also reference this tracker item.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4034
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4034(a)github.com>
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
The function isc_match_filter uses a local variable "firstflag",
to handle the case of an HSS based terminating unregistered service.
In that case, the S-CSCF exchanges SAR/SAA with the HSS in order
to learn the subscription data and the iFC for an unregistered
user or for a PSI.
The firstflag is necessary to make a distiction between the
FAILURE ROUTE that is used for this case and the FAILURE ROUTE
that is used for transaction failure towards the AS.
The error is, the firstflag is set for the latter case, too,
which leads to a wrong handling of communication errors towards
the AS.
This PR introduces a new function that looks for the old
ISCMARK in the lumps of the stored message and hence can make a
distinction between the SAR/SAA case and the AS failure case.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4018
-- Commit Summary --
* ims_isc: bugfix: firstflag incorrect in isc_match_filter
-- File Changes --
M src/modules/ims_isc/ims_isc_mod.c (24)
M src/modules/ims_isc/mark.c (51)
M src/modules/ims_isc/mark.h (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4018.patchhttps://github.com/kamailio/kamailio/pull/4018.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4018
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4018(a)github.com>
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
Looks like htable module already exports API functions, but currently no other module uses them.
Added 2 more API functions for table creation (so other modules can be able to create their own hash tables if they want to)
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4010
-- Commit Summary --
* htable: export table create api functions
-- File Changes --
M src/modules/htable/api.c (10)
M src/modules/htable/api.h (4)
M src/modules/htable/ht_api.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4010.patchhttps://github.com/kamailio/kamailio/pull/4010.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4010
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4010(a)github.com>
### Description
During source compilation on Fedora 40 I see an error
```
[2024-11-15T10:13:57.497Z] make[3]: Entering directory '/root/rpmbuild/BUILD/kamailio-6.0.0-dev3/src/lib/srdb2'
[2024-11-15T10:13:57.502Z] make[3]: 'libsrdb2.so.1.0' is up to date.
[2024-11-15T10:13:57.502Z] make[3]: Leaving directory '/root/rpmbuild/BUILD/kamailio-6.0.0-dev3/src/lib/srdb2'
[2024-11-15T10:13:57.504Z] LD (gcc) [M uid_uri_db.so] uid_uri_db.so
[2024-11-15T10:13:57.535Z] make[2]: --libs8: No such file or directory
[2024-11-15T10:13:57.569Z] make[2]: --libs8: No such file or directory
[2024-11-15T10:13:57.590Z] CC (gcc) [M dialplan.so] dialplan.o
[2024-11-15T10:13:58.005Z] CC (gcc) [M dialplan.so] dp_db.o
[2024-11-15T10:13:58.331Z] CC (gcc) [M dialplan.so] dp_repl.o
[2024-11-15T10:13:58.742Z] make[3]: Entering directory '/root/rpmbuild/BUILD/kamailio-6.0.0-dev3/src/lib/srdb1'
[2024-11-15T10:13:58.748Z] make[3]: 'libsrdb1.so.1.0' is up to date.
[2024-11-15T10:13:58.748Z] make[3]: Leaving directory '/root/rpmbuild/BUILD/kamailio-6.0.0-dev3/src/lib/srdb1'
[2024-11-15T10:13:58.749Z] LD (gcc) [M dialplan.so] dialplan.so
[2024-11-15T10:13:58.776Z] make[2]: --libs8: No such file or directory
[2024-11-15T10:13:58.808Z] make[2]: --libs8: No such file or directory
[2024-11-15T10:13:58.837Z] CC (gcc) [M lcr.so] hash.o
[2024-11-15T10:13:58.984Z] CC (gcc) [M lcr.so] lcr_mod.o
[2024-11-15T10:14:00.389Z] CC (gcc) [M lcr.so] lcr_rpc.o
[2024-11-15T10:14:00.518Z] make[3]: Entering directory '/root/rpmbuild/BUILD/kamailio-6.0.0-dev3/src/lib/srdb1'
[2024-11-15T10:14:00.528Z] make[3]: 'libsrdb1.so.1.0' is up to date.
[2024-11-15T10:14:00.528Z] make[3]: Leaving directory '/root/rpmbuild/BUILD/kamailio-6.0.0-dev3/src/lib/srdb1'
[2024-11-15T10:14:00.529Z] LD (gcc) [M lcr.so] lcr.so
[2024-11-15T10:14:00.564Z] make[2]: --libs8: No such file or directory
[2024-11-15T10:14:00.592Z] make[2]: --libs8: No such file or directory
[2024-11-15T10:14:00.623Z] CC (gcc) [M regex.so] regex_mod.o
[2024-11-15T10:14:00.952Z] LD (gcc) [M regex.so] regex.so
[2024-11-15T10:14:00.997Z] CC (gcc) [M app_jsdt.so] app_jsdt_api.o
[2024-11-15T10:14:01.437Z] CC (gcc) [M app_jsdt.so] app_jsdt_kemi_export.o
[2024-11-15T10:14:02.089Z] CC (gcc) [M app_jsdt.so] app_jsdt_mod.o
[2024-11-15T10:14:02.389Z] CC (gcc) [M app_jsdt.so] duk_module_node.o
[2024-11-15T10:14:02.470Z] CC (gcc) [M app_jsdt.so] duktape.o
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4025
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4025(a)github.com>
See <https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…>
Changes:
------------------------------------------
[...truncated 28.09 KiB...]
pbuilder-satisfydepends-dummy depends on libdb-dev (>= 4.6.19); however:
Package libdb-dev is not installed.
pbuilder-satisfydepends-dummy depends on libev-dev; however:
Package libev-dev is not installed.
pbuilder-satisfydepends-dummy depends on libevent-dev; however:
Package libevent-dev is not installed.
pbuilder-satisfydepends-dummy depends on libexpat1-dev; however:
Package libexpat1-dev is not installed.
pbuilder-satisfydepends-dummy depends on libgeoip-dev (>= 1.4.5); however:
Package libgeoip-dev is not installed.
pbuilder-satisfydepends-dummy depends on libhiredis-dev (>= 0.10.0); however:
Package libhiredis-dev is not installed.
pbuilder-satisfydepends-dummy depends on libjansson-dev; however:
Package libjansson-dev is not installed.
pbuilder-satisfydepends-dummy depends on libjson-c-dev; however:
Package libjson-c-dev is not installed.
pbuilder-satisfydepends-dummy depends on libldap2-dev; however:
Package libldap2-dev is not installed.
pbuilder-satisfydepends-dummy depends on liblua5.1-0-dev; however:
Package liblua5.1-0-dev is not installed.
pbuilder-satisfydepends-dummy depends on libmaxminddb-dev; however:
Package libmaxminddb-dev is not installed.
pbuilder-satisfydepends-dummy depends on libmemcached-dev; however:
Package libmemcached-dev is not installed.
pbuilder-satisfydepends-dummy depends on libmnl-dev; however:
Package libmnl-dev is not installed.
pbuilder-satisfydepends-dummy depends on libmongoc-dev; however:
Package libmongoc-dev is not installed.
pbuilder-satisfydepends-dummy depends on libmono-2.0-dev; however:
Package libmono-2.0-dev is not installed.
pbuilder-satisfydepends-dummy depends on libmosquitto-dev; however:
Package libmosquitto-dev is not installed.
pbuilder-satisfydepends-dummy depends on libncurses5-dev; however:
Package libncurses5-dev is not installed.
pbuilder-satisfydepends-dummy depends on libpcre3-dev; however:
Package libpcre3-dev is not installed.
pbuilder-satisfydepends-dummy depends on libperl-dev; however:
Package libperl-dev is not installed.
pbuilder-satisfydepends-dummy depends on libphonenumber-dev (>= 7); however:
Package libphonenumber-dev is not installed.
pbuilder-satisfydepends-dummy depends on libpq-dev; however:
Package libpq-dev is not installed.
pbuilder-satisfydepends-dummy depends on librabbitmq-dev; however:
Package librabbitmq-dev is not installed.
pbuilder-satisfydepends-dummy depends on libradcli-dev; however:
Package libradcli-dev is not installed.
pbuilder-satisfydepends-dummy depends on libreadline-dev; however:
Package libreadline-dev is not installed.
pbuilder-satisfydepends-dummy depends on libsasl2-dev; however:
Package libsasl2-dev is not installed.
pbuilder-satisfydepends-dummy depends on libsctp-dev; however:
Package libsctp-dev is not installed.
pbuilder-satisfydepends-dummy depends on libsnmp-dev; however:
Package libsnmp-dev is not installed.
pbuilder-satisfydepends-dummy depends on libsqlite3-dev; however:
Package libsqlite3-dev is not installed.
pbuilder-satisfydepends-dummy depends on libssl-dev; however:
Package libssl-dev is not installed.
pbuilder-satisfydepends-dummy depends on libsystemd-dev; however:
Package libsystemd-dev is not installed.
pbuilder-satisfydepends-dummy depends on libunistring-dev; however:
Package libunistring-dev is not installed.
pbuilder-satisfydepends-dummy depends on libxml2-dev; however:
Package libxml2-dev is not installed.
pbuilder-satisfydepends-dummy depends on openssl; however:
Package openssl is not installed.
pbuilder-satisfydepends-dummy depends on pkg-config; however:
Package pkg-config is not installed.
pbuilder-satisfydepends-dummy depends on python; however:
Package python is not installed.
pbuilder-satisfydepends-dummy depends on python-dev; however:
Package python-dev is not installed.
pbuilder-satisfydepends-dummy depends on python3; however:
Package python3 is not installed.
pbuilder-satisfydepends-dummy depends on python3-dev; however:
Package python3-dev is not installed.
pbuilder-satisfydepends-dummy depends on ruby-dev; however:
Package ruby-dev is not installed.
pbuilder-satisfydepends-dummy depends on unixodbc-dev; however:
Package unixodbc-dev is not installed.
pbuilder-satisfydepends-dummy depends on uuid-dev; however:
Package uuid-dev is not installed.
pbuilder-satisfydepends-dummy depends on xsltproc; however:
Package xsltproc is not installed.
pbuilder-satisfydepends-dummy depends on zlib1g-dev; however:
Package zlib1g-dev is not installed.
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The following packages have unmet dependencies:
pbuilder-satisfydepends-dummy : Depends: bison which is a virtual package and is not provided by any available package
Depends: debhelper (>= 9) which is a virtual package and is not provided by any available package
Depends: default-libmysqlclient-dev which is a virtual package and is not provided by any available package
Depends: dh-systemd (>= 1.5) which is a virtual package and is not provided by any available package
Depends: docbook-xml which is a virtual package and is not provided by any available package
Depends: erlang-dev which is a virtual package and is not provided by any available package
Depends: flex which is a virtual package and is not provided by any available package
Depends: libcurl4-openssl-dev which is a virtual package and is not provided by any available package
Depends: libdb-dev (>= 4.6.19) which is a virtual package and is not provided by any available package
Depends: libev-dev which is a virtual package and is not provided by any available package
Depends: libevent-dev which is a virtual package and is not provided by any available package
Depends: libexpat1-dev which is a virtual package and is not provided by any available package
Depends: libgeoip-dev (>= 1.4.5) which is a virtual package and is not provided by any available package
Depends: libhiredis-dev (>= 0.10.0) which is a virtual package and is not provided by any available package
Depends: libjansson-dev which is a virtual package and is not provided by any available package
Depends: libjson-c-dev which is a virtual package and is not provided by any available package
Depends: libldap2-dev which is a virtual package and is not provided by any available package
Depends: liblua5.1-0-dev which is a virtual package and is not provided by any available package
Depends: libmaxminddb-dev which is a virtual package and is not provided by any available package
Depends: libmemcached-dev which is a virtual package and is not provided by any available package
Depends: libmnl-dev which is a virtual package and is not provided by any available package
Depends: libmongoc-dev which is a virtual package and is not provided by any available package
Depends: libmono-2.0-dev which is a virtual package and is not provided by any available package
Depends: libmosquitto-dev which is a virtual package and is not provided by any available package
Depends: libncurses5-dev which is a virtual package and is not provided by any available package
Depends: libpcre3-dev which is a virtual package and is not provided by any available package
Depends: libperl-dev which is a virtual package and is not provided by any available package
Depends: libphonenumber-dev (>= 7) which is a virtual package and is not provided by any available package
Depends: libpq-dev which is a virtual package and is not provided by any available package
Depends: librabbitmq-dev which is a virtual package and is not provided by any available package
Depends: libradcli-dev which is a virtual package and is not provided by any available package
Depends: libreadline-dev which is a virtual package and is not provided by any available package
Depends: libsasl2-dev which is a virtual package and is not provided by any available package
Depends: libsctp-dev which is a virtual package and is not provided by any available package
Depends: libsnmp-dev which is a virtual package and is not provided by any available package
Depends: libsqlite3-dev which is a virtual package and is not provided by any available package
Depends: libssl-dev which is a virtual package and is not provided by any available package
Depends: libsystemd-dev which is a virtual package and is not provided by any available package
Depends: libunistring-dev which is a virtual package and is not provided by any available package
Depends: libxml2-dev which is a virtual package and is not provided by any available package
Depends: openssl which is a virtual package and is not provided by any available package
Depends: pkg-config which is a virtual package and is not provided by any available package
Depends: python which is a virtual package and is not provided by any available package
Depends: python-dev which is a virtual package and is not provided by any available package
Depends: python3 which is a virtual package and is not provided by any available package
Depends: python3-dev which is a virtual package and is not provided by any available package
Depends: ruby-dev which is a virtual package and is not provided by any available package
Depends: unixodbc-dev which is a virtual package and is not provided by any available package
Depends: uuid-dev which is a virtual package and is not provided by any available package
Depends: xsltproc which is a virtual package and is not provided by any available package
Depends: zlib1g-dev which is a virtual package and is not provided by any available package
Unable to resolve dependencies! Giving up...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Abort.
E: pbuilder-satisfydepends failed.
I: Copying back the cached apt archive contents
I: unmounting /tmp/apt-jdg_MhieC2 filesystem
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: Cleaning COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.16538
+ '[' 1 -eq 0 ']'
+ bailout 1 'Error: Failed to build with cowbuilder.'
+ '[' -n 1 ']'
+ EXIT=1
+ '[' -n 'Error: Failed to build with cowbuilder.' ']'
+ echo 'Error: Failed to build with cowbuilder.'
Error: Failed to build with cowbuilder.
+ rm -f /run/lock/bionic-amd64.building.16279
+ '[' -r /run/lock/bionic-amd64.update.16279 ']'
+ '[' '' = true ']'
+ echo '*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…> to avoid problems in next run. ***'
*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…> to avoid problems in next run. ***
+ rm -f '<https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…'>
+ '[' -n /tmp/tmp.iK1ETC0Ogs ']'
+ rm -rf /tmp/tmp.iK1ETC0Ogs
+ '[' -n /tmp/apt-jdg_MhieC2 ']'
+ sudo rm -rf /tmp/apt-jdg_MhieC2
+ '[' -n 1319 ']'
++ sed -e 's/^\([0-9]*\).*/\1/'
+ SECONDS=8
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Sat Nov 16 01:03:47 UTC 2024 [running 8 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Sat Nov 16 01:03:47 UTC 2024 [running 8 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: report/*.tap
Did not find any matching files.
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Recording fingerprints
See <https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…>
Changes:
------------------------------------------
[...truncated 23.31 KiB...]
I: Running in no-targz mode
I: pbuilder: network access will be disabled during build
I: Current time: Sat Nov 16 01:14:55 UTC 2024
I: pbuilder-time-stamp: 1731719695
I: copying local configuration
W: No local /etc/mailname to copy, relying on /var/cache/pbuilder/build/cow.22411/etc/mailname to be correct
W: --override-config is not set; not updating apt.conf Read the manpage for details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: Mounting /tmp/apt-jdg_qAAW7R
I: policy-rc.d already exists
I: using eatmydata during job
I: Obtaining the cached apt archive contents
I: Copying source file
I: copying [<https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…]>
I: copying [<https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…]>
I: Extracting source
dpkg-source: warning: extracting unsigned source package (kamailio_5.7.7~ubuntu16.04.20241116003843.87.dsc)
dpkg-source: info: extracting kamailio in kamailio-5.7.7~ubuntu16.04.20241116003843.87
dpkg-source: info: unpacking kamailio_5.7.7~ubuntu16.04.20241116003843.87.tar.xz
I: using fakeroot in build.
I: Installing the build-deps
I: user script /var/cache/pbuilder/build/cow.22411/tmp/hooks/D10-man-db starting
I: Preseed man-db/auto-update to false
I: user script /var/cache/pbuilder/build/cow.22411/tmp/hooks/D10-man-db finished
I: user script /var/cache/pbuilder/build/cow.22411/tmp/hooks/D10aptspeedup starting
+ dpkg-query -f ${Version}\n -W dpkg
+ dpkg --compare-versions 1.18.4ubuntu1.7 ge 1.15.8.6
+ echo I: Force DPKG unsafe IO
I: Force DPKG unsafe IO
+ echo force-unsafe-io
I: user script /var/cache/pbuilder/build/cow.22411/tmp/hooks/D10aptspeedup finished
I: user script /var/cache/pbuilder/build/cow.22411/tmp/hooks/D20releaserepo starting
+ set -- /tmp/apt-jdg_qAAW7R/
+ TMPAPT=/tmp/apt-jdg_qAAW7R/
+ [ -d /tmp/apt-jdg_qAAW7R/ ]
+ UPDATE_PKGLIST=0
+ ls /tmp/apt-jdg_qAAW7R/*.list
+ [ -e /tmp/apt-jdg_qAAW7R//keyring.gpg ]
+ [ 0 = 1 ]
I: user script /var/cache/pbuilder/build/cow.22411/tmp/hooks/D20releaserepo finished
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint(a)lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
This package was created automatically by pbuilder to satisfy the
build-dependencies of the package being currently built.
Depends: bison, debhelper (>= 9), dh-systemd (>= 1.5), docbook-xml, dpkg-dev (>= 1.16.1.1), erlang-dev, flex, gcj-jdk, libbson-dev, libcurl4-openssl-dev, libdb-dev (>= 4.6.19), libev-dev, libevent-dev, libexpat1-dev, libgeocoding-dev (>= 7), libgeoip-dev (>= 1.4.5), libhiredis-dev (>= 0.10.0), libjansson-dev, libjson-c-dev, libldap2-dev, liblua5.1-0-dev, libmaxminddb-dev, libmemcached-dev, libmnl-dev, libmongoc-dev, libmono-2.0-dev, libmosquitto-dev, libmysqlclient-dev, libncurses5-dev, libpcre3-dev, libperl-dev, libphonenumber-dev (>= 7), libpq-dev, librabbitmq-dev, libradcli-dev, libreadline-dev, libsasl2-dev, libsctp-dev, libsnmp-dev, libsqlite3-dev, libssl-dev, libsystemd-dev, libunistring-dev, libval-dev, libxml2-dev, openssl, pkg-config, python, python-dev, python3, python3-dev, ruby-dev, unixodbc-dev, uuid-dev, xsltproc, zlib1g-dev
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 12293 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
pbuilder-satisfydepends-dummy depends on bison; however:
Package bison is not installed.
pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however:
Package debhelper is not installed.
pbuilder-satisfydepends-dummy depends on dh-systemd (>= 1.5); however:
Package dh-systemd is not installed.
pbuilder-satisfydepends-dummy depends on docbook-xml; however:
Package docbook-xml is not installed.
pbuilder-satisfydepends-dummy depends on erlang-dev; however:
Package erlang-dev is not installed.
pbuilder-satisfydepends-dummy depends on flex; however:
Package flex is not installed.
pbuilder-satisfydepends-dummy depends on gcj-jdk; however:
Package gcj-jdk is not installed.
pbuilder-satisfydepends-dummy depends on libbson-dev; however:
Package libbson-dev is not installed.
pbuilder-satisfydepends-dummy depends on libcurl4-openssl-dev; however:
Package libcurl4-openssl-dev is not installed.
p
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The following packages have unmet dependencies:
pbuilder-satisfydepends-dummy : Depends: bison which is a virtual package and is not provided by any available package.
Depends: debhelper (>= 9) which is a virtual package and is not provided by any available package.
Depends: dh-systemd (>= 1.5) which is a virtual package and is not provided by any available package.
Depends: docbook-xml which is a virtual package and is not provided by any available package.
Depends: erlang-dev which is a virtual package and is not provided by any available package.
Depends: flex which is a virtual package and is not provided by any available package.
Depends: gcj-jdk which is a virtual package and is not provided by any available package.
Depends: libbson-dev which is a virtual package and is not provided by any available package.
Depends: libcurl4-openssl-dev which is a virtual package and is not provided by any available package.
Depends: libdb-dev (>= 4.6.19) which is a virtual package and is not provided by any available package.
Depends: libev-dev which is a virtual package and is not provided by any available package.
Depends: libevent-dev which is a virtual package and is not provided by any available package.
Depends: libexpat1-dev which is a virtual package and is not provided by any available package.
Depends: libgeocoding-dev (>= 7) which is a virtual package and is not provided by any available package.
Depends: libgeoip-dev (>= 1.4.5) which is a virtual package and is not provided by any available package.
Depends: libhiredis-dev (>= 0.10.0) which is a virtual package and is not provided by any available package.
Depends: libjansson-dev which is a virtual package and is not provided by any available package.
Depends: libjson-c-dev which is a virtual package and is not provided by any available package.
Depends: libldap2-dev which is a virtual package and is not provided by any available package.
Depends: liblua5.1-0-dev which is a virtual package and is not provided by any available package.
Depends: libmaxminddb-dev which is a virtual package and is not provided by any available package.
Depends: libmemcached-dev which is a virtual package and is not provided by any available package.
Depends: libmnl-dev which is a virtual package and is not provided by any available package.
Depends: libmongoc-dev which is a virtual package and is not provided by any available package.
Depends: libmono-2.0-dev which is a virtual package and is not provided by any available package.
Depends: libmosquitto-dev which is a virtual package and is not provided by any available package.
Depends: libmysqlclient-dev which is a virtual package and is not provided by any available package.
Depends: libncurses5-dev which is a virtual package and is not provided by any available package.
Depends: libpcre3-dev which is a virtual package and is not provided by any available package.
Depends: libperl-dev which is a virtual package and is not provided by any available package.
Depends: libphonenumber-dev (>= 7) which is a virtual package and is not provided by any available package.
Depends: libpq-dev which is a virtual package and is not provided by any available package.
Depends: librabbitmq-dev which is a virtual package and is not provided by any available package.
Depends: libradcli-dev which is a virtual package and is not provided by any available package.
Depends: libreadline-dev which is a virtual package and is not provided by any available package.
Depends: libsasl2-dev which is a virtual package and is not provided by any available package.
Depends: libsctp-dev which is a virtual package and is not provided by any available package.
Depends: libsnmp-dev which is a virtual package and is not provided by any available package.
Depends: libsqlite3-dev which is a virtual package and is not provided by any available package.
Depends: libssl-dev which is a virtual package and is not provided by any available package.
Depends: libsystemd-dev which is a virtual package and is not provided by any available package.
Depends: libunistring-dev which is a virtual package and is not provided by any available package.
Depends: libval-dev which is a virtual package and is not provided by any available package.
Depends: libxml2-dev which is a virtual package and is not provided by any available package.
Depends: openssl which is a virtual package and is not provided by any available package.
Depends: pkg-config which is a virtual package and is not provided by any available package.
Depends: python which is a virtual package and is not provided by any available package.
Depends: python-dev which is a virtual package and is not provided by any available package.
Depends: python3 which is a virtual package and is not provided by any available package.
Depends: python3-dev which is a virtual package and is not provided by any available package.
Depends: ruby-dev which is a virtual package and is not provided by any available package.
Depends: unixodbc-dev which is a virtual package and is not provided by any available package.
Depends: uuid-dev which is a virtual package and is not provided by any available package.
Depends: xsltproc which is a virtual package and is not provided by any available package.
Depends: zlib1g-dev which is a virtual package and is not provided by any available package.
Unable to resolve dependencies! Giving up...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Abort.
E: pbuilder-satisfydepends failed.
I: Copying back the cached apt archive contents
I: unmounting /tmp/apt-jdg_qAAW7R filesystem
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: Cleaning COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.22411
+ '[' 1 -eq 0 ']'
+ bailout 1 'Error: Failed to build with cowbuilder.'
+ '[' -n 1 ']'
+ EXIT=1
+ '[' -n 'Error: Failed to build with cowbuilder.' ']'
+ echo 'Error: Failed to build with cowbuilder.'
Error: Failed to build with cowbuilder.
+ rm -f /run/lock/xenial-amd64.building.22123
+ '[' -r /run/lock/xenial-amd64.update.22123 ']'
+ '[' '' = true ']'
+ echo '*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…> to avoid problems in next run. ***'
*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…> to avoid problems in next run. ***
+ rm -f '<https://kamailio.sipwise.com/job/kamailio57-nightly-binaries/architecture=a…'>
+ '[' -n /tmp/tmp.8QYSrnNSu0 ']'
+ rm -rf /tmp/tmp.8QYSrnNSu0
+ '[' -n /tmp/apt-jdg_qAAW7R ']'
+ sudo rm -rf /tmp/apt-jdg_qAAW7R
+ '[' -n 1992 ']'
++ sed -e 's/^\([0-9]*\).*/\1/'
+ SECONDS=7
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Sat Nov 16 01:14:59 UTC 2024 [running 7 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Sat Nov 16 01:14:59 UTC 2024 [running 7 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: report/*.tap
Did not find any matching files.
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Recording fingerprints
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [x] Related to issue #4019
#### Description
I assume that the crash #4019 happens, because of an issue in libcurl, namely in the `event_cb` function ([in this line](https://github.com/kamailio/kamailio/blob/master/src/modules/http_asy…) kamailio removes the pointer to the `cell` object (which was attached to this `g->multi` curl descriptor earlier), and the `cell` object memory is released [at this line](https://github.com/kamailio/kamailio/blob/master/src/modules/http_asy…. However, the crash happens when `event_cb` is called when `curl_multi_remove_handle` is called [at this line](https://github.com/kamailio/kamailio/blob/master/src/modules/http_asy….
In this fix `cell` object is retrieved from the corresponding CURL descriptor and then it's compared with the `cell` object passed to this callback.
With this change when this issue happens the `cell` object, which is retrieved from the corresponding CURL descriptor, is NULL pointer, because it was removed earlier [in this line](https://github.com/kamailio/kamailio/blob/master/src/modules/http_asy…, so the crash should not appear.
However it might be fixed in other way, namely we may not to pass `cell` to the `event_cb` callback and always retrieve it from CURL descriptor. I would appreciate if developers comment that.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4020
-- Commit Summary --
* http_async_client: fixed crash on curl callback
-- File Changes --
M src/modules/http_async_client/http_multi.c (18)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4020.patchhttps://github.com/kamailio/kamailio/pull/4020.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4020
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4020(a)github.com>