Bug 15859 - missing dependancy for fs-uae-launcher (python-pkg-resources)
Summary: missing dependancy for fs-uae-launcher (python-pkg-resources)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure advisory mga4-32-ok mga...
Keywords: Junior_job, PATCH, Triaged, validated_update
Depends on:
Blocks:
 
Reported: 2015-05-06 15:29 CEST by Nicolas Pomarède
Modified: 2015-05-11 22:11 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Nicolas Pomarède 2015-05-06 15:29:01 CEST
Hello

Under mageia4, I installed fs-uae-launcher-2.2.3-4.mga4.noarch.rpm, which required a few other packages :

  fs-uae                         2.2.3        4.mga4        i586    
  fs-uae-launcher                2.2.3        4.mga4        noarch  
  libSDL_image1.2_0              1.2.12       4.mga4        i586    
  libSDL_mixer1.2_0              1.2.12       5.mga4        i586    
  libSDL_ttf2.0_0                2.0.11       3.mga4        i586    
  libmikmod3                     3.3.4        1.mga4        i586    
  libsmpeg0.4_0                  0.4.5        5.mga4        i586    
  python-pygame                  1.9.1        10.mga4       i586    
  wxPython                       2.8.12.1     5.mga4        i586    
  wxPython-wxversion             2.8.12.1     5.mga4        i586    

But when running fs-uae-laucnher, I got this error :

FS-UAE Launcher 2.2.3
System: ('Linux', 'pulsar', '3.14.32-server-1.mga4', '#1 SMP Sat Feb 7 01:03:42 UTC 2015', 'i686', 'i686')
['/usr/bin/fs-uae-launcher']
Traceback (most recent call last):
  File "/usr/bin/fs-uae-launcher", line 4, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/fs_uae_launcher/__init__.py", line 206, in main
    from .Settings import Settings
  File "/usr/lib/python2.7/site-packages/fs_uae_launcher/Settings.py", line 8, in <module>
    from .Signal import Signal
  File "/usr/lib/python2.7/site-packages/fs_uae_launcher/Signal.py", line 7, in <module>
    import fs_uae_launcher.fsui as fsui
  File "/usr/lib/python2.7/site-packages/fs_uae_launcher/fsui/__init__.py", line 37, in <module>
    from .wx.image import Image
  File "/usr/lib/python2.7/site-packages/fs_uae_launcher/fsui/wx/image.py", line 7, in <module>
    import pkg_resources
ImportError: No module named pkg_resources


-> the rpm python-pkg-resources is missing
After installing python-pkg-resources-1.3-1.1.mga4.noarch.rpm , fs-uae-launcher now starts without error.

Please, update the rpm to add this dependancy.

Thanks
Comment 1 David Walser 2015-05-06 15:52:47 CEST
Another unmaintained pacakge.  CC'ing last committers.

Looks like fs-uae-launcher needs a Requires: python-pkg-resources, easy fix.

CC: (none) => dan, makowski.mageia
Version: 4 => Cauldron
Whiteboard: (none) => MGA4TOO

Samuel Verschelde 2015-05-06 15:57:16 CEST

Keywords: (none) => Junior_job, PATCH, Triaged
CC: (none) => rverschelde
Summary: missing dependancy for fs-uae-launcher => missing dependancy for fs-uae-launcher (python-pkg-resources)

Comment 2 Nicolas Pomarède 2015-05-06 16:08:07 CEST
Note : there's also a problem under mageia5 / cauldron

When starting fs-uae-launcher, the program fails because it can't import "wx", but wxPython is correctly installed.

Could this be an incompatibility with wxPython 3 shipped in cauldron/mageia5 ? (mageia 4 uses wxPython 2.8)
Comment 3 Samuel Verschelde 2015-05-06 16:11:43 CEST
This would be worth a second bug report.
Comment 4 Rémi Verschelde 2015-05-06 17:00:22 CEST
I'll handle the missing Requires.
Please open another bug report for the wxPython issue in Cauldron, maybe the simplest solution would be to update Cauldron to the latest upstream release, the current one is from 2013...
Rémi Verschelde 2015-05-06 17:00:33 CEST

Assignee: bugsquad => rverschelde

Comment 5 Nicolas Pomarède 2015-05-06 17:05:49 CEST
I will open a separate BR for the cauldron version ; I agree it would be better to have latest version of fs-uae before mageia5 is released, but as cauldron is frozen at the moment, I'm not sure it can happen.
Comment 6 Rémi Verschelde 2015-05-06 17:15:26 CEST
Pushed fs-uae-2.2.3-4.1.mga4 to Mageia 4 Core Updates Testing with the added Requires.

Let's assign this bug for the Mageia 4 update only, I'll handle the Cauldron issues in another bug report (comment 0 + comment 2).
Comment 7 Rémi Verschelde 2015-05-06 17:19:30 CEST
Advisory:
=========

Updated fs-uae packages fix missing dependency

  The python GUI for the fs-uae Amiga emulator was missing an explicit dependency
  on the python-pkg-resources package, preventing to start it if the package was
  not already pulled in otherwise (mga#15859). This update fixes it.

References:
===========
 - https://bugs.mageia.org/show_bug.cgi?id=15859

SRPM:
=====
 - fs-uae-2.2.3-4.1.mga4

RPMs:
=====
fs-uae-2.2.3-4.1.mga4
fs-uae-launcher-2.2.3-4.1.mga4.noarch

Assignee: rverschelde => qa-bugs

Rémi Verschelde 2015-05-06 17:20:26 CEST

Version: Cauldron => 4
Whiteboard: MGA4TOO => (none)

Comment 8 Rémi Verschelde 2015-05-06 17:21:36 CEST
Testing procedure:
==================

If you don't have python-pkg-resources installed due to another package, fs-uae-launcher should fail to start with the error in comment 0.

The update candidate should pull in the required package, and the launcher should then start properly.

Hardware: i586 => All
Whiteboard: (none) => has_procedure

Comment 9 Nicolas Pomarède 2015-05-06 19:52:06 CEST
I created BR #15866 for the cauldron/mageia5 issue
Comment 10 claire robinson 2015-05-11 16:12:10 CEST
Testing complete mga4 32

# urpmq --requires fs-uae-launcher | grep python
--requires behaviour changed, use --requires-recursive to get the old behaviour
python(abi)[== 2.7]
pythonegg(2)(pygame)
pythonegg(2)(wxpython)


# urpmq --media Testing --requires fs-uae-launcher | grep python
--requires behaviour changed, use --requires-recursive to get the old behaviour
python-pkg-resources
python(abi)[== 2.7]
pythonegg(2)(pygame)
pythonegg(2)(wxpython)

Ensured packages update cleanly.

Whiteboard: has_procedure => has_procedure mga4-32-ok

Comment 11 claire robinson 2015-05-11 18:12:57 CEST
Advisory uploaded.

Whiteboard: has_procedure mga4-32-ok => has_procedure advisory mga4-32-ok

Comment 12 claire robinson 2015-05-11 19:42:12 CEST
Testing complete mga4 64

Validating.

Please push to 4 updates

Thanks

Keywords: (none) => validated_update
Whiteboard: has_procedure advisory mga4-32-ok => has_procedure advisory mga4-32-ok mga4-64-ok
CC: (none) => sysadmin-bugs

Comment 13 Mageia Robot 2015-05-11 22:11:25 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0045.html

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


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