Package: php-db
Version: 1.7.6-2
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch hardy

Hello,

your package fails to build in Ubuntu hardy because of a bashism in
debian/rules (/bin/sh is dash in Ubuntu):

,----[ from the Ubuntu build log ]-
| # Custom package actions
| cp DB.php debian/php-db/usr/share/php/
| cp DB/* debian/php-db/usr/share/php/DB/
| cp -r tests/* debian/php-db/usr/share/php/tests/
| chmod 755 debian/php-db/usr/share/php/tests/{driver/,}run.cvs
| chmod: cannot access `debian/php-db/usr/share/php/tests/{driver/,}run.cvs': 
No such file or directory
| make: *** [binary-indep] Error 1
| ******************************************************************************
| Build finished at 20071104-1909
| FAILED [dpkg-buildpackage died]
`----

Attached is the patch I used to fix it.

Regards,
Michael

diff -u php-db-1.7.6/debian/rules php-db-1.7.6/debian/rules
--- php-db-1.7.6/debian/rules
+++ php-db-1.7.6/debian/rules
@@ -24,7 +24,7 @@
        cp DB.php debian/$(source)/usr/share/php/
        cp DB/* debian/$(source)/usr/share/php/DB/
        cp -r tests/* debian/$(source)/usr/share/php/tests/
-       chmod 755 debian/$(source)/usr/share/php/tests/{driver/,}run.cvs
+       chmod 755 debian/$(source)/usr/share/php/tests/run.cvs 
debian/$(source)/usr/share/php/tests/driver/run.cvs
 
        # Rest of the debhelper scripts
        dh_testroot



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to