[Bug 223901] editor/vim: does not start after pkg autoremove

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 27 04:21:41 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223901

            Bug ID: 223901
           Summary: editor/vim: does not start after pkg autoremove
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: majo-bugs.freebsd.org at cerny.sk

I have vim built without NLS knob on my portbuild machine. When I install it
installs gettext-runtime as well:

    # pkg install vim

    New packages to be INSTALLED:
        vim: 8.0.1309
        gettext-runtime: 0.19.8.1_1

However, when I run `pkg autoremove`, gettext get's removed:

    # pkg autoremove

    Installed packages to be REMOVED:
        gettext-runtime-0.19.8.1_1

After I confirm the removal, vim does not run:

    Shared object "libintl.so.8" not found, required by "vim"

I believe the issue is related to the fact, that I have NLS disabled but
gettext-runtime is probably present while the vim port builds. My portbuild
consist of installing a list of ports using make install and then running `pkg
create -a` and `pkg repo`.

Vim has the dependency for shared lib properly registered:

    # pkg info -rdbB vim
    vim-8.0.1309
    Shared Libs required:
        libintl.so.8

And gettext-runtime provides the required shared lib:

    # pkg info -rdbB gettext-runtime
    gettext-runtime-0.19.8.1_1
    Shared Libs provided:
        libasprintf.so.0
        libintl.so.8
    Depends on     :
        indexinfo-0.3.1

So it looks like this is more a bug of `pkg autoremove`. However, shouldn't vim
built without NLS knob not depend on gettext at all?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list