Bug 265954 - make installworld error on current
Summary: make installworld error on current
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-20 09:03 UTC by Zsolt
Modified: 2022-08-26 09:55 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolt 2022-08-20 09:03:43 UTC
I would like to report that make installworld on -Current don't work.

root@ryzen:/usr/src # uname -a
FreeBSD ryzen 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n257514-3b7935f33b5: Sat Aug 20 08:58:42 EEST 2022     root@ryzen:/usr/obj/usr/src.bak/src/amd64.amd64/sys/GENERIC amd64

--------------------------------------------------------------
>>> Install check world
--------------------------------------------------------------
mkdir -p /tmp/install.DwB02MfB3X
progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp  date echo egrep find grep id install   ln make mkdir mtree mv pwd_mkdb  rm sed services_mkdb sh sort strip sysctl test time true uname wc  zic tzsetup  makewhatis; do  if progpath=`env PATH=/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin which $prog`; then  echo $progpath;  else  echo "Required tool $prog not found in PATH ($PATH)." >&2;  exit 1;  fi;  done);  if [ -z "" ] ; then  libs=$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort -u | grep -Ev '\[.*]' |  while read line; do  set -- $line;  if [ "$2 $3" != "not found" ]; then  echo $2;  else  echo "Required library $1 not found." >&2;  exit 1;  fi;  done);  fi;  cp $libs $progs /tmp/install.DwB02MfB3X
Required library libdialog.so.9 not found.
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
Comment 1 Alfonso S. Siciliano freebsd_committer freebsd_triage 2022-08-25 21:15:42 UTC
I seem that those utilities do not depend on libdialog.
Probably the the problem is caused by usr.sbin/tzsetup/Makefile.depend.options because it still list libdialog.


Maybe it should be update, CC emaste@ bapt@ sjg@
https://cgit.freebsd.org/src/tree/usr.sbin/tzsetup/Makefile.depend.options
Comment 2 Simon J. Gerraty freebsd_committer freebsd_triage 2022-08-26 01:29:51 UTC
(In reply to Alfonso S. Siciliano from comment #1)
Yes looks like usr.sbin/tzsetup/Makefile.depend.options is no longer required
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-08-26 09:54:31 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=587649902329d1e57bf72bd399f425eb49e37788

commit 587649902329d1e57bf72bd399f425eb49e37788
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-08-26 09:48:03 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-08-26 09:54:17 +0000

    tzsetup: remove left overs from libbsddialog conversion

    PR:     265954

 usr.sbin/tzsetup/Makefile.depend.options (gone) | 10 ----------
 1 file changed, 10 deletions(-)