Package: guile-2.2-dev
Version: 2.2.4+1-1
Severity: normal

The `guile-2.2` package installs the `guile-2.2` binary. This in turn
will cause the `GUILE_PROGS` autoconf macro (as shipped in
`guile-2.2-dev`) to look for `guild-2.2`, not considering the
installed `guild` binary, thus causing `configure` scripts that use
`GUILE_PROGS` to fail like this:

    configure: checking for guile 2.2
    configure: found guile 2.2
    checking for guile-2.2... /usr/bin/guile-2.2
    checking for Guile version >= 2.2... 2.2.4
    checking for guild-2.2... no
    checking for guile-config-2.2... no
    checking for guile-tools-2.2... no
    configure: error: 'guild' binary not found; please check your guile-2.x 
installation.

The above output was from an attempt at compiling `guix` [0]. It seems
that if a versioned `guile` binary (such as `guile-2.2`) is present,
so should versioned variants of `guild`, `guile-config`, and
`guile-tools`. The documentation of the `GUILE_PROGS` macro supports
this:

     This macro looks for programs ‘guile’ and ‘guild’, setting
     variables GUILE and GUILD to their paths, respectively.  The macro
     will attempt to find ‘guile’ with the suffix of ‘-X.Y’, followed by
     looking for it with the suffix ‘X.Y’, and then fall back to looking
     for ‘guile’ with no suffix.  If ‘guile’ is still not found, signal
     an error.  The suffix, if any, that was required to find ‘guile’
     will be used for ‘guild’ as well.

Installing the versioned variants might even be a step on the way to
allow co-installability of `guile-2.2-dev` and future versions of the
Guile development binary package.

[0] https://www.gnu.org/software/guix/manual/en/guix.html#Introduction

Kind Regards, Rotty

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (850, 'testing'), (800, 'unstable'), (500, 'testing-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.0.0-trunk-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages guile-2.2-dev depends on:
ii  guile-2.2                           2.2.4+1-1
ii  guile-2.2-libs                      2.2.4+1-1
ii  libc6-dev                           2.28-8
ii  libgc-dev                           1:7.6.4-0.4
ii  libgmp-dev                          2:6.1.2+dfsg-4
ii  libltdl-dev                         2.4.6-9
ii  libncurses-dev [libncurses5-dev]    6.1+20181013-2
ii  libncurses5-dev                     6.1+20181013-2
ii  libreadline-dev [libreadline6-dev]  7.0-5
ii  pkg-config                          0.29-6

guile-2.2-dev recommends no packages.

guile-2.2-dev suggests no packages.

-- no debconf information

Reply via email to