Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723788 - sci-libs/gmsh License appears to be incorrect
Summary: sci-libs/gmsh License appears to be incorrect
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-10-09
Assignee: Licenses team
Depends on:
Reported: 2020-05-18 16:00 UTC by hfk22
Modified: 2022-06-13 12:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description hfk22 2020-05-18 16:00:35 UTC
The license for sci-libs/gmsh appears to be incorrect.  Currently, it's listed as:

License:     GPL-3 free-noncomm

However, the license for the current version, 4.4.1, is just GPL-2 with additional rights:

Gmsh is provided under the terms of the GNU General Public License
(GPL), Version 2 or later, with the following exception:

  The copyright holders of Gmsh give you permission to combine Gmsh
  with code included in the standard release of TetGen (from Hang 
  Si), Netgen (from Joachim Sch"oberl), METIS (from George Karypis
  at the University of Minnesota), OpenCASCADE (from Open CASCADE
  S.A.S) and ParaView (from Kitware, Inc.) under their respective
  licenses. You may copy and distribute such a system following the
  terms of the GNU GPL for Gmsh and the licenses of the other code
  concerned, provided that you include the source code of that other
  code when and as the GNU GPL requires distribution of source code.

  Note that people who make modified versions of Gmsh are not
  obligated to grant this special exception for their modified
  versions; it is their choice whether to do so. The GNU General
  Public License gives permission to release a modified version
  without this exception; this exception also makes it possible to
  release a modified version which carries forward this exception.

End of exception.

		       Version 2, June 1991

This is the same as the current license listed on their website:

Basically, it appears to be GPL-2 with an extra rider to give additional rights.  Namely, I don't believe it to be free-noncomm, which is triggering a modification to be added to package.license.

Reproducible: Always
Comment 1 Ulrich Müller gentoo-dev 2020-05-19 07:32:46 UTC
GPL-2+ appears to be the main license, but there are files licensed differently:

// Copyright (c) 1997-2005 University of Maryland and Sunil Arya and
// David Mount.  All Rights Reserved.
// This software and related documentation is part of the 
// Approximate Nearest Neighbor Library (ANN).
// Permission to use, copy, and distribute this software and its 
// documentation is hereby granted free of charge, provided that 
// (1) it is not a component of a commercial product, and 
// (2) this notice appears in all copies of the software and
//   related documentation. 
// The University of Maryland (U.M.) and the authors make no representations
// about the suitability or fitness of this software for any purpose.  It is
// provided "as is" without express or implied warranty.

By clause (1) this would be "free-noncomm".

I also see these licenses:
GPL-3+ HPND BSD-2 LGPL-2+ LGPL-2.1+ MPL-2.0 HPND MIT BSD Apache-2.0

Some of them are for files in contrib/, and I haven't checked in detail what is being installed.
Comment 2 hfk22 2020-05-20 00:26:49 UTC
Ok, good catch.  I think that's for a plugin, but the license for the combined product makes the situation somewhat more complicated.  I don't know the protocol for dealing with the combination of the licenses in portage, so I'll defer to whatever works for you.
Comment 3 Larry the Git Cow gentoo-dev 2022-06-13 12:38:23 UTC
The bug has been referenced in the following commit(s):

commit 23bc105297c330485406b807e481aa45fb70162b
Author:     Andrew Ammerlaan <>
AuthorDate: 2022-06-13 12:36:05 +0000
Commit:     Andrew Ammerlaan <>
CommitDate: 2022-06-13 12:38:16 +0000

    sci-libs/gmsh: update LICENSE, enable py3.11
    I got most of them, but there might still be some licenses missing
    Signed-off-by: Andrew Ammerlaan <>

 sci-libs/gmsh/gmsh-4.10.3.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)