[Bug 294934] ports-mgmt/pkg_cleanup linking failure on 15-STABLE (-ldialog)

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294934

--- Comment #11 from Yuichiro NAITO <[email protected]> ---
(In reply to jakub_lach from comment #10)
Which FreeBSD version did you initially install on your machine?

I think it was a FreeBSD release before 15.0, or a snapshot before commit *1.

*1:
https://cgit.freebsd.org/src/commit/?id=38981026e70390ccfb99930ec6d71299dd2af780

I mean that the FreeBSD you installed initially contains the dialog executable,
library, and header files. Then you upgraded to FreeBSD 15-STABLE and ran `make
delete-old delete-old-libs`. `make delete-old` removes the dialog executable,
and `make delete-old-libs` removes the library, but the header files are never
removed. Because dialog header files aren't written in ObsoleteFiles.inc and
OptionalObsoleteFiles.inc. I'm not sure whether dialog header files are
intended
to be kept.

So your 15-STABLE still has dialog.h in /usr/include, which is the obsolete GNU
dialog one. You can build with the old header file.

However, do you trust the old dialog header file?
If you switch to building with cdialog from Ports, the cdialog/dialog.h is the
correct header file for the cdialog library.

How do you think that users who initially installed FreeBSD 15.0 or later don't
have dialog.h in /usr/include? They will need cdialog/dialog.h.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.