Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 12:19:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211723] mail/opendkim When enabling OPENDBX, port installation fails because of missing files
Message-ID:  <bug-211723-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 211723
           Summary: mail/opendkim When enabling OPENDBX, port installation
                    fails because of missing files
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: stefan.balu@ulab.ro
                CC: freebsd-ports@dan.me.uk
                CC: freebsd-ports@dan.me.uk
             Flags: maintainer-feedback?(freebsd-ports@dan.me.uk)

When installing mail/opendkim, if one selects the OPENDBX port option (in o=
rder
to be able to use MySQL, PgSql or SQLite3 databases), the opendkim port ref=
uses
to install because of some missing files (that are created because OPENDBX =
is
enabled).

Below is an excerpt of the build process:

    # make all install
    =3D=3D=3D>  Installing for opendkim-2.10.3_5
    =3D=3D=3D>   opendkim-2.10.3_5 depends on package: perl5>=3D5.20<5.21 -=
 found
    =3D=3D=3D>   opendkim-2.10.3_5 depends on shared library: libcurl.so - =
found
(/usr/local/lib/libcurl.so)
    =3D=3D=3D>   opendkim-2.10.3_5 depends on shared library: libjansson.so=
 - found
(/usr/local/lib/libjansson.so)
    =3D=3D=3D>   opendkim-2.10.3_5 depends on shared library: libldns.so - =
found
(/usr/local/lib/libldns.so)
    =3D=3D=3D>   opendkim-2.10.3_5 depends on shared library: libopendbx.so=
 - found
(/usr/local/lib/libopendbx.so)
    =3D=3D=3D>   opendkim-2.10.3_5 depends on shared library: liblua-5.2.so=
 - found
(/usr/local/lib/liblua-5.2.so)
    =3D=3D=3D>   opendkim-2.10.3_5 depends on shared library: libdb-5.3.so =
- found
(/usr/local/lib/libdb-5.3.so)
    =3D=3D=3D>  Checking if opendkim already installed
    =3D=3D=3D>   Registering installation for opendkim-2.10.3_5
    pkg-static: Unable to access file
/usr/ports/mail/opendkim/work/stage/usr/local/bin/opendkim-spam: No such fi=
le
or directory
    pkg-static: Unable to access file
/usr/ports/mail/opendkim/work/stage/usr/local/sbin/opendkim-importstats: No
such file or directory
    pkg-static: Unable to access file
/usr/ports/mail/opendkim/work/stage/usr/local/man/man1/opendkim-spam.1.gz: =
No
such file or directory
    pkg-static: Unable to access file
/usr/ports/mail/opendkim/work/stage/usr/local/man/man8/opendkim-importstats=
.8.gz:
No such file or directory
    *** Error code 74

    Stop.
    make[1]: stopped in /usr/ports/mail/opendkim
    *** Error code 1

    Stop.
    make: stopped in /usr/ports/mail/opendkim

To fix this issue, i've performed `make all` in mail/opendkim. The, i edited
the work/.PLIST.mktmp file and commented out the references to opendkim-spam
and opendkim-importstats (both executables and man pages) as shown below:

    @comment bin/opendkim-spam
    @comment sbin/opendkim-importstats
    @comment man/man1/opendkim-spam.1.gz
    @comment man/man8/opendkim-importstats.8.gz

However, a better fix should be deployed.

--=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-211723-13>