Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2017 04:21:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223901] editor/vim: does not start after pkg autoremove
Message-ID:  <bug-223901-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223901

            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@FreeBSD.org
          Reporter: majo-bugs.freebsd.org@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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223901-13>