Package: dbs
Version: 0.42
Severity: wishlist
Tags: patch

I currently prepare a patch for the avr-gcc FTBFS #421142. The build
fails, because the source-dir contains a link to a archive located in 
outside of the source-tree, but install with a different package 
(gcc-4.1-source). 

However, if dbs would follow the supplied link, it would work.

The attached patch fixes that. 

Thanks,

Tobi



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dbs depends on:
ii  bzip2                         1.0.3-6    high-quality block-sorting file co
ii  make                          3.81-3     The GNU version of the "make" util
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

dbs recommends no packages.

-- no debconf information
--- /usr/share/dbs/internal/lib 2006-04-23 22:17:28.000000000 +0200
+++ lib 2007-05-02 22:53:31.000000000 +0200
@@ -243,7 +243,7 @@
        cmd="source_unpack"
        mkdir -p $STAMP_DIR/upstream/tarballs/ 
$STAMP_DIR/log/upstream/tarballs/ $SOURCE_DIR
        if [ ! -z "$SRC_TAR_DIR" -a -d "$SRC_TAR_DIR" ];then
-               files=$(find $SRC_TAR_DIR -maxdepth 1 -type f -and ! -path 
'*/.*' -and ! -path '*/CVS/*' | LC_COLLATE=C sort)
+               files=$(find -L $SRC_TAR_DIR -maxdepth 1 -type f -and ! -path 
'*/.*' -and ! -path '*/CVS/*' | LC_COLLATE=C sort)
        else
                VER=$(dpkg-parsechangelog 2>&1|egrep ^Version|cut -d " " -f 
2|cut -d "-" -f 1)
                SRC=$(dpkg-parsechangelog 2>&1|egrep ^Source|cut -d " " -f 2-)

Reply via email to