Menu

#14 Installation of di.mo gettext message catalog bypasses destroot

5.0
closed
build (8)
2025-02-07
2025-02-07
No

Installing di 5.0.0 generates these messages:

cp: /opt/local/share/locale/de/LC_MESSAGES/di.mo: Operation not permitted
cp: /opt/local/share/locale/en/LC_MESSAGES/di.mo: Operation not permitted
cp: /opt/local/share/locale/es/LC_MESSAGES/di.mo: Operation not permitted

In other words it is trying to install the di.mo message catalogs directly to their final destination, which is not permitted; it must obey the DESTDIR environment variable I have set.

Discussion

  • Brad Lanam

    Brad Lanam - 2025-02-07

    This has been fixed in version 5.0.2.

     
  • Brad Lanam

    Brad Lanam - 2025-02-07
    • labels: --> build
    • status: open --> closed
    • assigned_to: Brad Lanam
     
  • Ryan Carsten Schmidt

    Thanks.

    I don't see any commits past the tag for 5.0.0 in this repository.

    When I install 5.0.2 from the tarball and run di --version it says di version 5.0.2 beta. In contrast, 5.0.0 said di version 5.0.0 production. Is 5.0.2 a beta version or stable?

     
  • Brad Lanam

    Brad Lanam - 2025-02-07

    The beta label was a mistake. 5.0.2 is stable.
    I simply forget to push the commits.
    I'm going to release 5.0.3 in just a moment with the fixes for macos. Just want to run some quick tests.

     
  • Ryan Carsten Schmidt

    Thanks, I can confirm this is fixed in 5.0.3.

     

Log in to post a comment.

MongoDB Logo MongoDB