Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287890 - Recent media-libs/jpeg-7 going stable means unable to emerge stable nxclient-3.3.0.6
Summary: Recent media-libs/jpeg-7 going stable means unable to emerge stable nxclient-...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 12:18 UTC by Mike Mazur
Modified: 2009-10-07 00:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Mazur 2009-10-06 12:18:02 UTC
One of <media-libs/jpeg-7 or media-libs/jpeg-compat is required by nxclient-3.3.0.6. media-libs/jpeg-7 just went stable, and media-libs/jpeg-compat is currently keyworded. An `emerge -avuDN world` probably tries to update media-libs/jpeg from 6b-r8 to 7, meaning nxclient's dependencies are no longer satisfied.

Reproducible: Always

Steps to Reproduce:
1. Run `emerge -avuDN world`

Actual Results:  
Output from emerge:

# emerge -avuDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "media-libs/jpeg-compat" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-libs/jpeg-compat-6b-r1 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "net-misc/nxclient-3.3.0.6" [installed])
(dependency required by "world" [argument])

Expected Results:  
`emerge -avuDN world` succeeds.

I'm running a stable system

Relevant section from nxclient-3.3.0.6.ebuild:

# grep -B 3 -A 3 media-libs/jpeg-compat /usr/portage/net-misc/nxclient/nxclient-3.3.0.6.ebuild 
RDEPEND="dev-libs/expat
	>=dev-libs/openssl-0.9.8e
	media-libs/audiofile
	|| ( media-libs/jpeg-compat <media-libs/jpeg-7 )
	media-libs/libpng
	media-libs/freetype
	media-libs/fontconfig

Note that media-libs/jpeg *older* than version 7 or media-libs/jpeg-compat is required.

I currently have media-libs/jpeg-6b-r8 installed, and I don't have media-libs/jpeg-compat installed at all:

# equery l media-libs/jpeg
[ Searching for package 'jpeg' in 'media-libs' among: ]
 * installed packages
[I--] [  ] media-libs/jpeg-6b-r8 (0)
[I--] [  ] media-libs/openjpeg-1.3-r2 (0)
# equery l media-libs/jpeg-compat
[ Searching for package 'jpeg-compat' in 'media-libs' among: ]
 * installed packages
# 

The KEYWORDS for media-libs/jpeg-compat:

# grep ^KEYWORDS /usr/portage/media-libs/jpeg-compat/jpeg-compat-6b-r1.ebuild 
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"

The KEYWORDS for both versions of media-libs/jpeg:

# grep ^KEYWORDS /usr/portage/media-libs/jpeg/jpeg-6b-r8.ebuild 
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
# grep ^KEYWORDS /usr/portage/media-libs/jpeg/jpeg-7.ebuild 
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"

It seems the recent stabilization of media-libs/jpeg-7[1] causes it to be upgraded. This means that media-libs/jpeg no longer satisfies the RDEPEND of net-misc/nxclient-3.3.0.6 and media-libs/jpeg-compat is pulled in. However, media-libs/jpeg-compat is currently keyworded.

[1] http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild?r1=1.14&r2=1.15
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-10-06 18:47:18 UTC
This only means you cannot upgrade jpeg as long as media-libs/jpeg-compat is not stable. So just wait for this. As no stable ebuild depend on media-libs/jpeg-7, there will be no problem.
Comment 2 Mike Mazur 2009-10-07 00:34:26 UTC
(In reply to comment #1)
> This only means you cannot upgrade jpeg as long as media-libs/jpeg-compat is
> not stable. So just wait for this. As no stable ebuild depend on
> media-libs/jpeg-7, there will be no problem.
> 

OK, that makes sense. I've actually done this to update the rest of my packages.

Thanks.