[已解决]使用OBS打包出错,提示:directories not owned by a package

这是出错信息

   45s] deepin-account-faces-1.0.10-19.1.noarch.rpm: directories not owned by a package:
   45s]  - /var/lib/AccountsService
   45s]  - /var/lib/AccountsService/icons

这是完整 LOG

    0s] Using BUILD_ROOT=/var/cache/obs/worker/root_3/.mount
    0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386
    0s] Doing kvm build in /var/cache/obs/worker/root_3/root
    0s] 
    0s] 
    0s] cloud123 started "build deepin-account-faces.spec" at Thu Apr 27 06:41:13 UTC 2017.
    0s] 
    0s] Building deepin-account-faces for project 'home:wxkj001:Deepin' repository 'openSUSE_Tumbleweed' arch 'x86_64' srcmd5 'bdb66f1830fc647ca78f8ea8fca6be00'
    0s] 
    0s] processing recipe /var/cache/obs/worker/root_3/.build-srcdir/deepin-account-faces.spec ...
    0s] running changelog2spec --target rpm --file /var/cache/obs/worker/root_3/.build-srcdir/deepin-account-faces.spec
    0s] init_buildsystem --configdir /var/run/obs/worker/3/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /var/cache/obs/worker/root_3/.build.rpmlist /var/cache/obs/worker/root_3/.build-srcdir/deepin-account-faces.spec build rpmlint-Factory ...
    1s] [1/28] preinstalling filesystem...
    1s] [2/28] preinstalling glibc...
    2s] [3/28] preinstalling fillup...
    2s] [4/28] preinstalling libattr1...
    2s] [5/28] preinstalling libbz2-1...
    2s] [6/28] preinstalling libcap2...
    2s] [7/28] preinstalling libgcc_s1...
    2s] [8/28] preinstalling liblua5_3...
    2s] [9/28] preinstalling liblzma5...
    2s] [10/28] preinstalling libpcre1...
    2s] [11/28] preinstalling libpopt0...
    2s] [12/28] preinstalling libz1...
    2s] [13/28] preinstalling attr...
    2s] [14/28] preinstalling libacl1...
    2s] [15/28] preinstalling libelf1...
    2s] [16/28] preinstalling libncurses6...
    2s] [17/28] preinstalling libselinux1...
    2s] [18/28] preinstalling libreadline7...
    3s] [19/28] preinstalling bash...
    3s] [20/28] preinstalling diffutils...
    3s] [21/28] preinstalling grep...
    3s] [22/28] preinstalling sed...
    3s] [23/28] preinstalling tar...
    3s] [24/28] preinstalling coreutils...
    3s] [25/28] preinstalling permissions...
    3s] [26/28] preinstalling aaa_base...
    3s] [27/28] preinstalling rpm...
    4s] [28/28] preinstalling pam...
    4s] 
    4s] [1/10] preinstalling kernel-obs-build...
    5s] [2/10] preinstalling libdb-4_8...
    6s] [3/10] preinstalling libsepol1...
    6s] [4/10] preinstalling libsmartcols1...
    6s] [5/10] preinstalling libuuid1...
    6s] [6/10] preinstalling perl-base...
    6s] [7/10] preinstalling iproute2...
    6s] [8/10] preinstalling libblkid1...
    6s] [9/10] preinstalling libmount1...
    6s] [10/10] preinstalling util-linux...
    6s] copying packages...
    8s] reordering...cycle: libcrack2 -> cracklib
    8s]   breaking dependency libcrack2 -> cracklib
    8s] done
   14s] booting kvm...
   14s] ### VM INTERACTION START ###
   14s] /usr/bin/qemu-kvm -nodefaults -no-reboot -nographic -vga none -object rng-random,filename=/dev/random,id=rng0 -device virtio-rng-pci,rng=rng0 -runas qemu -cpu host -net none -kernel /var/cache/obs/worker/root_3/.mount/boot/kernel -initrd /var/cache/obs/worker/root_3/.mount/boot/initrd -append root=/dev/disk/by-id/virtio-0 rootfstype=ext3 rootflags=data=writeback,nobarrier,commit=150,noatime panic=1 quiet no-kvmclock nmi_watchdog=0 rw rd.driver.pre=binfmt_misc elevator=noop console=ttyS0 init=/.build/build -m 3000 -drive file=/var/cache/obs/worker/root_3/root,format=raw,if=none,id=disk,serial=0,cache=unsafe -device virtio-blk-pci,drive=disk -drive file=/var/cache/obs/worker/root_3/swap,format=raw,if=none,id=swap,serial=1,cache=unsafe -device virtio-blk-pci,drive=swap -serial stdio -smp 4
   18s]     1.895906] dracut-pre-udev[203]: modprobe: FATAL: Module kqemu not found in directory /lib/modules/4.10.10-1-default
   18s]     1.899169] dracut-pre-udev[203]: modprobe: FATAL: Module ext2 not found in directory /lib/modules/4.10.10-1-default
   18s]     1.901498] dracut-pre-udev[203]: modprobe: FATAL: Module ext3 not found in directory /lib/modules/4.10.10-1-default
   19s]     2.417995] dracut-pre-udev[203]: modprobe: FATAL: Module virtio_mmio not found in directory /lib/modules/4.10.10-1-default
   19s]     2.440409] dracut-pre-udev[203]: modprobe: FATAL: Module ibmvscsi not found in directory /lib/modules/4.10.10-1-default
   19s]     2.446096] dracut-pre-udev[203]: modprobe: FATAL: Module ibmveth not found in directory /lib/modules/4.10.10-1-default
   20s] ### VM INTERACTION END ###
   20s] 2nd stage started in virtual machine
   22s] machine type: x86_64
   22s] Setting up swapspace version 1, size = 2 GiB (2097147904 bytes)
   22s] no label, UUID=f7c1f294-cd03-4a38-bbed-cfa5b5f11900
   22s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap]
   22s] swapon: /dev/vdb: pagesize=4096, swapsize=2097152000, devsize=2097152000
   22s] swapon /dev/vdb
   22s] WARNING: udev not running, creating extra device nodes
   22s] logging output to //.build.log...
   22s] processing recipe /.build-srcdir/deepin-account-faces.spec ...
   23s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build /.build-srcdir/deepin-account-faces.spec build rpmlint-Factory ...
   23s] running aaa_base preinstall script
   23s] running aaa_base postinstall script
   23s] Updating /etc/sysconfig/language ...
   23s] Updating /etc/sysconfig/backup ...
   23s] Updating /etc/sysconfig/proxy ...
   23s] Updating /etc/sysconfig/windowmanager ...
   23s] Updating /etc/sysconfig/news ...
   23s] Updating etc/passwd...unchanged
   23s] Updating etc/group...unchanged
   23s] Updating etc/shadow...new
   23s] initializing rpm db...
   23s] querying package ids...
   27s] [1/109] cumulate file-magic-5.30-1.1
   27s] [2/109] cumulate filesystem-13.3-14.1
   27s] [3/109] cumulate kernel-obs-build-4.10.10-1.2
   27s] [4/109] cumulate libtirpc-netconfig-1.0.1-3.27
   27s] [5/109] cumulate terminfo-base-6.0-21.1
   27s] [6/109] cumulate glibc-2.25-1.1
   27s] [7/109] cumulate fillup-1.42-273.8
   27s] [8/109] cumulate hostname-3.16-2.93
   27s] [9/109] cumulate libatomic1-7.0.1+r246083-1.3
   27s] [10/109] cumulate libattr1-2.4.47-7.103
   27s] [11/109] cumulate libaudit1-2.5-1.82
   27s] [12/109] cumulate libbz2-1-1.0.6-38.1
   27s] [13/109] cumulate libcap-ng0-0.7.7-1.92
   27s] [14/109] cumulate libcap2-2.25-3.1
   27s] [15/109] cumulate libcom_err2-1.43.4-1.1
   27s] [16/109] cumulate libgcc_s1-7.0.1+r246083-1.3
   27s] [17/109] cumulate libgdbm4-1.12-1.21
   27s] [18/109] cumulate libgmp10-6.1.2-2.1
   27s] [19/109] cumulate libgomp1-7.0.1+r246083-1.3
   27s] [20/109] cumulate libitm1-7.0.1+r246083-1.3
   27s] [21/109] cumulate libkeyutils1-1.5.9-6.1
   27s] [22/109] cumulate liblua5_3-5.3.3-1.4
   27s] [23/109] cumulate liblzma5-5.2.3-2.1
   27s] [24/109] cumulate libmpx2-7.0.1+r246083-1.3
   27s] [25/109] cumulate libmpxwrappers2-7.0.1+r246083-1.3
   27s] [26/109] cumulate libpcre1-8.40-1.1
   27s] [27/109] cumulate libpopt0-1.16-28.95
   27s] [28/109] cumulate libsepol1-2.5-2.5
   27s] [29/109] cumulate libsmartcols1-2.29.1-1.1
   27s] [30/109] cumulate libuuid1-2.29.1-1.1
   27s] [31/109] cumulate libverto1-0.2.6-4.30
   27s] [32/109] cumulate libz1-1.2.8-13.1
   27s] [33/109] cumulate patch-2.7.5-1.112
   27s] [34/109] cumulate perl-base-5.24.0-3.5
   27s] [35/109] cumulate brp-extract-appdata-2016.05.04-1.1
   27s] [36/109] cumulate build-mkbaselibs-20170320-1.1
   27s] [37/109] cumulate attr-2.4.47-7.103
   27s] [38/109] cumulate libacl1-2.2.52-10.1
   27s] [39/109] cumulate libasan3-6.3.1+r245113-1.5
   27s] [40/109] cumulate libblkid1-2.29.1-1.1
   27s] [41/109] cumulate libelf1-0.168-1.1
   27s] [42/109] cumulate libisl15-0.18-1.1
   27s] [43/109] cumulate liblsan0-7.0.1+r246083-1.3
   27s] [44/109] cumulate libmpfr4-3.1.5-2.1
   27s] [45/109] cumulate libselinux1-2.5-2.5
   27s] [46/109] cumulate libstdc++6-7.0.1+r246083-1.3
   27s] [47/109] cumulate libtsan0-7.0.1+r246083-1.3
   27s] [48/109] cumulate net-tools-1.60-770.1
   27s] [49/109] cumulate libmagic1-5.30-1.1
   27s] [50/109] cumulate libzio1-1.04-1.1
   27s] [51/109] cumulate dwz-0.12-3.1
   27s] [52/109] cumulate file-5.30-1.1
   27s] [53/109] cumulate libcilkrts5-7.0.1+r246083-1.3
   27s] [54/109] cumulate libdb-4_8-4.8.30-31.83
   27s] [55/109] cumulate libfdisk1-2.29.1-1.1
   27s] [56/109] cumulate libmount1-2.29.1-1.1
   27s] [57/109] cumulate libmpc3-1.0.3-1.109
   27s] [58/109] cumulate libubsan0-7.0.1+r246083-1.3
   27s] [59/109] cumulate libncurses6-6.0-21.1
   27s] [60/109] cumulate libreadline7-7.0-95.1
   27s] [61/109] cumulate ncurses-utils-6.0-21.1
   27s] [62/109] cumulate cpp6-6.3.1+r245113-1.5
   27s] [63/109] cumulate perl-5.24.0-3.5
   27s] [64/109] cumulate brp-check-suse-84.87+git20160906.bb0a7d0-1.1
   27s] [65/109] cumulate bash-4.4-95.1
   27s] [66/109] cumulate cpp-6-4.1
   27s] [67/109] cumulate bzip2-1.0.6-38.1
   27s] [68/109] cumulate xz-5.2.3-2.1
   27s] [69/109] cumulate info-6.3-1.1
   27s] [70/109] cumulate iproute2-4.9-1.2
   27s] [71/109] cumulate cpio-2.12-3.90
   27s] [72/109] cumulate diffutils-3.5.15-1.1
   27s] [73/109] cumulate gzip-1.8-2.1
   27s] [74/109] cumulate make-4.2.1-1.5
   27s] [75/109] cumulate which-2.21-3.5
   27s] [76/109] cumulate findutils-4.6.0-2.24
   27s] [77/109] cumulate gettext-runtime-mini-0.19.8.1-1.8
   27s] [78/109] cumulate grep-3.0-1.1
   27s] [79/109] cumulate sed-4.4-1.1
   27s] [80/109] cumulate tar-1.29-4.1
   27s] [81/109] cumulate coreutils-8.27-1.1
   27s] [82/109] cumulate systemd-rpm-macros-3-7.1
   27s] [83/109] cumulate linux-glibc-devel-4.10-1.1
   27s] [84/109] cumulate glibc-locale-2.25-1.1
   27s] [85/109] cumulate update-alternatives-1.18.23-1.1
   27s] [86/109] cumulate gettext-tools-mini-0.19.8.1-1.8
   27s] [87/109] cumulate permissions-20160807-1.3
   27s] [88/109] cumulate krb5-mini-1.15.1-1.1
   27s] [89/109] cumulate rpm-4.13.0.1-2.1
   27s] [90/109] cumulate glibc-devel-2.25-1.1
   27s] [91/109] cumulate libtirpc3-1.0.1-3.27
   27s] [92/109] cumulate libutempter0-1.1.6-8.112
   27s] [93/109] cumulate gawk-4.1.4-1.4
   27s] [94/109] cumulate binutils-2.28-1.1
   27s] [95/109] cumulate rpmlint-mini-1.8-6.8
   27s] [96/109] cumulate rpmlint-Factory-1.0-89.415
   27s] [97/109] cumulate libnsl2-1.0.4-1.27
   27s] [98/109] cumulate build-compare-20170331T154431.96db83e-1.1
   27s] [99/109] cumulate gcc6-6.3.1+r245113-1.5
   27s] [100/109] cumulate gcc-6-4.1
   27s] [101/109] cumulate libcrack2-2.9.5-3.1
   27s] [102/109] cumulate cracklib-2.9.5-3.1
   27s] [103/109] cumulate pam-1.3.0-5.1
   27s] [104/109] cumulate pam-modules-12.1-27.4
   27s] [105/109] cumulate util-linux-2.29.1-1.1
   27s] [106/109] cumulate aaa_base-13.2+git20170308.c0ecf2e-1.1
   27s] [107/109] cumulate rpm-build-4.13.0.1-2.1
   27s] [108/109] cumulate aaa_base-malloccheck-13.2+git20170308.c0ecf2e-1.1
   27s] [109/109] cumulate post-build-checks-13.2+git20160512.be9650e-1.2
   27s] now installing cumulated packages
   27s] Preparing...                          ########################################
   28s] Updating / installing...
   28s] filesystem-13.3-14.1                  ########################################
   28s] glibc-2.25-1.1                        ########################################
   28s] libz1-1.2.8-13.1                      ########################################
   28s] libgcc_s1-7.0.1+r246083-1.3           ########################################
   28s] perl-base-5.24.0-3.5                  ########################################
   28s] libgmp10-6.1.2-2.1                    ########################################
   28s] libstdc++6-7.0.1+r246083-1.3          ########################################
   28s] fillup-1.42-273.8                     ########################################
   28s] libbz2-1-1.0.6-38.1                   ########################################
   28s] libmpfr4-3.1.5-2.1                    ########################################
   28s] libelf1-0.168-1.1                     ########################################
   28s] libattr1-2.4.47-7.103                 ########################################
   28s] libacl1-2.2.52-10.1                   ########################################
   28s] libcap2-2.25-3.1                      ########################################
   28s] liblzma5-5.2.3-2.1                    ########################################
   28s] libuuid1-2.29.1-1.1                   ########################################
   28s] libblkid1-2.29.1-1.1                  ########################################
   28s] libmpc3-1.0.3-1.109                   ########################################
   29s] libdb-4_8-4.8.30-31.83                ########################################
   29s] libisl15-0.18-1.1                     ########################################
   30s] cpp6-6.3.1+r245113-1.5                ########################################
   30s] libaudit1-2.5-1.82                    ########################################
   30s] libgomp1-7.0.1+r246083-1.3            ########################################
   30s] libpcre1-8.40-1.1                     ########################################
   30s] libselinux1-2.5-2.5                   ########################################
   30s] libpopt0-1.16-28.95                   ########################################
   30s] libmount1-2.29.1-1.1                  ########################################
   30s] libfdisk1-2.29.1-1.1                  ########################################
   30s] libzio1-1.04-1.1                      ########################################
   30s] dwz-0.12-3.1                          ########################################
   30s] libcilkrts5-7.0.1+r246083-1.3         ########################################
   30s] libubsan0-7.0.1+r246083-1.3           ########################################
   30s] libasan3-6.3.1+r245113-1.5            ########################################
   30s] liblsan0-7.0.1+r246083-1.3            ########################################
   30s] libtsan0-7.0.1+r246083-1.3            ########################################
   30s] hostname-3.16-2.93                    ########################################
   30s] net-tools-1.60-770.1                  ########################################
   30s] libatomic1-7.0.1+r246083-1.3          ########################################
   30s] libcap-ng0-0.7.7-1.92                 ########################################
   30s] libcom_err2-1.43.4-1.1                ########################################
   30s] libgdbm4-1.12-1.21                    ########################################
   31s] perl-5.24.0-3.5                       ########################################
   31s] libitm1-7.0.1+r246083-1.3             ########################################
   31s] libkeyutils1-1.5.9-6.1                ########################################
   31s] liblua5_3-5.3.3-1.4                   ########################################
   31s] libmpx2-7.0.1+r246083-1.3             ########################################
   31s] libmpxwrappers2-7.0.1+r246083-1.3     ########################################
   31s] libsmartcols1-2.29.1-1.1              ########################################
   31s] libverto1-0.2.6-4.30                  ########################################
   31s] patch-2.7.5-1.112                     ########################################
   31s] terminfo-base-6.0-21.1                ########################################
   31s] libncurses6-6.0-21.1                  ########################################
   31s] libreadline7-7.0-95.1                 ########################################
   31s] bash-4.4-95.1                         ########################################
   31s] info-6.3-1.1                          ########################################
   32s] coreutils-8.27-1.1                    ########################################
   32s] diffutils-3.5.15-1.1                  ########################################
   32s] grep-3.0-1.1                          ########################################
   32s] permissions-20160807-1.3              ########################################
   32s] Updating /etc/sysconfig/security ...
   32s] /dev/kmem: unknown group kmem
   32s] /usr/bin/wall: unknown group tty
   32s] /usr/bin/write: unknown group tty
   32s] Checking permissions and ownerships - using the permissions files
   32s] 	/etc/permissions
   32s] 	/etc/permissions.easy
   32s] 	/etc/permissions.local
   32s] setting /sbin/unix_chkpwd to root:shadow 4755. (wrong owner/group root:root)
   32s] setting /sbin/unix2_chkpwd to root:shadow 4755. (wrong owner/group root:root)
   32s] sed-4.4-1.1                           ########################################
   32s] cpio-2.12-3.90                        ########################################
   32s] update-alternatives-1.18.23-1.1       ########################################
   32s] gawk-4.1.4-1.4                        ########################################
   32s] update-alternatives: using /usr/bin/gawk to provide /bin/awk (awk) in auto mode
   33s] binutils-2.28-1.1                     ########################################
   33s] update-alternatives: using /usr/bin/ld.bfd to provide /usr/bin/ld (ld) in auto mode
   33s] findutils-4.6.0-2.24                  ########################################
   33s] libutempter0-1.1.6-8.112              ########################################
   33s] krb5-mini-1.15.1-1.1                  ########################################
   33s] Updating /etc/sysconfig/kadmind ...
   33s] Updating /etc/sysconfig/krb5kdc ...
   33s] systemd-rpm-macros-3-7.1              ########################################
   33s] linux-glibc-devel-4.10-1.1            ########################################
   34s] glibc-devel-2.25-1.1                  ########################################
   36s] gcc6-6.3.1+r245113-1.5                ########################################
   38s] glibc-locale-2.25-1.1                 ########################################
   38s] gzip-1.8-2.1                          ########################################
   38s] make-4.2.1-1.5                        ########################################
   38s] which-2.21-3.5                        ########################################
   38s] gettext-runtime-mini-0.19.8.1-1.8     ########################################
   39s] gettext-tools-mini-0.19.8.1-1.8       ########################################
   39s] tar-1.29-4.1                          ########################################
   39s] cpp-6-4.1                             ########################################
   39s] gcc-6-4.1                             ########################################
   39s] bzip2-1.0.6-38.1                      ########################################
   39s] xz-5.2.3-2.1                          ########################################
   39s] libcrack2-2.9.5-3.1                   ########################################
   39s] cracklib-2.9.5-3.1                    ########################################
   39s] ncurses-utils-6.0-21.1                ########################################
   39s] libtirpc-netconfig-1.0.1-3.27         ########################################
   39s] libtirpc3-1.0.1-3.27                  ########################################
   39s] libnsl2-1.0.4-1.27                    ########################################
   39s] pam-1.3.0-5.1                         ########################################
   39s] util-linux-2.29.1-1.1                 #################warning: group tty does not exist - using root
   39s] warning: group tty does not exist - using root
   39s] #######################
   39s] /usr/bin/wall: unknown group tty
   39s] /usr/bin/write: unknown group tty
   39s] aaa_base-13.2+git20170308.c0ecf2e-1.1 ########################################
   39s] Updating /etc/sysconfig/language ...
   40s] Updating /etc/sysconfig/backup ...
   40s] Updating /etc/sysconfig/proxy ...
   40s] Updating /etc/sysconfig/windowmanager ...
   40s] Updating /etc/sysconfig/news ...
   40s] Updating etc/passwd...unchanged
   40s] Updating etc/group...unchanged
   40s] Updating etc/shadow...unchanged
   40s] aaa_base-malloccheck-13.2+git20170308.########################################
   40s] file-magic-5.30-1.1                   ########################################
   40s] libmagic1-5.30-1.1                    ########################################
   40s] rpm-4.13.0.1-2.1                      ########################################
   40s] Updating /etc/sysconfig/services ...
   40s] file-5.30-1.1                         ########################################
   41s] rpmlint-mini-1.8-6.8                  ########################################
   41s] rpmlint-Factory-1.0-89.415            ########################################
   41s] build-compare-20170331T154431.96db83e-########################################
   41s] rpm-build-4.13.0.1-2.1                ########################################
   41s] post-build-checks-13.2+git20160512.be9########################################
   41s] pam-modules-12.1-27.4                 ########################################
   41s] iproute2-4.9-1.2                      ########################################
   41s] brp-check-suse-84.87+git20160906.bb0a7########################################
   41s] attr-2.4.47-7.103                     ########################################
   41s] brp-extract-appdata-2016.05.04-1.1    ########################################
   41s] build-mkbaselibs-20170320-1.1         ########################################
   41s] libsepol1-2.5-2.5                     ########################################
   42s] kernel-obs-build-4.10.10-1.2          ########################################
   42s] removing nis flags from //etc/nsswitch.conf...
   42s] now finalizing build dir...
   42s] RTNETLINK answers: File exists
   42s] RTNETLINK answers: File exists
   43s] -----------------------------------------------------------------
   43s] I have the following modifications for deepin-account-faces.spec:
   43s] 6c6
   43s] < Release:        1.git%{_shortcommit}%{?dist}
   43s] ---
   43s] > Release:        19.1
   43s] -----------------------------------------------------------------
   43s] ----- building deepin-account-faces.spec (user abuild)
   43s] -----------------------------------------------------------------
   43s] -----------------------------------------------------------------
   43s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define 'disturl obs://build.opensuse.org/home:wxkj001:Deepin/openSUSE_Tumbleweed/bdb66f1830fc647ca78f8ea8fca6be00-deepin-account-faces' /home/abuild/rpmbuild/SOURCES/deepin-account-faces.spec
   43s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7VRRsf
   43s] + umask 022
   43s] + cd /home/abuild/rpmbuild/BUILD
   43s] + cd /home/abuild/rpmbuild/BUILD
   43s] + rm -rf dde-account-faces-1.0.10
   43s] + /usr/bin/gzip -dc /home/abuild/rpmbuild/SOURCES/dde-account-faces-1.0.10.tar.gz
   43s] + /bin/tar -xof -
   43s] + STATUS=0
   43s] + '' 0 -ne 0 ']'
   43s] + cd dde-account-faces-1.0.10
   43s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
   43s] + exit 0
   43s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SHtKbm
   43s] + umask 022
   43s] + cd /home/abuild/rpmbuild/BUILD
   43s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/deepin-account-faces-1.0.10-19.1.x86_64
   43s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/deepin-account-faces-1.0.10-19.1.x86_64
   43s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT
   43s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/deepin-account-faces-1.0.10-19.1.x86_64
   43s] + cd dde-account-faces-1.0.10
   43s] + exit 0
   43s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3iiEVs
   43s] + umask 022
   43s] + cd /home/abuild/rpmbuild/BUILD
   43s] + cd dde-account-faces-1.0.10
   43s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/deepin-account-faces-1.0.10-19.1.x86_64
   43s] install -d /home/abuild/rpmbuild/BUILDROOT/deepin-account-faces-1.0.10-19.1.x86_64/var/lib/AccountsService/
   43s] cp -r icons /home/abuild/rpmbuild/BUILDROOT/deepin-account-faces-1.0.10-19.1.x86_64/var/lib/AccountsService/
   43s] + /usr/lib/rpm/brp-compress
   43s] + /usr/lib/rpm/brp-suse
   43s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions
   43s] setting / to root:root 0755. (wrong owner/group abuild:abuild)
   43s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug
   43s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink
   43s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop
   44s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist
   44s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist
   44s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist
   44s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath
   44s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs
   44s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl
   44s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python
   44s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts
   44s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook
   44s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux
   44s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata
   44s] Processing files: deepin-account-faces-1.0.10-19.1.noarch
   44s] Provides: dde-account-faces = 1.0.10-19.1 deepin-account-faces = 1.0.10-19.1
   44s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
   44s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/deepin-account-faces-1.0.10-19.1.x86_64
   44s] Wrote: /home/abuild/rpmbuild/SRPMS/deepin-account-faces-1.0.10-19.1.src.rpm
   45s] Wrote: /home/abuild/rpmbuild/RPMS/noarch/deepin-account-faces-1.0.10-19.1.noarch.rpm
   45s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cj8gNC
   45s] + umask 022
   45s] + cd /home/abuild/rpmbuild/BUILD
   45s] + cd dde-account-faces-1.0.10
   45s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/deepin-account-faces-1.0.10-19.1.x86_64
   45s] + exit 0
   45s] ... checking for files with abuild user/group
   45s] ... running 00-check-install-rpms
   45s] ... installing all built rpms
   45s] Preparing packages...
   45s] deepin-account-faces-1.0.10-19.1.noarch
   45s] ... running 01-check-debuginfo
   45s] ... testing for empty debuginfo packages
   45s] ... running 02-check-gcc-output
   45s] ... testing for serious compiler warnings
   45s]     (using /usr/lib/build/checks-data/check_gcc_output)
   45s]     (using //.build.log)
   45s] ... running 03-check-binary-kernel-log
   45s] ... running 04-check-filelist
   45s] ... checking filelist
   45s] deepin-account-faces-1.0.10-19.1.noarch.rpm: directories not owned by a package:
   45s]  - /var/lib/AccountsService
   45s]  - /var/lib/AccountsService/icons
   45s] 
   45s] cloud123 failed "build deepin-account-faces.spec" at Thu Apr 27 06:41:58 UTC 2017.
   45s] 
   45s] ### VM INTERACTION START ###
   48s]    31.715794] sysrq: SysRq : Power Off
   48s]    31.717879] reboot: Power down
   63s] ### VM INTERACTION END ###
   63s] 
   63s] cloud123 failed "build deepin-account-faces.spec" at Thu Apr 27 06:42:16 UTC 2017.
   63s]

.spec 里面的 %files 部分没有包含那两个目录吧。

已经解决了,谢谢