[PATCH] efi_runtime: enable KBUILD_MODPOST_WARN=y to workaround build failures
Alex Hung
alex.hung at canonical.com
Fri Aug 2 18:18:09 UTC 2019
I tried eoan (daily build iso dated 2019-07-26 07:48) and without following
git clone git://kernel.ubuntu.com/hwe/fwts.git
- Install eoan, run sudo apt date && sudo apt upgrade
- Install some other apps
- git clone git://kernel.ubuntu.com/hwe/fwts.git
- cd fwts
- pwclient git-am 1136754 1138706
- sudo autopkgtest . -- null
However, I still got the same result "SKIP no tests in this package",
and "echo $?" returns 8.
Without the two patches, the "echo $?" return 0
The log file is attached.
On Fri, Aug 2, 2019 at 3:18 AM Colin Ian King <colin.king at canonical.com> wrote:
>
> On 02/08/2019 09:58, Colin Ian King wrote:
> > On 31/07/2019 01:34, Alex Hung wrote:
> >> Hi Colin,
> >>
> >> Is this to solve the previous ADT issue from "[V3] efi_runtime: remove
> >> efi_runtime dkms" (http://patchwork.ozlabs.org/patch/1136754/)?
> >>
> >> I applied both patches and run ADT test by "sudo autopkgtest
> >> ./fwts_${RELEASE_VERSION}-0ubuntu1.dsc -- null" ($RELEASE_VERSION =
> >> 19.07.01 which is a test build), it doesn't return success. Is this
> >> intentional?
> >
> > Hrm, I'm running it from the source as follows:
> >
> > git clone git://kernel.ubuntu.com/hwe/fwts
> > cd fwts
> > sudo autopkgtest . -- null
> >
> > and it works OK for me on ubuntu eoan, see attached log (captured using
> > 'script')
> >
> > Colin
>
> Also tried sudo autopkgtest ./fwts_19.07.00-0ubuntu2.dsc -- null and
> it works fine (see log).
>
> Colin
>
> >
> >
> >>
> >> On Mon, Jul 29, 2019 at 5:00 PM Colin King <colin.king at canonical.com> wrote:
> >>>
> >>> From: Colin Ian King <colin.king at canonical.com>
> >>>
> >>> With newer kernels > 5.0, undefined variables now throw an error
> >>> rather than a warning. Force the older warning behaviour so that
> >>> dkms builds can pass ADT build testing.
> >>>
> >>> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> >>> ---
> >>> efi_runtime/Makefile | 1 +
> >>> 1 file changed, 1 insertion(+)
> >>>
> >>> diff --git a/efi_runtime/Makefile b/efi_runtime/Makefile
> >>> index ae868675..6ba369ce 100644
> >>> --- a/efi_runtime/Makefile
> >>> +++ b/efi_runtime/Makefile
> >>> @@ -17,6 +17,7 @@
> >>> #
> >>>
> >>> KVER ?= `uname -r`
> >>> +KBUILD_MODPOST_WARN=y
> >>> obj-m += efi_runtime.o
> >>> all:
> >>> make -C /lib/modules/$(KVER)/build M=`pwd` modules
> >>> --
> >>> 2.20.1
> >>>
> >>>
> >>> --
> >>> fwts-devel mailing list
> >>> fwts-devel at lists.ubuntu.com
> >>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel
> >>
> >>
> >>
> >
> >
>
--
Cheers,
Alex Hung
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typescript.xz
Type: application/x-xz
Size: 32140 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20190802/f6ac7143/attachment-0001.xz>
More information about the fwts-devel
mailing list