• Re: hard linking libboost copyright files

    From Steve Langasek@21:1/5 to Muhammad Yaaseen on Sun Feb 4 10:40:02 2024
    On Sun, Feb 04, 2024 at 05:38:57AM +0000, Muhammad Yaaseen wrote:

    we see that the copyright for libboost debian packages are 2MB each and
    are all the same. as per https://www.debian.org/doc/debian-policy/ch-docs.html section 12.5<https://www.debian.org/doc/debian-policy/ch-docs.html%20section%2012.5> we are not allowed to create symbolic links. the doubt I have is whether
    I can hardlink these files and reduce the memory utilization.

    This isn't really a legal question; as a practical matter, it is not
    possible to ship cross-package hardlinks in .deb packages.

    --
    Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErEg/aN5yj0PyIC/KVo0w8yGyEz0FAmW/WsAACgkQVo0w8yGy Ez0Ojg//ehyu8YGeVPYXowzhnV4geuuJVYV7Nh5APSKqrkYfRwsyTNcKn1+7WFXs tEzH0z0Yp0pkFl9WDct70gsX9bsIskUlsug1VFy74axdLHIPFlbNBkuTl9f12Yey IiHPiLhlAPiWhbym5pc1qRXc01wQ7QDs4SGsl0ZxEbMez5E+/vO6QWODc0zNcbra ozPvl5vucHSapRVQqCkGVWs05k0Uo7Sg9GaJB23oTBpBurY4uSnd/DgqqQVgZ3KC nS9YE1jCNrzKOUIRTAzD0XuyY6qSkZhs4TNdopVGCuR5uNuXv96/BQfRoJ9Zary5 OjLaFQprFYyxY76AsfU+kqU5ct3P+5iSl2nKOZY1GvWfAKwmHGfh6Kk+z4lWuel8 RRl+SIsReG2aOzMADuVw0ATVvnQHKkBolF31g19NXNR44jQJjw3pS0W5mOCJli4+ Mc5BIWDGniJeDG9fXc4z6k/rHp22dTDTB8oRbq28SbYqMQ/N5gLuGeTO/YMxgc7d c+w5NtqDc37zjWGkqAEyr+Asi0YT1EOLHNfmZF1W6J9fUdn7B/h9VzGBSo+yzAXZ L8bc0oXhD41QZLf+NtTN
  • From Steve Langasek@21:1/5 to Muhammad Yaaseen on Sun Feb 4 12:20:01 2024
    On Sun, Feb 04, 2024 at 10:50:43AM +0000, Muhammad Yaaseen wrote:

    The question is once we install the libboost .deb packages into a system,
    the copyright file for each libboost package is stored separately in /usr/shared/doc/packages folder. I'm think of hardlinking these copyright files so that we same some memory. Is this legally allowed.

    Sorry, but this is also not a mailing list for providing legal advice to end users. If you are concerned about the legality of what you are doing downstream of Debian, you should consult your own lawyer.

    -----Original Message-----
    From: Steve Langasek <vorlon@debian.org>
    Sent: Sunday, February 4, 2024 3:07 PM
    To: Muhammad Yaaseen <myaaseen@infinera.com>
    Cc: debian-legal@lists.debian.org
    Subject: Re: hard linking libboost copyright files

    On Sun, Feb 04, 2024 at 05:38:57AM +0000, Muhammad Yaaseen wrote:

    we see that the copyright for libboost debian packages are 2MB each
    and are all the same. as per https://www.debian.org/doc/debian-policy/ch-docs.html section 12.5<https://www.debian.org/doc/debian-policy/ch-docs.html%20section%2 012.5> we are not allowed to create symbolic links. the doubt I have
    is whether I can hardlink these files and reduce the memory
    utilization.

    This isn't really a legal question; as a practical matter, it is not possible to ship cross-package hardlinks in .deb packages.

    --
    Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org


    --
    Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErEg/aN5yj0PyIC/KVo0w8yGyEz0FAmW/ccYACgkQVo0w8yGy Ez3bbQ//YwOhM1rIjb/BRAJRYxrBQCAPW5RKSVtdb/B11Vso0W38CboJEA6f7bK3 Be9LF1G3ZgPNP0HMSTTyzHs/+JYQnFqS6lB8cyBpY9ovZy0hXTGDR7zC3rCxaPHb 9y7PpbqALPm6DVoQFybkN/JqjDOrKnNB3SFdDu6jqVDlakzq9F0+edal/N1Av5Pz c5xCBUholMIm5nT0WRTqmEqQ8Sz09STt18scmn2I9Ia08cP8ea9s7XOVUd+sAY7b Uqkg+LgcYC3hvgqkFr6Cm+UrjMVt+muDF3Rw4+snVfEOjfNi09dz1B3Og5urRtLw 3dt4pXv8lQvzjabeKJwvZAzWFmmW+M1CkK11MNR9i0JbbyMsu/uD8RewyY6xdW6D u349UOiXl64Uw6uFQwXeDeOr7fC8G+OLxrKew9lGHS+md5MRAeXnIAwYsLG0V9AN 8cPOf21+iUGkSJm+qkaHuh9gEBiSypsDHwSsprNcca/hhgdIIhXFfOw/4y960/Y8 tNNqGteS9ln5ZcTdG6PFaNHbvQNeIID0vj9STtIL6OMSARoK/6/LgHS1b1m65uCN agPyt5WMnkra3urOSsOk
  • From Andreas Metzler@21:1/5 to myaaseen@infinera.com on Sun Feb 4 17:20:01 2024
    On 2024-02-04 Muhammad Yaaseen <myaaseen@infinera.com> wrote:
    The question is once we install the libboost .deb packages into a
    system, the copyright file for each libboost package is stored
    separately in /usr/shared/doc/packages folder. I'm think of
    hardlinking these copyright files so that we same some memory. Is this legally allowed.
    [...]

    The canonical solution would be to add libboost-commonx.xx containing
    what is currently found in /usr/share/doc/libboost-foox.xx and symlink
    the whole directory. You'll probably need to make libboost-commonx.xx
    arch all to be binNMU compatible.

    cu Andreas
    --
    `What a good friend you are to him, Dr. Maturin. His other friends are
    so grateful to you.'
    `I sew his ears on from time to time, sure'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Metzler@21:1/5 to ametzler@bebt.de on Sun Feb 4 18:40:02 2024
    On 2024-02-04 Andreas Metzler <ametzler@bebt.de> wrote:
    [...]

    The canonical solution would be to add libboost-commonx.xx containing
    what is currently found in /usr/share/doc/libboost-foox.xx and symlink
    the whole directory. You'll probably need to make libboost-commonx.xx
    arch all to be binNMU compatible.
    ^^^

    arch *any* obviously, not "all".

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Walter Landry@21:1/5 to Andreas Metzler on Sun Feb 4 19:20:01 2024
    Andreas Metzler <ametzler@bebt.de> writes:
    On 2024-02-04 Muhammad Yaaseen <myaaseen@infinera.com> wrote:
    The question is once we install the libboost .deb packages into a
    system, the copyright file for each libboost package is stored
    separately in /usr/shared/doc/packages folder. I'm think of
    hardlinking these copyright files so that we same some memory. Is this
    legally allowed.
    [...]

    The canonical solution would be to add libboost-commonx.xx containing
    what is currently found in /usr/share/doc/libboost-foox.xx and symlink
    the whole directory. You'll probably need to make libboost-commonx.xx
    arch all to be binNMU compatible.

    Another solution would be to add the Boost license to /usr/share/common-licenses. Running

    ls /usr/share/doc/*/copyright | xargs -n 100 grep "Boost Software License" | wc -l

    on my bookworm system finds it in 225 packages, of which 160 are not a libboost* package.

    Cheers,
    Walter Landry

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Giovanni Mascellani@21:1/5 to All on Tue Feb 6 22:30:02 2024
    Hi,

    Il 04/02/24 06:38, Muhammad Yaaseen ha scritto:
    we see that the copyright for libboost debian packages are 2MB each and
    are all the same. as per https://www.debian.org/doc/debian-policy/ch-docs.html section 12.5 <https://www.debian.org/doc/debian-policy/ch-docs.html%20section%2012.5>
    we are not allowed to create symbolic links. the doubt I have is whether
    I can hardlink these files and reduce the memory utilization.

    As one of the Boost maintainers, I agree that's a problem. I wonder
    whether the best way forward would rather to aggregate the copyright
    data with more coarse granularity, so that the file is shorter. I am not
    really sure that we need such a detailed thing. I spent considerable
    time preparing that thing, but I am not sure that is the way forward.

    At any rate, unfortunately I haven't had time to work on Debian packages
    for some time, so the situation is still unsolved.

    Gio.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)