codelipenghui commented on pull request #7854:
URL: https://github.com/apache/pulsar/pull/7854#issuecomment-728993424


   @odidev After merged this PR, I can't build the source code on my 
laptop(macos 10.15.7). Here is the problem that I met:
   
    Run `mvn clean install -DskipTest` on the master branch
   
   Then, the problem appears
   
   ```
   [INFO] --- exec-maven-plugin:1.6.0:exec (rename-epoll-library) @ 
pulsar-broker-shaded ---
   ----- Renaming epoll lib in 
/Users/lipenghui/GitHub/pulsar/pulsar-broker-shaded/target/pulsar-broker-shaded.jar
 ------
   checkdir error:  
/var/folders/t4/w6thygwj0y596w0j5h_pzlw40000gn/T/tmp.A0pwRE4r/META-INF/license 
exists but is not directory
                    unable to process META-INF/license/.
   checkdir error:  
/var/folders/t4/w6thygwj0y596w0j5h_pzlw40000gn/T/tmp.A0pwRE4r/META-INF/license 
exists but is not directory
                    unable to process 
META-INF/license/LICENSE.tomcat-native.txt.
   checkdir error:  
/var/folders/t4/w6thygwj0y596w0j5h_pzlw40000gn/T/tmp.A0pwRE4r/META-INF/license 
exists but is not directory
                    unable to process META-INF/license/LICENSE.boringssl.txt.
   checkdir error:  
/var/folders/t4/w6thygwj0y596w0j5h_pzlw40000gn/T/tmp.A0pwRE4r/META-INF/license 
exists but is not directory
                    unable to process META-INF/license/LICENSE.aix-netbsd.txt.
   checkdir error:  
/var/folders/t4/w6thygwj0y596w0j5h_pzlw40000gn/T/tmp.A0pwRE4r/META-INF/license 
exists but is not directory
                    unable to process META-INF/license/LICENSE.mvn-wrapper.txt.
   [ERROR] Command execution failed.
   org.apache.commons.exec.ExecuteException: Process exited with an error: 2 
(Exit value: 2)
       at org.apache.commons.exec.DefaultExecutor.executeInternal 
(DefaultExecutor.java:404)
       at org.apache.commons.exec.DefaultExecutor.execute 
(DefaultExecutor.java:166)
       at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)
       at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751)
       at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313)
       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:210)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
       at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
       at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
       at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
       at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:498)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:282)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:225)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:406)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:347)
   
   ```
   
   Do you have any idea for fixing this issue? Looks related to the netty 
related dependency upgrade.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to