Source: foo-yc20 Version: 1.3.0-2 Severity: serious Justification: fails to build from source Tags: patch
Hi, foo-yc20 FTBFS on some architecture. http://buildd.debian.org/status/package.php?p=foo-yc20&suite=sid http://buildd.debian-ports.org/status/package.php?p=foo-yc20&suite=sid ----- make[2]: Leaving directory `/build/buildd-foo-yc20_1.3.0-2-alpha-so4dXd/foo-yc20-1.3.0' make[1]: Leaving directory `/build/buildd-foo-yc20_1.3.0-2-alpha-so4dXd/foo-yc20-1.3.0' debian/rules override_dh_auto_build make[1]: Entering directory `/build/buildd-foo-yc20_1.3.0-2-alpha-so4dXd/foo-yc20-1.3.0' dh_auto_build -- PREFIX=/usr make[2]: Entering directory `/build/buildd-foo-yc20_1.3.0-2-alpha-so4dXd/foo-yc20-1.3.0' g++ src/foo-yc20.cpp -O3 -mtune=native -march=native -mfpmath=sse -ffast-math -ftree-vectorize -fPIC -DVERSION=1.3.0 -I/usr/lib/faust -Isrc/ -Iinclude/ -DPREFIX=/usr -Wall -c -o src/foo-yc20.o cc1plus: error: unrecognized command line option "-march=native" cc1plus: error: unrecognized command line option "-mfpmath=sse" make[2]: *** [src/foo-yc20.o] Error 1 make[2]: Leaving directory `/build/buildd-foo-yc20_1.3.0-2-alpha-so4dXd/foo-yc20-1.3.0' dh_auto_build: make -j1 PREFIX=/usr returned exit code 2 make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory `/build/buildd-foo-yc20_1.3.0-2-alpha-so4dXd/foo-yc20-1.3.0' make: *** [build] Error 2 ----- "-march=native" option can not use by all architecture. Moreover, "-mfpmath=sse" option is only for Intel architecture. I created a patch which reivse this problem. Please check patch and allpy. Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6
diff --git a/Makefile.orig b/Makefile index d8f4aed..a3d295d 100644 --- a/Makefile.orig +++ b/Makefile @@ -17,7 +17,7 @@ ifeq ($(CFLAGS),) ifeq ($(shell uname), Darwin) CFLAGS=-O3 -ffast-math -ftree-vectorize -arch ppc -arch i386 -arch x86_64 else -CFLAGS=-O3 -mtune=native -march=native -mfpmath=sse -ffast-math -ftree-vectorize +CFLAGS=-O2 -ffast-math -ftree-vectorize endif endif
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers