[Pkg-giraffe-discuss] problems building kopano-webapp-plugin-files

Carsten Schoenert c.schoenert at t-online.de
Sat Jun 23 11:25:57 BST 2018


Hello Jelle,

I'v tried to also update the kopano-webapp-plugin-files package but the
build is now failing before the creation of the Debian package itself.

> BUILD SUCCESSFUL
> Total time: 0 seconds
> # The following line can be used later in a similar form, once we have packaged 
> # the needed toolset within kopano-webapp-buildtools for example.
> #ant -Droot-folder=/usr/share/kopano-webapp-buildtools/ -Dtarget-folder=deploy -Dplugin-folder=files -Dplugin=files deploy;
> ant -Droot-folder=. -Dtarget-folder=deploy -Dplugin-folder=files -Dplugin=files deploy;
> Buildfile: /build/kopano-webapp-plugin-files-2.1.3+dfsg1/build.xml
> 
> clean:
> 
> concat:
>     [mkdir] Created dir: /build/kopano-webapp-plugin-files-2.1.3+dfsg1/deploy/files/js
>      [echo] Concatenating: files-debug.js
>     [mkdir] Created dir: /build/kopano-webapp-plugin-files-2.1.3+dfsg1/deploy/files/resources/css
>      [echo] Concatenating: files.css
> 
> preformat:
>      [echo] Preformatting: files-debug.js
> 
> compress:
>      [echo] Compiling: files-debug.js
>     [touch] Creating /build/kopano-webapp-plugin-files-2.1.3+dfsg1/externs.js
>      [exec] deploy/files/js/files-debug.js:2795: ERROR - Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all.
>      [exec] 				}, response.info.destination);
>      [exec] 				 ^
>      [exec] 
>      [exec] deploy/files/js/files-debug.js:9534: ERROR - Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all.
>      [exec] 		});
>      [exec] 		 ^
>      [exec] 
>      [exec] 2 error(s), 0 warning(s)
> 
> BUILD FAILED
> /build/kopano-webapp-plugin-files-2.1.3+dfsg1/build.xml:133: The following error occurred while executing this line:
> /build/kopano-webapp-plugin-files-2.1.3+dfsg1/tools/antutil.xml:66: exec returned: 2

Remember, we've added the folder tools/ with it contents mainly last
year at the Kopano conference to get stuff build for the final Debian
package. So maybe the root for this issue a needed update of the file
tools/antutil.xml in recent days.

The content of the added folder can be found on the this patch
https://salsa.debian.org/giraffe-team/kopano-webapp-plugin-files/raw/debian/sid/debian/patches/adding-needed-folder-tools-for-ant.patch

But due I always struggle with Ant, JAVA, JavaScript I've no clue what
to do here to solve this.

BTW: version 2.1.3 is still shipping the non existing language
es_CA.UTF-8 :-)

-- 
Regards
Carsten



More information about the Pkg-giraffe-discuss mailing list