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.
First steps: https://hutten.knut.univention.de/mediawiki/index.php/UCS-4.0_Univention_Package_Update
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.
./packaging/ucslint/debian/compat:7 → Is this on purpose?
There are some missing python2.6 hashbangs: packaging/ucslint/testframework/0004-42--54/conffiles/hook2.py 1:#!/usr/bin/python2.6 packaging/ucslint/testframework/0004-42--54/conffiles/hook1.py 1:#!/usr/bin/python2.6 packaging/ucslint/testframework/0016-2-3/bad.py 1:#!/usr/bin/python2.6
(In reply to Florian Best from comment #4) > ./packaging/ucslint/debian/compat:7 > → Is this on purpose? No, fixed. ucslint has been ported before we decided to switch to level 9. ucslint 4.0.0-2 (In reply to Florian Best from comment #5) > There are some missing python2.6 hashbangs: > packaging/ucslint/testframework/0004-42--54/conffiles/hook2.py > 1:#!/usr/bin/python2.6 > > packaging/ucslint/testframework/0004-42--54/conffiles/hook1.py > 1:#!/usr/bin/python2.6 > > packaging/ucslint/testframework/0016-2-3/bad.py > 1:#!/usr/bin/python2.6 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: ucslint 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[1]: *** [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 > occurs: > > ucslint > 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[1]: *** [override_dh_auto_test] Error 1 This is probably because the package was built without python_support. Please consider the migration list again: https://hutten.knut.univention.de/mediawiki/index.php/UCS-4.0_Univention_Package_Update
(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: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".