Differences between revisions 122 and 123
Revision 122 as of 2008-01-29 13:27:48
Size: 22853
Editor: MartinGuy
Comment: gimp-plugin-registry weirdness
Revision 123 as of 2008-01-29 14:08:11
Size: 22048
Editor: MartinGuy
Comment: nictools-pci is fixed, waiting to compile
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
 * nictools-pci: See below; [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408787 bug filed]  * nictools-pci: [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408787 bug filed]; new version waiting to compile.
Line 451: Line 451:
=== nictools-pci ===
Diagnostic tools for PCI ethernet cards:
{{{
  Sundance "Alta" NIC
  Intel EEPro100
  SMC EPIC-100
  Myson mtd803
  NatSemi DP83815
  PCI NE2000 clones
  NatSemi DP83820
  AMD PCnet/PCI
  RealTek RTL8129/8139
  Adaptec Starfire DuraLAN
  Digital DC21x4*
  VIA Rhine vt86c100 and vt3043
  3Com Vortex series
  Winbond w89c840 Ethernet cards
  Packet Engines Yellowfin chips
}}}
currently provided on [alpha amd64 arm i386].

The [http://www.compulab.co.il/x270cm/html/x270-sb-datasheet.htm CompuLab X270] is Xscale with RTL8139 on PCI, and any ARM with a PCI slot (N2100 etc) could potentially have any of these.

armel and armeb are claimed to have been added in version 1.3.8-1.1 in Jan 2008 but in fact they haven't so [http://bugs.debian.org/408787 the bug] has been reopened.

This page tracks the problems with individual packages in the [http://wiki.debian.org/ArmEabiPort Debian armel port].

When a package has built in sid, please remove its entry from here.

About 90% of the repo is built for armel. The bulk of the remaining packages either:

  • Require gcc-3.4 or earlier, for which EABI support was never backported
  • Require g77, which was replaced in gcc-4 with the separate gfortran
  • Have problems of their own, such as lacking configs for ARM EABI (mostly other languages)
  • Depend on something blocked by the above

?TableOfContents

arm/armel inconsistencies

Joey Hess says in [http://lists.debian.org/debian-arm/2007/12/msg00038.html a message to debian-arm@lists.debian.org]

"The following packages build-depend/conflict with something on arm, but not on armel. Most of these are of the form "[long list of arches including arm]" or "[!arm]" and obviously just need armel added to the list. Some of these may already have bugs filed due to FTBFS on armel."

Please investigate, resolve and remove from this list:

The following packages are enabled on arm but not armel and rightly so:

  • catsboot: "Boot glue for ARM CATS systems", which are based on the StrongARM110 CPU, an armv4 chip not supported by armel, which requires armv4t.
  • gcc-4.0 (EABI support entered gcc in version 4.1)
  • gnat-gdb (gnat has not been ported to armel yet. Or to arm, for that matter!)
  • lazarus (Application Development tool for free pascal compiler, which has not been ported to armel yet)
  • linux-kernel-di-arm-2.6, linux-modules-di-arm-2.6: Corresponding -di-armel-2.6 debian installer packages are not in the unstable source repository yet
  • nwutil: Hardware utilities for ?NetWinder hardware, based on the StrongARM SA-110, which is armv4 and hence not supported in armel.

Languages

fpc

Free Pascal compiler, a.k.a. fp-compiler. Exists in sid for arm, i386, amd64 and powerpc. Requires itself to compile itself and contains cpu-specific code generators: the arm one may or may not work unmodified on armel. Porting it means cross-compiling it, installing the cross-compiled version and using that to build the package, as well as possibly modifying its code generator for EABI.

An alternative is for dependent packages to move to (or also accept) gpc, the GCC-based pascal compiler (wishlist bugs have been filed where appropriate).

Dependent source packages:

Dependent binary packages not enabled on armel: libhdate-pascal.

gcc-3.4

ARM EABI support was done for gcc-3.4 by CodeSourcery and published as source, but the changes were never backported into the mainline gcc-3.4.

gcc-3.4-dependent source packages:

  • prc-tools
  • lisaac
  • qemu (see below)
  • stegdetect

gcc-3.3-dependent source packages:

  • emile
  • varkon (see below)

g77

G77, the GNU Fortran 77 compiler, was not continued past gcc-3.4. From gcc-4, there is a separate "gfortran" program.

Missing binary packages are g77, libg2c0 and libg2c0-dev.

Colin Tuckley is tackling the fortran issues and says:

In most packages and quite a few simple libraries the only change is
replacing g77 with gfortran in the Makefile. Unfortunately the way some
things are done and in particular some floating point stuff the
implementation is different enough to cause problems. Not difficult to solve
problems, but things that need looking at and fixing.

Dependent source packages, and source packages that in turn depend on those:

  • arpack
  • arpack++
  • atlas3 (has never been available on arm: lapack3 or refblas3 are the usual alternatives)
  • blacs-mpi
  • blacs-pvm
  • blitz++
  • cernlib
    • mclibs
    • mn-fit
    • paw
  • dsdp
  • fftw
    • ams
    • cassbeam
    • galan
    • glame
    • glfer
    • gmfsk
    • gpiv, gpivtools
    • grace, grace6
    • gramofile
    • libgpiv
    • meep
    • mpb
    • orsa
    • paul
    • pdl
    • rezound
    • sndobj
    • wsola
    • xmds
    • yorick-yeti
  • geant321
  • lam
    • alps-light1
    • blacs-mpi
    • gromacs
    • hdf5
    • netpipe
    • python-scientific
    • rmpi
    • scalapack
    • tessa
    • tree-puzzle
    • xmpi
  • lapack3
    • abinit
    • cvxopt [arm] - armel needs adding
    • ghemical
    • gimp-plugin-registry (for sid's version 0.5.1. The armel unstable repo contains a binary package of version 0.3.2-1)
    • gretl
    • harminv
    • libghemical
    • libitpp
    • meep
    • mpb
    • octave2.1, octave2.9
    • openmx
    • petsc
      • libmesh
      • petsc4py
    • plplot [arm m68k] - armel needs adding
  • libhdf4
    • dx
    • gdal
    • gnudatalanguage
    • h5utils
    • pdl
  • lush
  • mopac7
  • mpich
  • mpqc
  • octave2.9
  • psicode
  • pysparse
  • python-numarray, python-numpy
    • gnudatalanguage
    • gnuradio
    • matplotlib
    • modelbuilder
    • necpp
    • petsc4py
    • plplot
    • pynifty
    • pyqwt, pwqwt3d, pwqwt5
    • pytables
    • python-imaging
    • python-scipy-core
    • python-visual
    • pywavelets
    • rpy
    • shogun
  • python-scipy
  • r-noncran-lindsey
  • refblas3
    • apbs
    • gimp-plugin-registry (see above)
    • gsl
      • ocamlgsl [armel] needs adding
    • lapack3 (see above)
  • saods9
  • scalapack
  • wsjt

As an alternative to g77, some packages will accept the pseudo-package "fortran77-compiler" which is also provided by "fort77", a wrapper for the Fortran-to-C translator, which already exists in armel. Others will accept the pseudo-package "fortran-compiler", which does not exist at all (gfortran provides "fortran95-compiler".)

gnat

The GNU Ada translator. Requires itself to compile itself. Not provided on ARM old-EABI either.

There are two gnat packages: gnat-4.1 and gnat-4.2.

The Ada front-end to GCC is written in Ada (der!) and translates Ada into an internal GCC tree representation, which is then compiled with the usual GCC back-end. It seems we cannot get away with doing the initial translation of the Ada parts on some other machine and transporting that to armel to do the final compilation because [http://gcc.gnu.org/ml/gcc/2001-11/msg00746.html header files and even some Ada package specs are system dependent].

Porting appears to require making an x86->ARM gcc/gnat cross-compiler, then if that compiler seems to work on small Ada programs, using that to cross-compile a native ARM Ada compiler, then using that to build the Debian package. This should only need doing for one of the versions to be able to create both Debian packages, modulo any system dependent modifications to header files and package specs.

No Ada binaries site or other operating system distribution that supports ARM (NetBSD) provides precompiled gnat binaries for ARM.

Dependent source packages:

  • adacgi
  • adacontrol
  • adasockets
  • asis
  • ghdl (requires gnat-4.2)
  • gnade
  • gnat-glade
  • gnat-gps
  • libaunit
  • libaws
  • libflorist
  • libgtkada2
  • libopentoken
  • libtemplates-parser
  • libtexttools
  • libxmlada2
  • music123

Interesting sites:

gobjc

GNU Objective C compiler, part of GCC, is explicitly disabled for armel, but works on arm.

Interestingly, the gobjc++, gobjc++-4.1 and gobjc++-4.2 binary packages can be built and are available on armel, though they cannot be installed because they require libobjc2 and the corresponding gobjc packages to run.

Dependent source packages:

  • gdb-avr
  • gnustep-base
  • gnustep-make
  • libfoundation1.0
  • libobjc-lf2
  • ragel

of which the gnustep items block 70 other source packages (i.e. the rest of ?GnuStep)

gdb would require gobjc, but it is currently set to build without it on armel.

gobjc is disabled for armel

In the debian package in debian/rules.defs:

 ifeq ($(DEB_TARGET_ARCH),armel)
   with_objc := disabled for armel
 endif

and in gcc-4.1 and gcc-4.2's ./configure

  arm*-*-linux-gnueabi)
    noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    noconfigdirs="$noconfigdirs target-libjava target-libobjc"
    ;;

Enabling it in these two places in vanilla gcc-4.2.2 results in a build failure

/home/martin/arm/gcc-4.2.2/libobjc/exception.c: In function '__gnu_objc_personality_v0':           /home/martin/arm/gcc-4.2.2/libobjc/exception.c:173: error: '_URC_FATAL_PHASE1_ERROR' undeclared (first use in this function)

libobjc was disabled in GCC for ARM-EABI in 2005 when the -gnueabi patches went in [http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00948.html because ARM uses its own unwinding routines]. At the time, libffi and libjava were disabled too (as is still the case in Debian sources - see above) but these two have since been resolved in mainline GCC - see [http://www.busybox.net/lists/uclibc/2007-May/017971.html Fix ARM EABI signal unwinding, May 2007], [http://gcc.gnu.org/ml/java-patches/2007-q3/msg00091.html Enable gcj on ARM EABI, July 2007] and [http://gcc.gnu.org/ml/java/2007-08/msg00018.html Unwind_backtrace for ARM EABI, August 2007]. Similar unwinding strategies may work for libobjc.

Interestingly, GNUStep [http://amstradstuff.free.fr/maemo/gnustep.html has been made to work on Maemo], cross-compiled using the Scratchbox version of gcc-3.4 derived from Code Sourcery 2005q3.

mono

Mono CLI (.NET) runtime. Is built and included in the repository, but has [https://bugzilla.novell.com/show_bug.cgi?id=MONO80024 a bug], which causes the build of any package that uses it to fail.

Fixed in CVS; awaiting new upstream release. ~40 packages waiting.

Dependent source packages:

  • gtk-sharp2 (binary packages include libglib2.0-cil, libglade2.0-cil, libgtk2.0-cil)
    • avahi-sharp
    • banshee
    • beagle
    • blam
    • bless (*)
    • cowbell
    • dfo
    • drapes
    • evolution-sharp
    • f-spot
    • galago-gtk-sharp
    • galago-sharp
    • gbrainy (*)
    • gecko-sharp2 (*)
    • gfax (*)
    • gmime2.2 (*)
    • gnome-rdp (*)
    • gnome-sharp2, gnome-subtitles
    • graphmonkey (*)
    • gsf-sharp
    • gshare
    • gtksourceview-sharp2 (*)
    • hipo (*)
    • ipod-sharp
    • last-exit
    • lat (*)
    • mono-addins (*), mono-tools (*)
    • monodevelop (*)
    • muine
    • prj2make-sharp
    • stetic (*)
    • tomboy
  • ikvm
  • maybe others

(*) Arch-independent package unusable because of runtime dependency

php5

Version 5.2.3-1+armel's architecture-dependent binary packages are available in armel unreleased. Unfortunately, the current version is 5.2.4-2 and its architecture-independent binary packages are included in armel unstable but are uninstallable because they require matching versions of the architecture-dependent components.

The current mainstream version, 5.2.4-2, fails to build on armel, saying:

checking build system type... Invalid configuration `arm-linux-gnueabi-gnu': machine `arm-linux-gnueabi' not recognized
configure: error: /bin/sh ../config.sub arm-linux-gnueabi-gnu failed

but no bug has been filed.

Its build dependencies cannot currently be installed because it requires libaprutil1-dev and libdb4.4-dev, libaprutil1-dev depends on libdb-dev and libdb-dev and libdb4.4-dev conflict. [http://bugs.debian.org/460562 bug] filed against package db.

Libraries

dietlibc

Needs upstream support for ARM EABI, see [http://bugs.debian.org/459482 Bug #459482].

Dependent source packages:

  • bglibs
    • bcron
    • ezmlm-browse
    • mailfront
    • twoftpd
    • ucspi-proxy
    • ucspi-unix
  • cvm (also needs bglibs)
  • fgetty
  • fnord
  • integrit
  • libdjbdns
  • libowfat
  • matrixssl
  • minit
  • runit
  • skalibs
  • slidentd
  • util-vserver

freetds

MS SQL and Sybase client library needs armel patches; the patches attached to [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441736 bug #441736] are not usable because they contain a lot of machine-generated noise. See comments in the bug report for what needs resolving.

The build currently dies saying:

./debian/dh_makeshlibs -a -Xtdsodbc
dh_makeshlibs: Compatibility levels before 4 are deprecated.
Error: added symbols in libtdssrv.so.2: Base        __aeabi_f2ulz
Please update the library manifest at ./debian/dh_makeshlibs line 255.
make: *** [binary-arch] Error 255

because EABI floating point symbols are being exported.

A version of its binary packages are currently available in armel "unreleased".

libhdf4

Hierarchical Data Format library, needs g77->gfortran patches including and uploading. See [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456297 bug #456297]

Its binary packages are currently available in armel "unreleased".

python-numeric

Numeric Extensions to Python

Binary packages for 24.2-7 are currently available in armel "unreleased"; the current unstable version is 24.2-8.

A proper build is waiting for the build dependency, refblas3-dev, to become available.

uclibc

Currently enabled on [arm] but not [armel].

The [http://bugs.debian.org/459482 dietlibc bug report] says that ARM EABI support has been done in uclibc and ARM EABI support is indeed present in the current unstable Debian source, version 0.9.27.

However, the Debian build fails on armel saying:

/usr/bin/make
make[1]: Entering directory `/home/martin/uclibc-0.9.27'
+ ./extra/scripts/fix_includes.sh -k /home/martin/uclibc-0.9.27/kernel -t arm
Unable to determine version for kernel headers
        provided in directory /home/martin/uclibc-0.9.27/kernel
make[1]: *** [headers] Error 1
make[1]: Leaving directory `/home/martin/uclibc-0.9.27'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

No other packages depend on uclibc on arm architectures.

System components

adeos

"nanokernel for sharing hardware resources among multiple operating systems, or among multiple instances of a single OS" consists of a kernel patch which is available on arm, i386, ia64, powerpc and ppc64. Its binary consists of a kernel patch which may or may not need hacking for EABI.

gimp-plugin-registry

Part of the GNU Image Manipulation Program. The current unstable sources are at version 0.5.1-2, but the armel unstable repository contains version 0.3.2-1, which has never been part of Debian. Version 0.5.1-2 cannot currently be compiled on armel because it build-depends on refblas3-dev and lapack3-dev, yet to be ported.

Nothing depends on gimp-plugin-registry

kernel-package

[http://bugs.debian.org/425971 Bug 425971] blocks automatic building of the Linux kernel packages. Fixes have been applied; waiting for the mainline version subsequent to 11.001 to be uploaded (check [http://packages.debian.org/source/sid/kernel-package here] to see whether this has happened yet).

Applications

gsynaptics

Configuration tool for Synaptics touchpad driver of X server.

[armel] not included in long list of architectures. The [arm] build currently fails saying

arm-linux-gnu-gcc: /usr/lib/libtasn1.so: No such file or directory

which is probably a buildd problem. It succeeds on armel, though it is noisy, saying:

dh_shlibdeps
dpkg-shlibdeps: warning: debian/gsynaptics/usr/bin/gsynaptics-init shouldn't be linked with libSM.so.6 (it uses none of its symbols).

for 29 libraries and

dpkg-shlibdeps: warning: debian/gsynaptics/usr/bin/gsynaptics shouldn't be linked with
libSM.so.6 (it uses none of its symbols).

for 28 libraries, which suggests that the build is a failure. No other architecture's build logs give these warning.

The resulting binary, like the similar packages ksynaptics and qsynaptics, is uninstallable for lack of the xserver-xorg-input-synaptics package.

Although the Synaptics Touchpad is a laptop-style mousepad, any ARM system that has USB interface could have a USB version of it.

iceweasel

Web browser, also known as firefox. Version 2.0.0.9-2 is included in the repository but fails to run. When launched it says

/usr/lib/iceweasel/firefox-bin: Symbol `SSL_ImplementedCiphers' has different size in shared object, consider re-linking

then uses 100% CPU for a minute and a half (at 600 MHz), then hangs forever.

subversion

Binary packages for version 1.4.4dfsg1-1+armel are available in armel "unreleased"; the mainline version is 1.4.4dfsg1-1. No bug has been filed.

Its build dependencies cannot currently be satisfied for the same libdb-dev reasons that block php5 (see [http://bugs.debian.org/460562 bug #460562])

varkon

CAD system. Needs gcc-3.3 to build because of -fwritable-strings in Makefiles. The latest upstream version removes this need [http://bugs.debian.org/453009 Bug #453009]. Debian packages of the new version [https://lists.berlios.de/pipermail/varkon-discuss/2007-December/000410.html are now available] but it is currently orphaned and needs a Debian sponsor for it to upload.