Bug 8171 - Missing dependency in drracket on libjpeg.so.62
Summary: Missing dependency in drracket on libjpeg.so.62
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure mga2-64-OK MGA2-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-11-21 14:42 CET by Tommi Nieminen
Modified: 2013-01-24 23:37 CET (History)
6 users (show)

See Also:
Source RPM: drracket-5.2.1-1.mga2
CVE:
Status comment:


Attachments

Description Tommi Nieminen 2012-11-21 14:42:16 CET
Description of problem:

âurpmi drracketâ is not enough: Dr. Racket refuses to launch. Launching from a graphical GUI does not even show any feedback but starting from the terminal gives a reason: âffi-lib: couldn't open "libjpeg.so.62" (libjpeg.so.62: cannot open shared object file: No such file or directory)â. A dependency to libjpeg62 package should be added.

Version-Release number of selected component (if applicable):

5.2.1

How reproducible:

See âSteps to Reproduceâ.

Steps to Reproduce:
1. install drracket in a suitably fresh environment
2. try to launch it; nothing happens
3. install libjpeg62
4. now Dr. Racket can be started without trouble.
Sander Lepik 2012-11-21 15:16:25 CET

CC: (none) => sander.lepik
Assignee: bugsquad => mitya

Thierry Vignaud 2012-11-21 23:33:10 CET

Summary: Missing dependency in RPM => Missing dependency in drracket on libjpeg.so.62

Comment 1 Dimitri Jakov 2012-12-27 23:27:23 CET
2 QA: update submitted for Mga2, please test and push.

Assignee: mitya => qa-bugs

Comment 2 claire robinson 2012-12-28 03:04:38 CET
Could you give a proper advisory please Dimitri

At very least the srpms and rpms you've updated.
claire robinson 2012-12-28 03:04:53 CET

Whiteboard: (none) => feedback

Comment 3 claire robinson 2013-01-02 18:20:30 CET
Adding Dimitri to CC.

Could you please add the information requested in comment 2.

Please also see the updates policy here which may give some pointers for future updates.

https://wiki.mageia.org/en/Updates_policy#Maintainer_.28or_any_interested_packager.29

Thanks :)

CC: (none) => mitya

Comment 4 claire robinson 2013-01-08 16:44:50 CET
No response from packager so assuming only drracket was updated for this bug and a require has been added for libjpeg.

Latest drracket in core/updates_testing is drracket-5.2.1-1.1.mga2

urpmq --sourcerpm drracket --media Testing

shows SRPM racket-5.2.1-1.1.mga2.src.rpm

SRPM: racket-5.2.1-1.1.mga2.src.rpm
-----------------------------------
drracket
gracket
libracket5.2.1
libracket-devel
racket


Dimitri can you at least verify this is correct please.
Comment 5 claire robinson 2013-01-08 17:12:16 CET
rpmdiff -iT says different so assigning back to Dimitri for now.

Please reassign to QA when you get a chance to look at this.
Thanks.

CC: (none) => qa-bugs
Assignee: qa-bugs => mitya

Comment 6 Dimitri Jakov 2013-01-08 21:53:43 CET
Ah, sorry for the delay. The differences in files could be ignored; Scheme compiler embeds timestamps in build artifacts, hence MD5 differences for files and MD5+size differences for zipped files. The only package that has been updated is gracket (basic Racket GUI, which DrRacket is built on top of).

Suggested advisory:
========================

Updated racket packages fix missing dependencies issue:

Racket GUI packages didn't pull libjpeg62, and thus the GUIs (gracket and drracket) couldn't be started.
Updated package fixes this.

========================

Updated packages in core/updates_testing:
========================
gracket-5.2.1-1.1.mga2

Source RPM: 
racket-5.2.1-1.1.mga2.src.rpm

Assignee: mitya => qa-bugs

Comment 7 claire robinson 2013-01-09 15:30:53 CET
Thanks Dimitri :)
claire robinson 2013-01-09 15:31:07 CET

Whiteboard: feedback => (none)

Comment 8 claire robinson 2013-01-09 15:54:13 CET
Testing mga2 32

Before
------
# rpm -e --nodeps libjpeg62
# rpm -e --nodeps libjpeg8
# urpmi drracket
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch
(medium "Core Release")
  drracket                       5.2.1        1.mga2        i586
  gracket                        5.2.1        1.mga2        i586
  libracket5.2.1                 5.2.1        1.mga2        i586
13MB of additional disk space will be used.
3.1MB of packages will be retrieved.
Proceed with the installation of the 3 packages? (Y/n) y

$ drracket
standard-module-name-resolver: collection not found: "racket" in any of: (#<path:/home/claire/.racket/5.2.1/collects> #<path:/usr/lib/racket/collects>)

It seems to also be missing a require on racket itself..
# urpmi racket

$ drracket
ffi-lib: couldn't open "libjpeg.so.62" (libjpeg.so.62: cannot open shared object file: No such file or directory)


After
-----
# urpme racket

# urpmi drracket gracket libracket5.2.1
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Updates")
  libjpeg62                      1.2.0        4.1.mga2      i586
(medium "Core Updates Testing")
  drracket                       5.2.1        1.1.mga2      i586
  gracket                        5.2.1        1.1.mga2      i586
  libracket5.2.1                 5.2.1        1.1.mga2      i586
5.9MB of additional disk space will be used.
3.2MB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n) y

$ drracket
standard-module-name-resolver: collection not found: "racket" in any of: (#<path:/home/claire/.racket/5.2.1/collects> #<path:/usr/lib/racket/collects>)

Confirmed the missing require on racket. Also it seems happy to run with libjpeg8 or libjpeg62, should the require be version specific?
Comment 9 claire robinson 2013-01-09 15:58:11 CET
Once racket is installed it starts fine btw

# urpmi racket
installing racket-5.2.1-1.1.mga2.i586.rpm...etc

$ drracket

Starts OK
claire robinson 2013-01-09 15:58:30 CET

Whiteboard: (none) => has_procedure

claire robinson 2013-01-09 16:00:23 CET

Whiteboard: has_procedure => has_procedure feedback

Comment 10 Dimitri Jakov 2013-01-17 02:00:01 CET
Ah, that was stupid. Please test & push updated package.

Suggested advisory:
========================

Updated racket packages fix missing dependencies issues:

Racket GUI packages didn't pull libjpeg62, and thus the GUIs (gracket and
drracket) couldn't be started. In addition to that, libracket package erroneously provided "racket" itself, preventing main racket package from being pulled.
Updated package fixes this.

========================

Updated packages in core/updates_testing:
========================
gracket-5.2.1-1.2.mga2
libracket5.2.1-5.2.1-1.2.mga2

Source RPM: 
racket-5.2.1-1.1.mga2.src.rpm
Comment 11 Dimitri Jakov 2013-01-17 02:02:36 CET
As for libjpeg62 vs. libjpeg8, for Racket this is very fragile. The 5.2 version is known to work with libjpeg62. For newer 5.3, libjpeg8 is sufficient, and we don't have to require it explicitly (it is pulled by GTK+ libraries).
Comment 12 Dimitri Jakov 2013-01-17 02:03:24 CET
Sorry, the source RPM is racket-5.2.1-1.2.mga2.src.rpm
user7 2013-01-17 16:24:51 CET

CC: (none) => wassi
Whiteboard: has_procedure feedback => has_procedure

Comment 13 claire robinson 2013-01-17 17:50:13 CET
SRPM: racket-5.2.1-1.2.mga2.src.rpm
-----------------------------------
drracket
gracket
lib64racket5.2.1
lib64racket-devel
racket
Comment 14 claire robinson 2013-01-17 18:03:45 CET
Testing complete mga2 64

Before
------
Confirmed missing requires for racket and lib64jpeg62

# rpm -e --nodeps lib64jpeg62
error: package lib64jpeg62 is not installed
# rpm -e --nodeps lib64jpeg8
# urpmi drracket
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch
(medium "Core Release")
  drracket                       5.2.1        1.mga2        x86_64
  gracket                        5.2.1        1.mga2        x86_64
  lib64racket5.2.1               5.2.1        1.mga2        x86_64
13MB of additional disk space will be used.
3.2MB of packages will be retrieved.
Proceed with the installation of the 3 packages? (Y/n) y

$ drracket
standard-module-name-resolver: collection not found: "racket" in any of: (#<path:/home/claire/.racket/5.2.1/collects> #<path:/usr/lib64/racket/collects>)

 === context ===
standard-module-name-resolver

# urpmi racket

$ drracket
ffi-lib: couldn't open "libjpeg.so.62" (libjpeg.so.62: cannot open shared object file: No such file or directory)
etc..


After
-----
# urpme racket

Confirmed added requires for racket and lib64jpeg62

# urpmi drracket gracket lib64racket5.2.1
Marking lib64racket5.2.1 as manually installed, it won't be auto-orphaned
writing /var/lib/rpm/installed-through-deps.list
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch
(medium "Core Updates")
  lib64jpeg62                    1.2.0        4.1.mga2      x86_64
(medium "Core Updates Testing")
  drracket                       5.2.1        1.2.mga2      x86_64
  gracket                        5.2.1        1.2.mga2      x86_64
  lib64racket5.2.1               5.2.1        1.2.mga2      x86_64
  racket                         5.2.1        1.2.mga2      x86_64
229MB of additional disk space will be used.
40MB of packages will be retrieved.
Proceed with the installation of the 5 packages? (Y/n) y

$ drracket
Starts OK

Reinstall any libjpegs uninstalled at the beginning.

Whiteboard: has_procedure => has_procedure mga2-64-OK

Comment 15 user7 2013-01-20 15:24:26 CET
Testing mga2, i586.
Comment 16 user7 2013-01-20 15:48:26 CET
Testing complete on mga2, i586. Results are exactly the same as in Comment 14, thus I won't replicate them here.

------
Validating.

No linking needed according to depcheck.

See comment 10 for Advisory & comment 13 for SRPM. Could sysadmin please push from core/updates_testing to core/updates.

Thank you!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: has_procedure mga2-64-OK => has_procedure mga2-64-OK MGA2-32-OK

Comment 17 Thomas Backlund 2013-01-24 23:37:12 CET
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2013-0007

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.