Thomas Weber <tweber@debian.org> writes: > On Sat, Dec 24, 2011 at 12:48:27AM +0100, Sébastien Villemot wrote: >> The new octave 3.4 package FTBFS on all archs on which a build has been >> attempted (including i386). >> >> The main reason is that library symbols are different between 32 and 64 >> bit platforms. I pushed a fix which splits the liboctave0.symbols file >> into a common part, a 32-bit and a 64-bit specific part, following the >> example given in dpkg-shlibdeps(1). I was then able to build the package >> with for both amd64 and i386. >> >> There are also problems specific to kfreebsd-* and ia64. I pushed a fix >> for kfreebsd-*, based on the build logs, but I did not test it since I >> don't have an installation of this arch. For ia64, it may be simpler to >> wait for the next upload, in order to get a diff based on the new >> symbols files. > > Thanks. > Did you look at the changed symbols whether some of them could be made > "optional" on all arches? I would like to have as small as possible > arch-specific symbol files. For the 32 versus 64 bit issue, the bulk of the differences comes from symbols whose signature changes between the two archs. Typically it’s a "long" which becomes a "long long" (as indicated by c++filt). So it is not possible to make those optional on either arch. I did not investigate all differences though (the file is really big!), so there may be some symbols which could be made optional on some archs. In particular the 32 bit file has 61 more lines than the 64 bit one, so some 32 bit specific symbols can probably me marked as optional on all arches. But it will probably be a small minority. FYI, here is how I created the arch specific files: - starting from the patch which is in the i386 build log on buildd, I grepped the lines starting with a minus sign, and put them in the .64bit file - similarly, I put the lines starting with a plus sign in the .32bit file - I removed the 64 bit lines from the common file For kfreebsd, I also started from the patch in the build log, but I manually added arch tags since the changes are small. > Anyway, it's Christmas time, so this will not happen today ;) > > Joyeux Noël Merry Xmas to you too! -- Sébastien Villemot Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien Phone: +33-1-40-77-49-90 - GPG Key: 4096R/381A7594
Attachment:
pgpK5DQ5Jv7XZ.pgp
Description: PGP signature