Patching glibc_2.3.2.ds1-22 (and nothing else)
I am attempting to generate a cross compiler for developing code on our
standard embedded Debian build.
To do this I'm using crosstool go generate a cross gcc which is compatible
with glibc, and the other dynamic libraries of or build.
Since this is a Debian build I need to build against the specific patched
glibc installed by the package:
libc6_2.3.2.ds1-22_i386.deb
However, I don't want to build it in it's entirety, rather just generate the
patched source and allow crosstool to finish the build, integrating it into
the cross compiler.
Following the maintainer's guide, I have downloaded the source version of this
package and put it together with:
dpkg-source -x glibc_2.3.2.ds1-22.dsc
To patch the source I wasn't able to find any specific documentation, but I
went ahead and tried:
chmod 755 debian/rules
make -f debian/rules patch
Which correctly extracts everything and then attempts to patch it but fails
saying:
touch /home/nathan/workspace-new/crosstool/glibc/glibc-2.3.2.ds1/stamp-dir/glibc-2.3.2.tar.bz2
touch /home/nathan/workspace-new/crosstool/glibc/glibc-2.3.2.ds1/stamp-dir/unpack
test -d /home/nathan/workspace-new/crosstool/glibc/glibc-2.3.2.ds1/stamp-dir/patched ||
install -d /home/nathan/workspace-new/crosstool/glibc/glibc-2.3.2.ds1/stamp-dir/patched
applying patch debian/patches/10_cvs.dpatch... failed.
make: ***
[/home/nathan/workspace-new/crosstool/glibc/glibc-2.3.2.ds1/stamp-dir/patch-stamp]
Error 1
Do I need to be setting a working directory variable somewhere? Is there an
easier way to do this?
thank you,
Nathan Z. Gustavson
Engineer
EMAC.Inc
www.emacinc.com
Reply to: