[MacPorts] #35928: mariadb: The file /opt/local/lib/libevent.dylib does not exist (was: Missing dependency for MariaDB)
MacPorts
noreply at macports.org
Sun Sep 2 00:59:54 PDT 2012
#35928: mariadb: The file /opt/local/lib/libevent.dylib does not exist
------------------------------------+---------------------------------------
Reporter: kirk@… | Owner: pixilla@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: mariadb
------------------------------------+---------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => pixilla@…
* keywords: missing dependencies =>
Old description:
> Just tried to install mariadb on a fresh install of Mountain Lion. The
> recognized dependencies were:
> $:> port deps mariadb
>
> Full Name: mariadb @5.5.25_0
>
> Build Dependencies: cmake
>
> Library Dependencies: zlib, cmake
>
> Runtime Dependencies: mysql_select
>
> During the install the library libidn-1.25 was also built. All
> dependencies were installed without problem but the configuration of
> mariadb failed with an Error: The file /opt/local/lib/libevent.dylib does
> not exist. After I installed libevent, all was good.
New description:
Just tried to install mariadb on a fresh install of Mountain Lion. The
recognized dependencies were:
{{{
$:> port deps mariadb
Full Name: mariadb @5.5.25_0
Build Dependencies: cmake
Library Dependencies: zlib, cmake
Runtime Dependencies: mysql_select
}}}
During the install the library libidn-1.25 was also built. All
dependencies were installed without problem but the configuration of
mariadb failed with an Error: The file /opt/local/lib/libevent.dylib does
not exist. After I installed libevent, all was good.
--
Comment:
mariadb includes libevent.dylib in archcheck.files but declares no
dependency on the libevent port. Either libevent should be added to the
dependencies, or the check for libevent.dylib should be removed from
archcheck.files. My installed mariadb does not link with libevent, though
I do see occurrences of libevent in the sources. Maybe it's an optional
dependency.
While we're looking at dependencies, I'm curious why mariadb lists a
library dependency on cmake. Does it really use cmake at runtime? If so, a
comment should be added to the port explaining this, since it's unusual.
If not, then the cmake portgroup's build dependency on cmake should be
sufficient.
--
Ticket URL: <https://trac.macports.org/ticket/35928#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list