Univention Bugzilla – Bug 35135
Migrate ucslint to UCS 4
Last modified: 2014-11-26 06:53:56 CET
The ucslint source package should be migrated to UCS 4.
Build for UCS 4. Switched python hash bang check to "2.7".
Copyrights have been updated. Testframework has been updated.
libtre has been rebuild with python bindings in UCS 4.
→ Is this on purpose?
There are some missing python2.6 hashbangs:
(In reply to Florian Best from comment #4)
> → Is this on purpose?
No, fixed. ucslint has been ported before we decided to switch to level 9.
(In reply to Florian Best from comment #5)
> There are some missing python2.6 hashbangs:
This is no bug, as the scripts within the testframework are never called (only scanned). In this case only the modules "0004" resp. "0016" are used to scan the files. Therefore ucslint is not complaining about the "wrong" python hashbangs.
When building univention-system-setup for UCS 4.0 the following traceback occurs:
Traceback (most recent call last):
File "/usr/bin/ucslint", line 49, in <module>
import ucslint.base as uub
ImportError: No module named ucslint.base
make: *** [override_dh_auto_test] Error 1
(In reply to Florian Best from comment #7)
> When building univention-system-setup for UCS 4.0 the following traceback
> Traceback (most recent call last):
> File "/usr/bin/ucslint", line 49, in <module>
> import ucslint.base as uub
> ImportError: No module named ucslint.base
> make: *** [override_dh_auto_test] Error 1
This is probably because the package was built without python_support. Please consider the migration list again:
(In reply to Florian Best from comment #8)
> (In reply to Florian Best from comment #7)
> > When building univention-system-setup for UCS 4.0 the following traceback
> > occurs:
The traceback has been fixed with the latest version.
Afaik the "XS-Python-Version" string must be in the source stanza of the package defintion (not per package) (https://wiki.debian.org/Python/Policy https://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html).
I adjusted this in svn52281.
OK, everything considered → VERIFIED
I've added a changelog for all migrated packages: r52983
UCS 4.0-0 has been released:
If this error occurs again, please use "Clone This Bug".