Skip to content

fdroid build error #2

@QGB

Description

@QGB
                                             
root@c08e69c42312:/home/qgb/gitlab/fdroiddata#                                               
root@c08e69c42312:/home/qgb/gitlab/fdroiddata# fdroid build -v -l com.example.TTime          
2023-09-25 17:52:55,568 DEBUG: Reading 'config.yml'                                          
2023-09-25 17:52:55,651 INFO: Using /opt/android-sdk/build-tools/34.0.0-rc3/apksigner        
2023-09-25 17:52:55,661 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/qgb/gitlab/fdroiddata, universal_newlines=False, shell=None, istream=<valid stream>)                 
2023-09-25 17:52:55,667 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/home/qgb/gitlab/fdroiddata, universal_newlines=False, shell=None, istream=None)                                          
2023-09-25 17:52:55,787 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/home/qgb/gitlab/fdroiddata, universal_newlines=False, shell=None, istream=None)        
2023-09-25 17:52:55,982 DEBUG: Popen(['git', 'ls-files', '--modified'], cwd=/home/qgb/gitlab/fdroiddata, universal_newlines=False, shell=None, istream=None)                              
2023-09-25 17:52:56,485 DEBUG: Popen(['git', 'status', '--porcelain', '--untracked-files'], cwd=/home/qgb/gitlab/fdroiddata, universal_newlines=False, shell=None, istream=None)          
2023-09-25 17:53:01,303 DEBUG: Getting git vcs interface for https://github.com/ClemPera/TTime.git                                                                                        
2023-09-25 17:53:01,303 DEBUG: > git --version                                               
git version 2.25.1                            
2023-09-25 17:53:01,519 INFO: Using git version 2.25.1                                       
2023-09-25 17:53:01,519 DEBUG: Checking 1.2   
2023-09-25 17:53:01,519 INFO: Building version 1.2 (3) of com.example.TTime                  
2023-09-25 17:53:01,520 INFO: Getting source for revision 1.2                                
2023-09-25 17:53:01,520 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:01,520 DEBUG: > git rev-parse --show-toplevel                               
2023-09-25 17:53:01,752 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:01,752 DEBUG: > git submodule foreach --recursive git reset --hard          
2023-09-25 17:53:01,861 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:01,862 DEBUG: > git reset --hard                                            
2023-09-25 17:53:02,104 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:02,104 DEBUG: > git submodule foreach --recursive git clean -dffx           
2023-09-25 17:53:02,212 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:02,213 DEBUG: > git clean -dffx                                             
2023-09-25 17:53:02,428 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:02,428 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch origin                                                                     
2023-09-25 17:53:03,150 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:03,151 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com remote prune origin                                                              
2023-09-25 17:53:03,883 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:03,883 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch --prune --tags --force origin                                              
2023-09-25 17:53:04,607 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:04,607 DEBUG: > git remote set-head origin --auto                           
2023-09-25 17:53:05,332 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:05,333 DEBUG: > git checkout -f 1.2                                         
2023-09-25 17:53:05,544 DEBUG: Directory: build/com.example.TTime                            
2023-09-25 17:53:05,544 DEBUG: > git clean -dffx                                             
2023-09-25 17:53:05,651 INFO: Creating local.properties file at build/com.example.TTime/local.properties                                                                                  
2023-09-25 17:53:05,652 INFO: Creating local.properties file at build/com.example.TTime/app/local.properties                                                                              
2023-09-25 17:53:05,652 DEBUG: Removing debuggable flags from build/com.example.TTime/app    
2023-09-25 17:53:05,661 INFO: Cleaning Gradle project...                                     
2023-09-25 17:53:05,662 DEBUG: Directory: build/com.example.TTime/app                        
2023-09-25 17:53:05,662 DEBUG: > /usr/local/lib/python3.8/dist-packages/gradlew-fdroid clean 
Found 6.5 via distributionUrl                 
Running /root/.cache/fdroidserver/gradle/6.5/bin/gradle clean                                

FAILURE: Build failed with an exception.      

* Where:                                      
Settings file '/home/qgb/gitlab/fdroiddata/build/com.example.TTime/settings.gradle'          

* What went wrong:                            
Could not compile settings file '/home/qgb/gitlab/fdroiddata/build/com.example.TTime/settings.gradle'.                                                                                    
> startup failed:                             
  General error during semantic analysis: Unsupported class file major version 61            
                                              
  java.lang.IllegalArgumentException: Unsupported class file major version 61                
        at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:196)                      
        at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:177)                      
        at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:163)                      
        at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:284)                      
        at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:81)                                                                                             
        at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:251)                                                                                       
        at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:189)                                                                             
        at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:169)                                                                                        
        at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:125)                                                                                          
        at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClassNullable(AsmReferenceResolver.java:57)                                                                     
        at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClass(AsmReferenceResolver.java:44)                                                                             
        at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveNonArrayType(AsmReferenceResolver.java:79)                                                                      
        at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveType(AsmReferenceResolver.java:70)                                                                              
        at org.codehaus.groovy.ast.decompiled.MemberSignatureParser.createMethodNode(MemberSignatureParser.java:57)                                                                       
        at org.codehaus.groovy.ast.decompiled.DecompiledClassNode$2.get(DecompiledClassNode.java:234)                                                                                     
        at org.codehaus.groovy.ast.decompiled.DecompiledClassNode$2.get(DecompiledClassNode.java:231)                                                                                     
        at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.createMethodNode(DecompiledClassNode.java:242)                                                                          
        at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.lazyInitMembers(DecompiledClassNode.java:199)                                                                           
        at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.getDeclaredMethods(DecompiledClassNode.java:122)                                                                        
        at org.codehaus.groovy.ast.ClassNode.getMethods(ClassNode.java:912)                  
        at org.codehaus.groovy.ast.ClassNode.tryFindPossibleMethod(ClassNode.java:1280)      
        at org.codehaus.groovy.control.StaticImportVisitor.transformMethodCallExpression(StaticImportVisitor.java:252)                                                                    
        at org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:113)                                                                                        
        at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:142)                                                       
        at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)                                                                                            
        at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:110)                                                                      
        at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:121)                                                                     
        at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitConstructorOrMethod(ClassCodeExpressionTransformer.java:53)                                                        
        at org.codehaus.groovy.control.StaticImportVisitor.visitConstructorOrMethod(StaticImportVisitor.java:89)                                                                          
        at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructor(ClassCodeVisitorSupport.java:128)                                                                             
        at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1099)              
        at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:54)               

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions