GNOME Bugzilla – Bug 640261
Minimum version for external pcre needs to be bumped
Last modified: 2011-01-22 15:45:16 UTC
I'm building 2.27.92 with system pcre. The version I have is 8.02, which is way greater than what configure requires (7.2). The build fails with: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/tmp/buildd/glib2.0-2.27.92/./glib -I.. -I.. -I../glib -I/tmp/buildd/glib2.0-2.27.92/./glib -I/tmp/buildd/glib2.0-2.27.92/. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -pthread -g -O2 -g -O2 -Wall -c /tmp/buildd/glib2.0-2.27.92/./glib/gregex.c -fPIC -DPIC -o .libs/gregex.o /tmp/buildd/glib2.0-2.27.92/./glib/gregex.c: In function 'match_error': /tmp/buildd/glib2.0-2.27.92/./glib/gregex.c:233: error: 'PCRE_ERROR_BADOFFSET' undeclared (first use in this function) /tmp/buildd/glib2.0-2.27.92/./glib/gregex.c:233: error: (Each undeclared identifier is reported only once /tmp/buildd/glib2.0-2.27.92/./glib/gregex.c:233: error: for each function it appears in.) /tmp/buildd/glib2.0-2.27.92/./glib/gregex.c:235: error: 'PCRE_ERROR_SHORTUTF8' undeclared (first use in this function) /tmp/buildd/glib2.0-2.27.92/./glib/gregex.c: In function 'g_regex_new': /tmp/buildd/glib2.0-2.27.92/./glib/gregex.c:1212: error: 'PCRE_UCP' undeclared (first use in this function) make[5]: *** [gregex.lo] Error 1 Looking at http://vcs.pcre.org/viewvc/code/trunk/NEWS?revision=589&view=markup, the version should be bumped to 8.11, where PCRE_ERROR_SHORTUTF8 was added.
Created attachment 179041 [details] [review] Bump PCRE minimum required version OK to push?
Comment on attachment 179041 [details] [review] Bump PCRE minimum required version Pushed as 9f0c592b9c5f9ac57d3454f02ffa92e98001ceaf
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.