java-atk-wrapper: make distcheck doesn't works
@infapi00
Submitted by Alejandro Piñeiro Link to original bug (#737124)
Description
STEPS TO REPRODUCE
autogen.sh & make & make distcheck
OUTPUT:
make[4]: Entering directory '/mnt/data/source/java-atk-wrapper/java-atk-wrapper-0.30.5/_build/jni/src'
/bin/sh ../../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I../../../jni/src -I../.. -I/include -I/include/linux -pthread -I/opt/gnome3/include/atk-1.0 -I/opt/gnome3/include/gtk-2.0 -I/opt/gnome3/lib/gtk-2.0/include -I/opt/gnome3/include/pango-1.0 -I/opt/gnome3/include/cairo -I/opt/gnome3/include/gdk-pixbuf-2.0 -I/opt/gnome3/include/glib-2.0 -I/opt/gnome3/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DATK_BRIDGE_LIB_PATH="/opt/gnome3/lib/gtk-2.0" -g -O2 -MT libatk_wrapper_la-AtkWrapper.lo -MD -MP -MF .deps/libatk_wrapper_la-AtkWrapper.Tpo -c -o libatk_wrapper_la-AtkWrapper.lo test -f 'AtkWrapper.c' || echo '../../../jni/src/'
AtkWrapper.c
libtool: compile: ccache gcc -DHAVE_CONFIG_H -I. -I../../../jni/src -I../.. -I/include -I/include/linux -pthread -I/opt/gnome3/include/atk-1.0 -I/opt/gnome3/include/gtk-2.0 -I/opt/gnome3/lib/gtk-2.0/include -I/opt/gnome3/include/pango-1.0 -I/opt/gnome3/include/cairo -I/opt/gnome3/include/gdk-pixbuf-2.0 -I/opt/gnome3/include/glib-2.0 -I/opt/gnome3/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DATK_BRIDGE_LIB_PATH="/opt/gnome3/lib/gtk-2.0" -g -O2 -MT libatk_wrapper_la-AtkWrapper.lo -MD -MP -MF .deps/libatk_wrapper_la-AtkWrapper.Tpo -c ../../../jni/src/AtkWrapper.c -fPIC -DPIC -o .libs/libatk_wrapper_la-AtkWrapper.o
../../../jni/src/AtkWrapper.c:20:17: fatal error: jni.h: No such file or directory
#include <jni.h>
^
compilation terminated.
Makefile:489: recipe for target 'libatk_wrapper_la-AtkWrapper.lo' failed
NOTES:
Although right now not all GNOME modules pass the make distcheck, in general is a good thing to keep it working. make distcheck packs the source code on a tarball, and automatically checks that the content of the tarball properly builds. So it is a good check to do before uploading the release. For example, it helps to check that all the needed files are included on the tarball. It is even included as a step on the general guide to make GNOME releases [1].