Jenkins: Maven release plugin giving “undefined symbol: apr_crypto_block_cleanup” when trying to dry run...











up vote
4
down vote

favorite
1












We're using Jenkins 2.138.1 on Amazon Linux. We're trying to use the Maven Release plugin to build from our SVN repository. Although we can build snapshots fine, when we attempt to do a dry run of the Maven release plugin using the goals



-Dresume=false -DdryRun=true release:prepare 


we run into this error



Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project springboard: Unable to check for local modifications
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: /opt/bitnami/common/lib/libsasl2.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libsvn_ra_svn-1.so.1)
[ERROR] svn: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
[ERROR] svn: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
[ERROR] svn: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1: undefined symbol: apr_crypto_block_cleanup
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project springboard: Unable to check for local modifications
Provider message:
The svn command failed.
Command output:
svn: /opt/bitnami/common/lib/libsasl2.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libsvn_ra_svn-1.so.1)
svn: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
svn: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
svn: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1: undefined symbol: apr_crypto_block_cleanup


Prior to this, we got "[ERROR] /bin/sh: 1: svn: not found" so we installed svn on the Linux machine using yum. Anyway, what can we do to overcome the problem above?










share|improve this question















This question has an open bounty worth +250
reputation from Dave ending tomorrow.


Looking for an answer drawing from credible and/or official sources.




















    up vote
    4
    down vote

    favorite
    1












    We're using Jenkins 2.138.1 on Amazon Linux. We're trying to use the Maven Release plugin to build from our SVN repository. Although we can build snapshots fine, when we attempt to do a dry run of the Maven release plugin using the goals



    -Dresume=false -DdryRun=true release:prepare 


    we run into this error



    Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project springboard: Unable to check for local modifications
    [ERROR] Provider message:
    [ERROR] The svn command failed.
    [ERROR] Command output:
    [ERROR] svn: /opt/bitnami/common/lib/libsasl2.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libsvn_ra_svn-1.so.1)
    [ERROR] svn: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
    [ERROR] svn: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
    [ERROR] svn: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1: undefined symbol: apr_crypto_block_cleanup
    [ERROR] -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project springboard: Unable to check for local modifications
    Provider message:
    The svn command failed.
    Command output:
    svn: /opt/bitnami/common/lib/libsasl2.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libsvn_ra_svn-1.so.1)
    svn: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
    svn: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
    svn: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1: undefined symbol: apr_crypto_block_cleanup


    Prior to this, we got "[ERROR] /bin/sh: 1: svn: not found" so we installed svn on the Linux machine using yum. Anyway, what can we do to overcome the problem above?










    share|improve this question















    This question has an open bounty worth +250
    reputation from Dave ending tomorrow.


    Looking for an answer drawing from credible and/or official sources.


















      up vote
      4
      down vote

      favorite
      1









      up vote
      4
      down vote

      favorite
      1






      1





      We're using Jenkins 2.138.1 on Amazon Linux. We're trying to use the Maven Release plugin to build from our SVN repository. Although we can build snapshots fine, when we attempt to do a dry run of the Maven release plugin using the goals



      -Dresume=false -DdryRun=true release:prepare 


      we run into this error



      Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project springboard: Unable to check for local modifications
      [ERROR] Provider message:
      [ERROR] The svn command failed.
      [ERROR] Command output:
      [ERROR] svn: /opt/bitnami/common/lib/libsasl2.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libsvn_ra_svn-1.so.1)
      [ERROR] svn: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
      [ERROR] svn: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
      [ERROR] svn: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1: undefined symbol: apr_crypto_block_cleanup
      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project springboard: Unable to check for local modifications
      Provider message:
      The svn command failed.
      Command output:
      svn: /opt/bitnami/common/lib/libsasl2.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libsvn_ra_svn-1.so.1)
      svn: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
      svn: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
      svn: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1: undefined symbol: apr_crypto_block_cleanup


      Prior to this, we got "[ERROR] /bin/sh: 1: svn: not found" so we installed svn on the Linux machine using yum. Anyway, what can we do to overcome the problem above?










      share|improve this question













      We're using Jenkins 2.138.1 on Amazon Linux. We're trying to use the Maven Release plugin to build from our SVN repository. Although we can build snapshots fine, when we attempt to do a dry run of the Maven release plugin using the goals



      -Dresume=false -DdryRun=true release:prepare 


      we run into this error



      Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project springboard: Unable to check for local modifications
      [ERROR] Provider message:
      [ERROR] The svn command failed.
      [ERROR] Command output:
      [ERROR] svn: /opt/bitnami/common/lib/libsasl2.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libsvn_ra_svn-1.so.1)
      [ERROR] svn: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
      [ERROR] svn: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
      [ERROR] svn: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1: undefined symbol: apr_crypto_block_cleanup
      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project springboard: Unable to check for local modifications
      Provider message:
      The svn command failed.
      Command output:
      svn: /opt/bitnami/common/lib/libsasl2.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libsvn_ra_svn-1.so.1)
      svn: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
      svn: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libserf-1.so.1)
      svn: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1: undefined symbol: apr_crypto_block_cleanup


      Prior to this, we got "[ERROR] /bin/sh: 1: svn: not found" so we installed svn on the Linux machine using yum. Anyway, what can we do to overcome the problem above?







      jenkins svn maven-release-plugin amazon-linux






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 10 at 16:38









      Dave

      1,35467199349




      1,35467199349






      This question has an open bounty worth +250
      reputation from Dave ending tomorrow.


      Looking for an answer drawing from credible and/or official sources.








      This question has an open bounty worth +250
      reputation from Dave ending tomorrow.


      Looking for an answer drawing from credible and/or official sources.


























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          So the issue is because you have multiple version of the same library, specifically the following



          libsasl2.so.2
          libssl.so.1.0.0
          libcrypto.so.1.0.0


          Do a locate libxml2.so.2 to confirm and remove the old versions and create a symbolic link using ln -s

          Repeat for the others.



          https://github.com/sitespeedio/sitespeed.io/issues/220

          Talks about a similar issue



          Hope it helps :)






          share|improve this answer





















          • If the issue is resolved...Please select the correct answer so that others who face similar issues will benefit..If not, please add the issues you are still facing.
            – rohit thomas
            2 days ago


















          up vote
          0
          down vote













          You seem to have issue between 32bits and 64bits packages mixing.



          The first libraries in messages are about 32 bits, and information about SVN are about 64 bits (x86_64).



          So you should uninstall the version of SVN you install, and install a ix86 version.



          I can help, if you copy/paste your yum instruction.






          share|improve this answer





















          • @Dave does it solve your issue?
            – Bsquare
            yesterday











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241074%2fjenkins-maven-release-plugin-giving-undefined-symbol-apr-crypto-block-cleanup%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          So the issue is because you have multiple version of the same library, specifically the following



          libsasl2.so.2
          libssl.so.1.0.0
          libcrypto.so.1.0.0


          Do a locate libxml2.so.2 to confirm and remove the old versions and create a symbolic link using ln -s

          Repeat for the others.



          https://github.com/sitespeedio/sitespeed.io/issues/220

          Talks about a similar issue



          Hope it helps :)






          share|improve this answer





















          • If the issue is resolved...Please select the correct answer so that others who face similar issues will benefit..If not, please add the issues you are still facing.
            – rohit thomas
            2 days ago















          up vote
          0
          down vote













          So the issue is because you have multiple version of the same library, specifically the following



          libsasl2.so.2
          libssl.so.1.0.0
          libcrypto.so.1.0.0


          Do a locate libxml2.so.2 to confirm and remove the old versions and create a symbolic link using ln -s

          Repeat for the others.



          https://github.com/sitespeedio/sitespeed.io/issues/220

          Talks about a similar issue



          Hope it helps :)






          share|improve this answer





















          • If the issue is resolved...Please select the correct answer so that others who face similar issues will benefit..If not, please add the issues you are still facing.
            – rohit thomas
            2 days ago













          up vote
          0
          down vote










          up vote
          0
          down vote









          So the issue is because you have multiple version of the same library, specifically the following



          libsasl2.so.2
          libssl.so.1.0.0
          libcrypto.so.1.0.0


          Do a locate libxml2.so.2 to confirm and remove the old versions and create a symbolic link using ln -s

          Repeat for the others.



          https://github.com/sitespeedio/sitespeed.io/issues/220

          Talks about a similar issue



          Hope it helps :)






          share|improve this answer












          So the issue is because you have multiple version of the same library, specifically the following



          libsasl2.so.2
          libssl.so.1.0.0
          libcrypto.so.1.0.0


          Do a locate libxml2.so.2 to confirm and remove the old versions and create a symbolic link using ln -s

          Repeat for the others.



          https://github.com/sitespeedio/sitespeed.io/issues/220

          Talks about a similar issue



          Hope it helps :)







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 13 at 3:35









          rohit thomas

          1,406418




          1,406418












          • If the issue is resolved...Please select the correct answer so that others who face similar issues will benefit..If not, please add the issues you are still facing.
            – rohit thomas
            2 days ago


















          • If the issue is resolved...Please select the correct answer so that others who face similar issues will benefit..If not, please add the issues you are still facing.
            – rohit thomas
            2 days ago
















          If the issue is resolved...Please select the correct answer so that others who face similar issues will benefit..If not, please add the issues you are still facing.
          – rohit thomas
          2 days ago




          If the issue is resolved...Please select the correct answer so that others who face similar issues will benefit..If not, please add the issues you are still facing.
          – rohit thomas
          2 days ago












          up vote
          0
          down vote













          You seem to have issue between 32bits and 64bits packages mixing.



          The first libraries in messages are about 32 bits, and information about SVN are about 64 bits (x86_64).



          So you should uninstall the version of SVN you install, and install a ix86 version.



          I can help, if you copy/paste your yum instruction.






          share|improve this answer





















          • @Dave does it solve your issue?
            – Bsquare
            yesterday















          up vote
          0
          down vote













          You seem to have issue between 32bits and 64bits packages mixing.



          The first libraries in messages are about 32 bits, and information about SVN are about 64 bits (x86_64).



          So you should uninstall the version of SVN you install, and install a ix86 version.



          I can help, if you copy/paste your yum instruction.






          share|improve this answer





















          • @Dave does it solve your issue?
            – Bsquare
            yesterday













          up vote
          0
          down vote










          up vote
          0
          down vote









          You seem to have issue between 32bits and 64bits packages mixing.



          The first libraries in messages are about 32 bits, and information about SVN are about 64 bits (x86_64).



          So you should uninstall the version of SVN you install, and install a ix86 version.



          I can help, if you copy/paste your yum instruction.






          share|improve this answer












          You seem to have issue between 32bits and 64bits packages mixing.



          The first libraries in messages are about 32 bits, and information about SVN are about 64 bits (x86_64).



          So you should uninstall the version of SVN you install, and install a ix86 version.



          I can help, if you copy/paste your yum instruction.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 14 at 13:20









          Bsquare

          1,218325




          1,218325












          • @Dave does it solve your issue?
            – Bsquare
            yesterday


















          • @Dave does it solve your issue?
            – Bsquare
            yesterday
















          @Dave does it solve your issue?
          – Bsquare
          yesterday




          @Dave does it solve your issue?
          – Bsquare
          yesterday


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241074%2fjenkins-maven-release-plugin-giving-undefined-symbol-apr-crypto-block-cleanup%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Full-time equivalent

          Bicuculline

          さくらももこ