[libc++1 dependency] (Version: 19.2.0)

Open
#164 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux

Research direction

Start by comparing the generated dependency metadata for stellar-core 19.1.0 and 19.2.0, then check the available libc++ packages on Debian 10. The issue is done when stellar-core 19.2.0 can be installed or upgraded on Debian 10 without unmet libc++ dependencies.

Written by the indexing model from the issue text.

Description

bug

Issue Description

We are going to upgrade stellar-core from v19.1.0 to v19.2.0. We found that the libc++ dependencies have been changed from libc++1-8 to libc++1-10:

root@stellar-1:~$ apt info stellar-core=19.1.0-943.e801fd93b.bionic
Package: stellar-core
Version: 19.1.0-943.e801fd93b.bionic
Priority: optional
Section: web
Maintainer: Package Maintainer <packages@stellar.org>
Installed-Size: 9209 kB
Depends: libsqlite3-0 (>= 3.11.0), stellar-core-utils, **libc++1-8**, **libc++abi1-8**, libc6 (>= 2.25), libgcc1 (>= 1:3.0), libpq5
root@stellar-1:~$ apt info stellar-core=19.2.0-966.d18d54aa3.bionic
Package: stellar-core
Version: 19.2.0-966.d18d54aa3.bionic
Priority: optional
Section: web
Maintainer: Package Maintainer <packages@stellar.org>
Installed-Size: 9020 kB
Depends: libsqlite3-0 (>= 3.11.0), stellar-core-utils, **libc++1-10**, **libc++abi1-10**, libc6 (>= 2.25), libgcc1 (>= 1:3.0), libpq5

However, there is no libc++1-10 available on debian (but libc++1-11 as shown below).

root@stellar-1:~$ cat /etc/debian_version 
10.12
root@stellar-1:~$ uname -a
Linux stellar-1 4.19.0-20-cloud-amd64 stellar/stellar-core#1 SMP Debian 4.19.235-1 (2022-03-17) x86_64 GNU/Linux
root@stellar-1:~$ apt list libc++1\* -a
Listing... Done
libc++1-11/oldstable 1:11.0.1-2~deb10u1 amd64
libc++1-11/buster-backports,buster-backports 1:11.0.1-2~bpo10+1 amd64

libc++1-7/oldstable 1:7.0.1-8+deb10u2 amd64

libc++1-8/buster-backports,buster-backports,now 1:8.0.1-3~bpo10+1 amd64 [installed,automatic]

libc++1/oldstable 1:7.0-47 amd64

Steps to Reproduce

root@stellar-1:~$ apt install stellar-core
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 stellar-core : Depends: libc++1-10 but it is not installable
                Depends: libc++abi1-10 but it is not installable

Expected Result

It is expected that stellar-core can be installed on debian 10 with dependencies on available libc++ packages on the linux distribution

Actual Result

stellar-core 19.2.0 cannot be installed/upgraded

Your Environment and Setup

stellar-core Version

stellar-core 19.2.0 (upgrade from 19.1.0)

Environment
  • OS and version: Linux stellar-1 4.19.0-20-cloud-amd64 stellar/stellar-core#1 SMP Debian 4.19.235-1 (2022-03-17) x86_64 GNU/Linux
  • Installed via apt
Dominant language
Shell
Stars
49
Forks
48
Avg merge
22h 51m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stellar/packages

All issues in stellar/packages

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.