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

Gradle 2.0 installation from toolchain is broken

    Details

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

      Description

      BIGTOP-1402 fix wasn't completed. Here's the fix

        Issue Links

          Activity

          Hide
          jayunit100 jay vyas added a comment -

          +1 Konstantin Boudnik , i tested it and it worked for me.

          [root@localhost bigtop3]# 
          [root@localhost bigtop3]# git am 0001-BIGTOP-1405.-Gradle-2.0-installation-from-toolchain-.patch                                                                                  
          Applying: BIGTOP-1405. Gradle 2.0 installation from toolchain is broken
          [root@localhost bigtop3]# sudo puppet apply --modulepath=../../ -e "include bigtop_toolchain::gradle"                                                                             
          Error: Could not find class bigtop_toolchain::gradle for localhost.localdomain on node localhost.localdomain
          Error: Could not find class bigtop_toolchain::gradle for localhost.localdomain on node localhost.localdomain
          [root@localhost bigtop3]# sudo puppet apply --modulepath=. -e "include bigtop_toolchain::gradle"                                                                                  
          Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[libtool]/ensure: created
          Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[rpm-build]/ensure: created
          Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[fuse]/ensure: created
          Error: /Stage[main]/Bigtop_toolchain::Jdk/File[/tmp/jdk-7u60-linux-x64.gz]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/bigtop_toolchain/jdk-7u60-linux-x64.gz
          Notice: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/tar -xzvf /tmp/jdk-7u60-linux-x64.gz; ln -s jdk1.7.0_60 jdk7-latest]: Dependency File[/tmp/jdk-7u60-linux-x64.gz] has failures: true
          Warning: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/tar -xzvf /tmp/jdk-7u60-linux-x64.gz; ln -s jdk1.7.0_60 jdk7-latest]: Skipping because of failed dependencies
          Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[lzo-devel]/ensure: created
          Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[cmake]/ensure: created
          Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[redhat-rpm-config]/ensure: created
          Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[fuse-devel]/ensure: created
          Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[asciidoc]/ensure: created
          Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget http://archive.apache.org/dist/forrest/0.9/apache-forrest-0.9.tar.gz]/returns: executed successfully
          Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget http://mirrors.ibiblio.org/apache//ant/binaries/apache-ant-1.9.4-bin.tar.gz]/returns: executed successfully
          Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget https://launchpad.net/ubuntu/+archive/primary/+files/libprotobuf8_2.5.0-9ubuntu1_amd64.deb]/returns: executed successfully
          Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget http://www.scala-lang.org/files/archive/scala-2.10.3.rpm]/returns: executed successfully
          Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget http://services.gradle.org/distributions/gradle-2.0-bin.zip]/returns: executed successfully
          Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget https://launchpad.net/ubuntu/+archive/primary/+files/protobuf-compiler_2.5.0-9ubuntu1_amd64.deb]/returns: executed successfully
          Notice: /Stage[main]/Bigtop_toolchain::Gradle/Exec[/usr/bin/unzip -x /usr/src/gradle-2.0-bin.zip]: Triggered 'refresh' from 1 events
          Notice: /Stage[main]/Bigtop_toolchain::Gradle/File[/usr/local/gradle]/ensure: created
          Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget ftp://mirror.reverse.net/pub/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz]/returns: executed successfully
          Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget https://launchpad.net/ubuntu/+archive/primary/+files/libprotoc8_2.5.0-9ubuntu1_amd64.deb]/returns: executed successfully
          Error: /Stage[main]/Bigtop_toolchain::Jdk/File[/tmp/jdk-6u45-linux-amd64.rpm]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/bigtop_toolchain/jdk-6u45-linux-amd64.rpm
          Notice: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/rpm -Uvh /tmp/jdk-6u45-linux-amd64.rpm]: Dependency File[/tmp/jdk-6u45-linux-amd64.rpm] has failures: true
          Warning: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/rpm -Uvh /tmp/jdk-6u45-linux-amd64.rpm]: Skipping because of failed dependencies
          Notice: Finished catalog run in 268.53 seconds
          
          

          Thanks for fixing this!

          Show
          jayunit100 jay vyas added a comment - +1 Konstantin Boudnik , i tested it and it worked for me. [root@localhost bigtop3]# [root@localhost bigtop3]# git am 0001-BIGTOP-1405.-Gradle-2.0-installation-from-toolchain-.patch Applying: BIGTOP-1405. Gradle 2.0 installation from toolchain is broken [root@localhost bigtop3]# sudo puppet apply --modulepath=../../ -e "include bigtop_toolchain::gradle" Error: Could not find class bigtop_toolchain::gradle for localhost.localdomain on node localhost.localdomain Error: Could not find class bigtop_toolchain::gradle for localhost.localdomain on node localhost.localdomain [root@localhost bigtop3]# sudo puppet apply --modulepath=. -e "include bigtop_toolchain::gradle" Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[libtool]/ensure: created Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[rpm-build]/ensure: created Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[fuse]/ensure: created Error: /Stage[main]/Bigtop_toolchain::Jdk/File[/tmp/jdk-7u60-linux-x64.gz]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/bigtop_toolchain/jdk-7u60-linux-x64.gz Notice: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/tar -xzvf /tmp/jdk-7u60-linux-x64.gz; ln -s jdk1.7.0_60 jdk7-latest]: Dependency File[/tmp/jdk-7u60-linux-x64.gz] has failures: true Warning: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/tar -xzvf /tmp/jdk-7u60-linux-x64.gz; ln -s jdk1.7.0_60 jdk7-latest]: Skipping because of failed dependencies Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[lzo-devel]/ensure: created Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[cmake]/ensure: created Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[redhat-rpm-config]/ensure: created Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[fuse-devel]/ensure: created Notice: /Stage[main]/Bigtop_toolchain::Packages/Package[asciidoc]/ensure: created Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget http://archive.apache.org/dist/forrest/0.9/apache-forrest-0.9.tar.gz]/returns: executed successfully Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget http://mirrors.ibiblio.org/apache//ant/binaries/apache-ant-1.9.4-bin.tar.gz]/returns: executed successfully Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget https://launchpad.net/ubuntu/+archive/primary/+files/libprotobuf8_2.5.0-9ubuntu1_amd64.deb]/returns: executed successfully Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget http://www.scala-lang.org/files/archive/scala-2.10.3.rpm]/returns: executed successfully Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget http://services.gradle.org/distributions/gradle-2.0-bin.zip]/returns: executed successfully Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget https://launchpad.net/ubuntu/+archive/primary/+files/protobuf-compiler_2.5.0-9ubuntu1_amd64.deb]/returns: executed successfully Notice: /Stage[main]/Bigtop_toolchain::Gradle/Exec[/usr/bin/unzip -x /usr/src/gradle-2.0-bin.zip]: Triggered 'refresh' from 1 events Notice: /Stage[main]/Bigtop_toolchain::Gradle/File[/usr/local/gradle]/ensure: created Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget ftp://mirror.reverse.net/pub/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz]/returns: executed successfully Notice: /Stage[main]/Bigtop_toolchain::Deps/Exec[/usr/bin/wget https://launchpad.net/ubuntu/+archive/primary/+files/libprotoc8_2.5.0-9ubuntu1_amd64.deb]/returns: executed successfully Error: /Stage[main]/Bigtop_toolchain::Jdk/File[/tmp/jdk-6u45-linux-amd64.rpm]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/bigtop_toolchain/jdk-6u45-linux-amd64.rpm Notice: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/rpm -Uvh /tmp/jdk-6u45-linux-amd64.rpm]: Dependency File[/tmp/jdk-6u45-linux-amd64.rpm] has failures: true Warning: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/rpm -Uvh /tmp/jdk-6u45-linux-amd64.rpm]: Skipping because of failed dependencies Notice: Finished catalog run in 268.53 seconds Thanks for fixing this!
          Hide
          jayunit100 jay vyas added a comment -

          commited..................

          Show
          jayunit100 jay vyas added a comment - commited..................

            People

            • Assignee:
              cos Konstantin Boudnik
              Reporter:
              cos Konstantin Boudnik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development