[ports] Shouldn't we rebuild all dependant packages whenever a library changes?

Liste des GroupesRevenir à cubf misc 
Sujet : [ports] Shouldn't we rebuild all dependant packages whenever a library changes?
De : robin.haberkorn (at) *nospam* googlemail.com (Robin Haberkorn)
Groupes : comp.unix.bsd.freebsd.misc
Date : 19. Oct 2024, 20:27:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <8a5d1c33-906e-f61d-d39a-ad5a560fc24f@googlemail.com>
User-Agent : Alpine 2.26 (BSF 649 2022-06-02)
Hello!
I stumbled across a strange glitch and not for the first time. Did a pkg upgrade, which updated Qt (new minor version). This breaks all Qt apps installed via pkg since they were built against a different minor version of Qt, but were not rebuilt and pushed to the repository along with Qt.
Qt checks the library versions on startup, so you notice this immediately.
The current behavior (or lack of behavior) however could affect __all__ applications, even those that link only against plain C libraries. It's rare, but you can't exclude that some minor library release breaks the API - ABI is of course not a problem in C, compared to C++.
Workaround is to (re)build the corresponding application manually from the ports tree. This can take hours, so IMHO this is a serious issue.
It is NOT sufficient to reinstall the package in question - it obviously didn't change in the repository.
I would therefore think that every library change should result in a rebuild of all dependant packages and automatic bumping of the package version.
Why is this not done? And where should we file a bug report?
Best regards,
Robin

Date Sujet#  Auteur
19 Oct 24 * [ports] Shouldn't we rebuild all dependant packages whenever a library changes?3Robin Haberkorn
19 Oct 24 `* Re: [ports] Shouldn't we rebuild all dependant packages whenever a library changes?2John Levine
21 Oct 24  `- Re: [ports] Shouldn't we rebuild all dependant packages whenever a library changes?1Robin Haberkorn

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal