[Samba] Samba 4.14.5 compile error on RHEL7.9

vincent at cojot.name vincent at cojot.name
Mon Jan 24 13:01:03 UTC 2022


Hi Sergio,

I've given up on 4.14.z and beyond on RHEL7. I've moved to RHEL8 builds as 
keeping 4.14.z capable on RHEL7 would have been too intrusive (replacement 
of gnutls, etc...). I think TranquilIT produced some rpms of 4.14.z for 
RHEL7, perhaps you might want to look at these.
Regards,

Vincent

On Mon, 24 Jan 2022, Sérgio Basto via samba wrote:

> On Tue, 2021-06-01 at 14:15 -0400, Vincent S. Cojot via samba wrote:
>>
>> Issue has already been reported against 4.14rc2:
>> https://lists.samba.org/archive/samba-technical/2021-February/136284.html
>>
>> I'll see if I can set that in the builds..
>>
>
> Hi, Vincent have you the soltuion (for this build failure) ?
>
> Thank you
>
>> Vincent S. Cojot
>>
>>
>> On Tue, 1 Jun 2021, vincent at cojot.name wrote:
>>
>>>
>>> Hi,
>>>
>>> I was trying to move forward with compiling samba 4.14.y on RHEL7.9
>>> and I
>>> received the following error (which I hadn't seen before):
>>>
>>> ----------------
>>> [429/443] Compiling source4/heimdal/lib/asn1/gen_free.c
>>> [430/443] Compiling source4/heimdal/lib/asn1/gen_template.c
>>> Waf: Leaving directory `/usr/src/redhat/BUILD/samba-
>>> 4.14.5/bin/default'
>>> Build failed
>>> Traceback (most recent call last):
>>>  File "/usr/src/redhat/BUILD/samba-
>>> 4.14.5/third_party/waf/waflib/Task.py",
>>> line 350, in process
>>>    ret = self.run()
>>>  File "./buildtools/wafsamba/samba_waf18.py", line 30, in flexfun
>>>    tsk.outputs[0].write(txt.replace('\r\n', '\n').replace('\r',
>>> '\n')) #
>>> issue #1207
>>>  File "/usr/src/redhat/BUILD/samba-
>>> 4.14.5/third_party/waf/waflib/Node.py",
>>> line 201, in write
>>>    Utils.writef(self.abspath(), data, flags, encoding)
>>>  File "/usr/src/redhat/BUILD/samba-
>>> 4.14.5/third_party/waf/waflib/Utils.py",
>>> line 268, in writef
>>>    data = data.encode(encoding)
>>> UnicodeEncodeError: 'latin-1' codec can't encode characters in
>>> position
>>> 14657-14658: ordinal not in range(256)
>>>
>>> [...]
>>> UnicodeEncodeError: 'latin-1' codec can't encode characters in
>>> position
>>> 33323-33324: ordinal not in range(256)
>>>
>>> make: *** [all] Error 1
>>> error: Bad exit status from /var/tmp/rpm-tmp.FN8jcR (%build)
>>> ----------------
>>>
>>> This is my first attempt at building 4.14 rpms on el7.9 so perhaps
>>> there's a
>>> message right there but if someone could shed some light on the
>>> failure, I'd
>>> be very grateful. :)
>>>
>>> Vincent S. Cojot
>>>
>>
>
> -- 
> Sérgio M. B.
>
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list