~paelzer/britney/hints-ubuntu-focal-kronosnet-i386

Viewing all changes in revision 4589.

  • Committer: christian.ehrhardt at canonical
  • Date: 2020-02-26 09:48:33 UTC
  • Revision ID: christian.ehrhardt@canonical.com-20200226094833-b72qjb0q7th42ug6
make kronosnet badtest unversioned

Multiple i386 test issues present:

1. testname=configure
checking for nss... no
configure: error: Package requirements (nss) were not met:
No package 'nss' found

=> That is essentially an i386 test trying to build with mixed dependencies
   installed.

2. testname=libknet
+ pkg-config --libs libknet
Package libknet was not found in the pkg-config search path.
Perhaps you should add the directory containing `libknet.pc'
to the PKG_CONFIG_PATH environment variable

=> Again a mixed i386/amd64 config/build try failing.

2. testname=libnozzle

+ pkg-config --libs libnozzle
Package libnozzle was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnozzle.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnozzle' found

=> Again a mixed i386/amd64 config/build try failing.


All reproducible in a local autopkgtest.


E.g. on nss due to being the i386 test we have in that test system:
ubuntu@autopkgtest:/$ dpkg -l '*libnss*' | grep ii
ii  libnss3:i386         2:3.49.1-1ubuntu1 i386
ii  libnss3-dev:i386     2:3.49.1-1ubuntu1 i386

But the arch is:
$ dpkg --print-architecture
amd64
$ dpkg --print-foreign-architectures
i386

Therefore the configure (and all others) fail.

The following makes the test pass (to then bock on the next dev/lib check)

$ sudo apt install libnss3-dev:amd64 libnss3:amd64 libnspr4-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libnspr4
The following packages will be REMOVED:
  libnspr4-dev:i386 libnss3-dev:i386
The following NEW packages will be installed:
  libnspr4 libnspr4-dev libnss3 libnss3-dev
0 upgraded, 4 newly installed, 2 to remove and 0 not upgraded.
Need to get 1715 kB of archives.
After this operation, 4334 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
...
$ sudo ./configure --disable-man

But then once we resolve all that way it is identical to the amd64 test.


Note: kronosnet exists for i386 as it is a dependency of corosync which
exists for i386 still.

Therefore overall I think it is ok to disable the i386 test of kronosnet as it
won't work that way in our new i386-reality.
To do so I'd suggest we change the versioned badtest that we already had to a
non versioned one (and moving it to the right section).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: