Hi, thanx for the patch. A better solution however would be to build-depend on gcc-4.1-source in order not to duplicate the gcc sourcecode.
On 3/13/07, Frank Küster <[EMAIL PROTECTED]> wrote:
Matthias Klose <[EMAIL PROTECTED]> wrote: > Package: gcc-avr > Version: 1:4.1.0-1 > Severity: serious > > see debian/rules.unpack in the gcc-4.1 source for a list, plus the > INSTALL directory needs to be removed. I've tried to provide a patch that fixes this. I took the list of files from the gcc-4.1 package and wrote new Makefile snippet to "clean" the included tarballs. The patch is attached. However, after cleaning it this way, the build fails very early: dh_testdir mkdir objdir # Add here commands to configure the package. cd objdir && env CC=3D"gcc" ../build-tree/gcc-*/configure -v --enable-langu= ages=3Dc,c++ --prefix=3D/usr --infodir=3D/usr/share/i nfo --mandir=3D/usr/share/man --enable-shared --with-system-zlib --enable-l= ong-long --enable-nls --without-included-gettex t --disable-checking --disable-libssp --build=3Di486-linux-gnu --host=3Di48= 6-linux-gnu --target=3Davr=20=20 creating cache ./config.cache checking host system type... i486-pc-linux-gnu checking target system type... avr-unknown-none checking build system type... i486-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for gnatbind... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=3D16 $= $f1 $$f2 checking for correct version of gmp.h... no configure: error:=20 The following requested languages could not be built: c++ Recognised languages are: c,obj-c++,treelang It seems that some of the doc files are needed at build time (Which looks like a, err, GPL violation by the FSF, but probably the cause is something else). Regards, Frank -- Dr. Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)
-- Håkan Ardö