Good evening: I've been trying to build up Samba on RHEL 8. My work is at: https://github.com/nkadel/samba4repo/tree/nkadel-rhel8 I've run into a number of issues. One is that RHEL 8 does not have an uptodate mocka. I've add a git submodule for that. Another is that various python modules are missing: Again, I've added modules for that. Another is that RHEL 8 introduced a very peculiar idea of a "baseos" channel, with critical system tools such as python and modules for RPM, that should not normally be touched or updated. That's fine, but they failed to segregate the python modules for these from the python modules for normal use, so they require some special case handling for RHEL 8. OK, that's dealt with. Mock, which I use extensively, is not yet available or configured for RHEL 8, and most such compilation relies on EPEL and CentOS, neither of which support release 8 yet. The repos at https://tdawson.fedorapeople.org/epel8/ provide most of the missing bits/ A working local repository for RHEL 8 that can work with mock and do builds with takes some extra work. I publish a tool for that at https://github.com/nkadel/nkadel-rsync-scripts/blob/master/reposync-rhel-8.sh . I anticipate that the need for this will evaporate as soon as the first CentOS 8 build is completed. What is still biting me is that RHEL has elected to build two RPM's from the same SRPM, one labeled "package-version-release.el8", and the other named "package-version-release.module+el8+hashtag", and this is making a mess out of library dependencies for "mock". They've also split the formerly single channel into one called "baseos" and one called "appstream", and they overlap in a bunch of different ways, with the module confusion wrapped on top. Mock can't resolve the confusion for RHEL 8, which may be fixable with mock updates, but right now my use of "mock" for Samba is blocked. If anyone has ways to solve this, I'm all ears. It has me blocked right now. Nico Kadel-Garcia <nkadel at gmail.com> .
> Mock can't resolve the confusion for RHEL 8, which may be fixable with > mock updates, but right now my use of "mock" for Samba is blocked.The workaround is to change the "mock" configuration to use "best=0". The new "module" RPMs lead to confusion for dnf and mock. I really don't like them, at all, but they turn out to provide critical dependencies. My hooks to build Samba 4.10.3 via RPMs on RHEL 7, 8, and various fedora releases with the domain controller fully enabled are published at https://github.com/nkadel/sambarepo. They rely on a local "reposync" of RHEL 8 channels, and on Troy Dawson's rhelbeta packages, as described in the README.md. I look forward to testing CentOS 8 as soon as it is first published. Nico Kadel-Garcia <nkadel at gmail.com>
On Fri, 2019-05-17 at 17:29 -0400, Nico Kadel-Garcia via samba wrote:> > Mock can't resolve the confusion for RHEL 8, which may be fixable with > > mock updates, but right now my use of "mock" for Samba is blocked. > > The workaround is to change the "mock" configuration to use "best=0". > The new "module" RPMs lead to confusion for dnf and mock. I really > don't like them, at all, but they turn out to provide critical > dependencies. > > My hooks to build Samba 4.10.3 via RPMs on RHEL 7, 8, and various > fedora releases with the domain controller fully enabled are published > at https://github.com/nkadel/sambarepo. They rely on a local > "reposync" of RHEL 8 channels, and on Troy Dawson's rhelbeta packages, > as described in the README.md. I look forward to testing CentOS 8 as > soon as it is first published. > > Nico Kadel-Garcia <nkadel at gmail.com>BTW, it would be really cool if the bootstrap system could be updated in master and then Samba configured to build on RHEL8 / CentOS 8 as part of GitLab CI. I realise Centos 8 hasn't been released yet but some of this should be debuggable using the generated bootstrap.sh, and it would be good to start the iterations to get the package list right. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba