Bug 274034 - net/mailcommon, devel/ktextaddons: mailcommon-23.08.1_2 wont build with ktextaddons-1.5.1
Summary: net/mailcommon, devel/ktextaddons: mailcommon-23.08.1_2 wont build with ktext...
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 01:02 UTC by Chad Jacob Milios
Modified: 2023-09-23 02:49 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments
error from the configure target (2.85 KB, text/plain)
2023-09-23 01:02 UTC, Chad Jacob Milios
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Jacob Milios 2023-09-23 01:02:53 UTC
Created attachment 245131 [details]
error from the configure target

it seems ktextaddons-1.2.1_2 included the file:
${PREFIX}/lib/cmake/KF5TextAutoCorrection/KF5TextAutoCorrectionConfig.cmake

while ktextaddons-1.5.1 includes these as the most similar i can find:
${PREFIX}/lib/cmake/KF5TextAutoCorrectionCore/KF5TextAutoCorrectionCoreConfig.cmake
${PREFIX}/lib/cmake/KF5TextAutoCorrectionWidgets/KF5TextAutoCorrectionWidgetsConfig.cmake

please advise. i would be happy to investigate further, with guidance
Comment 1 Jason E. Hale freebsd_committer freebsd_triage 2023-09-23 01:41:32 UTC
(In reply to Chad Jacob Milios from comment #0)

It builds fine in poudriere for me. Did you update net/pimcommon first? If not ${LOCALBASE}/lib/cmake/KPim5PimCommon/KPim5PimCommonConfig.cmake will look for the cmake files from the older version of ktextaddons.
Comment 2 Chad Jacob Milios 2023-09-23 02:31:38 UTC
Thank you for the prompt response and insights, jhale!

I actually did rebuild+reinstall every package that came up from `pkg info | grep -i pim` (including pimcommon-23.08.1_2) before filing this PR.

What i failed to do was `pkg which /usr/local/lib/cmake/KPim5MessageComposer/KPim5MessageComposerConfig.cmake` (a file from the error attached to this PR), revealing it's actually messagelib-23.08.1_1 which was the culprit. I had built/installed it about 8 days ago. Forcing it to rebuild/reinstall now has fixed my issue. Maybe someone bungled their PORTREVISION bump dance, or I've got a nonstandard optional dependency in here somewhere, or somewhere along the line ports tree had a less than perfect representation of the true dependency graph/ordering?

At any rate, all seems to be well in the ports tree now for my purposes.

You may close this PR and i thank you again for your quick response and insights which led me to a solution.
Comment 3 Jason E. Hale freebsd_committer freebsd_triage 2023-09-23 02:44:29 UTC
You're right. net/messagelib is missing a dependency on ktextaddons, so I didn't bump PORTREVISION for it when I did the update. I'll fix it momentarily.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-09-23 02:49:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9645411697b2bc5265bfa9fc7db60f2352faee8c

commit 9645411697b2bc5265bfa9fc7db60f2352faee8c
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-09-23 02:45:20 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-09-23 02:45:20 +0000

    net/messagelib: Add missing ktextaddons dep.

    Bump PORTREVISION after 1dbda1e99529

    PR:             274034
    Reported by:    Chad Jacob Milios <milios@ccsys.com>

 net/messagelib/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)