Emdebian

Company: http://www.emdebian.org
Manager: debian-embedded
Start: July 13, 2007
Finish: August 14, 2008
Report Date: June 18, 2008

Gantt Chart

WBS Name Work
     
1 Package Set 164d
1.1 Gtk2 156d
1.1.1 Fix blocking packages 4d
1.1.1.1 gcc-* 1d
1.1.1.2 busybox 1d
1.1.1.3 liborbit2 1d
1.1.1.4 libldap2 1d
1.1.2 Fix problematic packages 152d
1.1.2.1 perl-base 68d
1.1.2.2 apititude 67d
1.1.2.3 xfonts base package split 1d
1.1.2.4 glib-2.0 7d
1.1.2.5 mesa 7d
1.1.2.6 libxt 1d
1.1.2.7 apt 1d
1.2 GPE on arm 1d
1.2.1 Complete list of packages 1d
1.2.1.1 gpe-filemanager 1d
1.3 Dependency changes 3d
1.3.1 gconf and ldap 1d
1.3.2 remove depends on cpp 1d
1.3.3 curl without ldaps & ldap2 1d
1.4 Configure Gtk/X/GPE 4d
1.4.1 dbus user config 1d
1.4.2 avahi-daemon 1d
1.4.3 gconf2 and python 1d
1.4.4 xomap to replace Xorg 1d
2 Debian work 30d
2.1 dpkg fixes 14d
2.1.1 Implement diversions in dpkg 14d
2.2 File bugs with upstream patches 3d
2.2.1 cracklib2 1d
2.2.2 cron 1d
2.2.3 dash 1d
2.3 map the progress of packages 1d
2.4 discuss on debian-devel 11d
2.4.1 Translation support 1d
2.4.1.1 Incorporate tdeb support into debhelper 1d
2.4.2 nodocs handling 1d
2.4.3 notest/nocheck handling 1d
2.4.4 file bugs with cross-built tag 7d
2.4.5 Migrate Essential:yes to /etc/ 1d
2.5 Automatically drop python 1d
3 Auto-build emdebian packages 69d
3.1 Set up build system and web pages 69d
4 Automated emdebian rootfs installer 3d
4.1 Implement a usable init / update-rc.d 1d
4.2 second stage qemu 1d
4.3 Unpacked emdebian rootfs variant 1d
5 Emdebianise more packages 3d 6h
5.1 Update existing packages 3d 6h
5.1.1 Identify patches for Debian 3d 6h
6 Improve emdebian-tools 3d
6.1 Package update mechanism 2d
6.2 pkgconfig cross build
6.3 packages.conf support for arch. 1d
7 Improve apt-cross 14d
7.1 Handle OR dependencies 13d
7.2 debug exclusion handling 1d
8 Emdebian policy 53d
8.1 Start wiki page 1d
8.2 Begin docbook file based on Debian 52d
9 Infrastructure 146d
9.1 Toolchains 146d
9.1.1 complete buildd setup 132d
9.1.2 auto-build toolchain mechanism 14d
10 Documentation 248d 2h
10.1 Making Emdebian systems 21d
10.2 Emdebianising new packages. 21d
10.3 infrastructure 69d
10.4 Policy 68d 2h
10.5 Fold DebConf talk into website 69d
10.5.1 Implement xsltproc in website build 69d
11 Explain Emdebian 21d
11.1 DebConf8 20d
11.2 Fosdem 2008 1d
12 Hardware 32d
12.1 More test systems in use 32d
Week 29, 2007 Week 30, 2007 Week 31, 2007 Week 32, 2007 Week 33, 2007 Week 34, 2007 Week 35, 2007 Week 36, 2007 Week 37, 2007 Week 38, 2007 Week 39, 2007 Week 40, 2007 Week 41, 2007 Week 42, 2007 Week 43, 2007 Week 44, 2007 Week 45, 2007 Week 46, 2007 Week 47, 2007 Week 48, 2007 Week 49, 2007 Week 50, 2007 Week 51, 2007 Week 52, 2007 Week 1, 2008 Week 2, 2008 Week 3, 2008 Week 4, 2008 Week 5, 2008 Week 6, 2008 Week 7, 2008 Week 8, 2008 Week 9, 2008 Week 10, 2008 Week 11, 2008 Week 12, 2008 Week 13, 2008 Week 14, 2008 Week 15, 2008 Week 16, 2008 Week 17, 2008 Week 18, 2008 Week 19, 2008 Week 20, 2008 Week 21, 2008 Week 22, 2008 Week 23, 2008 Week 24, 2008 Week 25, 2008 Week 26, 2008 Week 27, 2008 Week 28, 2008 Week 29, 2008 Week 30, 2008 Week 31, 2008 Week 32, 2008
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14
external, zumbi, codehelp, wookey
codehelp, wookey
external
wookey
external, codehelp
external
external
external, codehelp
codehelp
codehelp
external
external
codehelp
codehelp, wiki
external, codehelp
codehelp, wookey
GyrosGeier, external, codehelp
codehelp, wookey
codehelp, wookey
codehelp, wookey
balloon3, codehelp, wookey
balloon3, codehelp, wookey
codehelp
codehelp
dindon, codehelp
zumbi
balloon3, codehelp
codehelp, wookey, wiki
zumbi, codehelp, wookey
balloon3, ant, zumbi, codehelp, wookey
codehelp, wookey

Tasks

WBS Name Start Finish Work Priority Complete Cost Notes
1 Package Set Jul 13 Feb 14 164d
1.1 Gtk2 Jul 13 Feb 14 156d
1.1.1 Fix blocking packages Jul 13 Jul 13 4d
1.1.1.1 gcc-* Jul 13 Jul 13 1d 0% libgcc1 - reverse_cross Persistent breakage with each new gcc update. This really needs a proper solution so that Debian gcc maintainers can test this sort of thing before uploads. Once dpkg-dev 1.14.18 is in unstable, it will be easier because dpkg-buildpackage -a should work - but the gcc team will still need a toolchain. Tue 08 Apr 2008, 17:44
1.1.1.2 busybox Jul 13 Jul 13 1d 0% Need a new config for Emdebian - hopefully one that can be retained across busybox versions. The recent update has changed a lot of options. Tue 08 Apr 2008, 17:46
1.1.1.3 liborbit2 Jul 13 Jul 13 1d 0%
1.1.1.4 libldap2 Jul 13 Jul 13 1d 0% See also "Dependency Changes" - need to build openldap without libsasl2-2 support which may or may not work. (Incompatible with Debian builds.)
1.1.2 Fix problematic packages Jul 13 Feb 14 152d Use edos-debcheck to identify uninstallable packages List packages that fail to build here as separate tasks. Fri 13 Jul 2007, 21:41
1.1.2.1 perl-base Nov 13 Feb 14 68d 0%
1.1.2.2 apititude Nov 13 Feb 13 67d 0% The cross dependencies involving apt are very troublesome because the -dev package is provided by an application package and apt-cross is unable to fully track the resulting cross dependencies. (gnupg-arm-cross and debian-archive-keyring-arm-cross need to be omitted.) Not sure how to fix this as yet - may need to add a Build-Depends-Exclude field to debian/xcontrol. Sat 09 Feb 2008, 21:35
1.1.2.3 xfonts base package split Jul 13 Jul 13 1d 0%
1.1.2.4 glib-2.0 Jul 13 Jul 18 7d 0% Builds OK on amd64 but fails on powerpc Failure in glib-genmarshal which is built by the package but needs to process the object files for the host *and* glib-genmarshal is packaged for the host. Happens to work on amd64 but likely to fail elsewhere. Needs to be built for the host arch to operate on the host arch binaries yet cannot expect to run on all builds.
1.1.2.5 mesa Jul 13 Jul 23 7d 0% mesa builds differently for each --build powerpc appears to work but is too slow for my box i386 needs CC_FOR_BUILD amd64 tries to compile 64bit libraries for a 32bit target. Sat 17 Nov 2007, 16:58 Reported: <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451648"> 451648</a>.
1.1.2.6 libxt Jul 13 Jul 13 1d 0% Might need an implementation of CC_FOR_BUILD but the debian build uses some weird macros. make[3]: Entering directory `/opt/emdebian/trunk/l/libxt/trunk/libxt-1.0.5/obj-x86_64-linux-gnu/util' make[3]: Entering directory `/opt/emdebian/trunk/l/libxt/trunk/libxt-1.0.5/obj-x86_64-linux-gnu/src' ../util/makestrs -i ../.. < ../../util/string.list > StringDefs.c /bin/sh: ../util/makestrs: cannot execute binary file make[3]: *** [StringDefs.c] Error 126
1.1.2.7 apt Feb 14 Feb 14 1d 0% apt causes problems with cross build dependencies: Need: dpkg-cross -X apt-utils -X libapt-pkg-libc6.7-6-4.6 -b libapt-pkg-dev_0.7.10_arm.deb dpkg-cross -X debian-archive-keyring apt_0.7.10_arm.deb
1.2 GPE on arm Jul 16 Jul 16 1d Complete build of gtk dependencies for Emdebian Package existing GPE packages in Debian Complete the list of GPE packages in Debian. Fri 13 Jul 2007, 20:49
1.2.1 Complete list of packages Jul 16 Jul 16 1d Remaining packages include touchscreen support and a few more GPE packages - see the <a href="http://pkg-gpe.alioth.debian.org/status.php"> Debian GPE team status page</a>. Mon 21 Jan 2008, 17:49
1.2.1.1 gpe-filemanager Jul 16 Jul 16 1d 0% gpe-filemanager depends on GnomeVFS which currently tries to bring in liborbit2. Need a dbus-only implementation. Sun 09 Mar 2008, 10:32
1.3 Dependency changes Jul 13 Jul 13 3d A collection of possible issues where Emdebian has had to change the dependency chain. The "ToDo" item here is to check that these changes are workable and to act as a reminder.
1.3.1 gconf and ldap Jul 13 Jul 13 1d 0% gconf dependencies bring in openldap openldap needs to have libsasl disabled in Emdebian because libsasl brings in libdb4.4 It would be better if gconf didn't bring in openldap in the first place or avoid gconf itself - brought in by libgnomevfs Check OE methods (libgnomevfs is used).
1.3.2 remove depends on cpp Jul 13 Jul 13 1d 0% xinit, liborbit0 and some other non-compiler packages have a runtime dependency on cpp. Removed for Emdebian - at a later date, check with upstream and file bugs?
1.3.3 curl without ldaps & ldap2 Jul 13 Jul 13 1d 50% libcurl3 built with --disable-ldaps --disable-ldap
1.4 Configure Gtk/X/GPE Jul 13 Jul 13 4d
1.4.1 dbus user config Jul 13 Jul 13 1d 0% dbus postinst uses adduser which is perl and therefore not available. The effects of adduser need to be implemented for dbus: MESSAGEUSER=messagebus MESSAGEHOME=/var/run/dbus LAUNCHER=/usr/lib/dbus-1.0/dbus-daemon-launch-helper case "$1" in configure) adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --group "$MESSAGEUSER" chown "$MESSAGEUSER":"$MESSAGEUSER" "$MESSAGEHOME" if ! dpkg-statoverride --list "$LAUNCHER" > /dev/null 2>&1; then chown root:"$MESSAGEUSER" "$LAUNCHER" chmod 4754 "$LAUNCHER" fi
1.4.2 avahi-daemon Jul 13 Jul 13 1d 0% avahi-autoipd.postinst and avahi-daemon.postinst both use adduser - see the emdebian patches and reimplement.
1.4.3 gconf2 and python Jul 13 Jul 13 1d 0% /usr/sbin/update-gconf-defaults is a python script. Replace.
1.4.4 xomap to replace Xorg Jul 13 Jul 13 1d 0% Xomap is used in a variety of embedded situations but is not yet available in Debian. It is derived from the xserver-xorg-kdrive support. Needs to be located, built, packaged and cross built. Sun 03 Feb 2008, 19:58
2 Debian work Jul 13 Oct 2 30d Push changes back into Debian as much as possible (e.g faster boot) Fri 13 Jul 2007, 20:38
2.1 dpkg fixes Sep 13 Oct 2 14d
2.1.1 Implement diversions in dpkg Sep 13 Oct 2 14d 70% See #439979 Wed 05 Sep 2007, 09:07
2.2 File bugs with upstream patches Jul 18 Jul 19 3d User: codehelp@debian.org UserTag: cross-built Severity: normal or minor. <a href="http://www.linux.codehelp.co.uk/emdebian/man/re03.html">emdebuild manpage</a> <a href="http://wiki.debian.org/EmdebianGuide">http://wiki.debian.org/EmdebianGuide</a> Fri 10 Aug 2007, 07:43
2.2.1 cracklib2 Jul 18 Jul 19 1d 0% Redefines the CDBS make instructions and needs to set for as per the Emdebian guide. http://buildd.emdebian.org/svn/browser/current/target/trunk/c/cracklib2/trunk/emdebian-rules.patch ifneq (,) CROSS=CC=-gcc else CROSS= endif DEB_MAKE_INVOKE := CFLAGS="" make all
2.2.2 cron Jul 18 Jul 19 1d 0% Needs to support cross building in ifneq (,) CROSS=CC=-gcc else CROSS= endif is called twice, both calls need . -C b-cron -f ../Makefile OPTIM="" DEBUG_DEFS="" VPATH=.. INCLUDE=-I.. SELINUX_DEFS="-DWITH_SELINUX" SELINUX_LIBS=-lselinux -C b-cron-se -f ../Makefile OPTIM="" DEBUG_DEFS="" VPATH=.. INCLUDE=-I..
2.2.3 dash Jul 18 Jul 19 1d 0% Current patch uses: DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq (,) CC=-gcc else CC=gcc endif This is only needed because dash sets CC= explicitly test without CC= in the configure stanza and file the bug.
2.3 map the progress of packages Jul 13 Jul 13 1d 30% Local support now exists for tracking the status of builds, pending support on buildd.emdebian.org Tue 08 Apr 2008, 17:47
2.4 discuss on debian-devel Jul 13 Jul 18 11d
2.4.1 Translation support Jul 13 Jul 13 1d
2.4.1.1 Incorporate tdeb support into debhelper Jul 13 Jul 13 1d 0%
2.4.2 nodocs handling Jul 13 Jul 13 1d 0%
2.4.3 notest/nocheck handling Jul 13 Jul 13 1d 0%
2.4.4 file bugs with cross-built tag Jul 13 Jul 18 7d 30%
2.4.5 Migrate Essential:yes to /etc/ Jul 13 Jul 13 1d 0%
2.5 Automatically drop python Jul 13 Jul 13 1d 0% Possibly via debian-xcontrol or some other means of automating changes to debian/control like support for dpkg variants. The objective would be to automatically force all packages to drop all python support, including build-deps, python packages, dependencies and support in debian/rules (possibly via environment variable). This would ease the auto-building of Emdebian packages by simplifying Emdebian patches, reducing the number of times patches fail to apply. Sun 10 Feb 2008, 17:48
3 Auto-build emdebian packages Jul 13 Aug 31 69d deb_compare.pl, emsource -b and emdebuild -n support currently being tested. Likely to need further scripting to connect deb_compare.pl with emsource -b by converting a list into a series of steps where failure in one does not cause failure of all. Sun 07 Oct 2007, 14:08
3.1 Set up build system and web pages Jul 13 Aug 31 69d 50% em_autobuild in 1.0.0 is a start for local builds. Tue 08 Apr 2008, 17:48
4 Automated emdebian rootfs installer Jul 13 Jul 13 3d
4.1 Implement a usable init / update-rc.d Jul 13 Jul 13 1d 50% The sysv-rc package puts a symlink for this and then dpkg complains. Busybox may need to conflict with sysv-rc and then provide a dummy update-rc.d script. Wed 10 Oct 2007, 15:47 Need a working init setup to boot the device, not just the empty placeholder in the default emsandbox. Sat 03 Nov 2007, 15:31
4.2 second stage qemu Jul 13 Jul 13 1d 0%
4.3 Unpacked emdebian rootfs variant Jul 13 Jul 13 1d 60% The emsandbox rootfs can be used as debianroot.tgz in the balloon setup - i.e. already unpacked. Need to make a user-friendly "USB key sandbox" function that copies the rootfs onto a USB key alongside the kernel and modules and a setup script. Eventually, fold all that into the Debian Installer. Sun 09 Mar 2008, 10:29
5 Emdebianise more packages Jul 13 Jul 18 3d 6h Emdebianising more packages so that they 1. do not install unnecessary things (docs, examples, multiple translations) (See the repository update scripts.) 2. cross-build correctly 3. split packages where the default has too many dependencies Fri 13 Jul 2007, 20:36
5.1 Update existing packages Jul 13 Jul 18 3d 6h Manually initially, then incorporate the auto-build mechanism. Fri 13 Jul 2007, 20:50
5.1.1 Identify patches for Debian Jul 13 Jul 18 3d 6h 0%
6 Improve emdebian-tools Jul 13 Dec 16 3d
6.1 Package update mechanism Jul 13 Jul 13 2d 50% emsource already supports a --clean command and will automatically get the latest source via apt-get source. emdebuild already supports a --next command to increment the version and rebuild. Need to optimise and script the update so that emdebian-changelog.patch is omitted and a webpage is updated with notification of whether the build succeeded or failed. Wed 18 Jul 2007, 10:25 emsource -b option added to call emdebuild -n. deb_compare.pl script is now available in SVN as part of the cachecompare rewrite to identify source packages older than Debian. Sun 07 Oct 2007, 14:02
6.2 pkgconfig cross build Dec 17 Dec 16 checking for arm-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config configure: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org. checking pkg-config is at least version 0.9.0... yes This could be a symlink or an alias: arm-linux-gnu-pkg-config='PKG_CONFIG_LIBDIR=/usr/arm-linux-gnu/lib/pkgconfig pkg-config' See <a href="http://bugs.debian.org/217902">#217902</a>. See also <a href="http://bugs.freedesktop.org/show_bug.cgi?id=130"> http://bugs.freedesktop.org/show_bug.cgi?id=130</a> Overall, this is recorded here for reference but is not likely to change and isn't particularly bothersome to Emdebian. Sun 16 Dec 2007, 11:57
6.3 packages.conf support for arch. Jul 13 Jul 13 1d 0% Include the architecture as a variable in packages.conf. Note, however, that packages.conf is not used by all scripts - just the ones related to root filesystems - and that, currently, only one architecture is actually available through the Emdebian target repository, ARM. There will, therefore, still be times when a script needs the --arch option if the dpkg-cross default is None (or different). Thu 27 Mar 2008, 18:37
7 Improve apt-cross Jul 13 Jul 31 14d 0.3.0 in Debian Sat 13 Oct 2007, 20:26
7.1 Handle OR dependencies Jul 13 Jul 31 13d 80%
7.2 debug exclusion handling Jul 13 Jul 13 1d 0% libpango1.0-common is wrongly brought into the dependencies and defoma as well. Fix the Arch:all check in apt-cross to ensure these are omitted again.
8 Emdebian policy Jul 13 Nov 13 53d Work on Emdebian policy and actual packages to: * Speed up boot time * Reduce dependencies * Differentiate between install time and run-time dependencies * Differentiate between build and target build-dependencies * Shrink minimum rootfs sizes o Busybox-based rootfs as well as GNU-based o Dash instead of bash o Remove perl from essential Fri 13 Jul 2007, 20:37
8.1 Start wiki page Nov 13 Nov 13 1d 0%
8.2 Begin docbook file based on Debian Jul 13 Sep 25 52d 0%
9 Infrastructure Jul 13 Oct 15 146d
9.1 Toolchains Jul 13 Oct 15 146d
9.1.1 complete buildd setup Jul 13 Oct 15 132d 0%
9.1.2 auto-build toolchain mechanism Jul 13 Aug 1 14d 0% No longer use cachecompare - use the apt-cache data directly. Sat 17 Nov 2007, 10:16
10 Documentation Jul 13 Oct 17 248d 2h
10.1 Making Emdebian systems Jul 13 Jul 27 21d 40%
10.2 Emdebianising new packages. Aug 1 Aug 29 21d 0% <a href="http://www.linux.codehelp.co.uk/emdebian/">presentation</a> Fri 13 Jul 2007, 21:13
10.3 infrastructure Jul 13 Oct 17 69d 0%
10.4 Policy Jul 13 Aug 14 68d 2h 20% Started as a result of work on lintian support. Tue 08 Apr 2008, 17:49
10.5 Fold DebConf talk into website Jul 13 Oct 17 69d
10.5.1 Implement xsltproc in website build Jul 13 Oct 17 69d 0% xsltproc can turn the SVN docbook into HTML for the website. Needs automating and links from existing website content. Also need to revise some website content to match the DebConf talk as some areas have been updated since the rest of the website content was last reviewed. Wed 18 Jul 2007, 10:27
11 Explain Emdebian Jul 13 Aug 14 21d
11.1 DebConf8 Aug 1 Aug 14 20d 0%
11.2 Fosdem 2008 Jul 13 Jul 13 1d 100% Update on Emdebian in Debian and Embedded rooms.
12 Hardware Jul 13 Aug 3 32d
12.1 More test systems in use Jul 13 Aug 3 32d 100% codehelp has a native test environment. Sun 07 Oct 2007, 14:06

Resources

Name Short name Type Group Email Cost Notes
Hector Oron zumbi Work Developers hector.oron@gmail.com 0
Help Needed external Work Developers 0
Neil Williams codehelp Work Developers codehelp@debian.org 0
Simon Richter GyrosGeier Work Developers sjr@debian.org 0
Wookey wookey Work Developers wookey@debian.org 0
genesis.codehelp balloon3 Work Machines 0 codehelp's balloon3 board, hostname: genesis.codehelp
wiki.debian.org wiki Work Machines 0
buildd.emdebian.org ant Material Machines 0 emdebian server and eventual buildd host.
powerpc buildd dindon Material Machines 0 Sam Hocevar's powerpc machine with Emdebian chroot.