Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3749

JitPack build fails

    XMLWordPrintableJSON

    Details

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

      Description

      Some projects like Drill use JitPack for automatic building and publishing specific Calcite versions or versions for specific commits on master.
      After moving to Gradle, JitPack build fails with the following error (build for the latest commit Cosmetic changes 8fb5ca9):

      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':autostyleConfigsCheck'.
      > The following files have format violations:
          local.properties
            @@ -1,2 +1,18 @@
            +#
            +# Licensed to the Apache Software Foundation (ASF) under one or more
            +# contributor license agreements.  See the NOTICE file distributed with
            +# this work for additional information regarding copyright ownership.
            +# The ASF licenses this file to you under the Apache License, Version 2.0
            +# (the "License"); you may not use this file except in compliance with
            +# the License.  You may obtain a copy of the License at
            +#
            +# http://www.apache.org/licenses/LICENSE-2.0
            +#
            +# Unless required by applicable law or agreed to in writing, software
            +# distributed under the License is distributed on an "AS IS" BASIS,
            +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
            +# See the License for the specific language governing permissions and
            +# limitations under the License.
            +#
             sdk.dir=/opt/android-sdk-linux
             ndk.dir=/opt/android-sdk-linux/ndk-bundle
        Run './gradlew autostyleApply' to fix the violations.
      

      The full build output may be found here: https://jitpack.io/com/github/apache/calcite/8fb5ca9898/build.log

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                volodymyr Vova Vysotskyi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: