Menu

#205 AutoOpts includes non-dual-licensed code --> aggregated work GPLv3 (non BSD)

autogen
pending
None
1
2020-09-27
2020-09-20
No

Hello,

libopts is supposed to be dual-licensed LGPLv3+/BSD, however autogen-5.19.93/autoopts/ contains a couple of files which according to their license headers are GPLv3+-only:
alloca.in.h
arg-nonnull.h
c++defs.h
dup2.c
errno.in.h
fd-hook.h
gettext.h
intprops.h
[...]

I suspect some of these might have been copied from gnulib. Perhaps gnulib-tool was not invoked with --lgpl=2?

Discussion

  • Bruce Korb

    Bruce Korb - 2020-09-20

    I guess that's what I get for depending on gnulib. They change, I have to suck in a bunch more of that project and suddenly I'm screwed. I've actually been retired for 5 years and figured I'd spend a little time cleaning up hang-out items. I think I may be pulling at a thread in a knit sweater. (i.e. it's going to be endless.) I'll see if it's easy. If so, I'll fix it. If not, folks will just have to use a prior version.

    I have other things I do nowadays. (See attached.)

     
  • Andreas Metzler

    Andreas Metzler - 2020-09-20

    Nice birds :-)

    This indeed seems to improve thing a lot:

    diff --git a/config/bootstrap.local b/config/bootstrap.local
    index 3aecd4b6..871e2029 100644
    --- a/config/bootstrap.local
    +++ b/config/bootstrap.local
    @@ -171,6 +171,7 @@ run_gnulib_tool() {
            --import
            --lib=do_not_make_me
            --libtool
    +       --lgpl=2
            --local-dir=tmp
            --m4-base=config
            --makefile-name=gnulib.mk
    
     
  • Bruce Korb

    Bruce Korb - 2020-09-20

    The lower bird is defending its source of sugar water.

    I cannot actually use that "--lgpl=2". If I do, then gnulib-tool errors out on incompatible modules.
    If I remove the modules, then the build errors out because needed packages are not present.

     

    Last edit: Bruce Korb 2020-09-20
  • Andreas Metzler

    Andreas Metzler - 2020-09-21

    Bruce Korb wrote
    [...]

    I cannot actually use that "--lgpl=2". If I do, then gnulib-tool errors out on incompatible modules.
    If I remove the modules, then the build errors out because needed packages are not present.

    The only failing module is timespec which is LGPLv3+

     
    • Andreas Metzler

      Andreas Metzler - 2020-09-27

      Andreas Metzler wrote

      Bruce Korb wrote
      [...]

      I cannot actually use that "--lgpl=2". If I do, then gnulib-tool errors out on incompatible modules.
      If I remove the modules, then the build errors out because needed packages are not present.

      The only failing module is timespec which is LGPLv3+

      Looks like I was wrong here, I missed unlocked-io (GPLv3+).

       
  • Bruce Korb

    Bruce Korb - 2020-09-21
    • status: open --> accepted
    • assigned_to: Bruce Korb
     
  • Bruce Korb

    Bruce Korb - 2020-09-21

    Ah. One of many that I added. I'll ask the gnulib folks about it. It's a pretty trivial module.

     
  • Bruce Korb

    Bruce Korb - 2020-09-26

    alpha release 5.19.95

     
  • Bruce Korb

    Bruce Korb - 2020-09-26
    • status: accepted --> pending
     
  • Bruce Korb

    Bruce Korb - 2020-09-26

    the unnecessary dependency on the vacuous timespec gnulib module has been removed.
    alpha release v5.19.95

     
  • Andreas Metzler

    Andreas Metzler - 2020-09-27

    Good morning,

    thanks. License headers still say GPL3 since config/bootstrap.local was not updated with --lgpl=2.

     
  • Bruce Korb

    Bruce Korb - 2020-09-27

    Oops. I was turning on and off gnulib-tool options trying to figure out which were superfluous. It looks like I didn't put that one back. For x.96, I guess. :)

     

Log in to post a comment.

MongoDB Logo MongoDB