vincent at cojot.name
2019-Nov-01 17:59 UTC
[Samba] Samab 4.11.2, 4.10.10 and 4.9.15 for rhel7/centos7 rpms
Hi everyone, I've posted some rpm builds of samba 4.11.2, 4.10.10 and 4.9.15 for RHEL/Centos 7.x (currently 7.7). The 4.11 rpms use the python3 and python3-devel rpms introduced in the standard RHEL/Centos repos at the same time as the 7.7 version. Comments and/or testing feedback would be most welcomed. http://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.2 http://nova.polymtl.ca/~coyote/dist/samba/samba-4.10.10 http://nova.polymtl.ca/~coyote/dist/samba/samba-4.9.15 Kind Regards, Vincent
Konstantin Shalygin
2019-Nov-05 07:49 UTC
[Samba] Samab 4.11.2, 4.10.10 and 4.9.15 for rhel7/centos7 rpms
> I've posted some rpm builds of samba 4.11.2, 4.10.10 and 4.9.15 for > RHEL/Centos 7.x (currently 7.7). The 4.11 rpms use the python3 and > python3-devel rpms introduced in the standard RHEL/Centos repos at the > same time as the 7.7 version. > Comments and/or testing feedback would be most welcomed. > > http://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.2 > http://nova.polymtl.ca/~coyote/dist/samba/samba-4.10.10 > http://nova.polymtl.ca/~coyote/dist/samba/samba-4.9.154.11.2: python-crypto: "BuildRequires: libtomcrypt-devel" k
Nico Kadel-Garcia
2019-Nov-05 11:31 UTC
[Samba] Samab 4.11.2, 4.10.10 and 4.9.15 for rhel7/centos7 rpms
On Tue, Nov 5, 2019 at 3:07 AM Konstantin Shalygin via samba <samba at lists.samba.org> wrote:> > > I've posted some rpm builds of samba 4.11.2, 4.10.10 and 4.9.15 for > > RHEL/Centos 7.x (currently 7.7). The 4.11 rpms use the python3 and > > python3-devel rpms introduced in the standard RHEL/Centos repos at the > > same time as the 7.7 version. > > Comments and/or testing feedback would be most welcomed. > > > > http://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.2 > > http://nova.polymtl.ca/~coyote/dist/samba/samba-4.10.10 > > http://nova.polymtl.ca/~coyote/dist/samba/samba-4.9.15 > > 4.11.2: python-crypto: "BuildRequires: libtomcrypt-devel"Which is why my tools over at https://github.com/nkadel/samba4repo have submodules for those and a "mock" based dependency chain for building all the RPMs. using "mock". There are some issues building anything for Fedora 31 with mock on CentOS 7 or CentOS 8, and I also publish updates to handle those over at https://github.com/nkadel/mockrepo.
Konstantin Shalygin
2019-Nov-06 05:47 UTC
[Samba] Samab 4.11.2, 4.10.10 and 4.9.15 for rhel7/centos7 rpms
On 11/5/19 8:26 PM, vincent at cojot.name wrote:> can you provide more detail? > > RHEL7 has libtomcrypt but no devel rpm for it. > That's the onoy issue I had with it.tomcrypt.h is required for build this package.> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong > --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv > -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector-strong --param=ssp-buffer-size=4 > -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -O2 -g -pipe -Wall -Wp,-D_FORTIFY_ > SOURCE=2 -fexceptions -fstack-protector-strong > --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic > -fno-strict-aliasing -fPIC -std=c99 -Isrc/ -I/usr/include/python2.7 -c > src/DES.c -o build/temp.l > inux-x86_64-2.7/src/DES.o > src/DES.c:32:22: fatal error: tomcrypt.h: No such file or directory > ?#include "tomcrypt.h" > ????????????????????? ^ > compilation terminated. > error: command 'gcc' failed with exit status 1 > error: Bad exit status from /var/tmp/rpm-tmp.3IIUQL (%build)k
vincent at cojot.name
2019-Nov-06 05:54 UTC
[Samba] Samab 4.11.2, 4.10.10 and 4.9.15 for rhel7/centos7 rpms
On Wed, 6 Nov 2019, Konstantin Shalygin wrote:> On 11/5/19 8:26 PM, vincent at cojot.name wrote: >> can you provide more detail? >> >> RHEL7 has libtomcrypt but no devel rpm for it. >> That's the onoy issue I had with it. > > tomcrypt.h is required for build this package.Yes, that's the reason I've rebuilt libtomcrypt from the RHEL sources (see https://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.2/RHEL7/SRPMS/libtomcrypt-1.17-26.el7.src.rpm ) and provided libtomcrypt-devel here: https://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.2/RHEL7/x86_64/libtomcrypt-devel-1.17-26.el7.x86_64.rpm The above package provides tomcrypt.h : # rpm -ql libtomcrypt-devel /usr/include/tomcrypt.h [...] /usr/lib64/libtomcrypt.so /usr/lib64/pkgconfig/libtomcrypt.pc>> src/DES.c:32:22: fatal error: tomcrypt.h: No such file or directory >> ?#include "tomcrypt.h" >> ????????????????????? ^ >> compilation terminated. >> error: command 'gcc' failed with exit status 1 >> error: Bad exit status from /var/tmp/rpm-tmp.3IIUQL (%build)I hope this helps, Vincent