[Debian-med-packaging] Need help with upgrading R package which verifies that the dir it builds in matches its name (r-bioc-tracklayer)

Charles Plessy plessy at debian.org
Wed May 11 13:48:28 UTC 2016


Le Mon, May 09, 2016 at 05:01:52PM +0200, Andreas Tille a écrit :
> 
> * installing *source* package 'rtracklayer' ...
> configure: error: cannot find sources (rtracklayer) in . or ..
> ERROR: configuration failed for package 'rtracklayer'

> The issue is that the configure scripts seeks a dir rtracklayer either
> in . or .. but pbuilder renames the build directory to
> r-bioc-rtracklayer-1.32.0.  The package builds fine with debuild.

Hi Andreas, Dirk and everybody,

the source of the problem here is the command AC_INIT("rtracklayer")
in configure.ac.

According to the autoconf manual, it is an obsolete use of the AC_INIT
macro to pass it a single agument:

https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html

    — 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.

As a temporary workaround, the simplest for us would be to run "touch
rtracklayer" somewhere in debian/rules.

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan



More information about the Debian-med-packaging mailing list