Source: gogglesmm
Version: 0.12.4-3
Severity: serious
Justification: fails to build from source
Tags: patch

Hi,

gogglesmm FTBFS on some architecture.

  https://buildd.debian.org/status/package.php?p=gogglesmm
  http://buildd.debian-ports.org/status/package.php?p=gogglesmm

-----
Done.
Please run "make" and "make install" to compile and install GMM.
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory
`/build/buildd-gogglesmm_0.12.4-3-armel-5MMrIt/gogglesmm-0.12.4'
    Creating Icon Resource Header
    Creating Icon Resources
    Compiling src/fxext.cpp ...
cc1plus: error: bad value (native) for -march switch
make[1]: *** [src/fxext.o] Error 1
-----

Because this -march is not supported by some architecture.
I created a patch which reivise this problem. Please check this.

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff --git a/configure b/configure
index 075d591..1036650 100755
--- a/configure
+++ b/configure
@@ -32,7 +32,7 @@ OBJEXT=${OBJEXT:-.o}
 # or set CFLAGS which overrides all them
 #-------------------------------------------------------
 GEN_CFLAGS=${GEN_CFLAGS:--Wall -Wextra -Wformat=2 -pipe}
-OPT_CFLAGS=${OPT_CFLAGS:--O3 -march=native -fstack-protector}
+OPT_CFLAGS=${OPT_CFLAGS:--O3 -fstack-protector}
 DEBUG_CFLAGS=${DEBUG_CFLAGS:--g -fstack-protector-all}
 
 # Overriding Linker Flags

Reply via email to