building thundrbird
I was just trying to create a debian package of thunderbird in hardy.I dloaded the relevant three files from the directory,
wiki@wiki-
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-
dpkg-buildpackage: source package thunderbird
dpkg-buildpackage: source version 2.0.0.16+
dpkg-buildpackage: source changed by Alexander Sack <email address hidden>
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
cd: 1: can't cd to build-tree/mozilla
test -x debian/rules
test "`id -u`" = 0
rm -rf build-tree
rm
rm: missing operand
Try `rm --help' for more information.
make: [cleanbuilddir] Error 1 (ignored)
rm debian/
make: [cleanbuilddir] Error 1 (ignored)
for i in ./nsprpub/
if test -e $i.cdbs-orig ; then \
mv $i.cdbs-orig $i ; \
fi ; \
done
dh_clean
/usr/bin/make -f debian/rules reverse-config
cd: 1: can't cd to build-tree/mozilla
make[1]: Entering directory `/home/
for i in ./nsprpub/
if test -e $i.cdbs-orig ; then \
mv $i.cdbs-orig $i ; \
fi ; \
done
make[1]: Leaving directory `/home/
if [ -d "build-
cd build-tree/mozilla && QUILT_PATCHES=
fi
if [ -n "patches" ] ; then \
if [ -L build-tree/
rm build-tree/
fi ; \
fi
rm -rf build-tree/
rm -f debian/stamp-patch*
/usr/bin/make -C build-tree/mozilla -k distclean
make: *** build-tree/mozilla: No such file or directory. Stop.
make: [makefile-clean] Error 2 (ignored)
rm -f debian/
rm -f debian/
set -e; for i in ; do \
rm -f debian/$i; \
done
set -e; rm -f /home/wiki/
dpkg-source -b mozilla
dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-
dpkg-source: warning: source directory './mozilla' is not <sourcepackage>
dpkg-source: building thunderbird in thunderbird_
dpkg-source: building thunderbird in thunderbird_
debian/rules build
cd: 1: can't cd to build-tree/mozilla
test -x debian/rules
mkdir -p "build-
set -e; for i in ; do \
uudecode -o debian/$i debian/$i.uu; \
done
set -e; /usr/bin/
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/home/
for i in ./nsprpub/
if test -e $i.cdbs-orig ; then \
mv $i.cdbs-orig $i ; \
fi ; \
done
make[1]: Leaving directory `/home/
if [ -n "patches" ] ; then \
if [ -L build-tree/
(cd build-tree/mozilla; ln -s /home/wiki/
fi ; \
fi
cd build-tree/mozilla && QUILT_PATCHES=
Applying patch main-fsh
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
-------
|---
| config/
| 1 file changed, 3 insertions(+), 3 deletions(-)
|
|Index: mozilla/
|======
|--- mozilla.
|+++ mozilla/
-------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch main-fsh does not apply (enforce with -f)
make: *** [debian/
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
I guess since there are loads of patches ,the process gets complicated.I have all the dependencies installed since I can build thunderbird from the source .Do I need to have a specific directory structure when I am doing this as this one line points it : "|--- mozilla.
Regards,
AGD
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Fabien Tassin
- Solved:
- Last query:
- Last reply: