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

build stops because gradle does not handle symlinks well

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 1.0.0
    • Component/s: build
    • Labels:
      None

      Description

      Bigtop dies after compiling hue with this error:

      Finished running lintian.
      :hue-deb FAILED
      
      FAILURE: Build failed with an exception.
      
      * Where:
      Script '/net/os2-debian80/fs1/olaf/bigtop/packages.gradle' line: 201
      
      * What went wrong:
      Execution failed for task ':hue-deb'.
      > Unable to delete file: xxxxxxx/bigtop/output/hue/hue-3.6.0/debian/tmp/usr/lib/hue/build/env/include/python2.7/boolobject.h
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      

        Activity

        Hide
        oflebbe Olaf Flebbe added a comment -

        Problem is that the virtual build environment is made with symbolic links, and java / gradle cannot handle this properly and is following the symlink and tries to remove a system file.

        Build is run by a non-root-account .

        Show
        oflebbe Olaf Flebbe added a comment - Problem is that the virtual build environment is made with symbolic links, and java / gradle cannot handle this properly and is following the symlink and tries to remove a system file. Build is run by a non-root-account .
        Hide
        oflebbe Olaf Flebbe added a comment -

        Fix by using rm -rf command line rather than delete

        Show
        oflebbe Olaf Flebbe added a comment - Fix by using rm -rf command line rather than delete
        Hide
        rvs Roman Shaposhnik added a comment -

        +1 from my side. Konstantin Boudnik any chance you can review and commit?

        Show
        rvs Roman Shaposhnik added a comment - +1 from my side. Konstantin Boudnik any chance you can review and commit?
        Hide
        cos Konstantin Boudnik added a comment -

        +1 as well.
        Committed and pushed as
        b165d0c..1d31bfd HEAD -> master

        Thanks Olaf!

        Show
        cos Konstantin Boudnik added a comment - +1 as well. Committed and pushed as b165d0c..1d31bfd HEAD -> master Thanks Olaf!

          People

          • Assignee:
            oflebbe Olaf Flebbe
            Reporter:
            oflebbe Olaf Flebbe
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development