Ok I'll try those steps. Thanks.
On Wed, May 19, 2021 at 10:46 AM Daniel-Constantin Mierla <miconda(a)gmail.com>
wrote:
Maybe switch to hard copy as instructed by Victor Seva
and use
dpkg-buildpackage directly:
On the root of the kamailio repository:
cp -r pkg/kamailio/deb/bionic debian
dpkg-buildpackage -rfakeroot -tc -uc -us
On 19.05.21 16:38, Daniel-Constantin Mierla wrote:
Hello,
is quite strange that you get those dependency requirements. I do not have
a bionic, I do it for buster and they are not required.
Searching for gcj-jdk on specs dirs results in:
ag gcj-jdk pkg/kamailio/deb/
pkg/kamailio/deb/debian/backports/bionic
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
pkg/kamailio/deb/debian/backports/sid
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
pkg/kamailio/deb/debian/backports/bullseye
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
pkg/kamailio/deb/debian/backports/focal
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
pkg/kamailio/deb/debian/control
17: gcj-jdk,
pkg/kamailio/deb/debian/backports/buster
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
pkg/kamailio/deb/precise/control
15: gcj-jdk,
pkg/kamailio/deb/stretch/control
17: gcj-jdk,
pkg/kamailio/deb/wheezy/control
15: gcj-jdk,
pkg/kamailio/deb/jessie/control
16: gcj-jdk,
pkg/kamailio/deb/xenial/control
16: gcj-jdk,
pkg/kamailio/deb/trusty/control
15: gcj-jdk,
So it is not in pkg/kamailio/deb/bionic/control (also not in the folder
for buster), you should not get it if debian symlink is pointing correctly.
I do the steps:
ln -s pkg/kamailio/deb/buster debian
make deb
every time I do a public kamailio release to be sure packages build fine
(independent of
deb.kamailio.org portal) and no java/jdk is requested as
dependency. Can you try to run manually on a VM or docker with bionic?
Cheers,
Daniel
On 19.05.21 16:16, Andrew Chen wrote:
Hi Henning,
Thanks for the response.
From what I can see, I am not seeing that module. Below is my
INCLUDE_MODULES list:
INCLUDE_MODULES="exec rtpengine topoh carrierroute statsd dialplan kex tm
tmx sl rr pv maxfwd usrloc textops sdpops siputils xlog sanity ctl acc
dispatcher cfgutils permissions domain presence presence_xml nathelper
dialog tls htable pike db_mysql userblacklist sqlops websocket xhttp
siptrace tcpops jsonrpcs rtimer"
--Andy
On Wed, May 19, 2021 at 8:08 AM Henning Westerholt <hw(a)skalatan.de> wrote:
Hi Andrew,
just remove the app_java module which introduce this dependency if you do
not use it.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com
*From:* sr-users <sr-users-bounces(a)lists.kamailio.org> *On Behalf Of *Andrew
Chen
*Sent:* Wednesday, May 19, 2021 1:59 PM
*To:* Daniel-Constantin Mierla <miconda(a)gmail.com>
*Cc:* Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
*Subject:* Re: [SR-Users] 5.4 dependency package question
Hi guys,
Does anyone have any updates on this?
More so, can this package dependency be ignored if I am not using Java
for Kamailio configuration?
Thanks
--Andy
On Mon, May 17, 2021 at 1:56 PM Andrew Chen <achen(a)fuze.com> wrote:
Yes. My Jenkins job runs the symlink step everytime:
sudo ln -s pkg/kamailio/deb/bionic debian
## Create debian package
sudo make deb
I do this in the main kamailio install directory.
On Mon, May 17, 2021 at 1:09 PM Daniel-Constantin Mierla <
miconda(a)gmail.com> wrote:
Is it debian symlink pointing to the right folder in pkg/kamailio/deb/
for you distribution? As I said, it gets deleted and running 'make deb'
again with (re-)create the symlink to the 'debian' folder. In other words,
create symlink always before running 'make deb'.
Cheers,
Daniel
On 17.05.21 17:44, Andrew Chen wrote:
So after looking at the build logs, it seems I'm still facing these
dependency errors:
The following packages have unmet dependencies:
gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not installable
Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not installable
Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable
The following packages have unmet dependencies:
libval-dev : Depends: libval15 (= 2.2-4) but it is not installable
How important are these libraries and which module uses them?
On Mon, May 17, 2021 at 11:34 AM Andrew Chen <achen(a)fuze.com> wrote:
Hey guys. The linking of the directory worked! Thanks again for your
help.
On Mon, May 17, 2021 at 7:59 AM Andrew Chen <achen(a)fuze.com> wrote:
Thanks guys! I will try these out today.
On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla <
miconda(a)gmail.com> wrote:
On 17.05.21 09:49, Victor Seva wrote:
On 5/14/21 2:09 PM, Andrew Chen wrote:
Hi Daniel,
Yes. These are the steps I took:
## git clone kamailio repository
cd $INSTALLDIR
sudo git clone
https://github.com/kamailio/kamailio
<https://github.com/kamailio/kamailio> kamailio
cd kamailio
sudo git checkout 5.4
## Make config files with included modules list
sudo make include_modules="$INCLUDE_MODULES" cfg
## Compile Kamailio
sudo make mode=debug
cd pkg/kamailio/deb
## Create debian package
sudo dpkg-buildpackage
Hi Victor,
Yes, this is the version of Ubuntu we are using:
debhttp://deb.kamailio.org/kamailio54
<http://deb.kamailio.org/kamailio54> bionic main
deb-srchttp://deb.kamailio.org/kamailio54
<http://deb.kamailio.org/kamailio54> bionic main
If you're using bionic, then use bionic directory at pkg/kamailio/deb
as your debian dir.
On the root of the kamailio repository:
# cp -r pkg/kamailio/deb/bionic debian
# dpkg-buildpackage -rfakeroot -tc -uc -us
For what it worth, we have also a target in the Makefile for building
debs, next is what I typically use to test debs building before a release:
ln -s pkg/kamailio/deb/bionic debian
make deb
Note that debian symlink is deleted after 'make deb' completes or fails,
so needs to be recreated if the command has to be run again.
Cheers,
Daniel
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
*
https://www.asipto.com/sw/kamailio-advanced-training-online/
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen(a)thinkingphones.com>fuze.com
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen(a)thinkingphones.com>fuze.com
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen(a)thinkingphones.com>fuze.com
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
*
https://www.asipto.com/sw/kamailio-advanced-training-online/
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen(a)thinkingphones.com>fuze.com
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen(a)thinkingphones.com>fuze.com
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen(a)thinkingphones.com>fuze.com
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
www.asipto.comwww.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
*
https://www.asipto.com/sw/kamailio-advanced-training-online/
--
Daniel-Constantin Mierla --
www.asipto.comwww.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
*
https://www.asipto.com/sw/kamailio-advanced-training-online/
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen(a)thinkingphones.com>fuze.com
--
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*