<!-- 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>
Hello,
we should consider an online devel meeting sometime soon to summarize
what was done at (and still needs to be done after) devel meeting in
Dusseldorf and plan a bit the targets for next major release 6.0.
If considered useful, I propose Dec 9, 2024 (Monday) at 15:00UTC (16:00
Berlin/Paris/Madrid/Rome), but we can also look for other dates as well.
Topics to be discussed can be added at:
-
https://github.com/kamailio/kamailio-wiki/blob/main/docs/devel/irc-meetings…
Pull requests can be made by users without git access.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
<!-- 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 -->
- [X] 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 -->
Python's C interface contract states that C code must *either* raise an exception and return NULL, *or* return a Python object.
Doing both will raise a `SystemError` exception which obscures the original problem. It may also cause a memory leak.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4044
-- Commit Summary --
* app_python3: fix exception handling
-- File Changes --
M src/modules/app_python3/apy_kemi.c (4)
M src/modules/app_python3s/apy3s_kemi.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4044.patchhttps://github.com/kamailio/kamailio/pull/4044.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4044
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4044(a)github.com>
<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature requests. Please use this template only for bug reports.
If you have questions about using Kamailio or related to its configuration file, ask on sr-users mailing list:
* https://lists.kamailio.org/mailman3/postorius/lists/sr-users.lists.kamailio…
If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list:
* https://lists.kamailio.org/mailman3/postorius/lists/sr-dev.lists.kamailio.o…
Please try to fill this template as much as possible for any issue. It helps the developers to troubleshoot the issue.
Note that an issue report may be closed automatically after about 2 months
if there is no interest from developers or community users on pursuing it, being
considered expired. In such case, it can be reopened by writing a comment that includes
the token `/notexpired`. About two weeks before considered expired, the issue is
marked with the label `stale`, trying to notify the submitter and everyone else
that might be interested in it. To remove the label `stale`, write a comment that
includes the token `/notstale`. Also, any comment postpone the `expire` timeline,
being considered that there is interest in pursuing the issue.
If there is no content to be filled in a section, the entire section can be removed.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a comment).
-->
### Description
It seems that the fixup_free_* functions are not getting called when used with:
```
static cmd_export_t cmds[] = {
{"acc_log_request", (cmd_function)w_acc_log_request, 1,
acc_fixup, free_acc_fixup,
ANY_ROUTE},
// ...
{0, 0, 0, 0, 0, 0}
};
static int free_acc_fixup(void **param, int param_no)
{
LM_CRIT("acc free fixup = %d\n", param_no);
if(*param) {
pkg_free(*param);
*param = 0;
}
return 0;
}
```
Nothing is getting logged from the function. Is this expected not to print in free_fixup due to the destruction of kamailio and the logging is not reliable?
I also used gdb and added some breakpoints in `fixup` and `free_fixup` functions in some other modules (file_out) and the breakpoint was only found in `fixup` but not in `free_fixup`.
When is the `free_fixup` supposed to be called, at kamailio destruction or after fixing it and before the main loop starts?
<!--
Explain what you did, what you expected to happen, and what actually happened.
-->
### Troubleshooting
#### Reproduction
<!--
If the issue can be reproduced, describe how it can be done.
-->
Use any module that has a custom (maybe also provided from core) `free_fixup` function, and monitor if `free_fixup` is called using debug mode.
#### Log Messages
<!--
Check the syslog file and if there are relevant log messages printed by Kamailio, add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).
-->
```
Apr 15 15:52:03 app01 kamailio[812169]: INFO: <core> [core/mem/q_malloc.c:402]: qm_malloc(): qm_malloc(0x7fcdcab18010, 56) called from file_out: file_out.c: fo_fixup_str_index(287)
Apr 15 15:52:03 app01 kamailio[812169]: INFO: <core> [core/mem/q_malloc.c:449]: qm_malloc(): qm_malloc(0x7fcdcab18010, 64) returns address 0x7fcdcacc4280 frag. 0x7fcdcacc4240 (size=64) on 1 -th hit```
`0x7fcdcacc4240` fragment is not found anywhere in the logs reported that it was freed unlike other malloced resources.
```
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.9.0-dev0 (x86_64/linux) 8bc64a
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, MEM_JOIN_FREE, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_SEND_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 8bc64a
compiled on 15:32:09 Apr 15 2024 with gcc 10.5.0
```
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `lsb_release -a` and `uname -a`)
-->
```
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
5.4.0-176-generic #196-Ubuntu SMP Fri Mar 22 16:46:39 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3814
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3814(a)github.com>