Bug 229458 - ports-mgmt/portmaster: Fails to update libicu dependencies
Summary: ports-mgmt/portmaster: Fails to update libicu dependencies
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Stefan Eßer
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2018-07-01 19:35 UTC by mikhail.rokhin
Modified: 2023-03-27 19:36 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (se)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikhail.rokhin 2018-07-01 19:35:01 UTC
It updates libicu from 61 to 62 and then devel/kf5-extra-cmake-modules directly, which leads to failure like

Shared object libicu\*.so.61 not found, required by libQt5Core.so.5

So, in proper way it should update
1. libicu (update)
2. Qt5Core (rebuild)
3. kf5-extra-cmake-modules (update)
Comment 1 mikhail.rokhin 2018-07-01 19:53:33 UTC
+ x11-toolkits/qt5-gui should be rebuild (full qt5 dependency of devel/kf5-extra-cmake-modules should be rebuild ? )
Comment 2 mikhail.rokhin 2018-07-22 19:10:30 UTC
+ missed ports for rebuilt after ICU update:

x11-toolkits/qt5-widgets

database/qt5-sql
database/qt5-sqldrivers-sqlite3 , mysql, pgsql

Manual rebuilt of mentioned ports solved the bug.
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-10-31 09:59:11 UTC
(In reply to mikhail.rokhin from comment #1)
>x11-toolkits/qt5-gui should be rebuild (full qt5 dependency of devel/kf5-extra-cmake-modules 

qt5-gui is no dependency of  devel/kf5-extra-cmake-modules 

devel//kf5-extra-cmake-modules/Makefile;
ELP_USES=      qt:5
HELP_USE=       QT=help_build  # qt5-help is only used to build a .qch file.
TEST_USES=      qt:5
TEST_USE=       QT=buildtools_build,linguisttools_build,qmake_build
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-10-31 10:00:09 UTC
The other ports you mention are no depend of icu.

see
https://www.freshports.org/devel/icu/
Comment 5 Walter Schwarzenfeld freebsd_triage 2018-10-31 10:00:39 UTC
Recent version of icu is 63.1,1.
Comment 6 mikhail.rokhin 2018-11-06 23:16:19 UTC
(In reply to w.schwarzenfeld from comment #5)

Of course it's 'Recent version of icu is 63.1,1.' - check the dates :
mine
2018-07-01 19:35:01 UTC
and yours
2018-10-31 10:00:39 UTC

Now I have icu-63.1,1 .

You missed the logic of sub-dependency

It updates libicu from 61 to 62 and then devel/kf5-extra-cmake-modules directly, which leads to failure like

Shared object libicu\*.so.61 not found, required by libQt5Core.so.5

which means 
 devel/kf5-extra-cmake-modules

depends on 
 libQt5Core.so.5 and some other libs

depending on
 Shared object libicu\*.so.61 not found

The same is true to the mentioned ports (there were more, but I just gave up writing here). All the mentioned ports failed to update with the same general message
 Shared object libicu\*.so.61 not found, required by __SOME PORT__

Some ports might not have turned on the option to use ICU by default, but in my case usage of ICU in them was turned on manually by re-configuration of default options via `make config`.

Thank you for development.
Comment 7 Walter Schwarzenfeld freebsd_triage 2019-08-16 01:08:18 UTC
We have version icu 64_2. Is this still relevant?
Comment 8 Adriaan de Groot freebsd_committer freebsd_triage 2023-03-27 19:36:43 UTC
Edited title to remove mention of cmake -- there is nothing cmake-specific here, the issue is that portmaster doesn't update dependencies in the right order.