apache / apache/arrow

[Packaging] Amazon Linux 2 RPMs - openssl-devel cannot coexist with openssl11-devel and breaks installing arrow-devel

Open
#33,733 5 comments 0 reactions 0 assignees View on GitHub
Component: Packaging Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

The `arrow-devel` package depends on `openssl-devel` on RPM-based distros. On Amazon Linux 2, `openssl-devel` and `openssl11-devel` cannot coexist, thus you cannot install `arrow-devel` on a system that has `openssl11-devel` installed.

Arrow seems to support OpenSSL 1.0 and 1.1, but is built with OpenSSL 1.0 on Amazon Linux 2, and would depend on the OpenSSL 1.0 headers installed by `openssl-devel` (so you couldn't simply make the requirement be either one). Perhaps there needs to be an `arrow-openssl11-devel` on Amazon Linux 2?

### Component(s)

Packaging

Contributor guide

Open the contributing guide

Research direction

Start by locating the Amazon Linux 2 RPM packaging definitions and dependency declarations for arrow-devel; inspect how OpenSSL 1.0 is selected. Reproduce the conflict with openssl11-devel, then validate a packaging change that lets arrow-devel install on Amazon Linux 2 without incompatible OpenSSL packages.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.