https://bugs.kde.org/show_bug.cgi?id=350446
--- Comment #23 from caulier.gil...@gmail.com --- Hi Michael, > 1. Some Homebrew bottles have the dynamic library paths hard coded to > /opt/homebrew instead of @rpath. If you try to use install_name_tool > on them, the code signature becomes invalid. yes, i already see this information while investigating with HomeBrew. > You need to run the codesign tool to update the signature, yes, the script do it here : https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/homebrew/04-build-installer.sh?ref_type=heads#L514 > but since you didn't compile the binary > yourself, codesign fails. because binaries are not compiled on the computer, but taken from a homebrew cache on the web ? > One way to fix this is to just build all the packages yourself using "brew > --build-from-source install XXXXX". This however > takes a very long time. Well i know that already with Macports. On my MacbookPro 2015, this take around 8 hours, especially about clang/gcc/qtwebengine build. > An alternate solution is to install Homebrew to a custom directory. By doing > this, Homebrew will automatically build from > source only the packages (bottles) that are hard-coded to /opt/homebrew, so > it is faster. Interesting tune to know... > This also has the added benefit of not "polluting" an > existing Homebrew installation. Right. The install path must be /opt/digiKam._arch_ here : https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/homebrew/config.sh?ref_type=heads#L63 as i do with Macports already : https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/macports/config.sh?ref_type=heads#L65 > 2. Not all of the needed libraries are being packaged by > 04-build-installer.sh. This is slow work going through and finding the > libraries that are missing. Why not all libs ? > 3. I think not all the updated binaries are being re-signed by codesign. > Again, it's slow work going through them. Same Q ? Gilles -- You are receiving this mail because: You are watching all bug changes.