Obsolete use of AC_INIT macro
1
0
Entering edit mode
@charles-plessy-7857
Last seen 6 months ago
Japan

Hello,

when building a official Debian package for rtrackalyer, our build farm works in a directory named after the Debian package, r-bioc-rtracklayer. This fails because rtracklayer's configure file contains a command that check for the presence of a directory or a file called rtracklayer in the current or parent directory. This command is present because in configure.ac, the macro AC_INIT is used with a single parameter, "rtracklayer". Here is an extract from the autoconf manual, documenting that this use is obsolete.

    — Macro: AC_INIT (unique-file-in-source-dir)

        Formerly AC_INIT used to have a single argument, and was equivalent to:

                  AC_INIT
                  AC_CONFIG_SRCDIR(unique-file-in-source-dir)

        See AC_INIT and AC_CONFIG_SRCDIR.

Indeed, replacing AC_INIT("rtracklayer") with just AC_INIT or AC_INIT(rtracklayer, 1.32.0) and running autoreconf -f removes the line ac_unique_file=""rtracklayer"" in the configure script.

If this behaviour is not necessary on Bioconductor's side, would it be possible to adjust the configure file in the next release ? While it is trivial for us to create a dummy rtracklayer file in the build directory, we prefer when our packaged R modules are running pure boilerplate build scripts.

Cheers,

-- Charles Plessy, Debian Med packaging team.

rtracklayer • 1.1k views
ADD COMMENT
2
Entering edit mode
@michael-lawrence-3846
Last seen 2.4 years ago
United States

Thanks for pointing that out. Can't even remember writing that code. Should be fixed in 1.33.2.

ADD COMMENT

Login before adding your answer.

Traffic: 489 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6