<div dir="ltr">Yes.  My Jenkins job runs the symlink step everytime:<div><br></div><div>sudo ln -s pkg/kamailio/deb/bionic debian<br><br>## Create debian package<br>sudo make deb<br></div><div><br></div><div>I do this in the main kamailio install directory.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 17, 2021 at 1:09 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>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'.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div>On 17.05.21 17:44, Andrew Chen wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">So after looking at the build logs, it seems I'm
        still facing these dependency errors:
        <div><br>
        </div>
        <div>
          <pre style="box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51)">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</pre>
          <pre style="box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51)"></pre>
          <pre style="box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51)"><pre style="box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">The following packages have unmet dependencies:
 libval-dev : Depends: libval15 (= 2.2-4) but it is not installable</pre><pre style="box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px"></pre><pre style="box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">How important are these libraries and which module uses them?</pre></pre>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, May 17, 2021 at 11:34
          AM Andrew Chen <<a href="mailto:achen@fuze.com" target="_blank">achen@fuze.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">Hey guys.  The linking of the directory
            worked!  Thanks again for your help.</div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Mon, May 17, 2021 at
              7:59 AM Andrew Chen <<a href="mailto:achen@fuze.com" target="_blank">achen@fuze.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">Thanks guys!  I will try these out today.</div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Mon, May 17, 2021
                  at 5:08 AM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
                  On 17.05.21 09:49, Victor Seva wrote:<br>
                  > On 5/14/21 2:09 PM, Andrew Chen wrote:<br>
                  >> Hi Daniel,<br>
                  >><br>
                  >> Yes.  These are the steps I took:<br>
                  >><br>
                  >> ## git clone kamailio repository<br>
                  >> cd $INSTALLDIR<br>
                  >> sudo git clone <a href="https://github.com/kamailio/kamailio" rel="noreferrer" target="_blank">https://github.com/kamailio/kamailio</a><br>
                  >> <<a href="https://github.com/kamailio/kamailio" rel="noreferrer" target="_blank">https://github.com/kamailio/kamailio</a>>
                  kamailio<br>
                  >> cd kamailio<br>
                  >> sudo git checkout 5.4<br>
                  >><br>
                  >> ## Make config files with included modules
                  list<br>
                  >> sudo make include_modules="$INCLUDE_MODULES"
                  cfg<br>
                  >><br>
                  >> ## Compile Kamailio<br>
                  >> sudo make mode=debug<br>
                  >><br>
                  >> cd pkg/kamailio/deb<br>
                  >><br>
                  >> ## Create debian package<br>
                  >> sudo dpkg-buildpackage<br>
                  >><br>
                  >><br>
                  >> Hi Victor,<br>
                  >><br>
                  >> Yes, this is the version of Ubuntu we are
                  using:<br>
                  >><br>
                  >> debhttp://<a href="http://deb.kamailio.org/kamailio54" rel="noreferrer" target="_blank">deb.kamailio.org/kamailio54</a> <br>
                  >> <<a href="http://deb.kamailio.org/kamailio54" rel="noreferrer" target="_blank">http://deb.kamailio.org/kamailio54</a>> 
                  bionic main<br>
                  >> deb-srchttp://<a href="http://deb.kamailio.org/kamailio54" rel="noreferrer" target="_blank">deb.kamailio.org/kamailio54</a> <br>
                  >> <<a href="http://deb.kamailio.org/kamailio54" rel="noreferrer" target="_blank">http://deb.kamailio.org/kamailio54</a>> 
                  bionic main<br>
                  ><br>
                  > If you're using bionic, then use bionic directory
                  at pkg/kamailio/deb<br>
                  > as your debian dir.<br>
                  ><br>
                  > On the root of the kamailio repository:<br>
                  > # cp -r pkg/kamailio/deb/bionic debian<br>
                  > # dpkg-buildpackage -rfakeroot -tc -uc -us<br>
                  <br>
                  For what it worth, we have also a target in the
                  Makefile for building<br>
                  debs, next is what I typically use to test debs
                  building before a release:<br>
                  <br>
                  ln -s pkg/kamailio/deb/bionic debian<br>
                  make deb<br>
                  <br>
                  Note that debian symlink is deleted after 'make deb'
                  completes or fails,<br>
                  so needs to be recreated if the command has to be run
                  again.<br>
                  <br>
                  Cheers,<br>
                  Daniel<br>
                  <br>
                  -- <br>
                  Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
                  <a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a>
                  -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
                  Kamailio Advanced Training - Online<br>
                  May 17-20, 2021 (Europe Timezone) - June 7-10, 2021
                  (America Timezone)<br>
                    * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" rel="noreferrer" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a><br>
                  <br>
                  <br>
__________________________________________________________<br>
                  Kamailio - Users Mailing List - Non Commercial
                  Discussions<br>
                    * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
                  Important: keep the mailing list in the recipients, do
                  not reply only to the sender!<br>
                  Edit mailing list options or unsubscribe:<br>
                    * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                </blockquote>
              </div>
              <br clear="all">
              <div><br>
              </div>
              -- <br>
              <div dir="ltr">
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div dir="ltr" style="font-size:12.8px">Andy Chen</div>
                      <div dir="ltr" style="font-size:12.8px">
                        <div>Sr. Telephony Lead Engineer</div>
                        <div>415 516 5535 (M)</div>
                        <div><a href="mailto:achen@thinkingphones.com" target="_blank">achen@</a><a href="http://fuze.com" target="_blank">fuze.com</a></div>
                        <div><br>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div dir="ltr" style="font-size:12.8px">Andy Chen</div>
                  <div dir="ltr" style="font-size:12.8px">
                    <div>Sr. Telephony Lead Engineer</div>
                    <div>415 516 5535 (M)</div>
                    <div><a href="mailto:achen@thinkingphones.com" target="_blank">achen@</a><a href="http://fuze.com" target="_blank">fuze.com</a></div>
                    <div><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div dir="ltr" style="font-size:12.8px">Andy Chen</div>
              <div dir="ltr" style="font-size:12.8px">
                <div>Sr. Telephony Lead Engineer</div>
                <div>415 516 5535 (M)</div>
                <div><a href="mailto:achen@thinkingphones.com" target="_blank">achen@</a><a href="http://fuze.com" target="_blank">fuze.com</a></div>
                <div><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality
        Notice: The information contained in this e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
        may be confidential. If you are not an intended recipient, you</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are
        hereby notified that any dissemination, distribution or copying
        of this</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail
        is strictly prohibited. If you have received this e-mail in
        error,</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please
        notify the sender and permanently delete the e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
        immediately. You should not retain, copy or use this e-mail or</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any
        attachment for any purpose, nor disclose all or any part of the</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents
        to any other person. Thank you.*</span>
    </blockquote>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="font-size:12.8px">Andy Chen</div><div dir="ltr" style="font-size:12.8px"><div>Sr. Telephony Lead Engineer</div><div>415 516 5535 (M)</div><div><a href="mailto:achen@thinkingphones.com" target="_blank">achen@</a><a href="http://fuze.com" target="_blank">fuze.com</a></div><div><br></div></div></div></div></div></div>

<br>
<span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality Notice: The information contained in this e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments may be confidential. If you are not an intended recipient, you</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are hereby notified that any dissemination, distribution or copying of this</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail is strictly prohibited. If you have received this e-mail in error,</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please notify the sender and permanently delete the e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments immediately. You should not retain, copy or use this e-mail or</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any attachment for any purpose, nor disclose all or any part of the</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents to any other person. Thank you.*</span>