pkgsrc-Users archive

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

Re: lldb missing



On Thu, 27 Apr 2023 at 18:13, Havard Eidnes <he%netbsd.org@localhost> wrote:
>
> > Hi All, I cannot recall how I installed lldb (pkgin, pkgsrc or
> > github) but I think it was in pkgin as binary. I did a pkgin
> > update and upgrade recently (9.3 amd64) and now all llvm
> > related stuff is on version 15 but lldb stayed on 13. No wonder
> > it didn't get an upgrade as it's not in pkgin. Do I recall it
> > wrong that it was in pkgin earlier?
> > Best regards,
> > r0ller
>
> It looks like lldb isn't present in the 9.0 pkg repository,
> possibly because it hit a build problem.
>
> It looks like it's "pre-failed" with
>
>   Only NetBSD >= 9.99.22 provides ptrace(2) PT_STOP

On the topic of lldb, I tried to build it under -current amd64 today
and failed - all curses names are reported missing, a long list like:

......
[ 97%] Linking CXX shared library ../../lib/liblldb.so
ld: ../../lib/liblldbCore.a(IOHandlerCursesGUI.cpp.o): in function
`BreakpointsTreeDelegate::TreeDelegateDrawTreeItem(TreeItem&,
curses::Window&)':
IOHandlerCursesGUI.cpp:(.text._ZN23BreakpointsTreeDelegate24TreeDelegateDrawTreeItemER8TreeItemRN6curses6WindowE[_ZN23BreakpointsTreeDelegate24TreeDelegateDrawTreeItemER8TreeItemRN6curses6WindowE]+0x11):
undefined reference to `waddnstr'
ld: ../../lib/liblldbCore.a(IOHandlerCursesGUI.cpp.o): in function
`curses::BooleanFieldDelegate::FieldDelegateDraw(curses::Surface&,
bool)':
IOHandlerCursesGUI.cpp:(.text._ZN6curses20BooleanFieldDelegate17FieldDelegateDrawERNS_7SurfaceEb[_ZN6curses20BooleanFieldDelegate17FieldDelegateDrawERNS_7SurfaceEb]+0x1f):
undefined reference to `wmove'
ld: IOHandlerCursesGUI.cpp:(.text._ZN6curses20BooleanFieldDelegate17FieldDelegateDrawERNS_7SurfaceEb[_ZN6curses20BooleanFieldDelegate17FieldDelegateDrawERNS_7SurfaceEb]+0x2d):
undefined reference to `waddch'
.....

I tried with and without CURSES_DEFAULT=ncurses, same result.

>
> as the message, ref.
>
> http://victory.netbsd.org/pkgsrc/packages/reports/2023Q1/amd64-9.0/20230407.0536/meta/report.html
>
> as reported on the pkgsrc-bulk@ mailing list.
>
> It is present in the 10.0 pkg repository, presumably suitable for
> use on 10.0_BETA:
>
> morden% cd [...]packages/NetBSD/amd64/9.0/All
> morden% ls -l lldb*
> ls: No match.
> morden% cd ../../10.0/All
> morden% ls -l lldb*
> -rw-r--r--  1 nia  netbsd  7078484 Dec 31 00:56 lldb-15.0.6.tgz
> morden%
>
> Regards,
>
> - Håvard



-- 
----


Home | Main Index | Thread Index | Old Index