[Debichem-devel] Bug#702512: openms: FTBFS when DEB_HOST_MULTIARCH != DEB_BUILD_GNU_TYPE (e.g., on i386)

Aaron M. Ucko ucko at debian.org
Thu Mar 7 15:55:32 UTC 2013


Source: openms
Version: 1.9.0-2
Severity: serious
Justification: fails to build from source

Builds of openms on certain architectures (i386 and kfreebsd-i386 so
far) have been failing because they base expected multiarch paths on
DEB_BUILD_GNU_TYPE rather than DEB_HOST_MULTIARCH, which may differ.
(For instance, on i386, DEB_BUILD_GNU_TYPE is i486-linux-gnu, whereas
DEB_HOST_MULTIARCH is i386-linux-gnu.)

  cd /build/buildd-openms_1.9.0-2-i386-iJCLgn/openms-1.9.0/debian/build && \
      /usr/bin/cmake -DCMAKE_FIND_LIBRARY_SUFFIXES=".so" \
      -DCONTRIB_LIB_DIR="/usr/lib;/usr/lib/i486-linux-gnu;/lib/i486-linux-gnu" \
      -DCF_OPENMS_DATA_PATH=/usr/share/openms-common/OpenMS/ \
      -DCF_OPENMS_DOC_PATH=/usr/share/doc/openms-doc/ \
      -DCMAKE_BUILD_TYPE=release ../.. 
  -- The C compiler identification is GNU 4.7.2
  -- The CXX compiler identification is GNU 4.7.2
  [...]
  CMake Error at cmake/OpenMSBuildSystem_macros.cmake:11 (MESSAGE):
    Unable to find xerces_c library! Searched names are:
    [xerces-c_3;xerces-c_static_3;libxerces-c;xerces-c] Please make sure it is
    part of the contrib (which we assume to be in either of these directories:
    /usr/lib;/usr/lib/i486-linux-gnu;/lib/i486-linux-gnu;/build/buildd-openms_1.9.0-2-i386-iJCLgn/openms-1.9.0/contrib/lib/;/opt/local/lib/;/usr/local/lib/)

According to cmake's changelog, find_library has supported multiarch
paths since 2.8.4+dfsg.1-3 from 2011, so you shouldn't necessarily
need to override its search path at all; however, if you do, please do
so on the basis of the correct variable.

Thanks!

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Debichem-devel mailing list