ArchipelProject / Archipel

XMPP Based Orchestrator
http://archipelproject.org
GNU Affero General Public License v3.0
800 stars 126 forks source link

Unterminated regular expression with file _CPCollectionKVCOperators.j #1188

Open eileon opened 7 years ago

eileon commented 7 years ago

I have this executing ./bootstrap in ArchipelClient :


Compiling [ObjJ] CPEnumerator.j..

= /^@(avg|count|m(ax|in)|sum|unionOfObjects|distinctU ^ ERROR line 2 in file:/usr/local/src/Archipel/ArchipelClient/Libraries/Cappuccino/Foundation/_CPCollectionKVCOperators.j: Unterminated regular expression SyntaxError: Unterminated regular expression



var _CPCollectionKVCOperatorSimpleRE is a long regular expression always truncated as above

Maybe an Objective-j rpoblem Reproducible systematically

HTPC-Schrauber commented 7 years ago

CPEnumerator.j is part of Cappuccino. This error also happens when building cappuccino itself.

I reported it on Cappuccino project here: https://github.com/cappuccino/cappuccino/issues/2499

Are you building on linux or Mac OS?

HTPC-Schrauber commented 7 years ago

We found that this problem is related to the gcc compiler. Cappuccino uses the gcc compiler for preprocessing.

Build works with gcc < 5. From 5.x ongoing it is broken.

Debian Jessie works for build because it uses gcc 4.9.