[ 
https://issues.apache.org/jira/browse/DRILL-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775024#comment-16775024
 ] 

Naresh Bhat commented on DRILL-7042:
------------------------------------

The patches are maintained here 
https://git.linaro.org/people/naresh.bhat/apache/drill.git/ from "v1.15.0_v1"

> Apache Drill v1.15.0 failed to generate deb/rpm package
> -------------------------------------------------------
>
>                 Key: DRILL-7042
>                 URL: https://issues.apache.org/jira/browse/DRILL-7042
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Tools, Build & Test
>    Affects Versions: 1.15.0
>         Environment: Ubuntu/Debian/CentOS installed on ARM64 server machine.
>            Reporter: Naresh Bhat
>            Assignee: Naresh Bhat
>            Priority: Major
>             Fix For: 1.16.0
>
>
> I tried to create a debian/rpm package on ARM64 machine,  But it failed to 
> generate the debian/rpm package on Ubuntu/CentOS machine. It is required to 
> fix the pom.xml file under distribution folder.
> Error logs while generating DEB package:
> =================================
> drill$ git branch 
>   master
> * v1.15.0
> drill$ mvn clean -X package -Pdeb -DskipTests
> .....
> ..............
> [INFO] Creating debian package: target/drill-1.15.0.deb
> [INFO] Building data
> [ERROR] Failed to create debian package target/drill-1.15.0.deb
> org.vafer.jdeb.PackagingException: Failed to create debian package 
> target/drill-1.15.0.deb
>     at org.vafer.jdeb.maven.DebMaker.makeDeb (DebMaker.java:247)
>     at org.vafer.jdeb.maven.DebMojo.execute (DebMojo.java:416)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> Caused by: org.vafer.jdeb.PackagingException: Could not create deb package
>     at org.vafer.jdeb.Processor.createDeb (Processor.java:172)
>     at org.vafer.jdeb.maven.DebMaker.makeDeb (DebMaker.java:244)
>     at org.vafer.jdeb.maven.DebMojo.execute (DebMojo.java:416)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> Caused by: java.io.FileNotFoundException: Data source not found : 
> /home/linaro/drill-setup/drill/distribution/target/drill-1.15.0-bin/drill-1.15.0/lib
>     at org.vafer.jdeb.maven.Data.produce (Data.java:195)
>     at org.vafer.jdeb.Processor.buildData (Processor.java:605)
>     at org.vafer.jdeb.Processor.createDeb (Processor.java:137)
>     at org.vafer.jdeb.maven.DebMaker.makeDeb (DebMaker.java:244)
>     at org.vafer.jdeb.maven.DebMojo.execute (DebMojo.java:416)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Drill Root POM 1.15.0:
> [INFO] 
> [INFO] Apache Drill Root POM .............................. SUCCESS [  7.867 
> s]
> [INFO] tools/Parent Pom ................................... SUCCESS [  0.982 
> s]
> [INFO] tools/freemarker codegen tooling ................... SUCCESS [  9.240 
> s]
> [INFO] Drill Protocol ..................................... SUCCESS [  2.044 
> s]
> [INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [  5.299 
> s]
> [INFO] Logical Plan, Base expressions ..................... SUCCESS [  4.661 
> s]
> [INFO] exec/Parent Pom .................................... SUCCESS [  1.131 
> s]
> [INFO] exec/memory/Parent Pom ............................. SUCCESS [  0.948 
> s]
> [INFO] exec/memory/base ................................... SUCCESS [  2.504 
> s]
> [INFO] exec/rpc ........................................... SUCCESS [  2.834 
> s]
> [INFO] exec/Vectors ....................................... SUCCESS [  7.264 
> s]
> [INFO] contrib/Parent Pom ................................. SUCCESS [  0.877 
> s]
> [INFO] contrib/data/Parent Pom ............................ SUCCESS [  0.884 
> s]
> [INFO] contrib/data/tpch-sample-data ...................... SUCCESS [  3.758 
> s]
> [INFO] exec/Java Execution Engine ......................... SUCCESS [ 36.060 
> s]
> [INFO] exec/JDBC Driver using dependencies ................ SUCCESS [  5.489 
> s]
> [INFO] JDBC JAR with all dependencies ..................... SUCCESS [ 36.329 
> s]
> [INFO] Drill-on-YARN ...................................... SUCCESS [  5.487 
> s]
> [INFO] contrib/kudu-storage-plugin ........................ SUCCESS [ 16.334 
> s]
> [INFO] contrib/opentsdb-storage-plugin .................... SUCCESS [  3.590 
> s]
> [INFO] contrib/mongo-storage-plugin ....................... SUCCESS [  4.922 
> s]
> [INFO] contrib/hbase-storage-plugin ....................... SUCCESS [ 19.114 
> s]
> [INFO] contrib/jdbc-storage-plugin ........................ SUCCESS [  3.997 
> s]
> [INFO] contrib/hive-storage-plugin/Parent Pom ............. SUCCESS [  0.891 
> s]
> [INFO] contrib/hive-storage-plugin/hive-exec-shaded ....... SUCCESS [01:10 
> min]
> [INFO] contrib/mapr-format-plugin ......................... SUCCESS [ 11.369 
> s]
> [INFO] contrib/hive-storage-plugin/core ................... SUCCESS [ 11.104 
> s]
> [INFO] contrib/kafka-storage-plugin ....................... SUCCESS [  7.677 
> s]
> [INFO] contrib/drill-udfs ................................. SUCCESS [  4.046 
> s]
> [INFO] Packaging and Distribution Assembly ................ FAILURE [01:27 
> min]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  06:14 min
> [INFO] Finished at: 2019-02-19T05:51:41Z
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.vafer:jdeb:1.0:jdeb (default) on project 
> distribution: Failed to create debian package target/drill-1.15.0.deb: Could 
> not create deb package: Data source not found : 
> /home/linaro/drill-setup/drill/distribution/target/drill-1.15.0-bin/drill-1.15.0/lib
>  -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.vafer:jdeb:1.0:jdeb (default) on project distribution: Failed to 
> create debian package target/drill-1.15.0.deb
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:215)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create 
> debian package target/drill-1.15.0.deb
>     at org.vafer.jdeb.maven.DebMojo.execute (DebMojo.java:426)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> Caused by: org.vafer.jdeb.PackagingException: Failed to create debian package 
> target/drill-1.15.0.deb
>     at org.vafer.jdeb.maven.DebMaker.makeDeb (DebMaker.java:247)
>     at org.vafer.jdeb.maven.DebMojo.execute (DebMojo.java:416)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> Caused by: org.vafer.jdeb.PackagingException: Could not create deb package
>     at org.vafer.jdeb.Processor.createDeb (Processor.java:172)
>     at org.vafer.jdeb.maven.DebMaker.makeDeb (DebMaker.java:244)
>     at org.vafer.jdeb.maven.DebMojo.execute (DebMojo.java:416)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> Caused by: java.io.FileNotFoundException: Data source not found : 
> /home/linaro/drill-setup/drill/distribution/target/drill-1.15.0-bin/drill-1.15.0/lib
>     at org.vafer.jdeb.maven.Data.produce (Data.java:195)
>     at org.vafer.jdeb.Processor.buildData (Processor.java:605)
>     at org.vafer.jdeb.Processor.createDeb (Processor.java:137)
>     at org.vafer.jdeb.maven.DebMaker.makeDeb (DebMaker.java:244)
>     at org.vafer.jdeb.maven.DebMojo.execute (DebMojo.java:416)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> [ERROR] 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :distribution
> drill$ 
> Error logs while generating RPM package:
> =================================
> drill$ mvn clean -X package -Prpm -DskipTests
> .....
> ..............
> ------------------
>  [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Drill Root POM 1.15.0 ....................... SUCCESS [ 20.756 
> s]
> [INFO] tools/Parent Pom ................................... SUCCESS [  1.098 
> s]
> [INFO] tools/freemarker codegen tooling ................... SUCCESS [ 24.722 
> s]
> [INFO] Drill Protocol ..................................... SUCCESS [  2.531 
> s]
> [INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [  6.901 
> s]
> [INFO] Logical Plan, Base expressions ..................... SUCCESS [  6.130 
> s]
> [INFO] exec/Parent Pom .................................... SUCCESS [  1.321 
> s]
> [INFO] exec/memory/Parent Pom ............................. SUCCESS [  1.107 
> s]
> [INFO] exec/memory/base ................................... SUCCESS [  2.790 
> s]
> [INFO] exec/rpc ........................................... SUCCESS [  3.815 
> s]
> [INFO] exec/Vectors ....................................... SUCCESS [  8.900 
> s]
> [INFO] contrib/Parent Pom ................................. SUCCESS [  0.983 
> s]
> [INFO] contrib/data/Parent Pom ............................ SUCCESS [  0.972 
> s]
> [INFO] contrib/data/tpch-sample-data ...................... SUCCESS [  4.855 
> s]
> [INFO] exec/Java Execution Engine ......................... SUCCESS [ 49.803 
> s]
> [INFO] exec/JDBC Driver using dependencies ................ SUCCESS [  6.176 
> s]
> [INFO] JDBC JAR with all dependencies ..................... SUCCESS [ 40.246 
> s]
> [INFO] Drill-on-YARN ...................................... SUCCESS [  7.688 
> s]
> [INFO] contrib/kudu-storage-plugin ........................ SUCCESS [ 33.638 
> s]
> [INFO] contrib/opentsdb-storage-plugin .................... SUCCESS [  4.098 
> s]
> [INFO] contrib/mongo-storage-plugin ....................... SUCCESS [  5.336 
> s]
> [INFO] contrib/hbase-storage-plugin ....................... SUCCESS [ 33.587 
> s]
> [INFO] contrib/jdbc-storage-plugin ........................ SUCCESS [  4.516 
> s]
> [INFO] contrib/hive-storage-plugin/Parent Pom ............. SUCCESS [  1.011 
> s]
> [INFO] contrib/hive-storage-plugin/hive-exec-shaded ....... SUCCESS [02:06 
> min]
> [INFO] contrib/mapr-format-plugin ......................... SUCCESS [ 20.610 
> s]
> [INFO] contrib/hive-storage-plugin/core ................... SUCCESS [ 17.538 
> s]
> [INFO] contrib/kafka-storage-plugin ....................... SUCCESS [  8.264 
> s]
> [INFO] contrib/drill-udfs ................................. SUCCESS [  4.543 
> s]
> [INFO] Packaging and Distribution Assembly 1.15.0 ......... FAILURE [02:05 
> min]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 09:37 min
> [INFO] Finished at: 2019-02-19T05:58:47Z
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:rpm-maven-plugin:2.1-alpha-3:rpm (generate-rpm) on project 
> distribution: Source location target/drill-1.15.0-bin/drill-1.15.0/bin does 
> not exist -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.codehaus.mojo:rpm-maven-plugin:2.1-alpha-3:rpm (generate-rpm) on 
> project distribution: Source location 
> target/drill-1.15.0-bin/drill-1.15.0/bin does not exist
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:213)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:154)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:146)
>     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:954)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Source location 
> target/drill-1.15.0-bin/drill-1.15.0/bin does not exist
>     at org.codehaus.mojo.rpm.FileHelper.processSources (FileHelper.java:477)
>     at org.codehaus.mojo.rpm.FileHelper.installFiles (FileHelper.java:131)
>     at org.codehaus.mojo.rpm.AbstractRPMMojo.execute 
> (AbstractRPMMojo.java:789)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:208)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:154)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:146)
>     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:954)
>     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:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> [ERROR] 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :distribution
> drill$



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to