pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri May  7 06:58:56 UTC 2021

Modified Files:
        pkgsrc/databases/postgresql10: Makefile.common
        pkgsrc/databases/postgresql11: Makefile.common
        pkgsrc/databases/postgresql12: Makefile.common
        pkgsrc/databases/postgresql13: Makefile.common
        pkgsrc/databases/postgresql95: Makefile.common
        pkgsrc/databases/postgresql96: Makefile.common

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/databases/postgresql10/Makefile.common
cvs rdiff -u -r1.19 -r1.20 pkgsrc/databases/postgresql11/Makefile.common
cvs rdiff -u -r1.12 -r1.13 pkgsrc/databases/postgresql12/Makefile.common
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/postgresql13/Makefile.common
cvs rdiff -u -r1.37 -r1.38 pkgsrc/databases/postgresql95/Makefile.common
cvs rdiff -u -r1.31 -r1.32 pkgsrc/databases/postgresql96/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/postgresql10/Makefile.common
diff -u pkgsrc/databases/postgresql10/Makefile.common:1.26 pkgsrc/databases/postgresql10/Makefile.common:1.27
--- pkgsrc/databases/postgresql10/Makefile.common:1.26  Fri Apr 16 06:38:20 2021
+++ pkgsrc/databases/postgresql10/Makefile.common       Fri May  7 06:58:55 2021
@@ -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_u
 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

Index: pkgsrc/databases/postgresql11/Makefile.common
diff -u pkgsrc/databases/postgresql11/Makefile.common:1.19 pkgsrc/databases/postgresql11/Makefile.common:1.20
--- pkgsrc/databases/postgresql11/Makefile.common:1.19  Fri Apr 16 06:38:20 2021
+++ pkgsrc/databases/postgresql11/Makefile.common       Fri May  7 06:58:55 2021
@@ -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_u
 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

Index: pkgsrc/databases/postgresql12/Makefile.common
diff -u pkgsrc/databases/postgresql12/Makefile.common:1.12 pkgsrc/databases/postgresql12/Makefile.common:1.13
--- pkgsrc/databases/postgresql12/Makefile.common:1.12  Fri Apr 16 06:38:20 2021
+++ pkgsrc/databases/postgresql12/Makefile.common       Fri May  7 06:58:56 2021
@@ -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_u
 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

Index: pkgsrc/databases/postgresql13/Makefile.common
diff -u pkgsrc/databases/postgresql13/Makefile.common:1.5 pkgsrc/databases/postgresql13/Makefile.common:1.6
--- pkgsrc/databases/postgresql13/Makefile.common:1.5   Fri Apr 16 06:38:20 2021
+++ pkgsrc/databases/postgresql13/Makefile.common       Fri May  7 06:58:56 2021
@@ -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_u
 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

Index: pkgsrc/databases/postgresql95/Makefile.common
diff -u pkgsrc/databases/postgresql95/Makefile.common:1.37 pkgsrc/databases/postgresql95/Makefile.common:1.38
--- pkgsrc/databases/postgresql95/Makefile.common:1.37  Fri Apr 16 06:38:20 2021
+++ pkgsrc/databases/postgresql95/Makefile.common       Fri May  7 06:58:56 2021
@@ -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_u
 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

Index: pkgsrc/databases/postgresql96/Makefile.common
diff -u pkgsrc/databases/postgresql96/Makefile.common:1.31 pkgsrc/databases/postgresql96/Makefile.common:1.32
--- pkgsrc/databases/postgresql96/Makefile.common:1.31  Fri Apr 16 06:38:21 2021
+++ pkgsrc/databases/postgresql96/Makefile.common       Fri May  7 06:58:56 2021
@@ -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_u
 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