Nico Kadel-Garcia
2022-Jun-19 08:00 UTC
[Samba] Updated samba 4.16.2 RPM build tools at https://github.com/nkadel/samba4repo
Morning: I've updated my RPM building tools to samba 4.16.2, with some basic smoke testing on RHEL 8, 9, and Fedora 36. RHEL and Fedora are publishing more recent libraries for the dependencies, such as libldb. But Red Hat doesn't publish the needed python3-libldb-devel package, in either RHEL or CentOS, so I''m compelled to include it and set the release number somewhat higher to ensure its available for Samba builds. It's peculiar, because the python3-ldb-devel package is in the published .spec file for libldb. Something has to be specifically deleting or excluding it from publication in the RHEL software channels. I've seen this before for "lmdb-devel", which was only available in the "Devel" channel, for software required to build Samba. It seems kind of personal when they play these peek-a-boo games with software built all at the same time, used internally for building other software, but not included in their public repositories. At some point, this starts looking like malice, possibly to interfere with people like me who compile Samba with full domain controller features enabled. Hindering competition with freeipa and the complexities of sssd would be really petty, but this has happened several times now, and it's gotten suspicious. Nico Kadel-Garcia
vincent at cojot.name
2022-Jun-19 10:39 UTC
[Samba] Updated samba 4.16.2 RPM build tools at https://github.com/nkadel/samba4repo
Hi Nico, It's not malice, I believe it's an oversight and I believe it's not easy to fix now that Red Hat has EPEL8 in full motion. When I asked about some missing -devel packages in RHEL8, this was the answer I got and the way to fix that is to go to https://bugzilla.redhat.com and open a BZ for the missing packages to be included (I've filed a few myself). Also, just get the src.rpm and rebuild it, that will give you an exact -devel rpm matching what you have installed and it will install just fine alongside the main rpm. Regards, Vincent On Sun, 19 Jun 2022, Nico Kadel-Garcia via samba wrote:> Morning: > > I've updated my RPM building tools to samba 4.16.2, with some basic > smoke testing on RHEL 8, 9, and Fedora 36. RHEL and Fedora are > publishing more recent libraries for the dependencies, such as libldb. > But Red Hat doesn't publish the needed python3-libldb-devel package, > in either RHEL or CentOS, so I''m compelled to include it and set the > release number somewhat higher to ensure its available for Samba > builds. > > It's peculiar, because the python3-ldb-devel package is in the > published .spec file for libldb. Something has to be specifically > deleting or excluding it from publication in the RHEL software > channels. I've seen this before for "lmdb-devel", which was only > available in the "Devel" channel, for software required to build > Samba. It seems kind of personal when they play these peek-a-boo games > with software built all at the same time, used internally for building > other software, but not included in their public repositories. > > At some point, this starts looking like malice, possibly to interfere > with people like me who compile Samba with full domain controller > features enabled. Hindering competition with freeipa and the > complexities of sssd would be really petty, but this has happened > several times now, and it's gotten suspicious. > > Nico Kadel-Garcia > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
vincent at cojot.name
2022-Jun-19 10:42 UTC
[Samba] Updated samba 4.16.2 RPM build tools at https://github.com/nkadel/samba4repo
Also, it's in the EPEL8 FAQ and the way to get the missing package in RHEL8 is documented there: https://fedoraproject.org/wiki/EPEL/FAQ#RHEL_8_has_binaries_in_the_release,_but_is_missing_some_corresponding_-devel_package._How_do_I_build_a_package_that_needs_that_missing_-devel_package? Regards, Vincent ,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-, Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~ Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,. Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~' http://step.polymtl.ca/~coyote _.,-*~'`^`'~*-,._ coyote at NOSPAM4cojot.name They cannot scare me with their empty spaces Between stars - on stars where no human race is I have it in me so much nearer home To scare myself with my own desert places. - Robert Frost On Sun, 19 Jun 2022, Nico Kadel-Garcia via samba wrote:> Morning: > > I've updated my RPM building tools to samba 4.16.2, with some basic > smoke testing on RHEL 8, 9, and Fedora 36. RHEL and Fedora are > publishing more recent libraries for the dependencies, such as libldb. > But Red Hat doesn't publish the needed python3-libldb-devel package, > in either RHEL or CentOS, so I''m compelled to include it and set the > release number somewhat higher to ensure its available for Samba > builds. > > It's peculiar, because the python3-ldb-devel package is in the > published .spec file for libldb. Something has to be specifically > deleting or excluding it from publication in the RHEL software > channels. I've seen this before for "lmdb-devel", which was only > available in the "Devel" channel, for software required to build > Samba. It seems kind of personal when they play these peek-a-boo games > with software built all at the same time, used internally for building > other software, but not included in their public repositories. > > At some point, this starts looking like malice, possibly to interfere > with people like me who compile Samba with full domain controller > features enabled. Hindering competition with freeipa and the > complexities of sssd would be really petty, but this has happened > several times now, and it's gotten suspicious. > > Nico Kadel-Garcia > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Andrew Bartlett
2022-Jun-22 10:09 UTC
[Samba] Updated samba 4.16.2 RPM build tools at https://github.com/nkadel/samba4repo
On Sun, 2022-06-19 at 04:00 -0400, Nico Kadel-Garcia via samba wrote:> Morning: > > > > I've updated my RPM building tools to samba 4.16.2, with some basic > > smoke testing on RHEL 8, 9, and Fedora 36. RHEL and Fedora are > > publishing more recent libraries for the dependencies, such as > libldb. > > But Red Hat doesn't publish the needed python3-libldb-devel package, > > in either RHEL or CentOS, so I''m compelled to include it and set the > > release number somewhat higher to ensure its available for Samba > > builds.Regardless Samba should always be built with the included ldb. Recently Debian even patched to stop consuming a 'system' or 'external' ldb, they just build the internal one and provide the output as an additional package. As a Samba build strictly requires exactly the same version as the one in the samba tarball, it makes no sense to pretend ldb is provided from elsewhere. I may finally revive my MR to do this upstream, I think folks finally realise that the 'independent ldb' idea is just a pile of pain for packagers, without enough useful benefits. Andrew Bartlett -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open Source Solutions