Package: mozilla-traybiff Severity: important Hi,
currently your package FTBFS on GNU/kFreeBSD with the following error: > rm -rf mozTrayBiff-1.2.2-tb1.5.0.9-`./get-platform`.xpi; \ > zip mozTrayBiff-1.2.2-tb1.5.0.9-`./get-platform`.xpi -r \ > components/libtraybiff.so \ > components/libtraybiff.xpt \ > chrome/tray-biff.jar \ > defaults/preferences/tray-biff.js \ > install.rdf > zip I/O error: No such file or directory Logs can be obtained at <http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=mozilla-traybiff>. Indeed, ./get-platform outputs a string containing 'GNU/kFreeBSD' which makes 'zip' try to create a file in an inexistant directory, thus the FTBFS. Please find attached a patch which adjusts that script by replacing each '/' by '_' to ensure that this doesn't happen any longer, and allows a successful build. I must confess that I don't know mozilla products' internals well, so I can't ensure that the package will be functional afterwards, I guess that some adjustments might be needed in icedove, which I'll be pleased to do if someone points me to the right location. Cheers, -- Cyril Brulebois
--- mozilla-traybiff-1.2.2~/get-platform 2007-03-06 04:54:07.567360000 +0100 +++ mozilla-traybiff-1.2.2/get-platform 2007-03-06 04:57:59.000000000 +0100 @@ -6,7 +6,10 @@ if test -z "$CC"; then CC=cc fi -PLATFORM=`uname -s`_ + +# Replace every '/' by '_' thanks to sed to ensure that +# filenames based on the output of this script are OK. +PLATFORM=`uname -s|sed -e 's/\//_/g'`_ MACHINE=`uname -p 2>/dev/null` if [ $? != 0 ]; then MACHINE=`uname -m`