执行rpmbuid 时, 经常遇到下列情况:
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /root/rpmbuild/BUILD/aufs3-standalone
extracting debug info from /root/rpmbuild/BUILDROOT/aufs3-standalone-3.10-.el6.loongson.mips64el/lib/modules/3.10.108-5.mips64el/extra/aufs.ko
/usr/lib/rpm/find-debuginfo.sh: line 90: 13462 Segmentation fault (core dumped) eu-strip --remove-comment $g -f "$1" "$2"
error: Bad exit status from /var/tmp/rpm-tmp.Ww5MtL (%install)
或者
I'd like to disable /usr/lib/rpm/find-debuginfo.sh from running because it's creating extra directories in my build root. This runs after the %files section is parsed. I tried turning off debugging with
那你只需在spec中添加:
%define debug_package %{nil}