Menu

#21 make check does not compile when building from source

Gnome Searchmonkey
open
nobody
None
5
2021-01-26
2021-01-26
No

make check complains about translations in searchmonkey-0-8-2.glade when building the package from source.

How to reproduce the build:

  • I'm running Alpine Linux when I found this error, but with any host should encounter it too.
  • Build the package from source:
cd searchmonkey-0.8.3
./configure
make
make check <-- Fails here 
make install

Output:

Making check in po
make[1]: Entering directory '/home/pmos/build/src/searchmonkey-0.8.3/po'
INTLTOOL_EXTRACT="/usr/bin/intltool-extract" XGETTEXT="/usr/bin/xgettext" srcdir=. /usr/bin/intltool-update --gettext-package searchmonkey --pot
rm -f missing notexist
srcdir=. /usr/bin/intltool-update -m
The following files contain translations and are currently not in use. Please
consider adding these to the POTFILES.in file, located in the po/ directory.

searchmonkey-0-8-2.glade

If some of these files are left out on purpose then please add them to
POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
of left out files has been written in the current directory.
if [ -r missing -o -r notexist ]; then \
  exit 1; \
fi
make[1]: *** [Makefile:160: check] Error 1
make[1]: Leaving directory '/home/pmos/build/src/searchmonkey-0.8.3/po'
make: *** [Makefile:454: check-recursive] Error 1

If I'm correct, the quick fix should be to put searchmonkey-0-8-2.glade into POTFILES.in.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB