error: gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -rdynamic -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -include config-host.h -march=armv8-a+crc+crypto -I. -I. -DBITS_PER_LONG=64 -DFIO_VERSION='"fio-3.7"' -o t/fio-dedupe t/dedupe.o lib/rbtree.o t/log.o fio_sem.o pshared.o smalloc.o gettime.o crc/md5.o lib/memalign.o lib/bloom.o t/debug.o crc/xxhash.o t/arch.o crc/murmur3.o crc/crc32c.o crc/crc32c-intel.o crc/crc32c-arm64.o crc/fnv.o -lrbd -lrados -lrados -lnuma -lrdmacm -libverbs -lrt -laio -lz -lm -lpthread -ldl /usr/bin/ld: t/arch.o:/home/abuild/rpmbuild/BUILD/fio-3.7/t/arch.c:4: multiple definition of `tsc_reliable'; gettime.o:/home/abuild/rpmbuild/BUILD/fio-3.7/gettime.c:25: first defined here
77 lines
2.2 KiB
RPMSpec
77 lines
2.2 KiB
RPMSpec
Name: fio
|
|
Version: 3.7
|
|
Release: 11
|
|
Summary: Versatile IO workload generator
|
|
License: GPLv2
|
|
URL: http://git.kernel.dk/?p=fio.git;a=summary
|
|
Source: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
|
|
BuildRequires: libaio-devel zlib-devel librbd1-devel numactl-devel librdmacm-devel gcc
|
|
|
|
%ifarch x86_64
|
|
BuildRequires: libpmem-devel libpmemblk-devel
|
|
%endif
|
|
Patch0000: fix-glibc-error.patch
|
|
Patch0001: Modify-python2.7-to-python3-with-requires.patch
|
|
Patch0002: fio2gnuplot-fix-TabErrors-when-running-with-Python-3.patch
|
|
Patch0003: gcc-10.patch
|
|
%description
|
|
fio is a tool used to spawn many threads or processes that perform a specific type
|
|
of io operation specified by the user.It accepts many global parameters inherited
|
|
by threads.Its common method is to simulate jobs that match the specified io load.
|
|
|
|
%package help
|
|
Summary: Help document for the fio
|
|
|
|
%description help
|
|
Help document for the fio.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
./configure --disable-optimizations
|
|
export EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
%make_build V=1
|
|
|
|
%install
|
|
%make_install prefix=%{_prefix} mandir=%{_mandir}
|
|
|
|
%files
|
|
%doc README COPYING
|
|
%dir %{_datadir}/%{name}
|
|
%{_bindir}/*
|
|
%{_datadir}/%{name}/*
|
|
|
|
%files help
|
|
%doc REPORTING-BUGS HOWTO examples MORAL-LICENSE GFIO-TODO SERVER-TODO STEADYSTATE-TODO
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog
|
|
* Fri Jul 30 2021 linjiaxin5 <linjiaxin5@huawei.com> - 3.7-11
|
|
- Fix failure caused by GCC upgrade to 10
|
|
|
|
* Wed Jul 21 2021 lingsheng <lingsheng@huawei.com> - 3.7-10
|
|
- Remove unnecessary buildrequire gdb
|
|
|
|
* Wed Jun 2 2021 baizhonggui <baizhonggui@huawei.com> - 3.7-9
|
|
- Fix building error: configure: failed to find compiler
|
|
- Add gcc in BuildRequires
|
|
|
|
* Tue Nov 03 2020 lingsheng <lingsheng@huawei.com> - 3.7-8
|
|
- fio2gnuplot: fix TabErrors when running with Python 3
|
|
|
|
* Sat Sep 19 2020 yanan li <liyanan032@huawei.com> - 3.7-7
|
|
- Modify python2.7 to python3 with requires
|
|
|
|
* Thu Jul 23 2020 wutao<wutao61@huawei.com> - 3.7-5
|
|
- fix build error because of updating glibc
|
|
|
|
* Sat Mar 21 2020 huzunhao<huzunhao@huawei.com> - 3.7-4
|
|
- Type: NA
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: add buildrequire gdb
|
|
|
|
* Wed Nov 27 2019 likexin<likexin4@huawei.com> - 3.7-3
|
|
- Package init
|