#31526 closed enhancement (fixed)

Drop support for optional packages with system gcc 4.x on ubuntu-trusty, debian-jessie, linuxmint-17, centos-7

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.4
Component: porting Keywords:
Cc: gh-kliem, dimpase Merged in:
Authors: Matthias Koeppe Reviewers: Dima Pasechnik
Report Upstream: N/A Work issues:
Branch: 17ca365 (Commits, GitHub, GitLab) Commit: 17ca3657b584162668d305546a6eb797a68c35d8
Dependencies: #29527 Stopgaps:

Status badges

Description (last modified by mkoeppe)

ubuntu-trusty 14.04 is long past "standard support" and will reach its EOL in April 2022 (https://wiki.ubuntu.com/Releases), but several optional packages do not build on it because of an outdated compiler (gcc 4.x)

debian-jessie (8) is past EOL LTS, with EOL ELTS in June 2022 (https://wiki.debian.org/DebianReleases). Same situation with gcc 4.x.

linuxmint-17 is past EOL (https://forums.linuxmint.com/viewtopic.php?t=289281). gcc 4.x

centos-7 has EOL June 2024. gcc 4.x

We switch these systems in the GH Actions CI tests for optional packages to using the gcc_spkg configuration factor.

Next wave:

  • linuxmint-18 with gcc 5.4
  • slackware-14.2 with gcc 5.5

Change History (14)

comment:1 Changed 17 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

comment:2 Changed 15 months ago by mkoeppe

  • Dependencies set to #29527

comment:3 Changed 15 months ago by mkoeppe

  • Branch set to u/mkoeppe/drop_support_for_optional_packages_on_ubuntu_trusty__debian_jessie__linuxmint_17__centos_7

comment:4 Changed 15 months ago by mkoeppe

  • Authors set to Matthias Koeppe
  • Cc gh-kliem dimpase added
  • Commit set to 85a4449ff6fa2f8571a72e33b1d0f0742b17af5a
  • Status changed from new to needs_review

New commits:

a1be70btox.ini: Add opensuse-15.3
9708864.github/workflows/tox*.yml: Add opensuse
ccb0d71Merge #29527
85a4449.github/workflows/tox-{optional,experimental}.yml: Remove test of distributions with gcc 4.x

comment:5 Changed 15 months ago by gh-kliem

It's a bit bad for the centos-7 that still is far from EOL.

What's the recommended way around for users on this? -without-system-gcc? Can we test this?

comment:6 Changed 15 months ago by gh-kliem

Then again from what I see the tox-gcc_spkg.yml run is far from stable, so perhaps we do not gain anything by adding it.

comment:7 Changed 15 months ago by mkoeppe

Yes, trying to fix up some gcc_spkg builds (on top of #29703), and then testing optional packages with that could be a possible strategy.

Perhaps we should also add a configure warning if we encounter ancient system gccs, advising users to upgrade their system or at least their toolchain (related: #27853)

comment:8 Changed 15 months ago by mkoeppe

  • Status changed from needs_review to needs_work

comment:9 Changed 15 months ago by mkoeppe

  • Description modified (diff)
  • Summary changed from Drop support for optional packages on ubuntu-trusty, debian-jessie, linuxmint-17, centos-7 to Drop support for optional packages with system gcc 4.x on ubuntu-trusty, debian-jessie, linuxmint-17, centos-7

comment:10 Changed 15 months ago by git

  • Commit changed from 85a4449ff6fa2f8571a72e33b1d0f0742b17af5a to 17ca3657b584162668d305546a6eb797a68c35d8

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

17ca365.github/workflows/tox-{optional,experimental}.yml: Switch distributions with gcc 4.x to using gcc_spkg

comment:11 Changed 15 months ago by mkoeppe

  • Status changed from needs_work to needs_review

comment:12 Changed 15 months ago by dimpase

  • Status changed from needs_review to positive_review

lgtm

comment:13 Changed 15 months ago by mkoeppe

  • Reviewers set to Dima Pasechnik

Thanks!

comment:14 Changed 15 months ago by vbraun

  • Branch changed from u/mkoeppe/drop_support_for_optional_packages_on_ubuntu_trusty__debian_jessie__linuxmint_17__centos_7 to 17ca3657b584162668d305546a6eb797a68c35d8
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.