20592
Comment:
|
20611
|
Deletions are marked like this. | Additions are marked like this. |
Line 34: | Line 34: |
||[[DebPkg:dash]] ||0.5.4-12|| Wait||(scripts)|| | ||[[DebPkg:dash]] ||0.5.4-12|| Wait||(scripts, '''dpkg-divert''')|| |
Emdebian Code Audit
Emdebian Crush 1.0 uses a lot of patches to be able to build. This Code Audit is concerned with implementing as many of those patches as possible into the relevant Debian packages. See EmdebianAuditHowTo.
debian-xcontrol 0.0.4 includes support that the Code Audit needs to utilise. Functionality changes need to be supported using the Optional package support in debian/xcontrol - along with changes in emdebian-tools to implement the necessary support. Packages that simply don't cross-build and which are not needed for Crush need to use the Cross-Compiling support but actually implementing those switches at build time needs to be done within that package and not all packages support skipping parts of the build.
Emdebian Crush 1.0 includes the following source packages:
Package |
Version |
Status |
Tags |
2.2.47-2 |
|
||
0.7.20.2 |
Wait |
( dependency, scripts, xcontrol) |
|
3.1.10.2 |
|
||
1.22.0-1 |
Chain |
( modifies debian/control, xcontrol) |
|
1:2.4.43-2 |
|
||
0.2.6-7 |
|
Done |
|
0.6.22-3 |
Wait |
(dependency (qt, adduser), scripts, xcontrol) |
|
5 |
Vendor |
|
|
3.5.20 |
|
Done |
|
3.36-1 |
Chain 450483 |
(cdbs) |
|
6.1.10 |
Wait |
(xcontrol) |
|
1:1.11.1-1 |
Wait |
(dependency, rules, xcontrol) |
|
1.0.5-1 |
Wait |
(rules, info) |
|
1.5.2-4 |
Done |
||
1.6.4-7 |
Tools |
(xcontrol) |
|
0.138lenny2 |
Wait |
drop gtk frontend, (rules, xcontrol) |
|
1:0.2.3dbs-65.1 |
Tools |
(xcontrol, libtool) |
|
6.10-6 |
Drop from Crush 2.0 |
||
2.9-13 |
Wait |
(symbols [win32 omission], scripts) |
|
2.8.12-8 |
Wait |
(python) |
|
3.0pl1-105 |
(adduser, rules) |
||
1.3.8-1lenny4.1 |
FAIL - no longer cross-builds |
||
1.3.5-1 |
Replaced by cups |
||
7.18.2-8 |
Wait |
dependency(noldap, rules, control, xcontrol) |
|
0.5.4-12 |
Wait |
(scripts, dpkg-divert) |
|
1.2.1-5 |
Chain 450483 |
(perl [adduser], scripts [adduser], libtool) |
|
0.76-1 |
Chain 450483 |
(patches [tools, examples]) |
|
1.5.24 |
Wait |
(tools) |
|
2009.01.31 |
Wait |
(tools) |
|
2.30 |
Done |
||
2:1.02.27-4 |
Wait |
(xcontrol, cache) |
|
3.1.1-6 |
Wait |
(scripts, xcontrol) |
|
1.1-20080316-1 |
Wait |
(tools) |
|
2.8.1-12 |
Done |
||
1.0.1-11 |
Wait |
(tools) |
|
1.14.25 |
Wait |
(tools) |
|
0.51-1 |
Wait |
|
|
replaces glibc |
Done |
||
1.41.3-1 |
Wait |
(tools) |
|
0.7-3 |
(scripts) |
||
2.0.1-4 |
Wait |
(tools) |
|
2.7.0-13.3 |
Wait |
(tools) |
|
4.26-1 |
Wait |
(python, xcontrol) |
|
4.4.0-2 |
Wait |
(tools) |
|
2.6.0-3 |
Wait |
(tools) |
|
2.3.7-2 |
Wait |
(libtool, xcontrol) |
|
1.3.1-2 |
Wait |
(tools) |
|
4.3.2-1.1 |
Wait |
|
|
2.22.0-1 |
Wait |
|
|
2.16.6-1 |
Wait |
(tools) |
|
2.7-18 |
Replaced by eglibc |
||
2:4.2.2+dfsg-3 |
Wait |
(patches) |
|
2.18.0-1 |
Done |
||
1:2.22.0-5 |
Wait |
(patches, symbols, xcontrol) |
|
1.4.9-3 |
Wait |
(patches, symbols, xcontrol) |
|
2.0.4-4 |
out of date |
needs RM |
|
2.4.2-6 |
Wait |
(dependency, symbols, xcontrol) |
|
0.13-2 |
Wait |
(xcontrol) |
|
2.8-2 |
Wait |
(xcontrol) |
|
0.55-3 |
Done |
||
0.91-3 |
Done |
||
0.25-4 |
Done |
||
0.2.7-1 |
Done |
||
0.16-2 |
Chain 450483 |
(xcontrol) |
|
0.47-2 |
Chain 450483 |
(xcontrol) |
|
0.41-1 |
Wait |
(xcontrol) |
|
0.1.6-1 |
Done |
||
0.25-3 |
Chain 450483 |
(xcontrol) |
|
0.97-3 |
Wait |
(xcontrol) |
|
0.05-4 |
Wait |
(rules, xcontrol) |
|
0.25-1 |
Done |
||
0.13-4 |
Wait |
(xcontrol) |
|
0.91-1 |
Done |
||
0.7-2 |
Chain 450483 |
(xcontrol) |
|
0.42-2 |
Chain 450483 |
(xcontrol) |
|
0.2-4 |
Wait |
(xcontrol) |
|
0.28-1 |
Wait |
(rules, xcontrol) |
|
0.04-3 |
Wait |
(xcontrol) |
|
0.31-3 |
Done |
||
1.0.6-2 |
Wait |
(xcontrol) |
|
0.4-3 |
|
Done |
|
0.19-2 |
Done |
||
0.20-8 |
Wait |
(rules, xcontrol) |
|
0.6.4-2 |
Wait |
(rules, xcontrol) |
|
0.32-2 |
Done |
||
0.57-1 |
Chain 450483 |
(xcontrol) |
|
0.11-1 |
Wait |
(rules, xcontrol) |
|
0.43-2 |
Chain 450483 |
(xcontrol) |
|
2.5.3~dfsg-6 |
Done |
||
0.5.8-1.2 |
Wait |
(xcontrol) |
|
0.4.2-gpe6-3 |
Wait |
(rules, xcontrol) |
|
2.12.11-4 |
Wait |
||
1.3.12-6 |
Done |
||
0.5.11-8 |
Wait |
(dependencies, xcontrol) |
|
20080508+git20080601-1 |
Done |
||
0.10-1 |
Done |
||
3.8-1 |
Chain 450483 |
(xcontrol) |
|
2.95 |
Done |
||
0.6.8+nmu1 |
Wait |
||
1.4.2-6 |
Wait |
(xcontrol) |
|
3:20071127-1 |
Wait |
||
1.22 |
Done |
||
1.2-9 |
Done |
||
1.6.dfsg.4~beta1-5 |
Wait |
(scripts, xcontrol) |
|
0.0.4 |
Done |
||
libcairo |
1.4.10-1 |
Replaced |
|
libcap |
1:1.10-14 |
Replaced |
libcap2, xcontrol, rules |
0.5-4 |
Chain 450483 |
(xcontrol) |
|
0.12-2 |
Wait |
(rules) |
|
0.1.3-2 |
Done |
||
0.61 |
Wait |
(xcontrol) |
|
0.28-7 |
Tools |
(xcontrol) |
|
2.3.1-2 |
Wait |
(libtool, xcontrol) |
|
2.11~20080614-1 |
Wait |
(xcontrol, rules) |
|
0.90-4 |
Wait |
(control, xcontrol, rules) |
|
0.1-1 |
Chain 450483 |
(xcontrol) |
|
1:1.0.4-3 |
Done |
||
1.4.1-1 |
Wait |
(rules, xcontrol) |
|
1:2.6.2-1 |
Wait |
(python, rules, xcontrol) |
|
0.14-4 |
Chain 450483 |
(xcontrol) |
|
0.9-2 |
Wait |
(rules, control missing priority) |
|
0.17-3 |
Chain 450483 |
(xcontrol) |
|
0.50-4 |
Chain 450483 |
(xcontrol) |
|
0.115-5 |
Done |
||
1.4-2 |
Wait |
(modifies debian/control) |
|
1.0.12-1 |
Wait |
(rules) |
|
0.1-3 |
Wait |
(xcontrol) |
|
2:1.0.4-1 |
Wait |
(xcontrol) |
|
0.8.10-0.1 |
Wait |
drop cpp dependency (rules, xcontrol) |
|
1.8+20080606-1 |
Wait |
drop java (rules, xcontrol) |
|
6b-14 |
Wait |
(rules) |
|
1.9-4 |
Chain 450483 |
(xcontrol) |
|
0.4-4 |
Wait |
(rules, xcontrol) |
|
0.4.2-1 |
Wait |
(rules, xcontrol) |
|
1:0.9.0-3 |
Wait |
(libtool, xcontrol, rules) |
|
1.3+cvs20070425-2 |
FAIL - moved to CMake which fails to build. |
||
1.2.27-2 |
Wait |
(xcontrol) |
|
2.0.65-5 |
Wait |
(rules) |
|
2.0.30-2 |
Wait |
(rules) |
|
2.0.18-2 |
Wait |
(generated files/patches) |
|
2:1.0.3-2 |
Wait |
(xcontrol) |
|
0.6-2 |
Wait |
(xcontrol) |
|
2.2.105-4 |
Wait |
(replaced by libsoup2.4 - libtool, xcontrol) |
|
1.4-1 |
Chain 450483 |
(xcontrol) |
|
0.1-6 |
Wait |
(rules, xcontrol) |
|
0.1.9-4 |
Wait |
(xcontrol) |
|
0.11-2 |
Chain 450483 |
(missing priority, xcontrol) |
|
2:0.1.12-13 |
Wait |
(rules, xcontrol) |
|
2:1.1.5-2 |
Wait |
rules, patches, xcontrol, scripts) |
|
1:1.0.3-3 |
Wait |
(xcontrol) |
|
1.1-1.1 |
Wait |
(rules, xcontrol, chain) |
|
1:0.4.0-3 |
Wait |
(xcontrol) |
|
1:1.1.9-1 |
Wait |
(xcontrol) |
|
1:1.1.1-4 |
Wait |
(xcontrol) |
|
1:1.0.2-3 |
Wait |
(xcontrol) |
|
2:1.0.4-1 |
Wait |
(xcontrol) |
|
1:4.0.3-2 |
Wait |
(xcontrol) |
|
1:1.3.3-1 |
Wait |
(xcontrol) |
|
2:1.1.4-1 |
Wait |
(rules, xcontrol) |
|
2:1.0.3-2 |
Wait |
(rules, xcontrol) |
|
2.6.32.dfsg-5 |
Wait |
(python) |
|
2:1.0.4-1 |
Wait |
(xcontrol) |
|
1:3.5.7-1 |
Wait |
(xcontrol) |
|
2:1.2.3-1 |
Wait |
(rules, xcontrol) |
|
1:0.9.4-2 |
Wait |
(rules, xcontrol) |
|
0.11-3 |
Wait |
(rules, xcontrol) |
|
0.17-5 |
Wait |
(xcontrol) |
|
2:1.0.3-1 |
Wait |
(xcontrol) |
|
3.7.1-5 |
Wait |
(rules, xcontrol) |
|
3.2-20 |
Done |
||
4.43-14 |
Wait |
(xcontrol) |
|
lzo |
1.08-3 |
Replaced by lzo2 |
|
2.03-1 |
Chain 450483 |
(xcontrol) |
|
2.3.1-88 |
Done |
||
1:4 |
Done |
||
0.9.1-3 |
Wait |
(xcontrol, watch, compat) |
|
2.0-1 |
Chain 450483 |
(xcontrol) |
|
0.1-1 |
Chain 450483 |
(xcontrol) |
|
0.9.3-3 |
Chain 450483 |
(xcontrol) |
|
0.1-3 |
Chain 450483 |
(xcontrol) |
|
1.2-2 |
Chain 450483 |
(xcontrol) |
|
1.3.3-11.1 |
Wait |
(build-conflict support, scripts, rules, xcontrol) |
|
1.5-9 |
Wait |
(rules) |
|
3.4-1 |
Wait |
||
2.0.7-4 |
Wait |
(docs) |
|
5.7+20081213-1 |
Wait |
(Fails to build, patches, rules, xcontrol) |
|
1.60-22 |
Wait |
(rules) |
|
4.34 |
Done |
||
1.10-38 |
Wait |
(docs) |
|
0.52.2-11.3 |
Wait |
(dependencies, xcontrol, python) |
|
1:4.2.4p4+dfsg-8 |
Wait |
(build fails, drops crypto support, rules, xcontrol) |
|
0.20080125-2 |
Wait |
(dependency change, rules, xcontrol) |
|
opencdk10 |
0.6.6-1 |
Not in Debian anymore |
|
opencdk8 |
0.5.13-2 |
Not in Debian anymore |
|
1.5.2-6 |
Wait |
(rules, xcontrol) |
|
1:5.1p1-5 |
Wait |
(rules, xcontrol, scripts) |
|
0.4.1 |
Done |
||
0.9.8g-15 |
Wait |
(scripts, rules, xcontrol) |
|
1:2.14.13-0.1 |
Wait |
(fails to build, patches, rules, xcontrol) |
|
1.0.1-5 |
Wait |
(scripts, rules, xcontrol, patches) |
|
1.20.5-3 |
Wait |
(scripts, rules, xcontrol, patches) |
|
1:3.0.0-6 |
Wait |
(xcontrol) |
|
7.6-2.1 |
Wait |
(patches, xcontrol, rules, control) |
|
0.10.0-2 |
Done |
||
1.1.2.4-1 |
Done |
||
1.14-4 |
Done |
||
1.30+nmu1 |
Wait |
(rules) |
|
1:3.2.7-11 |
Wait |
(scripts, xcontrol) |
|
22.6-1 |
Done |
||
0.7.5-1 |
Wait |
(xcontrol, rules) |
|
5.2-3.1 |
Wait |
(rules, scripts) |
|
1:2.6.4-14 |
Wait |
(rules, scripts, xcontrol) |
|
4.1.5-6 |
Wait |
(scripts) |
|
1:4.1.1-6 |
Chain 450483 |
(xcontrol, cache) |
|
0.30-2 |
Chain 450483 |
(xcontrol) |
|
2.1.3-3 |
Wait |
(rules, xcontrol) |
|
2.8.17-4 |
Wait |
(drop tcl, rules, control, xcontrol) |
|
0.9-1 |
Chain 450483 |
(xcontrol) |
|
2.1.0-5 |
Chain 450483 |
(xcontrol, rules) |
|
2.86.ds1-61 |
Wait |
(scripts, rules, xcontrol) |
|
1.20-1 |
Wait |
(scripts) |
|
7.6.q-16 |
Done |
||
3.8.2-11 |
FAIL |
(scripts, rules, xcontrol) |
|
2.0.11-2 |
Wait |
(xcontrol, scripts) |
|
1.0-4 |
Done |
||
1.10-7 |
Wait |
(defoma) |
|
2008h-2 |
Wait |
(java) |
|
3.0016 |
Done |
||
0.125-7 |
Wait |
(scripts, xcontrol) |
|
0.9.8cvs20050303-2.1 |
Wait |
(rules) |
|
0.73-10 |
Wait |
(rules, xcontrol) |
|
2.13.1.1-1 |
Wait |
(rules, xcontrol) |
|
1.11.4-2 |
Wait |
(xcontrol) |
|
7.0.12-1 |
Done |
||
1:1.0.3-2 |
Wait |
(xcontrol) |
|
0.2.1+git1-1 |
Wait |
(rules, xcontrol) |
|
2.1.1-14 |
Wait |
(xcontrol) |
|
0.0.4-5 |
Wait |
(xcontrol) |
|
1:1.0.0-5 |
Wait |
(rules, scripts, xcontrol) |
|
1:1.0.2-3 |
Done |
||
1:7.4+1 |
Wait |
(xcontrol) |
|
2.1.12-3 |
Wait |
(xcontrol) |
|
1.0.9-2 |
Wait |
(xcontrol) |
|
1:7.3+18 |
Wait |
(scripts) |
|
2:1.4.2-10 |
FAIL |
(scripts, rules, xcontrol) |
|
1:1.3.1-1 |
Wait |
(xcontrol) |
|
1:1.3.0-1 |
Wait |
(xcontrol) |
|
1:0.4.0-1 |
Wait |
(xcontrol) |
|
1:1.2.3.3.dfsg-12 |
Done |
The table will be updated with columns for the status of each source package, bugs filed, bugs closed and other data during the progress of the audit.
Legend
Once the audit is in progress, the following tags will be assigned to each source package in the table:
- Test - the package is currently being tested as part of the audit.
- Bug - cross-building support bug is open, number links to the bug report.
- NMU - a delayed NMU has been uploaded to unstable (bug number included).
- Tools - some support already included, other changes needed in emdebian-tools.
- Chain - requires changes in packages other than itself or emdebian-tools (bug number included).
- Wait - awaiting processing in the audit.
- patches - package still needs Emdebian patches to the upstream code in order to cross-build at all.
- libtool - package uses X-Build-Cross-Libtool support that needs a bespoke fix.
- cache - a handful of packages still need their autoconf cache value handling improved.
- xcontrol - needs an xcontrol file / debian-x-control support
- scripts - maintainer script problems, usually expecting to call perl scripts like dpkg-divert etc.
- perl - dependencies on perl packages like adduser
- info - maintainer scripts calls install-info (a replacement is being worked on in Debian).
symbols - Functional changes - the Crush patches change functional behaviour in the package
- Vendor - awaiting possible support for DEB_VENDOR for remaining patches.
- Done - all stages of the audit complete.
Crush 2.0 will then be built from the audited packages in stages - core packages, Xorg, Gtk+ and finally applications.
(The sequence of the audit will not necessarily follow those stages - packages that I maintain myself will be completed asap and some packages have already included patches for cross-build support.)
Changes needed in the toolset
When a source package is tagged with status Tools, the most common reason is that the Emdebian Crush patches for the package still contain lines to remove calls to dh_installman or similar programs. i.e. the cross-build succeeds but Crush is waiting for emdebian-tools to reimplement the build so that docs can be removed without having to patch the package - this is expected to be done by using the current scripts supporting Emdebian Grip.
xcontrol support
To cross-build a package, the current Build-Depends needs to be split into packages that contain programs to be executed during the cross-build (i.e. tools) and packages that contain objects to be linked during the cross-build (i.e. -dev packages etc.). The debian/xcontrol file supports Build-Depends-Tools: for the programs to be executed (e.g. debhelper) and leaves Build-Depends as only containing packages that need to be processed by dpkg-cross.
Where a package status is listed as xcontrol in the audit, the package needs to have an xcontrol file added. This can be added manually but the debian-x-control package is being developed to assist
Build-Cross-Libtool fixes
Some packages need X-Build-Cross-Libtool: yes for likely broken libtool support, although each instance needs separate debugging. The actual cross-build uses the gccross workaround when this tag exists in debian/xcontrol. Packages needing such support are tagged 'libtool'.
python support
The future status of python in Crush is undetermined. Crush 1.0 does not include python but some form of python support may be necessary in Crush 2.0. Packages where python was been removed via patches in Crush 1.0 are tagged with 'python'. These patches are too problematic to retain (frequent changes causing the patches to break) so the python packages may continue to be built and uploaded, just left as uninstallable.
symbols
Functional changes are the main focus of the Audit - to identify:
- which packages need functional changes merely to cross-build
- which packages need functional changes to reduce dependency chains
- which packages need functional changes to reduce the size of the package itself
These changes then need to be assessed and reviewed and packages renamed to indicate the nature of the change, e.g. libgconf-noldap, gnupg-minimal etc.