Bug 258707 - [exp-run] split ncurses into libtinfow and libncurses
Summary: [exp-run] split ncurses into libtinfow and libncurses
Status: Closed Not Enough Information
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL: https://reviews.freebsd.org/D32098
Depends on:
Reported: 2021-09-24 13:54 UTC by Baptiste Daroussin
Modified: 2021-09-28 11:44 UTC (History)
1 user (show)

See Also:
bapt: exp-run?

split ncurses and tinfo (82.14 KB, patch)
2021-09-27 09:20 UTC, Baptiste Daroussin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste Daroussin freebsd_committer 2021-09-24 13:54:24 UTC
Please exp-run this change in base
Comment 1 Antoine Brodin freebsd_committer 2021-09-24 18:14:39 UTC
Can you provide a patch that applies,  or provide instructions on how to apply the patch?
(there are errors with file lib/ncurses/ncurses/ncurses_cfg.h for instance)
Comment 2 Baptiste Daroussin freebsd_committer 2021-09-27 09:20:05 UTC
Created attachment 228208 [details]
split ncurses and tinfo
Comment 3 Baptiste Daroussin freebsd_committer 2021-09-27 09:23:59 UTC
this patch somehow does not represent the move of files so lease move manually
lib/ncurses/ncurses/ncurses_cfg.h to lib/ncurses/tinfo
Comment 4 Antoine Brodin freebsd_committer 2021-09-27 14:13:07 UTC
buildworld fails:

===> lib/ncurses/ncurses (obj,all,install)
LC_ALL=C sh /poudriere/data/src-PR258707/contrib/ncurses/ncurses/base/MKlib_gen.sh "cpp -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/poudriere/data/src-PR258707/amd64.amd64/tmp -B/usr/obj/poudriere/data/src-PR258707/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common   -D_XOPEN_SOURCE_EXTENDED -I. -I/poudriere/data/src-PR258707/lib/ncurses/tinfo -I/poudriere/data/src-PR258707/lib/ncurses/ncurses -I/poudriere/data/src-PR258707/contrib/ncurses/include -I/poudriere/data/src-PR258707/contrib/ncurses/ncurses -I/usr/obj/poudriere/data/src-PR258707/amd64.amd64/lib/ncurses/tinfo/ -Wall -DNDEBUG -DHAVE_CONFIG_H -g -gz=zlib  -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member  -Qunused-arguments   "  "awk" generated < curses.h >lib_gen.c
/bin/sh: cannot open curses.h: No such file or directory
*** Error code 2
Comment 5 Baptiste Daroussin freebsd_committer 2021-09-28 11:44:19 UTC
I will go without exp-run and fix the fallouts as they appear, I have locally built most of the ncurses programs with out issues, this is too painful to provide an applyable patch