FS#16672 - [gtksourceview] 1.8.5-2 will not compile - need to update PKGBUILD

Attached to Project: Arch Linux
Opened by Jeff Meldrum (jspaces) - Thursday, 15 October 2009, 18:03 GMT
Last edited by Jan de Groot (JGC) - Sunday, 01 November 2009, 14:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: With latest updated system at Oct 15,2009 level, gtksourceview-1.8.5-2 will not compile.

Additional info:
* package version(s) 1.8.5-2
* config and/or log files etc. see below

Steps to reproduce:
Existing PKGBUILD configure line reads as:
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static
Which produces the failure:
makepkg
<snipped>
gtksourceregex.c:43: error: field 'reg' has incomplete type
gtksourceregex.c: In function 'gtk_source_regex_compile':
gtksourceregex.c:56: error: 'RE_SYNTAX_POSIX_MINIMAL_EXTENDED' undeclared (first use in this function)
gtksourceregex.c:56: error: (Each undeclared identifier is reported only once
gtksourceregex.c:56: error: for each function it appears in.)
gtksourceregex.c:57: error: 'struct re_pattern_buffer' has no member named 'translate'
gtksourceregex.c:58: error: 'struct re_pattern_buffer' has no member named 'fastmap'
gtksourceregex.c:59: error: 'struct re_pattern_buffer' has no member named 'allocated'
gtksourceregex.c:60: error: 'struct re_pattern_buffer' has no member named 'buffer'
gtksourceregex.c:62: warning: implicit declaration of function 're_compile_pattern'
gtksourceregex.c:62: warning: nested extern declaration of 're_compile_pattern'
gtksourceregex.c:64: warning: assignment makes pointer from integer without a cast
gtksourceregex.c:66: warning: implicit declaration of function 're_compile_fastmap'
gtksourceregex.c:66: warning: nested extern declaration of 're_compile_fastmap'
gtksourceregex.c:69: error: 'struct re_pattern_buffer' has no member named 'fastmap'
gtksourceregex.c:70: error: 'struct re_pattern_buffer' has no member named 'fastmap'
gtksourceregex.c:75: error: 'struct re_pattern_buffer' has no member named 'fastmap'
gtksourceregex.c: In function 'gtk_source_regex_destroy':
gtksourceregex.c:88: error: 'struct re_pattern_buffer' has no member named 'fastmap'
gtksourceregex.c:89: error: 'struct re_pattern_buffer' has no member named 'fastmap'
gtksourceregex.c: In function 'gtk_source_regex_search':
gtksourceregex.c:135: error: 'struct re_pattern_buffer' has no member named 'not_bol'
gtksourceregex.c:136: error: 'struct re_pattern_buffer' has no member named 'not_eol'
gtksourceregex.c:138: warning: implicit declaration of function 're_search'
gtksourceregex.c:138: warning: nested extern declaration of 're_search'
gtksourceregex.c: In function 'gtk_source_regex_match':
gtksourceregex.c:184: error: 'struct re_pattern_buffer' has no member named 'not_bol'
gtksourceregex.c:185: error: 'struct re_pattern_buffer' has no member named 'not_eol'
gtksourceregex.c:187: warning: implicit declaration of function 're_match'
gtksourceregex.c:187: warning: nested extern declaration of 're_match'
make[4]: *** [gtksourceregex.lo] Error 1
*****************************************

Once the PKGBUILD is modified configure line as follows it will compile:
CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static

I believe that the PKGBUILD should be updated.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 01 November 2009, 14:47 GMT
Reason for closing:  Fixed

Loading...