[Bug 275795] devel/php82-readline: make configure fails: Please reinstall readline - I cannot find readline.h

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 16 Dec 2023 21:54:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275795

            Bug ID: 275795
           Summary: devel/php82-readline: make configure fails: Please
                    reinstall readline - I cannot find readline.h
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: x0r+freebsd@x0r.fr
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
 Attachment #247089 text/plain
         mime type:

Created attachment 247089
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247089&action=edit
Poudriere log

I'm trying to build devel/php82-readline through poudriere on FreeBSD 13.2, but
the build fails at configure stage with the following error:

configure: error: Please reinstall readline - I cannot find readline.h

However, devel/libedit does get installed appropriately when building the jail.
No files seem to be missing either, and pkgconf is able to retrieve the correct
CFLAGS and such for libedit.

I understand that the port’s goal is to prefer linking against the libedit.so
provided by devel/libedit instead of GNU readline's libreadline.so. However,
the easiest way to make the error go away is to install devel/readline in the
jail… which then causes the extension to be linked against GNU readline.

I'm attaching the log from Poudriere.

-- 
You are receiving this mail because:
You are the assignee for the bug.