[Samba] Samba 4.14.5 compile error on RHEL7.9

Sérgio Basto sergio at serjux.com
Mon Jan 24 12:10:20 UTC 2022


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.




More information about the samba mailing list