Hi Miguel,

2014-05-08 23:17 GMT+02:00 Miguel Landaeta <nomad...@debian.org>:
> On Fri, Apr 18, 2014 at 12:51:38AM +0200, Bálint Réczey wrote:
>>
>> When there is a groovy - gradle pair in the archive which can build
>> itself I'll check back to this problem again.
>
> I believe gradle and groovy are now fixed in unstable, so please
> ping me when you have the chance to revisit this issue.
The attached patch still makes the issue reproducible on xbmc 2:13.0+dfsg1-1:

...
touch xbmc/interfaces/python/generated/doxygenxml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o
xbmc/interfaces/python/generated/AddonModuleXbmc.xml -xml -I./xbmc
-xmllang python xbmc/interfaces/swig/AddonModuleXbmc.i
# Work around potential groovy bug reported at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
# groovyc -cp 
"/usr/share/java/groovy.jar:/usr/share/java/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python"
-d tools/codegenerator tools/codegenerator/Helper.groovy
tools/codegenerator/SwigTypeParser.groovy
xbmc/interfaces/python/MethodType.groovy
xbmc/interfaces/python/PythonTools.groovy
groovy -cp 
"/usr/share/java/groovy.jar:/usr/share/java/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python"
\
    ./tools/codegenerator/Generator.groovy
xbmc/interfaces/python/generated/AddonModuleXbmc.xml
xbmc/interfaces/python/PythonSwig.cpp.template
xbmc/interfaces/python/generated/AddonModuleXbmc.cpp
xbmc/interfaces/python/generated/doxygenxml
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/«BUILDDIR»/xbmc-13.0+dfsg1/tools/codegenerator/Generator.groovy: 25:
unable to resolve class Helper
 @ line 25, column 1.
   import Helper
   ^

1 error

make[2]: *** [xbmc/interfaces/python/generated/AddonModuleXbmc.cpp] Error 1
codegenerator.mk:35: recipe for target
'xbmc/interfaces/python/generated/AddonModuleXbmc.cpp' failed
rm xbmc/interfaces/python/generated/AddonModuleXbmc.xml
...

Cheers,
Balint
From bf79793de645a2d1c71c18da0483084ac6ce7193 Mon Sep 17 00:00:00 2001
From: Balint Reczey <bal...@balintreczey.hu>
Date: Thu, 8 May 2014 23:30:16 +0200
Subject: [PATCH] XXX disable groovy workaround

---
 debian/patches/07-use-system-groovy.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/07-use-system-groovy.patch b/debian/patches/07-use-system-groovy.patch
index 1c1de64..bee19de 100644
--- a/debian/patches/07-use-system-groovy.patch
+++ b/debian/patches/07-use-system-groovy.patch
@@ -15,7 +15,7 @@ index 6689777..6afaa7d 100644
 -          org.codehaus.groovy.tools.FileSystemCompiler -d $(TOPDIR)/tools/codegenerator $(TOPDIR)/tools/codegenerator/Helper.groovy  $(TOPDIR)/tools/codegenerator/SwigTypeParser.groovy $(INTERFACES_DIR)/python/MethodType.groovy $(INTERFACES_DIR)/python/PythonTools.groovy
 -	$(JAVA) -cp "$(GROOVY_DIR)/groovy-all-2.1.7.jar:$(GROOVY_DIR)/commons-lang-2.6.jar:$(TOPDIR)/tools/codegenerator:$(INTERFACES_DIR)/python" \
 -          groovy.ui.GroovyMain $(TOPDIR)/tools/codegenerator/Generator.groovy $< $(INTERFACES_DIR)/python/PythonSwig.cpp.template $@ $(DOXY_XML_PATH)
-+	groovyc -cp "/usr/share/java/groovy.jar:/usr/share/java/commons-lang-2.6.jar:$(TOPDIR)/tools/codegenerator:$(INTERFACES_DIR)/python" -d tools/codegenerator tools/codegenerator/Helper.groovy  tools/codegenerator/SwigTypeParser.groovy $(INTERFACES_DIR)/python/MethodType.groovy $(INTERFACES_DIR)/python/PythonTools.groovy
++	# groovyc -cp "/usr/share/java/groovy.jar:/usr/share/java/commons-lang-2.6.jar:$(TOPDIR)/tools/codegenerator:$(INTERFACES_DIR)/python" -d tools/codegenerator tools/codegenerator/Helper.groovy  tools/codegenerator/SwigTypeParser.groovy $(INTERFACES_DIR)/python/MethodType.groovy $(INTERFACES_DIR)/python/PythonTools.groovy
 +	groovy -cp "/usr/share/java/groovy.jar:/usr/share/java/commons-lang-2.6.jar:$(TOPDIR)/tools/codegenerator:$(INTERFACES_DIR)/python" \
 +		$(TOPDIR)/tools/codegenerator/Generator.groovy $< $(INTERFACES_DIR)/python/PythonSwig.cpp.template $@ $(DOXY_XML_PATH)
  	rm $<
-- 
2.0.0.rc0

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to