← Back to team overview

touch-packages team mailing list archive

[Bug 1316415] Re: autopkgtest: fails, does not test installed package

 

This package is no longer in the archive.

** Changed in: ubuntu-purchase-service (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-purchase-service in
Ubuntu.
https://bugs.launchpad.net/bugs/1316415

Title:
  autopkgtest: fails, does not test installed package

Status in “ubuntu-purchase-service” package in Ubuntu:
  Won't Fix

Bug description:
  The current autopkgtest fails during package build:

  -- Detecting CXX compiler ABI info - done
  CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
    Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  Call Stack (most recent call first):
    /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:106 (find_package_handle_standard_args)
    CMakeLists.txt:18 (find_package)

  -- Configuring incomplete, errors occurred!
  See also "/tmp/apt0-build.jV8SSz/ubuntu-purchase-service-14.04+14.04.20140310.2ubuntu2/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log".
  dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DLIB_SUFFIX=/x86_64-linux-gnu returned exit code 1
  debian/rules:14: recipe for target 'override_dh_auto_configure' failed

  See e. g. https://jenkins.qa.ubuntu.com/job/utopic-adt-ubuntu-
  purchase-service/7/ARCH=amd64,label=adt/console for the full log. But
  aside from this (which is probably just a missing build dependency,
  there's more problems:

   * The autopkgtest does not actually test anything, the test is empty.
  It should test that the *installed* ubuntu-purchase-service package
  works, testing the build tree does not help to spot missing files,
  missing or uninstallable dependencies, etc. At the moment it merely
  tests that the package is still buildable when dependencies change,
  which is certainly helpful but not the real purpose.

   * debian/tests/control could do with some cleanup and will need to be
  adjusted once there is an actual test. Right now, the only thing it
  really needs is "build-needed", everything else should go (i. e. empty
  "Depends:"). Please note that if you need to (partially or fully)
  build the package in the actual test (instead of through build-
  needed), you can avoid repeating the build dependencies by using
  @builddeps@.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-purchase-service/+bug/1316415/+subscriptions