forcemerge 926182 926676
severity 926182 serious
thanks

Dear all

this inconvenience as reported breaks building of packages - or in some
cases, disappearing parts (like suddenly guile support disappears from
maildir-utils) without actual breakage, which is worse in my opinion.

The proper fix is to install various other tools also with the -2.2
suffix.

To explain the reason: The guile autoconf macros search guile in the
following order
        guile-2.2
        guile2.2
        guile
and after having found it, *use*the*same*suffix* for guild etc.

Quoting from
https://www.gnu.org/software/guile/manual/html_node/Autoconf-Macros.html
Autoconf Macro: GUILE_PROGS [VERSION]

    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.

    .....

Here is an excerpt from maildir-utils configure.ac:
AC_ARG_ENABLE([guile], AS_HELP_STRING([--disable-guile],[Disable guile]))
AS_IF([test "x$enable_guile" != "xno"],[
  PKG_CHECK_MODULES(guile_22, guile-2.2, [have_guile22=yes],[have_guile22=no])
  # this is a bit hacky; GUILE_PKG
  AS_IF([test "x$have_guile22" = "xyes"],[
    GUILE_PKG([2.2])
    GUILE_PROGS
    GUILE_FLAGS
    AC_DEFINE_UNQUOTED([GUILE_BINARY],"$GUILE",[guile binary])
    AC_DEFINE(BUILD_GUILE,[1], [Do we support Guile?])
  ])
])

Resulting in a configure run:
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
checking for guile-snarf-2.2... no
checking for GUILE... yes
...

And since snarf is not found all guile building is disabled.

It would be nice to see this fixed rather soon. Thanks

Thanks

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

Reply via email to