FS#16440 - [madman] misses libqt-mt.so.3 dependency

Attached to Project: Community Packages
Opened by Jan Winkelmann (keks) - Saturday, 03 October 2009, 00:57 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 06 October 2009, 08:35 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When starting madman without having qt3 installed, you'll get a message that explains that madman misses that lib.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
either
$ ldd /usr/bin/madman
or
$ pacman -R qt3
$ pacman -S madman
$ madman
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 06 October 2009, 08:35 GMT
Reason for closing:  Fixed
Comment by Laszlo Papp (djszapi) - Saturday, 03 October 2009, 04:43 GMT
Yeah you're right, qt3 is needed in the depends section, not qt maybe, because qt is the qt4 version.
Comment by Laszlo Papp (djszapi) - Saturday, 03 October 2009, 14:21 GMT
I can't build it with qt3.

==> Starting build()...
patching file utility/refcnt_ptr.h
/var/abs/community/madman/src/madman-0.93/scons-local-0.95/SCons/Sig/MD5.py:41: DeprecationWarning: the md5 module is deprecated; use hashlib instead
md5 = imp.load_module('md5', file, name, desc)
scons: Reading SConscript files ...
/var/abs/community/madman/src/madman-0.93/scons-local-0.95/SCons/Platform/posix.py:37: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import popen2
File "/var/abs/community/madman/src/madman-0.93/scons-local-0.95/SCons/Tool/gas.py", line 36

import as

^

SyntaxError: invalid syntax


'as' is a keyword in python, you can't use as a module with import e.g.
Bug in scons. It mistakenly uses a keyword as a module name, which is illegal in Python2.6.

Maybe it's nor arch related problem, I'd file a bug.

Comment by Sergej Pupykin (sergej) - Saturday, 03 October 2009, 16:56 GMT
it is because word 'as' now is a keyword in python

module as should be renamed to fix it or may be we should use old python
Comment by Laszlo Papp (djszapi) - Saturday, 03 October 2009, 17:53 GMT
To use old python I don't think the best idea, because other packages who depend on new python e.g. can cause error there.
Renaming seems better for me.

Loading...