ubuntu_bpf build failure on Hirsute - missing rst2man

Bug #1931580 reported by Krzysztof Kozlowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin

Bug Description

On Hirsute v5.11 the ubuntu_bpf fails to build with:

  make[1]: Leaving directory '/home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
  make: Leaving directory '/home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
  stderr:
  Warning: Kernel ABI header at 'tools/include/uapi/linux/netlink.h' differs from latest version at 'include/uapi/linux/netlink.h'
  Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h'
  Makefile:45: *** "rst2man not found, but required to generate man pages". Stop.
  make[1]: *** [Makefile:188: /home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/sbin/bpftool] Error 2
  make[1]: *** Deleting file '/home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/sbin/bpftool'
  make: *** [Makefile:165: all] Error 2

Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Fix proposal

description: updated
tags: added: 5.11 hirsute sru-20210531
description: updated
Changed in ubuntu-kernel-tests:
assignee: nobody → Kamal Mostafa (kamalmostafa)
assignee: Kamal Mostafa (kamalmostafa) → nobody
assignee: nobody → Thadeu Lima de Souza Cascardo (cascardo)
tags: added: ubuntu-bpf
tags: added: aws
Po-Hsu Lin (cypressyew)
tags: added: sru-20210621
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on 5.11.0-1013.14 linux-gcp

tags: added: gcp
Changed in ubuntu-kernel-tests:
status: New → In Progress
assignee: Thadeu Lima de Souza Cascardo (cascardo) → Po-Hsu Lin (cypressyew)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

The package name should be docutils-common

We have a fix for focal already, by installing python-docutils. But on Hirsute you will need python3-docutils.

This can be simplified to just install the docutils-common, as these two packages all depend on it.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.