Bug 252120 - devel/llvm10: ncurses
Summary: devel/llvm10: ncurses
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-25 01:19 UTC by Ivan Rozhuk
Modified: 2024-04-01 10:49 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2020-12-25 01:19:05 UTC
I have build devel/llvm10, install and make package on system with ncurses: 6.2.20201212.

After install package on system without ncurses and run:
pkg check -d
Checking all packages: 100%
llvm10 is missing a required shared library: libpanel.so.6
llvm10 is missing a required shared library: libtinfo.so.6
llvm10 is missing a required shared library: libform.so.6
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-01-08 22:26:07 UTC
A commit references this bug:

Author: brooks
Date: Fri Jan  8 22:25:57 UTC 2021
New revision: 560814
URL: https://svnweb.freebsd.org/changeset/ports/560814

Log:
  llvm11: Update to 11.0.1 release

  Force linkage with the base system's ncurses in lldb and disable
  terminfo to avoid untracked dependencies when ncurses is installed from
  ports. Ideally we'd also use the base libtinfo, but I have been unable
  to find a way to force it to be used.

  PR:		252120

Changes:
  head/devel/llvm11/Makefile
  head/devel/llvm11/distinfo
  head/devel/llvm11/files/compiler-rt/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
Comment 2 Ivan Rozhuk 2021-01-10 16:03:40 UTC
What about devel/llvm10?
Comment 3 Brooks Davis freebsd_committer freebsd_triage 2021-01-11 21:59:58 UTC
(In reply to rozhuk.im from comment #2)
Coming, but the workaround is trivial so not my top priority.
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-01-11 23:47:41 UTC
A commit references this bug:

Author: brooks
Date: Mon Jan 11 23:46:56 UTC 2021
New revision: 561287
URL: https://svnweb.freebsd.org/changeset/ports/561287

Log:
  llvm10: Avoid untracked ncurses depend

  Force linkage with the base system's ncurses in lldb and disable
  terminfo to avoid untracked dependencies when ncurses is installed from
  ports. Ideally we'd also use the base libtinfo, but I have been unable
  to find a way to force it to be used.

  PR:		252120
  MFH:		2021Q1

Changes:
  head/devel/llvm10/Makefile
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-01-12 13:03:00 UTC
A commit references this bug:

Author: jbeich
Date: Tue Jan 12 13:02:21 UTC 2021
New revision: 561330
URL: https://svnweb.freebsd.org/changeset/ports/561330

Log:
  MFH: r560814 by brooks

  llvm11: Update to 11.0.1 release

  Force linkage with the base system's ncurses in lldb and disable
  terminfo to avoid untracked dependencies when ncurses is installed from
  ports. Ideally we'd also use the base libtinfo, but I have been unable
  to find a way to force it to be used.

  PR:		252120

Changes:
_U  branches/2021Q1/
  branches/2021Q1/devel/llvm11/Makefile
  branches/2021Q1/devel/llvm11/distinfo
  branches/2021Q1/devel/llvm11/files/compiler-rt/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
Comment 6 Steve Wills freebsd_committer freebsd_triage 2021-03-15 18:26:33 UTC
I'm wondering if this should have a "USES=ncurses:base" added?
Comment 7 ctipper 2021-04-15 10:02:20 UTC
(In reply to Brooks Davis from comment #3)
A trivial workaround is better than no workaround. llvm10 was updated in 2021Q2 repos and the missing library error is still there?
Comment 8 Rene Ladan freebsd_committer freebsd_triage 2024-04-01 10:26:55 UTC
Is this still relevant for modern versions of LLVM? devel/llvm10 expired today.
Comment 9 Ivan Rozhuk 2024-04-01 10:49:59 UTC
No, I do not same issue with modern LLVM.