[Debian-med-packaging] Bug#854341: libchado-perl: FTBFS: The following enviroment variables not detected: CHADO_DB_USERNAME

Andreas Tille tille at debian.org
Mon Feb 6 14:40:09 UTC 2017


Hi Chris,

On Mon, Feb 06, 2017 at 10:31:18PM +1300, Chris Lamb wrote:
> > I tried to build the package in an unstable chroot but can not
> > reproduce the issue described below.
> 
> How up-to-date? :) My chroot is completely and I can still reproduce.

You catched me - after recreating my chroot I also get a FTBFS - however
different from yours.  While the step you reported looks pretty normal:

...
make[1]: Entering directory '/build/libchado-perl-1.31'
perl Makefile.PL INSTALL_BASE=/usr  DBNAME=gmod-chado DBUSER=chado DBPASS=chado DBHOST=localhost DBPORT=5432 GMOD_ROOT=/build/libchado-perl-1.31/debian/libchado-perl/usr/share/gmod/chado DBDRIVER=PostgreSQL RECONFIGURE=1 SIMPLE=Y LOCAL_TMP=/build/libchado-perl-1.31/debian/libchado-perl/tmp

Building with the following database options:
  GMOD_ROOT=/build/libchado-perl-1.31/debian/libchado-perl/usr/share/gmod/chado
  DBDRIVER=PostgreSQL
  DBNAME=gmod-chado
  DBUSER=chado
  DBPASS=chado
  DBHOST=localhost
  DBPORT=5432
  SCHEMA=
  LOCAL_TMP=/build/libchado-perl-1.31/debian/libchado-perl/tmp
  DBORGANISM=
  DEFAULT=
  VERSION=1.31

Extracting /build/libchado-perl-1.31/bin/../lib/Bio/Chado/AutoDBI.pm (with variable substitutions)
initializing load scripts...
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Chado' version '1.31'
Building Chado
Checking if your kit is complete...
Looks good
Warning: prerequisite Bio::Chado::Schema 0 not found.
Generating a Unix-style Makefile
Writing Makefile for chado
Writing MYMETA.yml and MYMETA.json
...


I'm running later into

...
   dh_auto_install -O--buildsystem=perl_makemaker
        make -j4 install DESTDIR=/build/libchado-perl-1.31/debian/tmp AM_UPDATE_INFO_DIR=no PREFIX=/usr
make[1]: Entering directory '/build/libchado-perl-1.31'
"/usr/bin/perl" "/build/libchado-perl-1.31/install_util/conf_install.pl" 'GMOD_ROOT=/build/libchado-perl-1.31/debian/libchado-perl/usr/share/gmod/chado' 'VERSION=1.31'
"/usr/bin/perl" "/build/libchado-perl-1.31/install_util/src_install.pl" 'GMOD_ROOT=/build/libchado-perl-1.31/debian/libchado-perl/usr/share/gmod/chado'
couldn't open /build/libchado-perl-1.31/debian/libchado-perl/usr/share/gmod/chado/conf directory for reading:No such file or directory
Makefile:1222: recipe for target 'src_install' failed


which is pretty strange since

# ls -l /build/libchado-perl-1.31/debian/libchado-perl/usr/share/gmod/chado/conf
total 8
-rw-r--r-- 1 pbuilder pbuilder 221 Feb  6 11:06 gmod-chado.conf
-rw-r--r-- 1 pbuilder pbuilder 167 Feb  6 11:06 gmod.conf



> Glancing quickly at Makefile.PL and debian/rules it looks like the
> variable names have changed (eg. was DBUSER, etc.).

The variable names have not changed in any recent upload and as you can
see DBUSER etc are used.

Does anybody else have some idea?

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list