Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310741 - media-video/vdr-1.6.0_p2 does not compile with <media-libs/jpeg-8
Summary: media-video/vdr-1.6.0_p2 does not compile with <media-libs/jpeg-8
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-22 16:19 UTC by Stefan Bauer
Modified: 2010-03-23 18:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log of vdr with jpeg-6b-r9 installed (build.log,21.79 KB, text/plain)
2010-03-22 16:39 UTC, Stefan Bauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Bauer 2010-03-22 16:19:30 UTC
Stable vdr-1.6.0_p2 depends only on media-libs/jpeg, but fails with stable jpeg-6b-r9 and testing jpeg-7-r1. I suggest vdr should depend on >=media-libs/jpeg-8.



Reproducible: Always

Steps to Reproduce:
1. Ensure only jpeg-6b-r9 or jpeg-7-r1is/will be installed (i.e. mask jpeg-8)
2. emerge vdr


Actual Results:  
Build fails (see coming build.log).

Expected Results:  
VDR should build.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-22 16:35:55 UTC
why would you mask jpeg-8? 

the old jpeg's are for binary-only applications, and only for them, no installed headers at all

that said, i've committed the change to all vdr ebuilds
Comment 2 Stefan Bauer 2010-03-22 16:39:52 UTC
Created attachment 224707 [details]
build.log of vdr with jpeg-6b-r9 installed

An interesting thing:

$ equery f jpeg
[ Searching for packages matching jpeg... ]
* Contents of media-libs/jpeg-6b-r9:
/usr
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/lib
/usr/lib/debug/usr/lib/libjpeg.so.62.debug
/usr/lib/libjpeg.so.62

No headers installed at all!?
Comment 3 Stefan Bauer 2010-03-22 16:44:31 UTC
(In reply to comment #1)
> why would you mask jpeg-8? 

I'm currently digging down another bug in a package depending on jpeg (https://sourceforge.net/tracker/?func=detail&aid=2974620&group_id=160063&atid=814342). I wanted to check for regressions in jpeg.

> the old jpeg's are for binary-only applications, and only for them, no
> installed headers at all

Thanks for explaining this.
 
> that said, i've committed the change to all vdr ebuilds

Thank you.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-03-22 16:57:24 UTC
(In reply to comment #3)
> I'm currently digging down another bug in a package depending on jpeg
> (https://sourceforge.net/tracker/?func=detail&aid=2974620&group_id=160063&atid=814342).
> I wanted to check for regressions in jpeg.

There was a regression in jpeg-8, please upgrade to jpeg-8a.

Also don't forget to run,

revdep-rebuild --library libjpeg.so.62
revdep-rebuild --library libjpeg.so.7

To sanitize the system (a.k.a. relink everything against libjpeg.so.8 that is still linked to old jpeg). Otherwise all debugging data is more than unrealiable :)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-03-23 18:08:19 UTC
I just looked at the bug again, grep the sources for cinfo.raw_data_out or cinfo.raw_data_in. If you find those, you likely need similar patch to one applied in portage for media-video/mjpegtools

/usr/portage/media-video/mjpegtools/files/mjpegtools-1.9.0-jpeg-7.patch