Strange. Up untill connection.c I have more or less the same notes and warnings, but then I get: .... CC connection.o os/connection.c: In function 'ErrorConnMax': os/connection.c:646:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] iov[1].iov_base = NOROOM; ^ CC io.o CC osinit.o CC WaitFor.o CC lbxproxytrans.o CCLD lbxproxy GEN lbxproxy.1 ....
and the build completes without an error. I can't see anything relevant in /etc/mk.conf except I have CCACHE_DIR?= /usr/pkg/.ccache PKGSRC_COMPILER= ccache gcc but I doubt any link. Otherwise I have: # uname -a NetBSD nbuild.lorien.lan 8.99.35 NetBSD 8.99.35 (XEN3_DOMU) #13: Sun Mar 17 02:07:55 GMT 2019 sysbu...@nbuild.lorien.lan:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/XEN3_DOMU amd64 # gcc --version gcc (nb1 20190119) 7.4.0 On Mon, 18 Mar 2019 at 07:59, Bob Bernstein <poo...@ruptured-duck.com> wrote: > > On Sun, Mar 17, 2019 at 06:39:11PM +0000, Chavdar Ivanov wrote: > > > BTW I finally finished a full modular-xorg build. Starting some > > tests now. > > Perhaps I can follow in your footsteps. > > I started all over again Sunday morning: new install of -current, > new cvs of pkgsrc, etc. I did quite well: > > $ pkg_info |grep ^modular > modular-xorg-server-1.20.4 Modular X11 server from modular X.org > modular-xorg-drivers-1.19.0nb4 Modular Xorg driver meta-package > modular-xorg-libs-1.5nb1 Modular Xorg library meta-package > modular-xorg-xephyr-1.20.4 Xephyr server based on kdrive from modular X.org > > However, a fly did find the ointment when it was lbxproxy's turn: > > "cc1: some warnings being treated as errors" > > I used to know what CFLAG will turn that off, but it's been a long > time. Thanks if you can help get me over this hump. > > I'll stick the output in here: > > -- > These are not the droids you are looking for. -- ----