[slurm-users] Installation of Slurm 22.05.2 on Centos 9 failed in libcommon.o

Maximilian Ebert max.ebert at me.com
Thu Jun 30 15:18:49 UTC 2022


Dear list,

I am trying to run rpmbuild -ta slurm-22.05.2.tar.bz2 but it fails in libcommon.o. I am not sure what is necessary to help out bit I put a little snipped from the build process below. Any information is greatly appreciate.

Thanks,
Max

….
`.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of .libs/xstring.o: defined in discarded section `.gnu.debuglto_.debug_macro[wm4.log.h.110.1d43cc36a55f440069a5e2724bc0ee45]' of .libs/xstring.o
`.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of .libs/xstring.o: defined in discarded section `.gnu.debuglto_.debug_macro[wm4.macros.h.54.6dee741ea86028c485ffb0ea7c7ee2ee]' of .libs/xstring.o
`.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of .libs/xstring.o: defined in discarded section `.gnu.debuglto_.debug_macro[wm4.xmalloc.h.69.ea420118d87051d8f53bdc4e00ad1cc7]' of .libs/xstring.o
`.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of .libs/xstring.o: defined in discarded section `.gnu.debuglto_.debug_macro[wm4.xstring.h.41.bdda85562fbe08d4914fb6ca15e366c5]' of .libs/xstring.o
make[5]: *** [Makefile:1400: libcommon.o] Error 1
make[5]: Leaving directory '/root/rpmbuild/BUILD/slurm-22.05.2/src/common'
make[4]: *** [Makefile:1286: ../../src/common/libcommon.o] Error 2
make[4]: *** Waiting for unfinished jobs....
libtool: link: (cd .libs/libslurmfull.lax/libslurmhelper.a && ar x "/root/rpmbuild/BUILD/slurm-22.05.2/src/api/../../src/api/.libs/libslurmhelper.a")
libtool: link: ar cr .libs/libslurmfull.a   .libs/libslurmfull.lax/libslu
…
per.a/xassert.o .libs/libslurm_pmi.lax/libslurmhelper.a/xhash.o .libs/libslurm_pmi.lax/libslurmhelper.a/xmalloc.o .libs/libslurm_pmi.lax/libslurmhelper.a/xsignal.o .libs/libslurm_pmi.lax/libslurmhelper.a/xstring.o 
libtool: link: ranlib .libs/libslurmfull.a
libtool: link: ranlib .libs/libslurm_pmi.a
libtool: link: rm -fr .libs/libslurmfull.lax
libtool: link: ( cd ".libs" && rm -f "libslurmfull.la" && ln -s "../libslurmfull.la" "libslurmfull.la" )
libtool: link: rm -fr .libs/libslurm_pmi.lax
libtool: link: ( cd ".libs" && rm -f "libslurm_pmi.la" && ln -s "../libslurm_pmi.la" "libslurm_pmi.la" )
make[4]: Leaving directory '/root/rpmbuild/BUILD/slurm-22.05.2/src/api'
make[3]: *** [Makefile:767: all] Error 2
make[3]: Leaving directory '/root/rpmbuild/BUILD/slurm-22.05.2/src/api'
make[2]: *** [Makefile:545: all-recursive] Error 1
make[2]: Leaving directory '/root/rpmbuild/BUILD/slurm-22.05.2/src'
make[1]: *** [Makefile:624: all-recursive] Error 1
make[1]: Leaving directory '/root/rpmbuild/BUILD/slurm-22.05.2'
make: *** [Makefile:523: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.chvxMH (%build)


RPM build errors:
    Macro expanded in comment on line 22: %_prefix path		install path for commands, libraries, etc.

    Macro expanded in comment on line 175: %define _unpackaged_files_terminate_build      0

    Bad exit status from /var/tmp/rpm-tmp.chvxMH (%build)




More information about the slurm-users mailing list