Bug 580024

Summary: No libjpeg-32bit-7.0.0-1.2 package available
Product: [openSUSE] openSUSE 11.3 Reporter: Markus Koßmann <markus.kossmann>
Component: OtherAssignee: Petr Gajdos <pgajdos>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: meissner, ro
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: solver testcase part1
solver testcase part2

Description Markus Koßmann 2010-02-15 17:46:50 UTC
User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.1 (like Gecko) SUSE

When updating factory to current version the following dependency problem shows up:
Problem: nothing provides libjpeg-32bit = 7.0.0 needed by libjpeg-devel-32bit-7.0.0-1.2.x86_64
 Solution 1: keep obsolete libjpeg-devel-32bit-6.2.0-885.2.x86_64
 Solution 2: break libjpeg-devel-32bit by ignoring some of its dependencies

Indeed download.opensuse.org provides no libjpeg-32bit-7.0.0-1.2 package

Reproducible: Always

Steps to Reproduce:
1. Update factory with libjpeg-32bit installed to version as of 02-15-2010
2.
3.
Actual Results:  
Dependency error

Expected Results:  
System should update to libjpeg-32bit-7.0.0
Comment 1 Marcus Meissner 2010-02-16 13:45:54 UTC
jpeg v8 with corrected baselibs.conf is submitted for next rebuild already.
Comment 2 Markus Koßmann 2010-02-22 03:26:21 UTC
Please check again baselibs.conf. The update to v8 doesn't solve the problem:

Problem: nothing provides libjpeg-32bit = 8.0.0 needed by libjpeg-devel-32bit-8.0.0-1.1.x86_64
 Solution 1: keep obsolete libjpeg-devel-32bit-6.2.0-885.2.x86_64
 Solution 2: break libjpeg-devel-32bit by ignoring some of its dependencies
Comment 3 Markus Koßmann 2010-02-22 19:11:35 UTC
This becomes more and more strange. Today I checked download.opensuse.org again manually. And there is libjpeg-32bit-8.0.0-1.1.x86_64.rpm. Might it be that the 
metadata wasn't updated yet. I'll attach a solver testcase.
Comment 4 Markus Koßmann 2010-02-22 19:31:51 UTC
Created attachment 343878 [details]
solver testcase part1

> 10MB -> splitted into 2 parts
Comment 5 Markus Koßmann 2010-02-22 19:33:15 UTC
Created attachment 343879 [details]
solver testcase part2
Comment 6 Marcus Meissner 2010-02-25 07:46:37 UTC
its basically a temporary condition due to unfinished rebuilds. 

It should righten itself soon. either has already or will do so soon.
Comment 7 Petr Gajdos 2010-03-01 14:10:39 UTC
Markus,

is this problem preserving for you?
Comment 8 Markus Koßmann 2010-03-01 17:23:17 UTC
The problem still exists after last weekends update of >600 packages. Just tried to update again and not surprisingly because there was no update of libjpeg: 

Problem: nothing provides libjpeg-32bit = 8.0.0 needed by libjpeg-devel-32bit-8.0.0-1.1.x86_64
 Solution 1: keep obsolete libjpeg-devel-32bit-6.2.0-885.2.x86_64
 Solution 2: break libjpeg-devel-32bit by ignoring some of its dependencies

The problem seems to be that libjpeg8-32bit-8.0.0-1.1.x86_64.rpm provides:
libjpeg.so.8
libjpeg.so.8(LIBJPEG_8.0)
libjpeg.so.8(libjpeg.so.8)
libjpeg8-32bit = 8.0.0-1.1
libjpeg8-32bit(x86-32) = 8.0.0-1.1
 
but libjpeg-devel-32bit-8.0.0-1.1.x86_64.rpm requires:
libjpeg-devel = 8.0.0
libjpeg-32bit = 8.0.0
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
Comment 9 Petr Gajdos 2010-03-02 08:37:22 UTC
I see, thanks; I can reproduce it, I will look into it as soon as possible.
Comment 10 Petr Gajdos 2010-03-04 16:46:05 UTC
Rudi, I am completely lost in baselibs.conf, could you please help?
Comment 11 Ruediger Oertel 2010-03-04 17:51:48 UTC
that one should work:

jpeg/baselibs.conf:
-------------------------------------
libjpeg8
libjpeg-devel
 requires -libjpeg-<targettype>
 requires "libjpeg8-<targettype> = <version>"
-------------------------------------
Comment 12 Petr Gajdos 2010-03-08 09:36:50 UTC
(In reply to comment #11)
> that one should work:
> 
> jpeg/baselibs.conf:
> -------------------------------------
> libjpeg8
> libjpeg-devel
>  requires -libjpeg-<targettype>
>  requires "libjpeg8-<targettype> = <version>"
> -------------------------------------

Thanks Rudi, this worked to me.

Markus, could you please try update from graphics/jpeg?
Does it work for you too?
Comment 13 Markus Koßmann 2010-03-08 18:05:28 UTC
Hmm; where exactly can I find the fixed version ? 

I've looked into http://download.opensuse.org/repositories/graphics/ and http://download.opensuse.org/repositories/graphics:/ and I couldn't find any updated jpeg version there and the factory repo provides 8.0.0-1.2 ( dated 05.03.2009) which is still broken.
Comment 14 Markus Koßmann 2010-03-09 02:48:00 UTC
Ok, now there is 8.0.0-20.2 in http://download.opensuse.org/repositories/graphics/ and it looks fine
Comment 15 Petr Gajdos 2010-03-09 07:22:43 UTC
(In reply to comment #14)
> Ok, now there is 8.0.0-20.2 in
> http://download.opensuse.org/repositories/graphics/ and it looks fine

Yes, it wasn't "published".
Markus, thanks for cooperation, if any other problem, please let me know.

SR created:
Request #34402:

  submit:   graphics/jpeg(r20) -> openSUSE:Factory/jpeg


Message:
    None

State:   new          2010-03-09T08:22:14 pgajdos
Comment: None