You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2018/02/07 23:17:00 UTC

[jira] [Commented] (GUACAMOLE-503) Guacamole Client: Cannot compile "group id ... is too big"

    [ https://issues.apache.org/jira/browse/GUACAMOLE-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16356220#comment-16356220 ] 

Michael Jumper commented on GUACAMOLE-503:
------------------------------------------

{quote}
This can be easily fixed with changing the guacamole-auth-cas/pom.xml like so:
...
Also the project root pom.xml explicitly specifies tarLongFileMode as gnu, can this be changed to posix as well? 
{quote}

Changing the {{tarLongFileMode}} is not necessarily safe. The "gnu" mode has been used here and elsewhere for the sake of compatibility, as it's widely supported by the tar utilities of various systems. It needs to first be determined how compatible the resulting format is with the implementations of tar actually in use - this includes on OS X and the BSDs, not just Linux.

> Guacamole Client: Cannot compile "group id ... is too big" 
> -----------------------------------------------------------
>
>                 Key: GUACAMOLE-503
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-503
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-auth-cas, guacamole-auth-duo, guacamole-auth-header, guacamole-auth-noauth, guacamole-auth-openid, guacamole-client
>    Affects Versions: 0.9.14
>            Reporter: Aditya Vanka
>            Priority: Minor
>
> When trying to build guacamole-client-0.9.14.tar.gz, I encountered the below error. This is a well known issue with maven assembly plugin documented here: [https://maven.apache.org/plugins/maven-assembly-plugin/faq.html#tarFileModes]  and MASSEMBLY-728.
> This can be easily fixed with changing the guacamole-auth-cas/pom.xml like so:
> {code:xml}
> <plugin>
>     <artifactId>maven-assembly-plugin</artifactId>
>     <version>2.5.3</version>
>     <configuration>
>         <finalName>${project.artifactId}-${project.version}</finalName>
>         <appendAssemblyId>false</appendAssemblyId>
>         <tarLongFileMode>posix</tarLongFileMode>
>         <descriptors> 
>         <descriptor>src/main/assembly/dist.xml</descriptor> 
>         ....
> {code}
> Also the project root pom.xml explicitly specifies tarLongFileMode as gnu, can this be changed to posix as well? 
>  
> {code:none}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single (make-dist-archive) on project guacamole-auth-cas: Execution make-dist-archive of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single failed: group id '800247164' is too big ( > 2097151 ) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single (make-dist-archive) on project guacamole-auth-cas: Execution make-dist-archive of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single failed: group id '800247164' is too big ( > 2097151 ) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution make-dist-archive of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single failed: group id '800247164' is too big ( > 2097151 ) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.lang.RuntimeException: group id '800247164' is too big ( > 2097151 ) at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumber(TarArchiveOutputStream.java:623) at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumbers(TarArchiveOutputStream.java:609) at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.putArchiveEntry(TarArchiveOutputStream.java:286) at org.codehaus.plexus.archiver.tar.TarArchiver.tarFile(TarArchiver.java:329) at org.codehaus.plexus.archiver.tar.TarArchiver.execute(TarArchiver.java:188) at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:944) at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:436) at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:181) at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:484) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)