Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 288756

Summary: Please add news for libjpeg 6-->7 and/or adjust use flags to pull in compat
Product: Gentoo Linux Reporter: Baxter Kylie <baxter.kylie>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor CC: jer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Baxter Kylie 2009-10-12 19:01:07 UTC
Hi. This is more of a request than a bug that the jpeg-compat package receive a bit more attention either by means of a news item or some adjusted use-flags / dependencies.

My issue arose when I went through the update from jpeg 6x to 7 and later tried to compile qt-3.x which failed miserably as it looks for libjpeg.so.62. In the interest of making things easier for users so they don't have to dig through error logs and spend a couple hours searching for a solution putting up a news item about the jpeg transition would be fantastic. Alternately I guess this could be solved by editing the use flag around the qt library or the jpeg ebuild to include something like 'jpeg62support' which would pull in the compat package.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-10-12 19:07:00 UTC
You shouldn't need the compat package at all - just run revdep-rebuild from the app-portage/gentoolkit package.
Comment 2 Baxter Kylie 2009-10-12 19:17:00 UTC
(In reply to comment #1)
> You shouldn't need the compat package at all - just run revdep-rebuild from the
> app-portage/gentoolkit package.
> 

I wish that were the case but revdep-rebuild provided nothing. Every time it attempted to pull in qt-3 on its own and my qt-3.x statically looks for /usr/lib/libjpeg.so.62 which jpeg-7 does not provide. qt-3.x also doesn't restrict jpeg versions as being < 7 so it doesn't know to pull a slotted version or put a block up (I'm not sure if jpeg-6 blocks jpeg-7).

Either way x11-libs/qt failed compilation after jpeg-7 every time until I manually pulled in the jpeg-compat package.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-10-12 19:30:57 UTC
*** Bug 288757 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-10-12 20:25:38 UTC
Did you run `lafilefixer --justfixit' too?
Comment 5 Baxter Kylie 2009-10-12 20:28:38 UTC
(In reply to comment #4)
> Did you run `lafilefixer --justfixit' too?
> 

Can't say that I did. In fact until now, I'd never even heard of that tool.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2009-10-12 20:58:58 UTC
OK, please emerge lafilefixer and try the command in my last comment. It should fix the problem and a lot more potential problems.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-10-13 09:53:33 UTC
Qt 3.x works with jpeg-7. jpeg-compat is ONLY for binary-only packages.