Hi Frank, On Sun, 2007-05-20 at 15:50 +0200, Frank Lichtenheld wrote: > Package: root-system > Version: 5.15.07-4 > Severity: important > > Hi, > > your package failed to build from source. According to configure, Linux on > HPPA doesn't seem to be supported. You should either add that support > or list only the supported architectures in debian/control and not > use "any".
OK. Let me ask some questions - maybe we can get it to work. So hppa is the Debian name for HP PA-RISC. Reading a bit about this architecture on Wikipedia, I get the felling that it's what HP-UX ran on. HP-UX _is_ supported by ROOT, but Linux on HP PA-RISC isn't (yet). So my questions: * Does the 64bit version of HP PA-RISC work in a 32bit compatibility mode? That is, how come there's no Debian architectures hppa32 and hppa64? This has implications for what `close architecture' to implement support from. * Is the HP PA-RISC a little endian or big endian machine? * Is there any common pit-falls with this architecture? * If it's not possible to get ROOT working on this platform, would there be a way to exclude that architecture when building packages? I'd rather make exceptions to `all' then provide a positive list (which is harder to maintain). Kevin, you have any idea how to proceed on this? Fons, I send you this report too, so you can say what you think. We can probably expect more of these kind of errors, since ROOT hasn't been tested on all `exotic' Linux platforms. Frank, thank you for the report. Oh, and another question, I looked at the amd64 build logs (I know this is slightly off topic, but anyways), and towards the end it said g++ -O2 -pipe -Wall -m64 -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -I/usr/include/mysql -DUSEPCH -include precompile.h -o mysql/src/TMySQLServer.o -c mysql/src/TMySQLServer.cxx In file included from mysql/src/TMySQLServer.cxx:23: /usr/include/mysql/my_global.h:353:24: error: asm/atomic.h: No such file or directory make[1]: *** [mysql/src/TMySQLServer.o] Error 1 rm utils/src/rootcint_tmp.cxx utils/src/RStl_tmp.cxx make[1]: Leaving directory `/build/buildd/root-system-5.15.07' make: *** [build-arch-stamp] Error 2 For some reason, the MySQL header includes `asm/atomic.h' which for some reason isn't available. I realise that this is a problem with MySQL on that platform, but what to do about it? The file should be in the `linux-kernel-headers' package, which I assume is installed on the amd64 machine. What I don't get, is why this header is included. The relevant code is #ifdef HAVE_ATOMIC_ADD #define new my_arg_new #define need_to_restore_new 1 C_MODE_START #include <asm/atomic.h> C_MODE_END #ifdef need_to_restore_new /* probably safer than #ifdef new */ #undef new #undef need_to_restore_new #endif #endif The symbol HAVE_ATOMIC_ADD is not defined by ROOT itself, so it must come from MySQL. I'm surprised that this didn't work. In the past we've build the packages on amd64 with no problems. I see ia64 fails because gfortran is not available, and g77 should be used instead. I guess a Build-Depends like gfortran [!ia64] | g77 [ia64] | fortran-compiler would do the trick? I should also exclude root-plugin-hbook on kfreebsd-amd64. The kfreebsd-i386 architecture never really got support upstream. It is unfortunate, because it should be close to the BSD architectures that is support. mips and mipsel have the same problem as hppa. Oh, and one last comment. How come, if I do a search on http://experimental.ftbfs.de/build.php for "root-system" and architecture "any", I get nothing? > | Automatic build of root-system_5.15.07-4 on meitner by sbuild/hppa 98-farm > | Build started at 20070520-1519 > | > ****************************************************************************** > | Checking available source versions... > | Fetching source files... > | Reading package lists... > | Building dependency tree... > | Need to get 20.5MB of source archives. > | Get:1 http://ftp.de.debian.org experimental/main root-system 5.15.07-4 > (dsc) [2327B] > | Get:2 http://ftp.de.debian.org experimental/main root-system 5.15.07-4 > (tar) [20.5MB] > | Get:3 http://ftp.de.debian.org experimental/main root-system 5.15.07-4 > (diff) [57.1kB] > | Fetched 20.5MB in 1m23s (245kB/s) > | Download complete and in download only mode > | ** Using build dependencies supplied by package: > | Build-Depends: debhelper (>= 5.0.37.2), po-debconf, libssl-dev, comerr-dev, > libxpm-dev, libfreetype6-dev, libpcre3-dev, zlib1g-dev | libz-dev, python-dev > (>= 2.1), libjpeg62-dev, libpng12-dev, libtiff4-dev, libungif4-dev, > libxinerama-dev, libpacklib1-dev [!kfreebsd-i386], gfortran | > fortran-compiler, libxmlrpc-c3-dev | libxmlrpc-c-dev, fftw3-dev, libkrb5-dev > | heimdal-dev, krb5-user | heimdal-clients, libldap2-dev | libldap-dev, > libgsl0-dev, libmysqlclient15-dev | libmysqlclient14-dev | > libmysqlclient12-dev | libmysqlclient-dev, libiodbc2-dev | unixodbc-dev, > libglu1-mesa-dev | libglu1-xorg-dev | xlibmesa-glu-dev | libglu-dev, > libpq-dev | postgresql-dev, python-support (>= 0.3), libqt3-mt-dev, > libqt3-headers, qt3-dev-tools, libqt3-compat-headers, ruby (>= 1.8), > ruby1.8-dev | ruby-dev (>= 1.8), libsqlod75-dev [i386 ia64 amd64], libxml2-dev > | Checking for already installed source dependencies... > [...] > | Checking correctness of source dependencies... > | Toolchain package versions: libc6-dev_2.5-7 linux-kernel-headers_2.6.18-7 > gcc-4.1_4.1.2-7 g++-4.1_4.1.2-7 binutils_2.17cvs20070426-6 > libstdc++6-4.1-dev_4.1.2-7 libstdc++6_4.2-20070516-1 > | > ------------------------------------------------------------------------------ > | gpg: Signature made Tue May 15 20:36:12 2007 CEST using DSA key ID 4F83C751 > | gpg: Can't check signature: public key not found > | dpkg-source: extracting root-system in root-system-5.15.07 > | dpkg-source: unpacking root-system_5.15.07.orig.tar.gz > | dpkg-source: applying /home/buildd/build/root-system_5.15.07-4.diff.gz > | su: Authentication service cannot retrieve authentication info. > | (Ignored) > | dpkg-buildpackage: source package is root-system > | dpkg-buildpackage: source version is 5.15.07-4 > | dpkg-buildpackage: host architecture hppa > | dpkg-buildpackage: source version without epoch 5.15.07-4 > [...] > | debian/rules build > | dh_testdir > | # Add here commands to configure the package. > | ./configure \ > | --prefix=/usr \ > | --mandir=/usr/share/man/man1 \ > | --docdir=/usr/share/doc/root > \ > | --cintincdir=/usr/lib/root/5.15/cint > \ > | --etcdir=/etc/root \ > | --with-sys-iconpath=/usr/share/pixmaps \ > | --libdir=/usr/lib/root/5.15 \ > | --enable-cintex --enable-clarens --enable-explicitlink > --enable-gdml --enable-fftw3 --enable-ldap --enable-qt --enable-qtgsi > --enable-mathcore --enable-mathmore --enable-minuit2 --enable-mysql > --enable-peac --enable-pgsql --enable-odbc --enable-reflex --enable-roofit > --enable-ruby --enable-shadowpw --enable-shared --enable-soversion > --enable-table --enable-unuran --enable-xrootd --disable-rpath --disable-afs > --disable-srp --disable-builtin-afterimage --disable-builtin-freetype > --disable-builtin-pcre --disable-builtin-zlib --disable-alien --disable-chirp > --disable-dcache --disable-g4root --disable-gfal --disable-globus > --disable-monalisa --disable-oracle --disable-pythia6 --disable-rfio > --fail-on-missing --disable-sapdb --enable-cern > > | Attempts at guessing your architecture failed. > | Please specify the architecture as the first argument. > | Do './configure --help' for a list of avaliable architectures. > | make: *** [config.status] Error 1 > | > ****************************************************************************** > | Build finished at 20070520-1525 > | FAILED [dpkg-buildpackage died] > > Full build log(s): > http://experimental.ftbfs.de/build.php?&ver=5.15.07-4&pkg=root-system&arch=hppa Yours, -- ___ | Christian Holm Christensen |_| | ------------------------------------------------------------- | | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 _| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91 _| Denmark Office: (+45) 353 25 404 ____| Email: [EMAIL PROTECTED] Web: www.nbi.dk/~cholm | | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]