[Debian-med-packaging] Bug#956814: sprai FTBFS:
    Adrian Bunk 
    bunk at debian.org
       
    Wed Apr 15 15:02:24 BST 2020
    
    
  
Source: sprai
Version: 0.9.9.23+dfsg-3
Severity: serious
Tags: ftbfs patch
https://buildd.debian.org/status/package.php?p=sprai&suite=sid
...
make[1]: Entering directory '/<<PKGBUILDDIR>>'
chmod 766 bfmt72s nss2v_v3 myrealigner m52bfmt7 ca_ikki_v5.pl ezez4makefile_v4.pl ezez4qsub_vx1.pl ezez_vx1.pl dumbbell_filter.pl fa2fq.pl fq2fa.pl fq2idfq.pl fqfilt.pl get_top_20x_fa.pl partition_fa.pl get_target_fasta_records.pl dfq2fq_v2.pl extract_fq.pl bfmtx2m4.pl check_redundancy.pl check_circularity.pl
mkdir -vp /debian/sprai/usr/bin/
mkdir: cannot create directory ‘/debian’: Permission denied
make[1]: *** [makefile:55: install] Error 1
Fix attached.
-------------- next part --------------
Description: Use CURDIR instead of PWD
 PWD might or might not be defined in the environment,
 CURDIR is defined by make.
Author: Adrian Bunk <bunk at debian.org>
--- sprai-0.9.9.23+dfsg.orig/makefile
+++ sprai-0.9.9.23+dfsg/makefile
@@ -1,7 +1,7 @@
 APPNAME = 'sprai'
 VERSION = '0.9.9.23'
 
-PREFIX=$(PWD)/debian/sprai/usr
+PREFIX=$(CURDIR)/debian/sprai/usr
 COMPILED= \
 bfmt72s \
 nss2v_v3 \
    
    
More information about the Debian-med-packaging
mailing list