You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
$ echo 'java_library(name="foo",resources=glob(['src/']))' >BUCK
$ buck build :foo
Exception in thread "pool-1-thread-1" java.lang.RuntimeException: javax.script.ScriptException: SyntaxError: no viable alternative at input '' in /Users/sop/git/buck_bugs/././BUCK at line number 1 at column number 44
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at com.facebook.buck.json.BuildFileToJsonParser$BuildFileRunner.run(BuildFileToJsonParser.java:189)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
Caused by: javax.script.ScriptException: SyntaxError: no viable alternative at input '' in /Users/sop/git/buck_bugs/././BUCK at line number 1 at column number 44
at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:190)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
at com.facebook.buck.json.BuildFileToJsonParser$BuildFileRunner.run(BuildFileToJsonParser.java:186)
... 3 more
Caused by: Traceback (most recent call last):
File "<script>", line 6, in
File "/Users/sop/git/buck/src/com/facebook/buck/parser/buck.py", line 669, in main
execfile(os.path.join(project_root, build_file), build_env['BUILD_FILE_SYMBOL_TABLE'])
File "/Users/sop/git/buck_bugs/././BUCK", line 1
java_library(name="foo",resources=glob([src/]))
^
SyntaxError: no viable alternative at input '**'
at org.python.core.PyException.fillInStackTrace(PyException.java:70)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Exception.java:29)
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
at org.python.core.PyException.<init>(PyException.java:46)
at org.python.core.PyException.<init>(PyException.java:43)
at org.python.core.PyException.<init>(PyException.java:39)
at org.python.core.PySyntaxError.<init>(PySyntaxError.java:22)
at org.python.core.ParserFacade.fixParseError(ParserFacade.java:92)
at org.python.core.ParserFacade.parse(ParserFacade.java:184)
at org.python.core.Py.compile_flags(Py.java:1731)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:514)
at org.python.core.__builtin__.execfile(__builtin__.java:499)
at org.python.core.__builtin__.execfile(__builtin__.java:526)
at org.python.core.BuiltinFunctions.__call__(__builtin__.java:155)
at org.python.core.PyObject.__call__(PyObject.java:408)
at buck$py.main$35(/Users/sop/git/buck/src/com/facebook/buck/parser/buck.py:654)
at buck$py.call_function(/Users/sop/git/buck/src/com/facebook/buck/parser/buck.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:120)
at org.python.core.PyFunction.__call__(PyFunction.java:307)
at org.python.pycode._pyx0.f$0(<script>:6)
at org.python.pycode._pyx0.call_function(<script>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at org.python.core.__builtin__.eval(__builtin__.java:484)
at org.python.core.__builtin__.eval(__builtin__.java:488)
at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:198)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:40)
... 6 more
BUILD FAILED: No rule found when resolving target //:foo in build file //BUCK
The text was updated successfully, but these errors were encountered:
$ echo 'java_library(name="foo",resources=glob(['src/']))' >BUCK
$ buck build :foo
Exception in thread "pool-1-thread-1" java.lang.RuntimeException: javax.script.ScriptException: SyntaxError: no viable alternative at input '' in /Users/sop/git/buck_bugs/././BUCK at line number 1 at column number 44
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at com.facebook.buck.json.BuildFileToJsonParser$BuildFileRunner.run(BuildFileToJsonParser.java:189)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
Caused by: javax.script.ScriptException: SyntaxError: no viable alternative at input '' in /Users/sop/git/buck_bugs/././BUCK at line number 1 at column number 44
at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:190)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
at com.facebook.buck.json.BuildFileToJsonParser$BuildFileRunner.run(BuildFileToJsonParser.java:186)
... 3 more
Caused by: Traceback (most recent call last):
File "<script>", line 6, in
File "/Users/sop/git/buck/src/com/facebook/buck/parser/buck.py", line 669, in main
execfile(os.path.join(project_root, build_file), build_env['BUILD_FILE_SYMBOL_TABLE'])
File "/Users/sop/git/buck_bugs/././BUCK", line 1
java_library(name="foo",resources=glob([src/]))
^
SyntaxError: no viable alternative at input '**'
BUILD FAILED: No rule found when resolving target //:foo in build file //BUCK
The text was updated successfully, but these errors were encountered: