nkadel / samba4repo

Wrapper for SRPM building tools for Samba with domain controller on RHEL and Fedora
13 stars 11 forks source link

Build error #5

Closed Ilya87 closed 4 years ago

Ilya87 commented 4 years ago

My actions: git clone --recurse-submodules https://github.com/nkadel/samba4repo I download sources to each folder make cfgs make repos make Error I try to build samba4repo in centos 8 stream (latest Virtualbox - 5 cores of Core i5 8600k, 4 Gb RAM) and get the error:

ERROR: Exception(src.rpm) Config(samba4repo-7-x86_64) 0 minutes 55 seconds
ERROR: Command failed:
 # /usr/bin/systemd-nspawn -q -M 49258f1de525494c9791154b4d927286 -D /var/lib/mock/samba4repo-7-x86_64/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.s36utvf8:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$  --setenv=LANG=C.UTF-8 bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/compat-gnutls34.spec

make[1]: *** [Makefile:43: samba4repo-7-x86_64] Error 1
make[1]: exit from directory «/root/samba4repo/compat-gnutls34-3.x-srpm»
make: *** [Makefile:108: compat-gnutls34-3.x-srpm] Error 2
nkadel commented 4 years ago

I've no idea why the compat-gnutls bits failed, You should be able to look in compat-gnutls-srpm/ for the "build.log" files for the error.

nkadel commented 4 years ago

Try my latest updates, which are updated for 4.12.5. And iff you have similar issues, look in the epel-7-x86_64 directory for "build.log" and "root.log", I'm betting you have a "mock" configuration issue.