pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases postgresql*: explicitly mark BROKEN on Alpha



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e859a526e50d
branches:  trunk
changeset: 452217:e859a526e50d
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 07 06:58:55 2021 +0000

description:
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.

diffstat:

 databases/postgresql10/Makefile.common |  7 ++++++-
 databases/postgresql11/Makefile.common |  7 ++++++-
 databases/postgresql12/Makefile.common |  7 ++++++-
 databases/postgresql13/Makefile.common |  7 ++++++-
 databases/postgresql95/Makefile.common |  7 ++++++-
 databases/postgresql96/Makefile.common |  7 ++++++-
 6 files changed, 36 insertions(+), 6 deletions(-)

diffs (126 lines):

diff -r fcdff47ad51a -r e859a526e50d databases/postgresql10/Makefile.common
--- a/databases/postgresql10/Makefile.common    Fri May 07 05:14:55 2021 +0000
+++ b/databases/postgresql10/Makefile.common    Fri May 07 06:58:55 2021 +0000
@@ -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+=                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 -r fcdff47ad51a -r e859a526e50d databases/postgresql11/Makefile.common
--- a/databases/postgresql11/Makefile.common    Fri May 07 05:14:55 2021 +0000
+++ b/databases/postgresql11/Makefile.common    Fri May 07 06:58:55 2021 +0000
@@ -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+=                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 -r fcdff47ad51a -r e859a526e50d databases/postgresql12/Makefile.common
--- a/databases/postgresql12/Makefile.common    Fri May 07 05:14:55 2021 +0000
+++ b/databases/postgresql12/Makefile.common    Fri May 07 06:58:55 2021 +0000
@@ -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+=                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 -r fcdff47ad51a -r e859a526e50d databases/postgresql13/Makefile.common
--- a/databases/postgresql13/Makefile.common    Fri May 07 05:14:55 2021 +0000
+++ b/databases/postgresql13/Makefile.common    Fri May 07 06:58:55 2021 +0000
@@ -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+=                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 -r fcdff47ad51a -r e859a526e50d databases/postgresql95/Makefile.common
--- a/databases/postgresql95/Makefile.common    Fri May 07 05:14:55 2021 +0000
+++ b/databases/postgresql95/Makefile.common    Fri May 07 06:58:55 2021 +0000
@@ -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+=                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 -r fcdff47ad51a -r e859a526e50d databases/postgresql96/Makefile.common
--- a/databases/postgresql96/Makefile.common    Fri May 07 05:14:55 2021 +0000
+++ b/databases/postgresql96/Makefile.common    Fri May 07 06:58:55 2021 +0000
@@ -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+=                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



Home | Main Index | Thread Index | Old Index