diff options
author | nia <nia@pkgsrc.org> | 2021-05-07 06:58:55 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-05-07 06:58:55 +0000 |
commit | afe90acf9889ac2f2d4709fd035d9c58b422a505 (patch) | |
tree | 37889221774bec1acf83659dce73c580ee49fe47 | |
parent | 753fd4412ce759be398dd0adf8273ec0582d6e6e (diff) | |
download | pkgsrc-afe90acf9889ac2f2d4709fd035d9c58b422a505.tar.gz |
postgresql*: explicitly mark BROKEN on Alpha
Support for Alpha was removed in 2014. This removed the spinlock and
memory barrier implementations, meaning Postgresql on Alpha no longer
compiles cleanly with the default options. According to the commit
message the code was "unlikely to currently work correctly".
Enthusiasts may wish to re-add Alpha support, but it should likely
only be done with proper testing to avoid data loss in the case someone
uses it.
-rw-r--r-- | databases/postgresql10/Makefile.common | 7 | ||||
-rw-r--r-- | databases/postgresql11/Makefile.common | 7 | ||||
-rw-r--r-- | databases/postgresql12/Makefile.common | 7 | ||||
-rw-r--r-- | databases/postgresql13/Makefile.common | 7 | ||||
-rw-r--r-- | databases/postgresql95/Makefile.common | 7 | ||||
-rw-r--r-- | databases/postgresql96/Makefile.common | 7 |
6 files changed, 36 insertions, 6 deletions
diff --git a/databases/postgresql10/Makefile.common b/databases/postgresql10/Makefile.common index 298b5cea958..6cf474b2a53 100644 --- a/databases/postgresql10/Makefile.common +++ b/databases/postgresql10/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.26 2021/04/16 06:38:20 nia Exp $ +# $NetBSD: Makefile.common,v 1.27 2021/05/07 06:58:55 nia Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -83,6 +83,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no .endif +# Postgres on Alpha has no spinlock or memory barrier implementation +# and is "unlikely to work correctly". +# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org +BROKEN_ON_PLATFORM+= *-*-alpha + # configure fails on OpenBSD and MirBSD if thread safety is enabled. CONFIGURE_ARGS.MirBSD+= --disable-thread-safety CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety diff --git a/databases/postgresql11/Makefile.common b/databases/postgresql11/Makefile.common index 415d0c28518..04f6fb4d08b 100644 --- a/databases/postgresql11/Makefile.common +++ b/databases/postgresql11/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.19 2021/04/16 06:38:20 nia Exp $ +# $NetBSD: Makefile.common,v 1.20 2021/05/07 06:58:55 nia Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -83,6 +83,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no .endif +# Postgres on Alpha has no spinlock or memory barrier implementation +# and is "unlikely to work correctly". +# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org +BROKEN_ON_PLATFORM+= *-*-alpha + # configure fails on OpenBSD and MirBSD if thread safety is enabled. CONFIGURE_ARGS.MirBSD+= --disable-thread-safety CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety diff --git a/databases/postgresql12/Makefile.common b/databases/postgresql12/Makefile.common index 2cf4677a2ba..be027c50afd 100644 --- a/databases/postgresql12/Makefile.common +++ b/databases/postgresql12/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.12 2021/04/16 06:38:20 nia Exp $ +# $NetBSD: Makefile.common,v 1.13 2021/05/07 06:58:56 nia Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -83,6 +83,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no .endif +# Postgres on Alpha has no spinlock or memory barrier implementation +# and is "unlikely to work correctly". +# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org +BROKEN_ON_PLATFORM+= *-*-alpha + # configure fails on OpenBSD and MirBSD if thread safety is enabled. CONFIGURE_ARGS.MirBSD+= --disable-thread-safety CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety diff --git a/databases/postgresql13/Makefile.common b/databases/postgresql13/Makefile.common index 664ff3f3918..77a459f48e8 100644 --- a/databases/postgresql13/Makefile.common +++ b/databases/postgresql13/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2021/04/16 06:38:20 nia Exp $ +# $NetBSD: Makefile.common,v 1.6 2021/05/07 06:58:56 nia Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -83,6 +83,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no .endif +# Postgres on Alpha has no spinlock or memory barrier implementation +# and is "unlikely to work correctly". +# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org +BROKEN_ON_PLATFORM+= *-*-alpha + # configure fails on OpenBSD and MirBSD if thread safety is enabled. CONFIGURE_ARGS.MirBSD+= --disable-thread-safety CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety diff --git a/databases/postgresql95/Makefile.common b/databases/postgresql95/Makefile.common index ebc8aa25817..a3d408ea9f2 100644 --- a/databases/postgresql95/Makefile.common +++ b/databases/postgresql95/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.37 2021/04/16 06:38:20 nia Exp $ +# $NetBSD: Makefile.common,v 1.38 2021/05/07 06:58:56 nia Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -84,6 +84,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no .endif +# Postgres on Alpha has no spinlock or memory barrier implementation +# and is "unlikely to work correctly". +# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org +BROKEN_ON_PLATFORM+= *-*-alpha + # configure fails on OpenBSD and MirBSD if thread safety is enabled. CONFIGURE_ARGS.MirBSD+= --disable-thread-safety CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety diff --git a/databases/postgresql96/Makefile.common b/databases/postgresql96/Makefile.common index 5a91d152724..19b94473c08 100644 --- a/databases/postgresql96/Makefile.common +++ b/databases/postgresql96/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.31 2021/04/16 06:38:21 nia Exp $ +# $NetBSD: Makefile.common,v 1.32 2021/05/07 06:58:56 nia Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -84,6 +84,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no .endif +# Postgres on Alpha has no spinlock or memory barrier implementation +# and is "unlikely to work correctly". +# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org +BROKEN_ON_PLATFORM+= *-*-alpha + # configure fails on OpenBSD and MirBSD if thread safety is enabled. CONFIGURE_ARGS.MirBSD+= --disable-thread-safety CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety |