sagemath/sage

tox.ini: Add slackware environments

mkoeppe opened this issue · 30 comments

This is to debug https://groups.google.com/d/msg/sage-devel/WshDn3e_l3k/-smgNej4AwAJ

https://hub.docker.com/r/vbatts/slackware/tags

This enables the following tests:

   tox -e docker-slackware-14.2-minimal
   tox -e docker-slackware-14.2-standard

Random slackware links:

CC: @jhpalmieri @dimpase @videlec

Component: porting

Author: Matthias Koeppe

Branch: c1931f5

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/29354

Description changed:

--- 
+++ 
@@ -2,3 +2,10 @@
 
 https://hub.docker.com/r/vbatts/slackware/tags
 
+This enables the following tests:
+
+```
+   tox -e docker-slackware-14.2-minimal
+   tox -e docker-slackware-14.2-standard
+```
+

New commits:

883cd1etox.ini [docker-slackware-14.2]: New

Commit: 883cd1e

Branch pushed to git repo; I updated commit sha1. New commits:

3896794Merge tag '9.1.beta8' into t/29354/tox_ini__add_slackware_environments
bda9ebdAdd slackware package info

Changed commit from 883cd1e to bda9ebd

Branch pushed to git repo; I updated commit sha1. New commits:

fbb7393Fixup packages

Changed commit from bda9ebd to fbb7393

Author: Matthias Koeppe

Branch pushed to git repo; I updated commit sha1. New commits:

cfcd8f2build/bin/sage-guess-package-system, build/bin/sage-print-system-package-command: Handle slackware too

Changed commit from fbb7393 to cfcd8f2

Changed commit from cfcd8f2 to 136feeb

Branch pushed to git repo; I updated commit sha1. New commits:

136feebbuild/bin/sage-spkg: Show equivalent system packages for ALL distros
comment:10

As noted in #29373 (Upgrade freetype) Need to add some certificates package so that https downloads of an upstream_url work:

  [freetype-2.10.1]   Attempting to download from https://download.savannah.gnu.org/releases/freetype/freetype-2.10.1.tar.gz
  [freetype-2.10.1]   [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
  [freetype-2.10.1]   ERROR [transfer|run:135]: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)
  [freetype-2.10.1]   ************************************************************************
  [freetype-2.10.1]   Traceback (most recent call last):
comment:11

zlib not found in slackware-14.2-standard (https://github.com/mkoeppe/sage/runs/524868652)

comment:12

they by default install zlib which is too old (1.2.8).
they have 1.2.11 in patches/, so, interactively, one would use slackpkg to update.
But automatically?

Branch pushed to git repo; I updated commit sha1. New commits:

1cb8f98build/pkgs/curl/distros/slackware.txt: Add openldap-client

Changed commit from 136feeb to 1cb8f98

Branch pushed to git repo; I updated commit sha1. New commits:

eee2877build/pkgs/slackware.txt: Add ca-certificates
c1931f5build/pkgs/curl/distros/slackware.txt: Add libssh2

Changed commit from 1cb8f98 to c1931f5

comment:15

Mostly works now.

slackware-14.2-minimal: Error building git
https://github.com/mkoeppe/sage/runs/527424423

slackware-14.2-standard-python2: https://github.com/mkoeppe/sage/runs/527424444

sage -t src/sage/matrix/matrix2.pyx  # Bad exit: 1
comment:16

Replying to @dimpase:

they by default install zlib which is too old (1.2.8).
they have 1.2.11 in patches/, so, interactively, one would use slackpkg to update.
But automatically?

The workflow is getting zlib 1.2.11, and now it says configure: will use system package and not install SPKG zlib.

Description changed:

--- 
+++ 
@@ -9,3 +9,8 @@
    tox -e docker-slackware-14.2-standard
 ```
 
+
+---
+Random slackware links:
+- https://software.jaos.org/#slapt-get
+
comment:18

Ready for review

comment:19

ok

Reviewer: Dima Pasechnik

comment:20

Thanks!

comment:22

Follow-up: #29424

Changed commit from c1931f5 to none