Open shenfang2019 opened 2 years ago
Overriding linitian hints is not a bug. We intentional suppress some lintian issues. I temporarily added a --show-overrides
to the linitian call in debian/docker/lintian.sh
to reveal the overridden issues:
lintian --profile debian --show-overrides ../acrn-hypervisor_3.0~1.gbpb9ac69_amd64.changes
N: ???
O: acrn-hypervisor source: source-is-missing doc/static/js/modernizr.min.js
N: we do not (yet) translate templates
O: acrn-hypervisor source: untranslatable-debconf-templates acrn-hypervisor.templates.in: 11
N: we do not (yet) translate templates
O: acrn-hypervisor source: untranslatable-debconf-templates acrn-hypervisor.templates.in: 4
N: manpages are missing in upstream
O: acrn-devicemodel: no-manual-page usr/bin/acrn-dm
N: manpages are missing in upstream
O: acrn-lifemngr: no-manual-page usr/bin/acrn-lifemngr
N: manpages are missing in upstream
O: acrn-tools: no-manual-page usr/bin/acrnlog
N: manpages are missing in upstream
O: acrn-tools: no-manual-page usr/bin/acrnprobe
N: manpages are missing in upstream
O: acrn-tools: no-manual-page usr/bin/acrntrace
N: manpages are missing in upstream
O: acrn-tools: no-manual-page usr/bin/crashlogctl
N: manpages are missing in upstream
O: acrn-tools: no-manual-page usr/bin/debugger
N: manpages are missing in upstream
O: acrn-tools: no-manual-page usr/bin/usercrash-wrapper
N: manpages are missing in upstream
O: acrn-tools: no-manual-page usr/bin/usercrash_c
N: manpages are missing in upstream
O: acrn-tools: no-manual-page usr/bin/usercrash_s
N: manpages are missing in upstream
O: acrnd: no-manual-page usr/bin/acrnctl
N: manpages are missing in upstream
O: acrnd: no-manual-page usr/bin/acrnd
N: manpages are missing in upstream
O: python3-acrn-board-inspector: no-manual-page usr/bin/acrn-board-inspector
As we can see, these overrides mainly deal with the missing manual pages (which really would be a nice thing to have ;-) ) and
the fact that we do not have any translations for the debconf templates, so we just ignore it for now. The source-is-missing
error does not apply at all, since the doc package only contains a link to the online documentation, so there is no source missing. Nevertheless, I have to add a proper comment on this suppressed error.
Please use at least commit b7f50ef980edaf6c7d51b72984d889edf0ba006e on master to apply the changes. This is the commit the changes are based on! 3d8fa8094941077f8ee15a3def0f5e79a201a173 is already too old!
There are also some comments:
--git-ignore-new
is an indicator, that there are uncommited changes in your worktree that might impact the results!DISTRO=hirsute VENDOR=ubuntu debian/docker/acrn-docker-build.sh --git-ignore-branch
to verify it works nonetheless, see debian/README.md
DISTRO=focal VENDOR=ubuntu debian/docker/acrn-docker-build.sh --git-ignore-branch Sending build context to Docker daemon 16.38kB Step 1/14 : ARG DISTRO Step 2/14 : ARG VENDOR Step 3/14 : FROM ${VENDOR}:${DISTRO} Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
1: Failed to use docker to build.
2: Failed to apply your patches to the latest acrn codes. Could you help to rebase?
3: --git-ignore-new donot need for 1st compiling, just for 2nd time, because many new files were created in /acrn-hypervisor/debian
Anyways, these errors and warnings do not block to verify debian package.
Describe the bug 18 hints overridden (5 errors, 13 warnings) happened during gbp buildpackage
Platform tgl with ubuntu 21.04
Codebase acrn-hypervisor commit id:3d8fa8094941077f8ee15a3def0f5e79a201a173 with the following debian patches: 0001-Update-gitignore-to-ignore-Eclipse-project-config.patch 0006-hv-Fixup-serial.conf-permissions.patch
0002-board-inspector-Fix-sys.path-for-all-internal-module.patch 0007-debian-Handle-etc-serial.conf.patch
0003-dm-Use-libdrm-library-for-drm-access.patch 0008-dm-Remove-dependency-on-libuuid.patch
0004-Adding-initial-native-Debian-packaging-for-ACRN.patch 0009-debian-Remove-build-dependency-on-uuid-dev.patch 0005-debian-Add-docker-build-helpers.patch 0010-Update-d-changelog.patch
Scenario Building ACRN 3.0 for boards: adl-s-crb, cfl-k700-i7, nuc11tnbi5, tgl-vecow-spc-7100-Corei7, whl-ipc-i5 The scenarios used are: adl-s-crb: partitioned, shared, hybrid, hybrid_rt cfl-k700-i7: partitioned, shared, hybrid, hybrid_rt nuc11tnbi5: partitioned, shared, hybrid tgl-vecow-spc-7100-Corei7: partitioned, shared, hybrid whl-ipc-i5: partitioned, shared, hybrid, hybrid_rt
To Reproduce Steps to reproduce the behavior:
Expected behavior no error
Additional context Attached the following logs: build log and dmesg log
build-log.txt dmesg-log.txt