Bug 244375

Summary: databases/postgresql12-client: configure error: cannot compute sizeof (off_t)
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: pgsql
Status: Closed Overcome By Events    
Severity: Affects Many People CC: hellevil, ohartmann
Priority: --- Flags: bugzilla: maintainer-feedback? (pgsql)
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2020-02-24 17:27:01 UTC
On recent CURRENT (FreeBSD 13.0-CURRENT #187 r358294: Mon Feb 24 18:00:27 CET 2020 amd64), port databases/postgresql12-client fails to compile due to the error shown below.


[...]
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of off_t... configure: error: in `/usr/ports/databases/postgresql12-client/work/postgresql-12.2':
configure: error: cannot compute sizeof (off_t)
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to pgsql@FreeBSD.org [maintainer] and attach the
"/usr/ports/databases/postgresql12-client/work/postgresql-12.2/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/postgresql12-client
Comment 1 O. Hartmann 2020-02-24 17:30:08 UTC
See also Bug 244376
Comment 2 hellEVIL 2021-04-22 04:25:30 UTC
reinstall readline first
Comment 3 hellEVIL 2021-04-22 04:26:00 UTC
(In reply to O. Hartmann from comment #0)
reinstall readline first