Hello, this seems like a stupid question, but how can I compile xCAT?

I'm trying to compile here without any success, the instructions are here: 
https://xcat-docs.readthedocs.io/en/stable/developers/guides/code/builds.html#xcat-deps

However the buildcore.sh script does not work:

[ferrao@cloyster xcat-core]$ ./buildcore.sh 
warning: source_date_epoch_from_changelog set but %changelog is missing
    source_date_epoch_from_changelog set but %changelog is missing
warning: source_date_epoch_from_changelog set but %changelog is missing
    source_date_epoch_from_changelog set but %changelog is missing
Building /home/ferrao/rpmbuild

RPM build warnings:/RPMS/noarch/perl-xCAT-2.17.0-snap*.noarch.rpm ...
tar: RPM: Cannot stat: No such file or directory
tar (child): /home/ferrao/rpmbuild: Cannot open: Is a directory
tar (child): Error is not recoverable: exiting now
tar: warnings\:/SOURCES/perl-xCAT-2.17.0.tar.gz: Cannot stat: No such file or 
directory
tar: /home/ferrao/rpmbuild: Wrote only 2048 of 10240 bytes
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: cannot remove '/home/ferrao/rpmbuild': Is a directory
rm: cannot remove 'build': Is a directory
rm: cannot remove '/home/ferrao/rpmbuild': Is a directory
rm: cannot remove 'build': Is a directory
error: File /home/ferrao/rpmbuild: Is a directory
error: File /home/ferrao/rpmbuild: Is a directory
error: Failed to read spec file from /home/ferrao/rpmbuild
warning: source_date_epoch_from_changelog set but %changelog is missing
    source_date_epoch_from_changelog set but %changelog is missing
Building /home/ferrao/rpmbuild

RPM build warnings:/RPMS/aarch64/xCATsn-2.17.0-snap*.aarch64.rpm ...
Building target platforms: aarch64
Building for target aarch64
warning: source_date_epoch_from_changelog set but %changelog is missing
tar (child): /home/ferrao/rpmbuild/SOURCES/license.tar.gz: Cannot open: No such 
file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
error: Bad exit status from /var/tmp/rpm-tmp.eNKCzQ (%prep)
Error:  build of the following RPMs failed:  perl-xCAT xCAT-client xCAT-server 
xCAT-test xCAT-buildkit xCAT-SoftLayer xCAT-vlan xCAT-confluent xCAT-probe 
xCAT-csm xCAT-openbmc-py xCAT-genesis-scripts-x86_64 xCAT-genesis-scripts-ppc64 
xCAT-x86_64 xCAT-ppc64 xCAT-ppc64le xCAT-s390x xCAT-aarch64 xCATsn-x86_64 
xCATsn-ppc64 xCATsn-ppc64le xCATsn-s390x xCATsn-aarch64

...

If we try to run builddep.sh it also does not work, requiring a missing "gsa" 
directory:

[ferrao@cloyster xcat-core]$ ./builddep.sh 
ERROR: This script is intended to be used by xCAT development...
ERROR: The GSA directory (/gsa/pokgsa/projects/x/xcat/build/linux/xcat-dep) 
directory does not appear to be mounted, cannot continue!



Have anyone successfully ran this scripts to build xCAT?

Thanks.



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to