make rpm compiling error



Hi all,

I encountered an error when I packaged ostree into rpms, I used the latest ostree git source code, then

   execution:

    $  make rpm -f packaging/Makefile.dist-packaging

[...]

make[4]: Leaving directory `/root/atomic/ostree/packaging/tmp-packaging/ostree-2017.1.12.g0400df7/apidoc' make[3]: Leaving directory `/root/atomic/ostree/packaging/tmp-packaging/ostree-2017.1.12.g0400df7/apidoc' make[2]: Leaving directory `/root/atomic/ostree/packaging/tmp-packaging/ostree-2017.1.12.g0400df7' make[1]: Leaving directory `/root/atomic/ostree/packaging/tmp-packaging/ostree-2017.1.12.g0400df7' + find /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64 -name '*.la' -delete + install -D -m 0644 /root/atomic/ostree/packaging/tmp-packaging/91-ostree.preset /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64//usr/lib/systemd/system-preset/91-ostree.preset + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /root/atomic/ostree/packaging/tmp-packaging/ostree-2017.1.12.g0400df7 extracting debug info from /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/lib64/libostree-1.so.1.0.0 extracting debug info from /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/bin/ostree extracting debug info from /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/bin/rofiles-fuse extracting debug info from /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/libexec/libostree/ostree-trivial-httpd extracting debug info from /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/lib/ostree/ostree-remount extracting debug info from /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/lib/ostree/ostree-prepare-root
/usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match.
symlinked /usr/lib/debug/usr/lib64/libostree-1.so.1.0.0.debug to /usr/lib/debug/usr/lib64/libostree-1.so.1.debug symlinked /usr/lib/debug/usr/lib64/libostree-1.so.1.0.0.debug to /usr/lib/debug/usr/lib64/libostree-1.so.debug
4121 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: ostree-2017.1.12.g0400df7-3.el7.centos.x86_64
error: File not found: /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/sbin/ostree-prepare-root error: File not found: /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/sbin/ostree-remount
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uIW5CX
+ umask 022
+ cd /root/atomic/ostree/packaging/tmp-packaging
+ cd ostree-2017.1.12.g0400df7
+ DOCDIR=/root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/share/doc/ostree-2017.1.12.g0400df7
+ export DOCDIR
+ /usr/bin/mkdir -p /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/share/doc/ostree-2017.1.12.g0400df7 + cp -pr COPYING /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/share/doc/ostree-2017.1.12.g0400df7 + cp -pr README.md /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/share/doc/ostree-2017.1.12.g0400df7
+ exit 0


RPM build errors:
File not found: /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/sbin/ostree-prepare-root File not found: /root/atomic/ostree/packaging/tmp-packaging/.build/ostree-2017.1.12.g0400df7-3.el7.centos.x86_64/usr/sbin/ostree-remount
make: *** [rpm] Error 1

     has someone fixed this?

Thanks,
Chen

--
Sincerely,
Chen Fan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]