[MacPorts] #71787: postgresql91 @9.1.24_8 does not build on PPC Leopard, Mac OS X 10.5.8, because of faulty dependency
MacPorts
noreply at macports.org
Wed Jan 8 14:28:51 UTC 2025
#71787: postgresql91 @9.1.24_8 does not build on PPC Leopard, Mac OS X 10.5.8,
because of faulty dependency
-------------------------+--------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: leopard ppc | Port: postgresql91
-------------------------+--------------------------
{{{
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_library_init in -lssl... no
configure: error: library 'ssl' is required for OpenSSL
Command failed: cd
"/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_postgresql91/postgresql91/work/postgresql-9.1.24"
&& ./configure --prefix=/opt/local
--sysconfdir=/opt/local/etc/postgresql91
--bindir=/opt/local/lib/postgresql91/bin
--libdir=/opt/local/lib/postgresql91
--includedir=/opt/local/include/postgresql91
--datadir=/opt/local/share/postgresql91
--docdir=/opt/local/share/doc/postgresql91 --mandir=/opt/local/share/man
--with-includes=/opt/local/include --with-libraries=/opt/local/lib --with-
openssl --with-bonjour --with-readline --with-zlib --with-libxml --with-
libxslt --enable-thread-safety --enable-integer-datetimes --with-ossp-uuid
--with-perl
Exit code: 1
Error: Failed to configure postgresql91: consult
/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_postgresql91/postgresql91/work/postgresql-9.1.24/config.log
Error: Failed to configure postgresql91: configure failure: command
execution failed
Error: See
/opt/local/var/macports/logs/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_postgresql91/postgresql91/main.log
for details.
}}}
Config.log contains:
{{{
configure:9248: checking for SSL_library_init in -lssl
configure:9283: /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch ppc -Wall
-Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv
-I/opt/local/include -I/opt/local/include/ossp
-I/opt/local/include/libxml2 -I/opt/local/include -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -L/opt/local/lib
-L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib
conftest.c -lssl -lcrypto -lz -lreadline -lm >&5
Undefined symbols:
"_SSL_library_init", referenced from:
_main in ccg7CLlu.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:9290: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "9.1.24"
| #define PACKAGE_STRING "PostgreSQL 9.1.24"
| #define PACKAGE_BUGREPORT "pgsql-bugs at postgresql.org"
| #define PG_VERSION "9.1.24"
| #define PG_MAJORVERSION "9.1"
| #define USE_INTEGER_DATETIMES 1
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| #define BLCKSZ 8192
| #define RELSEG_SIZE 131072
| #define XLOG_BLCKSZ 8192
| #define XLOG_SEG_SIZE (16 * 1024 * 1024)
| #define ENABLE_THREAD_SAFETY 1
| #define PG_KRB_SRVNAM "postgres"
| #define USE_BONJOUR 1
| #define USE_SSL 1
| #define USE_LIBXML 1
| #define USE_LIBXSLT 1
| #define HAVE_LIBM 1
| #define HAVE_LIBREADLINE 1
| #define HAVE_LIBZ 1
| #define HAVE_SPINLOCKS 1
| #define HAVE_LIBCRYPTO 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char SSL_library_init ();
| int
| main ()
| {
| return SSL_library_init ();
| ;
| return 0;
| }
configure:9311: result: no
configure:9321: error: library 'ssl' is required for OpenSSL
}}}
and so `postgresql91` has same dependencies as `postgresql90`.
--
Ticket URL: <https://trac.macports.org/ticket/71787>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list