Paride, I did as you suggested, namely put build-essential in version y2
of the package in my PPA, test nonetheless failed[1] with i686-linux-
gnu-pkg-config: not found. I think this bug should be open.

Exact debian/tests inside:

--->
/tmp% head -1 highway-1.2.0/debian/changelog
highway (1.2.0-10y2) plucky; urgency=medium
/tmp% head -15 highway-1.2.0/debian/tests/compile-and-execute
#!/bin/sh
set -ex
trap 'rm o' 0

if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
    CROSS_COMPILE_PREFIX="$DEB_HOST_GNU_TYPE-"
else
    CROSS_COMPILE_PREFIX=
fi

cflags=$(${CROSS_COMPILE_PREFIX}pkg-config --cflags --libs libhwy)
c++ -x c++ - -o o -static-libasan -fsanitize=address -Wall -Wextra -Wpedantic 
$cflags <<EOF
#include <hwy/highway.h>
#include <cstring>
#include <stdio.h>
/tmp% cat highway-1.2.0/debian/tests/control
Tests: compile-and-execute
Depends: libhwy-dev, g++, pkgconf, build-essential
Restrictions: allow-stderr
<---

[1]https://autopkgtest.ubuntu.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
plucky-nteodosio-
fixes/plucky/i386/h/highway/20250303_164132_99610@/log.gz

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/2091054

Title:
  i386 autopkgtests using amd64 pkgconf which doesn't work

Status in Auto Package Testing:
  Fix Released

Bug description:
  i386 autopkgtests are using pkgconf from amd64 which means that many
  i386 autopkgtests will fail.

  I noticed that this situation got worse within the past week as more
  autopkgtests are failing that used to pass. I have run migration-
  reference tests for these that I have seen so they don't block
  migration of other packages.

  Here is one example. Let me know if you want me to show you more.
  https://autopkgtest.ubuntu.com/packages/libsoup3/plucky/i386

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/2091054/+subscriptions


-- 
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to     : canonical-ubuntu-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to