Code: Select all
media-libs/libjpeg-turbo:0
(media-libs/libjpeg-turbo-1.3.0::gentoo, installed) pulled in by
<media-libs/libjpeg-turbo-1.3.0-r2 required by (app-office/libreoffice-bin-4.0.4.2::gentoo, ebuild scheduled for merge)
(media-libs/libjpeg-turbo-1.3.0-r2::gentoo, ebuild scheduled for merge) pulled in by
>=media-libs/libjpeg-turbo-1.3.0-r2:0[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_x86_32(-)?,abi_x86_64(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] required by (virtual/jpeg-0-r2::gentoo, ebuild scheduled for merge)
(and 1 more with the same problem)

Thanks ssuominen for that workaround!!! Even though being ugly it keeps my systems running without too much of an hasslessuominen wrote:I'm sorry, but libreoffice-bin package is meant only for stable users. The new multilib libjpeg-turbo doesn't work because it doesn't install the same file anymore as required only by libreoffice-bin in Portage tree. And if you use package.keywords to unmask random library that needs the multilib libjpeg-turbo as a dependency, the same problem is there again.
There might not be other sane option than switch.
Except if you are willing to settle for an hack. You can copy the libreoffice-bin ebuild to overlay, and remove the jpeg dependency from the ebuild completely, then you can get libjpeg.so.8 file from stable libjpeg-turbo, save it and copy it to /usr/local/lib and run `ldconfig`. Then you can upgrade to newer libjpeg-turbo and libreoffice-bin keeps working because the libjpeg.so.8 is in /usr/local/lib and it finds it because `ldconfig` was executed (as root).
!!! existing preserved libs:
>>> package: media-libs/libjpeg-turbo-1.3.0-r2
* - /usr/lib64/libjpeg.so.8
* - /usr/lib64/libjpeg.so.8.0.2
* used by /usr/lib64/libreoffice/program/libmergedlo.so (app-office/libreoffice-bin-4.0.4.2)
Use emerge @preserved-rebuild to rebuild packages using these libraries

By deleting /var/lib/portage/preserved_libs_registry it goes away.johpunk wrote:the trick works but this message appear even if emerge @preserved-rebuild is executed
!!! existing preserved libs:
>>> package: media-libs/libjpeg-turbo-1.3.0-r2
* - /usr/lib64/libjpeg.so.8
* - /usr/lib64/libjpeg.so.8.0.2
* used by /usr/lib64/libreoffice/program/libmergedlo.so (app-office/libreoffice-bin-4.0.4.2)
Use emerge @preserved-rebuild to rebuild packages using these libraries
Thanks indeed & again! B-)ssuominen wrote:By deleting /var/lib/portage/preserved_libs_registry it goes away.johpunk wrote:the trick works but this message appear even if emerge @preserved-rebuild is executed
!!! existing preserved libs:
>>> package: media-libs/libjpeg-turbo-1.3.0-r2
* - /usr/lib64/libjpeg.so.8
* - /usr/lib64/libjpeg.so.8.0.2
* used by /usr/lib64/libreoffice/program/libmergedlo.so (app-office/libreoffice-bin-4.0.4.2)
Use emerge @preserved-rebuild to rebuild packages using these libraries

Without this particular hack, for sure, after packages get stabilized. But it doesn't change the fact that libreoffice-bin is only designed for stable users, and not built for ~arch users at all. That's the price you have to pay for using the latest and greatest. Other hacks will be needed in long run.kopp wrote:Will it eventually work again without the hack ?
And is it the same with the other jpeg implementation ?