I dont' know much about Slurm but if you want to start troubleshooting then you need to isolate the step where error appears. From the output you have posted , it looks like you are using some automated script to download, extract and build Slurm. Look here:

 "/bin/sh -c cd /tmp  && wget https://download.schedmd.com/slurm/slurm-23.11.7.tar.bz2  && tar -xaf slurm-23.11.7.tar.bz2  && cd slurm-23.11.7  && mk-build-deps -t \"apt-get -o Debug::pkgProblemResolver=yes -y\" -i debian/control  && debuild -b -uc -us  && .....

Here 6 steps have combined together with &&. I would do these steps by hand, manually, one by one and see where error occurs. You might get some extra information about the error this way



On Fri, Jun 14, 2024 at 4:11 AM Christopher Harrop - NOAA Affiliate via slurm-users <slurm-users@lists.schedmd.com> wrote:
Hello,

Are the instructions for building Debian RPMs found at https://slurm.schedmd.com/quickstart_admin.html#debuild expected to work on ARM machines?

I am having trouble with the "debuild -b -uc -us” step. 

#10 29.01 configure: exit 1
#10 29.01 dh_auto_configure: error: cd obj-aarch64-linux-gnu && ../configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --sysconfdir=/etc/slurm --disable-debug --with-slurmrestd --with-pmix --enable-pam --with-systemdsystemunitdir=/lib/systemd/system/ SUCMD=/bin/su SLEEP_CMD=/bin/sleep returned exit code 1
#10 29.01 make[1]: *** [debian/rules:21: override_dh_auto_configure] Error 25
#10 29.01 make[1]: Leaving directory '/tmp/slurm-23.11.7'
#10 29.02 make: *** [debian/rules:6: build] Error 2
#10 29.02 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
#10 29.02 debuild: fatal error at line 1182:
#10 29.02 dpkg-buildpackage -us -uc -ui -b failed
#10 ERROR: process "/bin/sh -c cd /tmp  && wget https://download.schedmd.com/slurm/slurm-23.11.7.tar.bz2  && tar -xaf slurm-23.11.7.tar.bz2  && cd slurm-23.11.7  && mk-build-deps -t \"apt-get -o Debug::pkgProblemResolver=yes -y\" -i debian/control  && debuild -b -uc -us  && cd ..  && ARCH=$(dpkg --print-architecture)  && dpkg --install slurm-smd_23.11.7-1_${ARCH}.deb  && dpkg --install slurm-smd-client_23.11.7-1_${ARCH}.deb  && dpkg --install slurm-smd-dev_23.11.7-1_${ARCH}.deb  && dpkg --install slurm-smd-doc_23.11.7-1_all.deb  && dpkg --install slurm-smd-libnss-slurm_23.11.7-1_${ARCH}.deb  && dpkg --install slurm-smd-libpam-slurm-adopt_23.11.7-1_${ARCH}.deb  && dpkg --install slurm-smd-libpmi0_23.11.7-1_${ARCH}.deb  && dpkg --install slurm-smd-libpmi2-0_23.11.7-1_${ARCH}.deb  && dpkg --install slurm-smd-libslurm-perl_23.11.7-1_${ARCH}.deb  && dpkg --install slurm-smd-sackd_23.11.7-1_${ARCH}.deb  && dpkg --install slurm-smd-sview_23.11.7-1_${ARCH}.deb" did not complete successfully: exit code: 29

Chris
---------------------------------------------------------------------------------------------------
Christopher W. Harrop                                                voice: (720) 649-0316
NOAA Global Systems Laboratory, R/GSL6                  fax: (303) 497-7259                 
325 Broadway                                                 
Boulder, CO 80303


--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com