Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3351

Fix sqoop build error on Ubuntu 18.04

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • build
    • None

    Description

      sqoop build failed on ubuntu18.04:

           [exec] xmlto  -o /ws/output/sqoop/sqoop-1.4.6/build/docs -m web/html.xsl \
           [exec]     html-nochunks user/SqoopUserGuide.xml
           [exec] rm user/SqoopUserGuide.xml
           [exec] mkdir -p /ws/output/sqoop/sqoop-1.4.6/build/docs
           [exec] asciidoc --unsafe -a revnumber=1.4.6 \
           [exec]     -b docbook \
           [exec]     dev/SqoopDevGuide.txt
           [exec] xmlto  -o /ws/output/sqoop/sqoop-1.4.6/build/docs -m web/html.xsl \
           [exec]     html-nochunks dev/SqoopDevGuide.xml
           [exec] rm dev/SqoopDevGuide.xml
           [exec] mkdir -p /ws/output/sqoop/sqoop-1.4.6/build/docs
           [exec] cp web/docbook.css /ws/output/sqoop/sqoop-1.4.6/build/docs
           [exec] rsync -a web/images /ws/output/sqoop/sqoop-1.4.6/build/docs/
           [exec] Makefile:102: recipe for target 'supportfiles' failed
           [exec] make[2]: Leaving directory '/ws/output/sqoop/sqoop-1.4.6/src/docs'
           [exec] make[2]: rsync: Command not found
           [exec] make[2]: *** [supportfiles] Error 127
      
      BUILD FAILED
      /ws/output/sqoop/sqoop-1.4.6/build.xml:1202: exec returned: 2
      
      Total time: 44 minutes 56 seconds
      debuild: fatal error at line 1152:
      dpkg-buildpackage -rfakeroot -us -uc -ui -b
       failed
      debian/rules:30: recipe for target 'override_dh_auto_build' failed
      make[1]: *** [override_dh_auto_build] Error 1
      make[1]: Leaving directory '/ws/output/sqoop/sqoop-1.4.6'
      debian/rules:27: recipe for target 'build' failed
      make: *** [build] Error 2
      dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
      
      > Task :sqoop-deb FAILED
      
      FAILURE: Build failed with an exception.
      
      * Where:
      Script '/ws/packages.gradle' line: 354
      
      * What went wrong:
      Execution failed for task ':sqoop-deb'.
      > Process 'command 'debuild'' finished with non-zero exit value 29
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
      
      * Get more help at https://help.gradle.org
      

      Attachments

        Activity

          People

            yqGu Yuqi Gu
            yqGu Yuqi Gu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m