gpt4 book ai didi

Jenkins:Maven 发布插件在尝试使用 SVN 进行空运行时给出 "undefined symbol: apr_crypto_block_cleanup"

转载 作者:行者123 更新时间:2023-12-04 08:53:56 26 4
gpt4 key购买 nike

我们在 Amazon Linux 上使用 Jenkins 2.138.1。我们正在尝试使用 Maven Release 插件从我们的 SVN 存储库构建。虽然我们可以很好地构建快照,但是当我们尝试使用目标对 Maven 发布插件进行空运行时

-Dresume=false -DdryRun=true release:prepare 

我们遇到了这个错误
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

在此之前,我们得到“[ERROR]/bin/sh: 1: svn: not found”,所以我们在 Linux 机器上使用 yum 安装了 svn。无论如何,我们可以做些什么来克服上述问题?

最佳答案

所以问题是因为你有同一个库的多个版本,特别是以下

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

做一个 locate libxml2.so.2确认并删除旧版本并使用 ln -s 创建符号链接(symbolic link)
对其他人重复。

https://github.com/sitespeedio/sitespeed.io/issues/220
谈论一个类似的问题

希望能帮助到你 :)

关于Jenkins:Maven 发布插件在尝试使用 SVN 进行空运行时给出 "undefined symbol: apr_crypto_block_cleanup",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53241074/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com