Hi Joerg -
On Jun 22, 2016 10:25 AM, "David Holland" <dholland-pbugs%netbsd.org@localhost> wrote:
>
> The following reply was made to PR pkg/50490; it has been noted by GNATS.
>
> From: David Holland <dholland-pbugs%netbsd.org@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: pkg/50490 (ccmake doesn't work)
> Date: Wed, 22 Jun 2016 17:22:25 +0000
>
> (this whole subthread wasn't sent to gnats)
>
> From: bch <brad.harder%gmail.com@localhost>
> To: joerg%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost, bch
> <brad.harder%gmail.com@localhost>
> Subject: Re: pkg/50490 (ccmake doesn't work)
> Date: Fri, 11 Dec 2015 14:15:04 -0800
>
> I think this PR can now be fairly closed.
>
> Thanks, all,
>
> -bch
>
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: bch <brad.harder%gmail.com@localhost>
> Cc: joerg%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
> Subject: Re: pkg/50490 (ccmake doesn't work)
> Date: Sat, 12 Dec 2015 15:53:54 +0100
>
> On Fri, Dec 11, 2015 at 02:15:04PM -0800, bch wrote:
> > I think this PR can now be fairly closed.
>
> Well, has the libform patch fixed the problem? I definitely want to drop
> the ncurses dependency again, given how high in the food chain cmake is
> nowadays.
>
> Joerg
>
> From: bch <brad.harder%gmail.com@localhost>
> To: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> Cc: joerg%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
> Subject: Re: pkg/50490 (ccmake doesn't work)
> Date: Sat, 12 Dec 2015 11:59:13 -0800
>
> On 12/12/15, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> > On Fri, Dec 11, 2015 at 02:15:04PM -0800, bch wrote:
> >> I think this PR can now be fairly closed.
> >
> > Well, has the libform patch fixed the problem? I definitely want to drop
> > the ncurses dependency again, given how high in the food chain cmake is
> > nowadays.
>
> Well, I'm running this:
> -lexecinfo.0 => /usr/lib/libexecinfo.so.0
> -lelf.1 => /usr/lib/libelf.so.1
> -lgcc_s.1 => /usr/lib/libgcc_s.so.1
> -lc.12 => /usr/lib/libc.so.12
> -lform.6 => /usr/pkg/lib/libform.so.6
> -lncurses.6 => /usr/pkg/lib/libncurses.so.6
> -lexpat.2 => /usr/lib/libexpat.so.2
> -lz.1 => /usr/lib/libz.so.1
> -larchive.13 => /usr/pkg/lib/libarchive.so.13
> -llzma.2 => /usr/lib/liblzma.so.2
> -lpthread.1 => /usr/lib/libpthread.so.1
> ...
>
> which: 1) uses ncurses 2) does not use curses 3) has the libform
> patch. ./pkgsrc/devel/cmake was patched (to nb1) (which I built)
> before you patched libform/field.c, so I can't currently say if the
> libform work alone fixed it.
>
> It looks like[0] the wiz@ patch for pkgsrc/devel/cmake is basically a
> 1-line change, which I can revert to test.
>
> -bch
>
> [0] http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/cmake/Makefile.diff?r1=1.109&r2=1.110&_only_with_tag_=MAIN
>
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: bch <brad.harder%gmail.com@localhost>
> Cc: joerg%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
> Subject: Re: pkg/50490 (ccmake doesn't work)
> Date: Sat, 12 Dec 2015 23:08:45 +0100
>
> On Sat, Dec 12, 2015 at 11:59:13AM -0800, bch wrote:
> > On 12/12/15, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> > > On Fri, Dec 11, 2015 at 02:15:04PM -0800, bch wrote:
> > >> I think this PR can now be fairly closed.
> > >
> > > Well, has the libform patch fixed the problem? I definitely want to drop
> > > the ncurses dependency again, given how high in the food chain cmake is
> > > nowadays.
> >
> > Well, I'm running this:
> > -lexecinfo.0 => /usr/lib/libexecinfo.so.0
> > -lelf.1 => /usr/lib/libelf.so.1
> > -lgcc_s.1 => /usr/lib/libgcc_s.so.1
> > -lc.12 => /usr/lib/libc.so.12
> > -lform.6 => /usr/pkg/lib/libform.so.6
> > -lncurses.6 => /usr/pkg/lib/libncurses.so.6
> > -lexpat.2 => /usr/lib/libexpat.so.2
> > -lz.1 => /usr/lib/libz.so.1
> > -larchive.13 => /usr/pkg/lib/libarchive.so.13
> > -llzma.2 => /usr/lib/liblzma.so.2
> > -lpthread.1 => /usr/lib/libpthread.so.1
> > ...
> >
> > which: 1) uses ncurses 2) does not use curses 3) has the libform
> > patch. ./pkgsrc/devel/cmake was patched (to nb1) (which I built)
> > before you patched libform/field.c, so I can't currently say if the
> > libform work alone fixed it.
>
> The libform patch is for NetBSD's libform, not ncurses's libform.
>
> Joerg
>
> From: bch <brad.harder%gmail.com@localhost>
> To: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> Cc: joerg%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
> Subject: Re: pkg/50490 (ccmake doesn't work)
> Date: Sat, 12 Dec 2015 14:36:44 -0800
>
> On 12/12/15, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> > On Sat, Dec 12, 2015 at 11:59:13AM -0800, bch wrote:
> >> On 12/12/15, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> >> > On Fri, Dec 11, 2015 at 02:15:04PM -0800, bch wrote:
> >> >> I think this PR can now be fairly closed.
> >> >
> >> > Well, has the libform patch fixed the problem? I definitely want to
> >> > drop
> >> > the ncurses dependency again, given how high in the food chain cmake is
> >> > nowadays.
> >>
> >> Well, I'm running this:
> >> -lexecinfo.0 => /usr/lib/libexecinfo.so.0
> >> -lelf.1 => /usr/lib/libelf.so.1
> >> -lgcc_s.1 => /usr/lib/libgcc_s.so.1
> >> -lc.12 => /usr/lib/libc.so.12
> >> -lform.6 => /usr/pkg/lib/libform.so.6
> >> -lncurses.6 => /usr/pkg/lib/libncurses.so.6
> >> -lexpat.2 => /usr/lib/libexpat.so.2
> >> -lz.1 => /usr/lib/libz.so.1
> >> -larchive.13 => /usr/pkg/lib/libarchive.so.13
> >> -llzma.2 => /usr/lib/liblzma.so.2
> >> -lpthread.1 => /usr/lib/libpthread.so.1
> >> ...
> >>
> >> which: 1) uses ncurses 2) does not use curses 3) has the libform
> >> patch. ./pkgsrc/devel/cmake was patched (to nb1) (which I built)
> >> before you patched libform/field.c, so I can't currently say if the
> >> libform work alone fixed it.
> >
> > The libform patch is for NetBSD's libform, not ncurses's libform.
>
> Sure -- I was recounting all that was applied on my machine, and if
> libform (for nbsd curses) is patched but I'm only using ncurses, the
> patch is immaterial...
>
> My prev msg shows that the libform/curses patch does not seem to fix
> the problem; I tested by rolling back the wiz@ Makefile work in
> pkgsrc/devel/cmake
>
>
> -bch
>
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: bch <brad.harder%gmail.com@localhost>
> Cc: joerg%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
> Subject: Re: pkg/50490 (ccmake doesn't work)
> Date: Sun, 13 Dec 2015 00:53:26 +0100
>
> On Sat, Dec 12, 2015 at 02:36:44PM -0800, bch wrote:
> > On 12/12/15, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> > > On Sat, Dec 12, 2015 at 11:59:13AM -0800, bch wrote:
> > >> On 12/12/15, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> > >> > On Fri, Dec 11, 2015 at 02:15:04PM -0800, bch wrote:
> > >> >> I think this PR can now be fairly closed.
> > >> >
> > >> > Well, has the libform patch fixed the problem? I definitely want to
> > >> > drop
> > >> > the ncurses dependency again, given how high in the food chain cmake is
> > >> > nowadays.
> > >>
> > >> Well, I'm running this:
> > >> -lexecinfo.0 => /usr/lib/libexecinfo.so.0
> > >> -lelf.1 => /usr/lib/libelf.so.1
> > >> -lgcc_s.1 => /usr/lib/libgcc_s.so.1
> > >> -lc.12 => /usr/lib/libc.so.12
> > >> -lform.6 => /usr/pkg/lib/libform.so.6
> > >> -lncurses.6 => /usr/pkg/lib/libncurses.so.6
> > >> -lexpat.2 => /usr/lib/libexpat.so.2
> > >> -lz.1 => /usr/lib/libz.so.1
> > >> -larchive.13 => /usr/pkg/lib/libarchive.so.13
> > >> -llzma.2 => /usr/lib/liblzma.so.2
> > >> -lpthread.1 => /usr/lib/libpthread.so.1
> > >> ...
> > >>
> > >> which: 1) uses ncurses 2) does not use curses 3) has the libform
> > >> patch. ./pkgsrc/devel/cmake was patched (to nb1) (which I built)
> > >> before you patched libform/field.c, so I can't currently say if the
> > >> libform work alone fixed it.
> > >
> > > The libform patch is for NetBSD's libform, not ncurses's libform.
> >
> > Sure -- I was recounting all that was applied on my machine, and if
> > libform (for nbsd curses) is patched but I'm only using ncurses, the
> > patch is immaterial...
> >
> > My prev msg shows that the libform/curses patch does not seem to fix
> > the problem; I tested by rolling back the wiz@ Makefile work in
> > pkgsrc/devel/cmake
>
> I'm specifically asking whether the crash exists with
> (1) src/lib/libform/field.c r1.30 and
> (2) pkgsrc/devel/cmake/Makefile r1.109
>
> For the invalid terminal issue you also need:
> pkgsrc/devel/cmake/distinfo r1.83 and
> pkgsrc/devel/cmake/patches/patch-Source_CursesDialog_ccmake.cxx r1.1.
Let me see if I can get all those pieces in place to test (If I'm not currently that configuration already).
> Joerg
>