Opened 5 years ago

Closed 4 years ago

#57798 closed defect (fixed)

mariadb-10.1: Undeclared liblzo dependency

Reported by: pioto (Mike Kelly) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: mariadb-10.1

Description

It looks like mariadb-10.1 has an undeclared automagic dependency upon the lzo2 port.

When I run port reclaim, the lzo2 port is included in "Unrequested ports without requested dependents", so I remove it.

Then, later during that same command, the mariadb-10.1 port is marked as broken, which ends up rebuilding it and pulling back down lzo2 in the process (as the build depends upon cmake, which depends upon libarchive, which depends upon lzo2).

This cycle ends up repeating every time.

I'm not as familiar with MacPorts as I am with Gentoo and the like, but I assume that the fix here is one of:

  • Add an explicit dependency upon lzo2 for mariadb-10.1, and --enable-lzo2
  • Add an explicit "--disable-lzo2" or the like to MariaDB's build script
  • Add a variant that controls this dependency and the build script switch

Change History (6)

comment:1 Changed 5 years ago by Schamschula (Marius Schamschula)

Owner: set to pixilla
Status: newassigned

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Owner: pixilla deleted

See #57827

comment:3 Changed 5 years ago by michaelld (Michael Dickens)

Owner: set to michaelld

comment:4 Changed 4 years ago by pioto (Mike Kelly)

Seems that adding -DWITH_INNODB_LZO=OFF to configure.args-append is probably the quickest fix?

comment:5 Changed 4 years ago by pioto (Mike Kelly)

I've made that change above as this PR, can someone please review & merge it?

https://github.com/macports/macports-ports/pull/7906

comment:6 Changed 4 years ago by pioto (Mike Kelly)

Resolution: fixed
Status: assignedclosed

In b5a293b309e8c00cdfc3e16d2ff4ffa3f12828a1/macports-ports (master):

mariahdb-10.1: remove opportunistic link to liblzo

liblzo is not declared as a dependency.

closes: #57798

Note: See TracTickets for help on using tickets.