minio / mint

Collection of tests to detect overall correctness of MinIO server.
Apache License 2.0
78 stars 50 forks source link

can't build #355

Closed hsandstr closed 1 year ago

hsandstr commented 1 year ago

cloning cuurent repo results in the following build error during minio-go:

24-Apr-2023 12:03:10 go: downloading golang.org/x/text v0.3.8
24-Apr-2023 12:03:17 # command-line-arguments
24-Apr-2023 12:03:17 ./main.go:8419:3: not enough arguments in call to c.PutObjectPart
24-Apr-2023 12:03:17 have (context.Context, string, string, string, number, *bytes.Reader, number, )
24-Apr-2023 12:03:17 want (context.Context, string, string, string, int, io.Reader, int64, string, string, encrypt.ServerSide)
24-Apr-2023 12:03:17 ./main.go:8419:9: undefined: minio.PutObjectPartOptions
24-Apr-2023 12:03:17 ./main.go:8429:3: not enough arguments in call to c.PutObjectPart
24-Apr-2023 12:03:17 have (context.Context, string, string, string, number, *bytes.Reader, number, )
24-Apr-2023 12:03:17 want (context.Context, string, string, string, int, io.Reader, int64, string, string, encrypt.ServerSide)
24-Apr-2023 12:03:17 ./main.go:8429:9: undefined: minio.PutObjectPartOptions
24-Apr-2023 12:03:29 Error: error building at STEP "RUN cd /mint && /mint/release.sh": error while running runtime: exit status 2

anyone else see this?

dmitrizpanasas commented 1 year ago

The same..

# command-line-arguments
./main.go:8419:3: not enough arguments in call to c.PutObjectPart
    have (context.Context, string, string, string, number, *bytes.Reader, number, <T>)
    want (context.Context, string, string, string, int, io.Reader, int64, string, string, encrypt.ServerSide)
./main.go:8419:9: undefined: minio.PutObjectPartOptions
./main.go:8429:3: not enough arguments in call to c.PutObjectPart
    have (context.Context, string, string, string, number, *bytes.Reader, number, <T>)
    want (context.Context, string, string, string, int, io.Reader, int64, string, string, encrypt.ServerSide)
./main.go:8429:9: undefined: minio.PutObjectPartOptions
harshavardhana commented 1 year ago

Builds perfectly fine with master

~ docker build . -t minio/mint:edge

...
Removing intermediate container 30312b50824b                                                                                                                                                                       
 ---> 825e13080abb                                                                                                                                                                                                 
Step 11/12 : WORKDIR /mint                                                                                                                                                                                         
 ---> Running in 7d242b7763d7                                                                                                                                                                                      
Removing intermediate container 7d242b7763d7                                                                                                                                                                       
 ---> 3b378f8b9a56                                                                                                                                                                                                 
Step 12/12 : ENTRYPOINT ["/mint/entrypoint.sh"]                                                                                                                                                                    
 ---> Running in 432b598583c2                                                                                                                                                                                      
Removing intermediate container 432b598583c2                                                                                                                                                                       
 ---> 1a25c8588b84                                                                                                                                                                                                 
Successfully built 1a25c8588b84                                                                                                                                                                                    
Successfully tagged minio/mint:edge