goharbor / harbor-arm

Build Harbor for arm architecture.
Apache License 2.0
74 stars 45 forks source link

make compile_redis fail #36

Closed 631068264 closed 1 year ago

631068264 commented 2 years ago

I run this on my Mac x86

docker buildx ls
NAME/NODE       DRIVER/ENDPOINT STATUS  BUILDKIT PLATFORMS
default         docker                           
  default       default         running 20.10.20 linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6
desktop-linux * docker                           
  desktop-linux desktop-linux   running 20.10.20 linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6
readlink: illegal option -- m
usage: readlink [-fn] [file ...]
1. Create sandbox
        Pull photon image OK
        Replace toybox with coreutils OK
        Install default build tools OK
        Create build template image for future use OK
2. Prepare build environment
        Create source folder OK
        Copy sources from . OK
3. Build
        Run rpmbuild FAIL
Sandbox is preserved for analisys. Use 'docker exec -it build_spec /bin/bash'
Build failed. See ./stage/LOGS/.log for full output

error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: License field must be present in package: (main package)
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: License field must be present in package: (main package)
error: File /usr/src/photon/SOURCES/ is not a regular file.

make: *** [compile_redis] Error 1
Jeremy-boo commented 2 years ago

You can follow this prompt to see the specific error message of the build failure ./stage/LOGS/.log