-
Notifications
You must be signed in to change notification settings - Fork 365
Build: Increase build dependencies for 3.1.0. #4142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,21 +4,21 @@ | |
|
|
||
| | Version | Fedora-based | Suse-based | Debian-based | | ||
| |:---------------:|:------------------:|:------------------:|:--------------:| | ||
| | 1.13 or later | automake | automake | automake | | ||
| | 2.64 or later | autoconf | autoconf | autoconf | | ||
| | 1.16 or later | automake | automake | automake | | ||
| | 2.71 or later | autoconf | autoconf | autoconf | | ||
| | | libtool | libtool | libtool | | ||
| | | libtool-ltdl-devel | | libltdl-dev | | ||
| | | libuuid-devel | libuuid-devel | uuid-dev | | ||
| | 0.28 or later | pkgconfig | pkgconfig | pkg-config | | ||
| | 2.42.0 or later | glib2-devel | glib2-devel | libglib2.0-dev | | ||
| | 2.9.2 or later | libxml2-devel | libxml2-devel | libxml2-dev | | ||
| | 2.1.0 or later | pkgconf-pkg-config | pkgconfig | pkg-config | | ||
| | 2.80.0 or later | glib2-devel | glib2-devel | libglib2.0-dev | | ||
| | 2.12.5 or later | libxml2-devel | libxml2-devel | libxml2-dev | | ||
| | | libxslt-devel | libxslt-devel | libxslt-dev | | ||
| | | bzip2-devel | libbz2-devel | libbz2-dev | | ||
| | 1.0.1 or later | libqb-devel | libqb-devel | libqb-dev | | ||
| | 3.6 or later | python3 | python3 | python3 | | ||
| | 0.18 or later | gettext-devel | gettext-tools | gettext | | ||
| | 2.0.8 or later | libqb-devel | libqb-devel | libqb-dev | | ||
| | 3.12.11 or later| python3 | python3 | python3 | | ||
| | 0.22 or later | gettext-devel | gettext-tools | gettext | | ||
| | 0.18 or later | | | autopoint | | ||
| | 3.4.6 or later | gnutls-devel | libgnutls-devel | libgnutls-dev | | ||
| | 3.8.9 or later | gnutls-devel | libgnutls-devel | libgnutls-dev | | ||
|
|
||
| Also: | ||
| * make must be GNU (or compatible) (setting MAKE=gmake might also work but is | ||
|
|
@@ -31,29 +31,29 @@ Also: | |
|
|
||
| | Version | Fedora-based | Suse-based | Debian-based | | ||
| |:---------------:|:------------------:|:------------------:|:--------------:| | ||
| | 2.0.0 or later | corosynclib | libcorosync | corosync | | ||
| | 2.0.0 or later | corosynclib-devel | libcorosync-devel | | | ||
| | 3.1.9 or later | corosynclib | libcorosync | corosync | | ||
| | 3.1.9 or later | corosynclib-devel | libcorosync-devel | | | ||
| | | | | libcfg-dev | | ||
| | | | | libcpg-dev | | ||
| | | | | libcmap-dev | | ||
| | | | | libquorum-dev | | ||
|
|
||
| ### Optional Build Dependencies | ||
|
|
||
| | Feature Enabled | Version | Fedora-based | Suse-based | Debian-based | | ||
| |:-----------------------------------------------:|:--------------:|:-----------------------:|:-----------------------:|:-----------------------:| | ||
| | encrypted remote CIB admin | | pam-devel | pam-devel | libpam0g-dev | | ||
| | interactive crm_mon | | ncurses-devel | ncurses-devel | ncurses-dev | | ||
| | systemd support | | systemd-devel | systemd-devel | libsystemd-dev | | ||
| | systemd resource support | 1.5.12 or later| dbus-devel | dbus-devel | libdbus-1-dev | | ||
| | Linux-HA style fencing agents | | cluster-glue-libs-devel | libglue-devel | cluster-glue-dev | | ||
| | documentation | | help2man | help2man | help2man | | ||
| | documentation | | docbook-style-xsl | docbook-xsl-stylesheets | docbook-xsl | | ||
| | documentation | | python3-sphinx | python3-sphinx | python3-sphinx | | ||
| | documentation (PDF) | | latexmk texlive texlive-capt-of texlive-collection-xetex texlive-fncychap texlive-framed texlive-multirow texlive-needspace texlive-tabulary texlive-titlesec texlive-threeparttable texlive-upquote texlive-wrapfig texlive-xetex | texlive texlive-latex | texlive texlive-latex-extra | | ||
| | annotated source code as HTML via "make global" | | global | global | global | | ||
| | RPM packages via "make rpm" | 4.14 or later | rpm | rpm | (n/a) | | ||
| | unit tests | 1.1.0 or later | libcmocka-devel | libcmocka-devel | libcmocka-dev | | ||
| | Feature Enabled | Version | Fedora-based | Suse-based | Debian-based | | ||
| |:-----------------------------------------------:|:---------------:|:-----------------------:|:-----------------------:|:-----------------------:| | ||
| | encrypted remote CIB admin | | pam-devel | pam-devel | libpam0g-dev | | ||
| | interactive crm_mon | | ncurses-devel | ncurses-devel | ncurses-dev | | ||
| | systemd support | | systemd-devel | systemd-devel | libsystemd-dev | | ||
| | systemd resource support | 1.14.10 or later| dbus-devel | dbus-devel | libdbus-1-dev | | ||
| | Linux-HA style fencing agents | | cluster-glue-libs-devel | libglue-devel | cluster-glue-dev | | ||
| | documentation | | help2man | help2man | help2man | | ||
| | documentation | | docbook-style-xsl | docbook-xsl-stylesheets | docbook-xsl | | ||
| | documentation | | python3-sphinx | python3-sphinx | python3-sphinx | | ||
| | documentation (PDF) | | latexmk texlive texlive-capt-of texlive-collection-xetex texlive-fncychap texlive-framed texlive-multirow texlive-needspace texlive-tabulary texlive-titlesec texlive-threeparttable texlive-upquote texlive-wrapfig texlive-xetex | texlive texlive-latex | texlive texlive-latex-extra | | ||
| | annotated source code as HTML via "make global" | | global | global | global | | ||
| | RPM packages via "make rpm" | 4.19.1 or later | rpm | rpm | (n/a) | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't appear to enforce this one anywhere either
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, and I don't think we're really supposed to. I think it's generally considered better form in the spec file to conditionalize on the OS version or test that a macro is present before using it. |
||
| | unit tests | 1.1.0 or later | libcmocka-devel | libcmocka-devel | libcmocka-dev | | ||
|
|
||
| ## Optional Testing Dependencies | ||
| * procps and psmisc (if running CTS lab) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # | ||
| # Copyright 2008-2025 the Pacemaker project contributors | ||
| # Copyright 2008-2026 the Pacemaker project contributors | ||
| # | ||
| # The version control history for this file may have further details. | ||
| # | ||
|
|
@@ -266,8 +266,8 @@ BuildRequires: %{python_name}-devel | |
| BuildRequires: %{python_name}-setuptools | ||
|
|
||
| # Pacemaker requires a minimum libqb functionality | ||
| Requires: libqb >= 1.0.1 | ||
| BuildRequires: pkgconfig(libqb) >= 1.0.1 | ||
| Requires: libqb >= 2.0.8 | ||
| BuildRequires: pkgconfig(libqb) >= 2.0.8 | ||
|
|
||
| # Required basic build tools | ||
| BuildRequires: autoconf | ||
|
|
@@ -281,32 +281,32 @@ BuildRequires: libtool | |
| BuildRequires: %{?pkgname_libtool_devel} | ||
| %endif | ||
| BuildRequires: make | ||
| BuildRequires: pkgconfig >= 0.28 | ||
| BuildRequires: pkgconfig >= 2.1.0 | ||
| BuildRequires: sed | ||
|
|
||
| # Required for core functionality | ||
| BuildRequires: pkgconfig(glib-2.0) >= 2.42 | ||
| BuildRequires: pkgconfig(gnutls) >= 3.4.6 | ||
| BuildRequires: pkgconfig(libxml-2.0) >= 2.9.2 | ||
| BuildRequires: pkgconfig(glib-2.0) >= 2.80 | ||
| BuildRequires: pkgconfig(gnutls) >= 3.8.9 | ||
| BuildRequires: pkgconfig(libxml-2.0) >= 2.12.5 | ||
| BuildRequires: pkgconfig(systemd) | ||
| BuildRequires: libxslt-devel | ||
| BuildRequires: pkgconfig(uuid) | ||
| BuildRequires: %{pkgname_bzip2_devel} | ||
|
|
||
| # Enables optional functionality | ||
| BuildRequires: pkgconfig(dbus-1) >= 1.5.12 | ||
| BuildRequires: pkgconfig(dbus-1) >= 1.14.10 | ||
| BuildRequires: %{pkgname_docbook_xsl} | ||
| BuildRequires: help2man | ||
| BuildRequires: ncurses-devel | ||
| BuildRequires: pam-devel | ||
| BuildRequires: %{pkgname_gettext} >= 0.18 | ||
| BuildRequires: %{pkgname_gettext} >= 0.22 | ||
|
|
||
| # Required for "make check" | ||
| BuildRequires: libcmocka-devel >= 1.1.0 | ||
| BuildRequires: %{python_name}-psutil | ||
|
|
||
| Requires: corosync >= 2.0.0 | ||
| BuildRequires: corosync-devel >= 2.0.0 | ||
| Requires: corosync >= 3.1.9 | ||
| BuildRequires: corosync-devel >= 3.1.9 | ||
|
|
||
| %if %{with linuxha} | ||
| BuildRequires: %{pkgname_glue_libs}-devel | ||
|
|
@@ -426,14 +426,14 @@ Summary: Pacemaker development package | |
| Requires: %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release} | ||
| Requires: %{name}-cluster-libs%{?_isa} = %{version}-%{release} | ||
| Requires: %{pkgname_bzip2_devel}%{?_isa} | ||
| Requires: corosync-devel >= 2.0.0 | ||
| Requires: corosync-devel >= 3.1.9 | ||
| Requires: glib2-devel%{?_isa} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The version checking is inconsistent -- which is not a new issue. I don't know why we don't have version requirements here for some of the packages, like
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can add an additional patch that adds version requirements on things that don't currently have them but are mentioned in INSTALL.md or configure.ac. For everything else, I assume the exact version just does not matter to us. |
||
| Requires: libqb-devel%{?_isa} >= 1.0.1 | ||
| Requires: libqb-devel%{?_isa} >= 2.0.8 | ||
| %if %{defined pkgname_libtool_devel_arch} | ||
| Requires: %{?pkgname_libtool_devel_arch} | ||
| %endif | ||
| Requires: libuuid-devel%{?_isa} | ||
| Requires: libxml2-devel%{?_isa} >= 2.9.2 | ||
| Requires: libxml2-devel%{?_isa} >= 2.12.5 | ||
| Requires: libxslt-devel%{?_isa} | ||
|
|
||
| %description -n %{pkgname_pcmk_libs}-devel | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.