2

我有一个非常奇怪的问题。

Hudson 在我的 Suse 服务器上运行良好,从zypper安装了 SVN 1.8 ,但我需要卸载 Subversion 1.8 并安装 1.7.5 版本。

我尝试用zypper来做,但没有用,所以我从系统中删除了 Subversion ( zypper rm subversion ) 并从 Apache 官方网站下载的 tar.bz2 文件中安装了所需的版本。

安装并不简单,因为我需要在完成之前做了很多小步骤。就像这样http://clumsyfingers.blogspot.com.br/2012/04/installing-subversion-17-on-centos-55.html

好的。然后安装完成,SVN被SO识别:

svn --version

svn, version 1.7.5 (r1336830)
     compiled Jul  2 2013, 18:16:17
Copyright (C) 2012 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

但在那之后,哈德逊停止了工作!当我尝试运行构建时,显示以下错误消息:

[INFO] ------------------------------------------------------------------------      
mavenExecutionResult exceptions not empty    
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal  
org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare (default-cli) on project 
project: Unable to check for local modifications Provider message: The svn command 
failed. Command output: svn: symbol lookup error: svn: undefined symbol: 
svn_pool_create_allocator

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)       
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)  
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)          
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)  
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)  
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)  
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)          
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)   
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)     
    at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)     
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    
    at java.lang.reflect.Method.invoke(Method.java:597)     
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)  
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)  
    at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:146)     
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:124)  
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)   
    at hudson.remoting.UserRequest.perform(UserRequest.java:107)    
    at hudson.remoting.UserRequest.perform(UserRequest.java:41)     
    at hudson.remoting.Request$2.run(Request.java:276)  
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)  
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)   
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)     
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)  
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)  
    at java.lang.Thread.run(Thread.java:662) Caused by: 
    org.apache.maven.plugin.MojoFailureException: Unable to check for local modifications 
    Provider message: The svn command failed. Command output: svn: symbol lookup error: 
    svn: undefined symbol: svn_pool_create_allocator

    at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:285)  
    at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:232)     
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)    
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)  
    ... 27 more Caused by: org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to check for local modifications Provider message: The svn command failed. 
    Command output: svn: symbol lookup error: svn: undefined symbol: svn_pool_create_allocator

    at org.apache.maven.shared.release.phase.ScmCheckModificationsPhase.execute(ScmCheckModificationsPhase.java:137)    
    at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:234)    
    at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:169)    
    at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:146)    
    at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:107)    
    at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:277)  
    ... 30 more channel stopped Finished: FAILURE

我不知道我现在应该做什么。

请你帮帮我好吗?如果您需要更多信息,请告诉我。

非常感谢您的关注!

4

0 回答 0