| Summary: | graphics/digikam: Fails to build with MySQL 8.x | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | elwood <elwood> | ||||||||||||
| Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> | ||||||||||||
| Status: | Closed FIXED | ||||||||||||||
| Severity: | Affects Some People | CC: | adridg, tcberner | ||||||||||||
| Priority: | --- | Keywords: | needs-qa | ||||||||||||
| Version: | Latest | Flags: | tcberner:
maintainer-feedback+
tcberner: merge-quarterly- |
||||||||||||
| Hardware: | Any | ||||||||||||||
| OS: | Any | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
elwood
2022-02-16 16:32:59 UTC
@Reporter Could you please include additional information, including: - uname -a output - pkg version -v output (as an attachment) - full build log (as an attachment, compressed if necessary) (In reply to Kubilay Kocak from comment #1) Created attachment 231897 [details]
uname -a
Created attachment 231898 [details]
make showconfig
Created attachment 231899 [details]
full build log (gzipped)
Created attachment 231900 [details]
pkg version -v
Same problem with digikam 7.6.0. Moin moin That error does not look realted to graphics/digikam. You are likely working with unclean workdirs. mfg Tobias (In reply to Tobias C. Berner from comment #8) Moin, I think it is because the digikam port with MYSQL_BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqld.a:${_MYSQL_SERVER} want to make sure *a* MYSQL server is installed. This works with MySQL 5.7, but apparently not with MySQL 8.x, as written above, because the ${LOCALBASE}/lib/mysql/libmysqld.a is no longer installed with MySQL 8.x. See also: https://dev.mysql.com/blog-archive/mysql-8-0-retiring-support-for-libmysqld/. In practice this means: The construction of MySQL (in this case 8.x) is always triggered by the digikam port, regardless of whether it is already installed or not. My workaround: If I remove the above "MYSQL_BUILD_DEPENDS="-line from the Makefile of the digikam port (with MySQL 8.x already installed), the construction of digikam works. Since I don't know the ports magic, I don't know how to solve this for 5.7 and 8.x equally. Since I don't know the ports magic, I don't know how to solve this for 5.7 and 8.x equally. Viele Grüße, Frank (In reply to elwood from comment #9) Moin moin Ah, now I see what you mean. mfg Tobias A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8fe8f93edbfa61ca750b619ca812cb7b2f8d01e6 commit 8fe8f93edbfa61ca750b619ca812cb7b2f8d01e6 Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2022-04-09 21:42:19 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2022-04-09 21:42:51 +0000 graphics/digikam: doesn't actually need a MySQL server to build None of the code actually includes anything from the server; it goes through QtSQL, and the config-option is enough to convince Digikam to include support. PR: 261995 graphics/digikam/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) |