Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2018 00:24:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227799] editors/emacs editors/emacs-devel: Add devel/liblockfile to LIB_DEPENDS
Message-ID:  <bug-227799-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 227799
           Summary: editors/emacs editors/emacs-devel: Add
                    devel/liblockfile to LIB_DEPENDS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yasu@utahime.org
                CC: emacs@FreeBSD.org
                CC: emacs@FreeBSD.org

Created attachment 192833
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192833&action=
=3Dedit
patch file

At bug #225902 I reported build of editor/emacs and editors/emacs fails if
devel/liblockfile is installed and 'nox' flavor is specified. I also propos=
ed
patch to disable configure script from detecting liblockfile and it was
committed as ports r462408.

But yesterday ports r468320 was committed. I updated emacs-nox-25.3_3,3 on =
my
11.1-RELEASE-p9 box with portmaster and was surprised following message was
displayed at stage-qa phase.

Error: /usr/local/libexec/emacs/25.3/amd64-portbld-freebsd11.1/movemail is
linked to /usr/local/lib/liblockfile.so.1 from devel/liblockfile but it is =
not
declared as a dependency
Warning: you need LIB_DEPENDS+=3Dliblockfile.so:devel/liblockfile

And actually movemail was liked to liblockfile.

yasu@maybe[2085]% ldd
/usr/local/libexec/emacs/25.3/amd64-portbld-freebsd11.1/movemail
/usr/local/libexec/emacs/25.3/amd64-portbld-freebsd11.1/movemail:
        libutil.so.9 =3D> /lib/libutil.so.9 (0x800829000)
        liblockfile.so.1 =3D> /usr/local/lib/liblockfile.so.1 (0x800a3d000)
        libc.so.7 =3D> /lib/libc.so.7 (0x800c40000)
yasu@maybe[2086]%

I means problem reported bug #225902 is disappeared. I have no idea why but
anyway I propose attached patch. It includes following changes.

* Add devel/liblockfile to LIB_DEPENDS.
* Remove 'ac_cv_prog_liblockfile=3Dno' from CONFIGURE_ENV.
* Bump PORTREVISION because of dependency change.

I tested all flavors (emacs@full, emacs@nox, emacs@canna, emacs-devel@full =
and
emacs-devel@nox) with poudriere and 11.1-RELEASE-p9 jail and confirmed all =
of
them can be build successfully.

--=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-227799-7788>