Closed swalterfub closed 3 years ago
"make build" relies on having all the dependencies. all of them, including the ones that I set up to build automatically, the other ordered dependencies to build for CentOS 7. That is exactly why I suggested using "mock" to build dependencies, and assemble them in the right order, with a local yum repo to hold the locally compiled dependencies. When it's done, you can use the "make repo" command to verify that an "/etc/yum.repos.d/samba4repo.repo" matches the locally built one.
"make" failed precisely because you disabled all the other dependencies. It's like trying to start your car after you took out the battery and the carburetor. It's not likely to work well, even if you put in the standard CentOS 7 and EPEL 7 versions of all the dependencies that are available.
Thank you for your help. I did not disable the dependencies, but the "alien" repos (as I drive CentOS7, I disabled CentOS8, fedora and amz) and the mock configs to the distributions other than mine (epel-8, fedora-33, amazonlinux-2). The packages compat-nettle34, libtalloc, libtdb, libtevent, compat-gnultls36 are all built fine without problems (I had to disable the foreign distributions in the subfolder's Makefiles as well).
Sounds like it's working for you. Good.
Hi, First thanks for the great effort! I seem to be on the right path... everything installs and compiles fine (I disabled all alien targets in the Makefiles manually), except at the actual samba-4.13.x-srpm. The src rpm is getting built, but when I try to install it, I get the following error:
Actually, this was a second step for getting a more in-depth error message. The first regular "make" in the parent directory (samba4repo) gave me:
Any clue? Thanks for your help!