[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#929501: lintian: missing-dep-for-interpreter guile: very outdated guile versions



Package: lintian
Version: 2.14.0
Severity: normal
Tags: patch

While packaging a new guile package, I got an error about missing
dependencies that have been removed since before stretch!

  E: guile-ssh: missing-dep-for-interpreter guile => guile | guile-1.6 |
  guile-1.8 (usr/bin/ssshd.scm) #!/usr/bin/guile

guile-1.6 was last present in wheezy.
guile-1.8 was last present in jessie.
guile-2.0 is available jessie-buster.
guile-2.2 is available in buster.

An untested patch attached which updates to guile-2.0 and guile-2.2.


Though guile-2.0 should probably be discouraged for new packages, as
there are bug reports requesting to migrate to 2.0 on a handful of
packages, for example:

  https://bugs.debian.org/885188


Maybe that should be a lintian check as well?


live well,
  vagrant

From 9e4e6219b29fc1f246e5c1216fa9476f612fafb1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Fri, 24 May 2019 15:39:31 -0700
Subject: [PATCH] versioned-interpreters: Add guile 2.0 and 2.2, remove 1.6 and
 1.8.

Guile version 1.6 was dropped in jessie, and 1.8 was dropped in
stretch.
---
 data/scripts/versioned-interpreters | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/scripts/versioned-interpreters b/data/scripts/versioned-interpreters
index 7e140590d..afd4274c8 100644
--- a/data/scripts/versioned-interpreters
+++ b/data/scripts/versioned-interpreters
@@ -69,7 +69,7 @@
 #
 
 
-guile   => /usr/bin, guile-([\d.]+), guile-$1, 1.6 1.8,
+guile   => /usr/bin, guile-([\d.]+), guile-$1, 2.0 2.2,
 jruby   => /usr/bin, jruby([\d.]+), jruby$1, 1.0 1.1 1.2
 lua     => /usr/bin, lua([\d.]+), lua$1, 40 50 5.1 5.2
 octave  => /usr/bin, octave([\d.]+), octave$1, 3.0 3.2
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature


Reply to: