You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/04/17 18:17:15 UTC

[GitHub] matthiasblaesing commented on issue #404: [NETBEANS-341] Added initial files required for Snap packaging

matthiasblaesing commented on issue #404: [NETBEANS-341] Added initial files required for Snap packaging
URL: https://github.com/apache/incubator-netbeans/pull/404#issuecomment-382091450
 
 
   I tested the build on Ubuntu 17.10. I run `snapcraft` in the `nbbuild/packaging` directory. If I interpret the snapcraft.yml file correctly it expects `SNAP_ARCH` to be set and this is not the case:
   
   ```
   matthias@athena:~/src/incubator-netbeans/nbbuild/packaging$ snapcraft 
   Preparing to pull build 
   Pulling build 
   Preparing to build build 
   Building build 
   Error: JAVA_HOME is not defined correctly.
     We cannot execute /usr/lib/jvm/java-8-openjdk-/bin/java
   Traceback (most recent call last):
     File "/usr/bin/snapcraft", line 11, in <module>
       load_entry_point('snapcraft==2.40+17.10', 'console_scripts', 'snapcraft')()
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 564, in load_entry_point
       return get_distribution(dist).load_entry_point(group, name)
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2662, in load_entry_point
       return ep.load()
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2316, in load
   ```
   
   The big question and relevant for the project: What is the result of the `snapcraft` invokation? If for example OpenJDK gets bundled, the result can't be distributed by the Apache Netbeans project (per my understanding), as the license (GPLv2-CP) is explicitly excluded from acceptable licenses for dependencies.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists