Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building distribution w/ X11 on amd64 fails



On Wed, Oct 23, 2019 at 10:52:51AM +0100, Patrick Welche wrote:
> On Wed, Oct 23, 2019 at 11:47:39AM +0200, K. Schreiner wrote:
> > Hi,
> > 
> > with current source cvs upped an hour or so ago:
> > 
> > 
> > build.sh command:    ./build.sh -u -N 1 -U -m amd64 -O /u/NetBSD/arch/amd64/obj -D /u/NetBSD/arch/amd64/dest -R /u/NetBSD/arch/amd64/release -T /u/NetBSD/arch/amd64/TOOLS distribution
> > ...
> > dependall ===> external/mit/xorg/bin/xedit/lisp
> >     compile  lisp/pathname.o
> > /u/NetBSD/xsrc/external/mit/xedit/dist/lisp/pathname.c: In function 'Lisp_UserHomedirPathname':
> > /u/NetBSD/xsrc/external/mit/xedit/dist/lisp/pathname.c:1073:2: error: 'strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
> >   strncpy(data, home, length);
> >   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> > /u/NetBSD/xsrc/external/mit/xedit/dist/lisp/pathname.c:1072:11: note: length computed here
> >   length = strlen(home);
> >            ^~~~~~~~~~~~
> > cc1: all warnings being treated as errors
> > ...
> 
> 
> v1.2 of xsrc/external/mit/xedit/dist/lisp/pathname.c should have
> fixed it...
yep, forgot to update xsrc, too. My bad. Just done and trying again.

Thanks
Kurt


Home | Main Index | Thread Index | Old Index