Bug 221467 - audio/amarok-kde4: missing dependency on libmysqld
Summary: audio/amarok-kde4: missing dependency on libmysqld
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: David Naylor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-13 08:53 UTC by Bertrand Petit
Modified: 2017-11-04 17:19 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Petit 2017-08-13 08:53:11 UTC
The current audio/amarok-kde4 port is missing a dependency on libmysqld and can not be compilent when a mysql-server port is not installed.
Adding a dependency on database/mysql??-server would fix this problem.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2017-08-20 14:19:31 UTC
Hi there

Are you sure about this? The port seems to build perfectly fine, in poudriere, without mysql-server. 


mfg Tobias
Comment 2 David Naylor freebsd_committer freebsd_triage 2017-09-27 19:48:49 UTC
I've checked and Amarok needs both mysql client and embedded, however it only has USES=mysql, instead of USES=mysql:client,embedded.  

The reason poudriere (and the the package server) succeeds is that mysql36-server is pulled in via a dependencies: nepomuk->akonadi->mysql56-server.  You, however, likely have akonadi configured to use a different database (PostgreSQL or Sqlite).  

Since I'm touching amarok for bug @218821 I'll fix this as well.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-11-04 17:14:20 UTC
A commit references this bug:

Author: dbn
Date: Sat Nov  4 17:13:35 UTC 2017
New revision: 453473
URL: https://svnweb.freebsd.org/changeset/ports/453473

Log:
  audio/amarok-kde4: fix local collections not working

  The local collection backend uses embedded MySQL, however mysqle needs
  to be linked against SSL.

  Also, explicitly state we need both client and embedded version of mysql
  in USES.

  PR:		218821
  PR:		221467

Changes:
  head/audio/amarok-kde4/Makefile
  head/audio/amarok-kde4/files/patch-src_core-impl_collections-db-sql-mysqlcollection-CMakeLists.txt
Comment 4 David Naylor freebsd_committer freebsd_triage 2017-11-04 17:19:20 UTC
Fix committed, thank you for the report.