按老师的提示改进了,现在这个fmt的报错没了。
继续处理下一个依赖包 spdlog 和spdlog-devel (在openEuler仓库中没有rpm)
-
STATUS=0
-
‘[’ 0 -ne 0 ‘]’
-
cd lizardfs-3.13.0
-
/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
-
RPM_EC=0
++ jobs -p
-
exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IcgQFs
-
umask 022
-
cd /tmp/lizardfs_rpm_working_directory/BUILD
-
cd lizardfs-3.13.0
-
./configure --with-doc
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a … suffix to tell
CMake that the project does not need compatibility with older versions.
– ENABLE_CCACHE: ON
– CCACHE_FOUND: CCACHE_FOUND-NOTFOUND
– The C compiler identification is GNU 10.3.1
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
CMake Warning (dev) at CMakeLists.txt:93 (set):
implicitly converting ‘INT’ to ‘STRING’ type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:94 (set):
implicitly converting ‘INT’ to ‘STRING’ type.
This warning is for project developers. Use -Wno-dev to suppress it.
– CMAKE_BUILD_TYPE: Release
– CMAKE_INSTALL_PREFIX: /
– DEFAULT_USER: lizardfs
– DEFAULT_GROUP: lizardfs
– LIZARDFS_BLOCKS_IN_CHUNK: 1024
– LIZARDFS_BLOCK_SIZE: 65536
– ENABLE_WERROR: OFF
– ENABLE_LIGHTMFS: OFF
– ENABLE_UTILS: OFF
– ENABLE_TESTS: NO
– ENABLE_DOCS: YES
– ENABLE_EXIT_ON_USR1: OFF
– THROW_INSTEAD_OF_ABORT: OFF
– ENABLE_DEBUG_LOG: OFF
– ENABLE_VERBOSE_ASCIIDOC: OFF
– ENABLE_TCMALLOC: OFF
– ENABLE_JEMALLOC: OFF
– ENABLE_POLONAISE: OFF
– ENABLE_CLIENT_LIB: YES
– ENABLE_OFFICIAL_BUILD: NO
– SET_RC_BUILD_NUMBER: NO
– ENABLE_URAFT: YES
– ENABLE_TRACES: OFF
– ENABLE_CRC: ON
– ENABLE_REQUEST_LOG: OFF
– USE_LEGACY_READ_MESSAGES: OFF
– ENABLE_NFS_GANESHA: NO
fatal: not a git repository (or any of the parent directories): .git
– The CXX compiler identification is GNU 10.3.1
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Looking for include file arpa/inet.h
– Looking for include file arpa/inet.h - found
– Looking for include file fcntl.h
– Looking for include file fcntl.h - found
– Looking for include file inttypes.h
– Looking for include file inttypes.h - found
– Looking for include file limits.h
– Looking for include file limits.h - found
– Looking for include file netdb.h
– Looking for include file netdb.h - found
– Looking for include file netinet/in.h
– Looking for include file netinet/in.h - found
– Looking for include file stddef.h
– Looking for include file stddef.h - found
– Looking for include file stdlib.h
– Looking for include file stdlib.h - found
– Looking for include file string.h
– Looking for include file string.h - found
– Looking for include file sys/mman.h
– Looking for include file sys/mman.h - found
– Looking for include file sys/resource.h
– Looking for include file sys/resource.h - found
– Looking for include file sys/rusage.h
– Looking for include file sys/rusage.h - not found
– Looking for include file sys/socket.h
– Looking for include file sys/socket.h - found
– Looking for include file sys/statvfs.h
– Looking for include file sys/statvfs.h - found
– Looking for include file sys/time.h
– Looking for include file sys/time.h - found
– Looking for include file syslog.h
– Looking for include file syslog.h - found
– Looking for include file unistd.h
– Looking for include file unistd.h - found
– Looking for include file stdbool.h
– Looking for include file stdbool.h - found
– Looking for include file isa-l/erasure_code.h
– Looking for include file isa-l/erasure_code.h - not found
Some include files were not found: sys/rusage.h;isa-l/erasure_code.h
– Looking for sys/types.h
– Looking for sys/types.h - found
– Looking for stdint.h
– Looking for stdint.h - found
– Looking for stddef.h
– Looking for stddef.h - found
– Check size of int8_t
– Check size of int8_t - done
– Check size of uint8_t
– Check size of uint8_t - done
– Check size of int16_t
– Check size of int16_t - done
– Check size of uint16_t
– Check size of uint16_t - done
– Check size of int32_t
– Check size of int32_t - done
– Check size of uint32_t
– Check size of uint32_t - done
– Check size of int64_t
– Check size of int64_t - done
– Check size of uint64_t
– Check size of uint64_t - done
– Check size of uid_t
– Check size of uid_t - done
– Check size of mode_t
– Check size of mode_t - done
– Check size of off_t
– Check size of off_t - done
– Check size of pid_t
– Check size of pid_t - done
– Check size of size_t
– Check size of size_t - done
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLOCKS
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLOCKS - Success
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_RDEV
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_RDEV - Success
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BIRTHTIME
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLKSIZE
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLKSIZE - Success
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_FLAGS
– Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_FLAGS - Failed
– Performing Test LIZARDFS_HAVE_STRUCT_TM_TM_GMTOFF
– Performing Test LIZARDFS_HAVE_STRUCT_TM_TM_GMTOFF - Failed
– Performing Test LIZARDFS_HAVE_STRUCT_RUSAGE_RU_MAXRSS
– Performing Test LIZARDFS_HAVE_STRUCT_RUSAGE_RU_MAXRSS - Success
– Looking for fork
– Looking for fork - found
– Looking for vfork
– Looking for vfork - found
– Performing Test LIZARDFS_HAVE_STD_TO_STRING
– Performing Test LIZARDFS_HAVE_STD_TO_STRING - Success
– Performing Test LIZARDFS_HAVE_STD_STOULL
– Performing Test LIZARDFS_HAVE_STD_STOULL - Success
– Looking for atexit
– Looking for atexit - found
– Looking for ftruncate
– Looking for ftruncate - found
– Looking for gettimeofday
– Looking for gettimeofday - found
– Looking for memmove
– Looking for memmove - found
– Looking for memset
– Looking for memset - found
– Looking for mkdir
– Looking for mkdir - found
– Looking for strchr
– Looking for strchr - found
– Looking for strdup
– Looking for strdup - found
– Looking for strtol
– Looking for strtol - found
– Looking for strtoul
– Looking for strtoul - found
– Looking for ftello
– Looking for ftello - found
– Looking for fseeko
– Looking for fseeko - found
– Looking for getpass
– Looking for getpass - found
– Looking for poll
– Looking for poll - found
– Looking for realpath
– Looking for realpath - found
– Looking for strerror
– Looking for strerror - found
– Looking for perror
– Looking for perror - found
– Looking for pread
– Looking for pread - found
– Looking for pwrite
– Looking for pwrite - found
– Looking for readv
– Looking for readv - found
– Looking for writev
– Looking for writev - found
– Looking for getrusage
– Looking for getrusage - found
– Looking for setitimer
– Looking for setitimer - found
– Looking for posix_fadvise
– Looking for posix_fadvise - found
– Looking for fallocate
– Looking for fallocate - found
– Looking for clock_gettime in rt
– Looking for clock_gettime in rt - found
– Looking for dup2
– Looking for dup2 - found
– Looking for mlockall
– Looking for mlockall - found
– Looking for getcwd
– Looking for getcwd - found
– Performing Test LIZARDFS_HAVE_STD_CHRONO_STEADY_CLOCK
– Performing Test LIZARDFS_HAVE_STD_CHRONO_STEADY_CLOCK - Success
– Performing Test LIZARDFS_HAVE_STD_ALLOCATOR_TRAITS
– Performing Test LIZARDFS_HAVE_STD_ALLOCATOR_TRAITS - Success
– Performing Test LIZARDFS_HAVE_THREAD_LOCAL
– Performing Test LIZARDFS_HAVE_THREAD_LOCAL - Success
– Performing Test CXX_HAS_MCRC32
– Performing Test CXX_HAS_MCRC32 - Success
– Performing Test LIZARDFS_HAVE_CPU_CHECK
– Performing Test LIZARDFS_HAVE_CPU_CHECK - Success
– Looking for FALLOC_FL_PUNCH_HOLE
– Looking for FALLOC_FL_PUNCH_HOLE - found
– Performing Test LIZARDFS_HAVE_STD_FUTURE
– Performing Test LIZARDFS_HAVE_STD_FUTURE - Success
CMake Error at cmake/Libraries.cmake:10 (find_package):
By not providing “Findspdlog.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “spdlog”, but
CMake did not find one.
Could not find a package configuration file provided by “spdlog” with any
of the following names:
spdlogConfig.cmake
spdlog-config.cmake
Add the installation prefix of “spdlog” to CMAKE_PREFIX_PATH or set
“spdlog_DIR” to a directory containing one of the above files. If “spdlog”
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:207 (include)
– Configuring incomplete, errors occurred!
See also “/tmp/lizardfs_rpm_working_directory/BUILD/lizardfs-3.13.0/build-pack/CMakeFiles/CMakeOutput.log”.
See also “/tmp/lizardfs_rpm_working_directory/BUILD/lizardfs-3.13.0/build-pack/CMakeFiles/CMakeError.log”.
error: Bad exit status from /var/tmp/rpm-tmp.IcgQFs (%build)
RPM build errors:
Macro expanded in comment on line 400: %{_libdir}/ganesha/libfsallizardfs.so
Bad exit status from /var/tmp/rpm-tmp.IcgQFs (%build)
Finish: chroot [‘su - mockbuild -c 'set -xe ; cd /workdir ; COPR_OWNER=kerneltravel COPR_PROJECT=lizardfs COPR_PACKAGE='“'”''“'”' COPR_RESULTDIR=/workdir /script'’]
Traceback (most recent call last):
File “/usr/bin/copr-sources-custom”, line 115, in
run_cmd(mock + [‘–chroot’, ‘su - {0} -c {1}’.format(user, cmd)])
File “/usr/bin/copr-sources-custom”, line 64, in run_cmd
return subprocess.check_call(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib64/python3.11/subprocess.py”, line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘mock’, ‘-r’, ‘/var/lib/copr-rpmbuild/results/mock-config.cfg’, ‘–chroot’, ‘su - mockbuild -c 'set -xe ; cd /workdir ; COPR_OWNER=kerneltravel COPR_PROJECT=lizardfs COPR_PACKAGE='“'”''“'”' COPR_RESULTDIR=/workdir /script'’]’ returned non-zero exit status 1.
Copr build error: Build failed