Bug 244375 - databases/postgresql12-client: configure error: cannot compute sizeof (off_t)
Summary: databases/postgresql12-client: configure error: cannot compute sizeof (off_t)
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: pgsql
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-24 17:27 UTC by O. Hartmann
Modified: 2021-04-22 04:26 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (pgsql)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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