[MacPorts] #27738: webkit-gtk parallel build issue
MacPorts
noreply at macports.org
Sun Dec 19 23:11:13 PST 2010
#27738: webkit-gtk parallel build issue
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: webkit-gtk
-------------------------------------+--------------------------------------
webkit-gtk has a strange build problem for me on Snow Leopard. I get this
error:
{{{
CXX JavaScriptCore/pcre/libJavaScriptCore_la-pcre_tables.lo
In file included from JavaScriptCore/pcre/pcre_tables.cpp:73:
JavaScriptCore/pcre/chartables.c:13: error: conflicting declaration 'const
unsigned char jsc_pcre_default_tables [0u]'
JavaScriptCore/pcre/pcre_internal.h:382: error: 'jsc_pcre_default_tables'
has a previous declaration as 'const unsigned char jsc_pcre_default_tables
[480]'
JavaScriptCore/pcre/chartables.c:32: error: expected primary-expression at
end of input
JavaScriptCore/pcre/chartables.c:32: error: expected `}' at end of input
make[1]: *** [JavaScriptCore/pcre/libJavaScriptCore_la-pcre_tables.lo]
Error 1
make: *** [all] Error 2
}}}
Line 382 of pcre_internal.h reads:
{{{
extern const unsigned char jsc_pcre_default_tables[tables_length];
}}}
And earlier in that file we have:
{{{
#define cbit_length 96 /* Length of the cbits table */
}}}
{{{
#define cbits_offset 256
#define ctypes_offset (cbits_offset + cbit_length)
#define tables_length (ctypes_offset + 128)
}}}
So that looks fine. But in chartables.c on line 13 we have:
{{{
const unsigned char jsc_pcre_default_tables[0] = {
}}}
That's wrong. And in fact, chartables.c ends with the line:
{{{
/* This table is a case flipping table. */
}}}
(There should be a lot more after that line.)
If I manually run dftables (the program that creates chartables.c), a
complete correct-looking file is created.
If I delete chartables.c and rerun the port install, it recreates
chartables.c correctly.
I think it's a parallel build issue. dftables tries to read values from
pcre_internal.h, and this will fail if pcre_internal.h has not been
written yet.
--
Ticket URL: <https://trac.macports.org/ticket/27738>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list