by default in gcc 4.6 -Werror=unused-but-set-variable
and the build error appeared
bamf-view.c In the function ‘bamf_view_set_property’:
bamf-view.c:543:13: error: variable self is definet but not used
workaround for archlinux
open pkgbuild.sh
and add following string before configure
sed -i 's/CFLAGS="$CFLAGS -Wall -Werror -lm"/CFLAGS="$CFLAGS -Wall -lm"/' configure
and the build error appeared
bamf-view.c In the function ‘bamf_view_
bamf-view.c:543:13: error: variable self is definet but not used
workaround for archlinux
open pkgbuild.sh
and add following string before configure
sed -i 's/CFLAGS="$CFLAGS -Wall -Werror -lm"/CFLAGS="$CFLAGS -Wall -lm"/' configure