You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2022/07/22 17:57:00 UTC

[jira] [Commented] (CASSANDRA-17765) RPM Installation on centos 7 is broken by CASSANDRA-17669

    [ https://issues.apache.org/jira/browse/CASSANDRA-17765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570148#comment-17570148 ] 

Brandon Williams commented on CASSANDRA-17765:
----------------------------------------------

The critical feature we can delineate distros with is [boolean dependencies|https://rpm-software-management.github.io/rpm/manual/boolean_dependencies.html], added first in rpm 4.13 (centos7 sadly has 4.11-3.)   Those that have boolean deps are solved by CASSANDRA-17669 and can use either java 8 or java 11 to satisfy its requirements.  For distros that lack this, I think we have to publish another repo with the pre-17669 spec that depends on java 8, essentially putting them back in the world they were in before.  They'll need to either float a java 8 and java 11 installation to use 11, or issue --nodeps to bypass the java 8 requirement.  Making both java 8 and java 11 binary packages is odd: typically a package only has one set of dependencies, and we would have two with same name and different dependencies, or we'd have to introduce a different package name, and either option seems fairly undesirable.

> RPM Installation on centos 7 is broken by CASSANDRA-17669
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-17765
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17765
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Jeremiah Jordan
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 4.0.x, 4.1-rc, 4.x
>
>
> With CASSANDRA-17669 adding use of "or" in the dependencies for the RPM so it can depend on java 8 or java 11 it broke installation on CentOS Linux 7.  This is bad because CentOS Linux 7 is the "current" release of CentOS Linux, version 8 was EOL'ed in favor of the new pre-release distribution model being used for CentOS Stream 8.
> I don't know what the best answer is here, maybe making a CentOS 7 specific package that reverts back to just java 8 in the requirements?  But I think should needs to be done.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org