【环境信息】
OS版本:20.03-SP2
repo源:everything source epol
【问题复现步骤】
配置everything,epol源,本地rpmbuild编译
【预期结果】
编译成功
【实际结果】
有两条用例失败
【附件信息】
Hey zi_cvi, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
升级至解决1.25.2解决,原因未知
版本升级后本地rpmbuild时fakeroot-tcp的t.tar用例test2会失败
89 rm -rf tar
90
91 gzip -dc tartest.tar.gz | tar xf -
92 tar cf - tar | gzip -9 >tartest.test.tar.gz
93
94 ${SRCDIR}/compare-tar tartest.tar.gz tartest.test.tar.gz
测试在fakeroot-tcp环境下将tartest.tar.gz解压并重新压缩为tartest.test.tar.gz,对比2个压缩文件是否一致
在rpmbuild编译过程中会发生重新压缩的tar包文件属主全部为root,与原tar包不一致
另外,执行make -C obj-tcp check VERBOSE=1用例全部通过,失败原因目前暂未定位
1. osc build用例失败
1.25.2版本在obs sp2中,本地osc build也会报t.tar用例失败,看来不同环境结果不固定……
2. 单独执行make check,用例通过
make check-TESTS
make[2]: 进入目录“/home/abuild/rpmbuild/BUILD/fakeroot-upstream-1.25.2/obj-tcp/test”
make[3]: 进入目录“/home/abuild/rpmbuild/BUILD/fakeroot-upstream-1.25.2/obj-tcp/test”
PASS: t.chmod_dev
PASS: t.cp-a
PASS: t.echoarg
PASS: t.falsereturn
PASS: t.mknod
PASS: t.no_ld_preload
PASS: t.no_ld_preload_link
PASS: t.option
PASS: t.tar
PASS: t.touchinstall
PASS: t.truereturn
PASS: t.xattr
============================================================================
Testsuite summary for fakeroot 1.25.2
============================================================================
# TOTAL: 12
# PASS: 12
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: 离开目录“/home/abuild/rpmbuild/BUILD/fakeroot-upstream-1.25.2/obj-tcp/test”
make[2]: 离开目录“/home/abuild/rpmbuild/BUILD/fakeroot-upstream-1.25.2/obj-tcp/test”
make[1]: 离开目录“/home/abuild/rpmbuild/BUILD/fakeroot-upstream-1.25.2/obj-tcp/test”
make[1]: 进入目录“/home/abuild/rpmbuild/BUILD/fakeroot-upstream-1.25.2/obj-tcp”
make[1]: 离开目录“/home/abuild/rpmbuild/BUILD/fakeroot-upstream-1.25.2/obj-tcp”
bash-5.0# make check VERBOSE=1
bash-5.0# pwd
/home/abuild/rpmbuild/BUILD/fakeroot-upstream-1.25.2/obj-tcp
3. rpmbuild -ba fakeroot.spec,用例通过
Provides: fakeroot-libs = 1.25.2-1.oe1 fakeroot-libs(aarch-64) = 1.25.2-1.oe1 libfakeroot-0.so()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) rtld(GNU_HASH)
处理文件:fakeroot-debuginfo-1.25.2-1.oe1.aarch64
Generating digest list: /usr/lib/rpm/brp-digest-list /root/rpmbuild/BUILDROOT/fakeroot-1.25.2-1.oe1.aarch64
Provides: fakeroot-debuginfo = 1.25.2-1.oe1 fakeroot-debuginfo(aarch-64) = 1.25.2-1.oe1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: fakeroot-debugsource(aarch-64) = 1.25.2-1.oe1
处理文件:fakeroot-debugsource-1.25.2-1.oe1.aarch64
Generating digest list: /usr/lib/rpm/brp-digest-list /root/rpmbuild/BUILDROOT/fakeroot-1.25.2-1.oe1.aarch64
Provides: fakeroot-debugsource = 1.25.2-1.oe1 fakeroot-debugsource(aarch-64) = 1.25.2-1.oe1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
检查未打包文件:/usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/fakeroot-1.25.2-1.oe1.aarch64
已写至:/root/rpmbuild/SRPMS/fakeroot-1.25.2-1.oe1.src.rpm
已写至:/root/rpmbuild/RPMS/aarch64/fakeroot-libs-1.25.2-1.oe1.aarch64.rpm
已写至:/root/rpmbuild/RPMS/aarch64/fakeroot-debugsource-1.25.2-1.oe1.aarch64.rpm
已写至:/root/rpmbuild/RPMS/aarch64/fakeroot-1.25.2-1.oe1.aarch64.rpm
已写至:/root/rpmbuild/RPMS/aarch64/fakeroot-debuginfo-1.25.2-1.oe1.aarch64.rpm
正在执行(%clean):/bin/sh -e /var/tmp/rpm-tmp.vdQJQ1
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd fakeroot-upstream-1.25.2
+ /usr/bin/rm -rf /root/rpmbuild/BUILDROOT/fakeroot-1.25.2-1.oe1.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
bash-5.0# rpmbuild -ba fakeroot.spec
登录 后才可以发表评论