系统环境信息:
CentOS7.4
go1.3.1
GCC4.8.5
编译Singularity 3.7.0版本报错。
更换3.7.4版本,make 正常、make install 正常。
GO singularity
[+] GO_TAGS "containers_image_openpgp sylog oci_engine singularity_engine fakeroot_engine apparmor selinux"
import cycle not allowed
package github.com/sylabs/singularity/cmd/singularity
imports github.com/sylabs/singularity/cmd/internal/cli
imports github.com/sylabs/singularity/internal/app/singularity
imports github.com/sylabs/singularity/internal/pkg/build
imports github.com/sylabs/singularity/internal/pkg/build/sources
imports github.com/sylabs/singularity/internal/app/singularity
import cycle not allowed
package github.com/sylabs/singularity/cmd/singularity
imports github.com/sylabs/singularity/cmd/internal/cli
imports github.com/sylabs/singularity/internal/app/singularity
imports github.com/sylabs/singularity/internal/pkg/build
imports github.com/sylabs/singularity/internal/pkg/build/sources
imports github.com/sylabs/singularity/internal/pkg/client/oras
imports github.com/sylabs/singularity/pkg/image
imports github.com/sylabs/singularity/pkg/runtime/engine/config
imports github.com/sylabs/singularity/pkg/plugin
imports github.com/sylabs/singularity/pkg/runtime/engines/singularity/config
imports github.com/sylabs/singularity/pkg/image
make: *** [singularity] Error 1
估计是配置文件的bug。