[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#317498: myspell_1:3.0+pre3.1-12 (sparc/unstable): FTBFS: sparc-linux-g++: Command not found



Package: myspell
Version: 1:3.0+pre3.1-12
Severity: serious
Justification: no longer builds from source

myspell fails to build in unstable, because it makes assumptions about the
toolchain that are no longer true:

[...]
/usr/bin/make CXXFLAGS="-g -Wall -ansi -pedantic -O2" CFLAGS="-g -Wall -ansi -pedantic -O2" CXX="sparc-linux-g++" CC="sparc-linux-gcc"
make[1]: Entering directory /build/buildd/myspell-3.0+pre3.1'
sparc-linux-g++ -fPIC -g -Wall -ansi -pedantic -O2 -c example.cxx
make[1]: sparc-linux-g++: Command not found
make[1]: *** [example.o] Error 127
make[1]: Leaving directory /build/buildd/myspell-3.0+pre3.1'
make: *** [build-stamp] Error 2
[...]

A full blog is available at
<http://buildd.debian.org/fetch.php?pkg=myspell&arch=sparc&ver=1:3.0+pre3.1-12&stamp=1120753059&file=log>.

The problem is this section of debian/rules:

ifneq (,$(findstring sparc,$(DEB_HOST_GNU_TYPE)))        
        CXX=sparc-linux-g++
        CC=sparc-linux-gcc
else     
        CXX=g++
        CC=gcc
endif

I'm not sure why you're special-casing sparc here, but if this is needed it
should be sparc-linux-gnu-g++ and sparc-linux-gnu-gcc instead.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



Reply to: