From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: Paul Barker <paul@betafive.co.uk>
Cc: meta-virtualization@yoctoproject.org
Subject: Re: [PATCH 2/2] netns: Fix build on qemux86-64
Date: Thu, 26 Sep 2019 10:36:02 -0400 [thread overview]
Message-ID: <20190926143601.GB9611@gmail.com> (raw)
In-Reply-To: <20190924093737.265426-2-paul@betafive.co.uk>
merged.
Bruce
In message: [meta-virtualization] [PATCH 2/2] netns: Fix build on qemux86-64
on 24/09/2019 Paul Barker wrote:
> The build has broken again on master, even for non-static builds of
> netns. The simplest fix is to extend our existing patch to cover this
> case as well.
>
> Signed-off-by: Paul Barker <paul@betafive.co.uk>
> ---
> ...ce-rebuilding-all-packages-to-avoid-cgo.patch | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
>
> diff --git a/recipes-networking/netns/files/Makefile-force-rebuilding-all-packages-to-avoid-cgo.patch b/recipes-networking/netns/files/Makefile-force-rebuilding-all-packages-to-avoid-cgo.patch
> index 3ed4c21..e4967d2 100644
> --- a/recipes-networking/netns/files/Makefile-force-rebuilding-all-packages-to-avoid-cgo.patch
> +++ b/recipes-networking/netns/files/Makefile-force-rebuilding-all-packages-to-avoid-cgo.patch
> @@ -37,14 +37,20 @@ Forward-ported to v0.5.3.
>
> Signed-off-by: Paul Barker <paul@betafive.co.uk>
> ---
> - basic.mk | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> + basic.mk | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/basic.mk b/basic.mk
> -index 187dff3..fb080b7 100644
> +index 187dff3..76a8d93 100644
> --- a/src/import/basic.mk
> +++ b/src/import/basic.mk
> -@@ -50,7 +50,7 @@ $(NAME): $(wildcard *.go) $(wildcard */*.go) VERSION.txt
> +@@ -45,12 +45,12 @@ build: prebuild $(NAME) ## Builds a dynamic executable or package.
> +
> + $(NAME): $(wildcard *.go) $(wildcard */*.go) VERSION.txt
> + @echo "+ $@"
> +- $(GO) build -tags "$(BUILDTAGS)" ${GO_LDFLAGS} -o $(NAME) .
> ++ $(GO) build -a -pkgdir dontusecurrentpkgs -tags "$(BUILDTAGS)" ${GO_LDFLAGS} -o $(NAME) .
> +
> .PHONY: static
> static: prebuild ## Builds a static executable.
> @echo "+ $@"
> @@ -54,5 +60,5 @@ index 187dff3..fb080b7 100644
> ${GO_LDFLAGS_STATIC} -o $(NAME) .
>
> --
> -2.17.1
> +2.23.0
>
> --
> 2.23.0
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
next prev parent reply other threads:[~2019-09-26 14:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-24 9:37 [PATCH 1/2] layer.conf: Change dependency on meta-selinux to recommendation Paul Barker
2019-09-24 9:37 ` [PATCH 2/2] netns: Fix build on qemux86-64 Paul Barker
2019-09-26 14:36 ` Bruce Ashfield [this message]
2019-09-26 14:35 ` [PATCH 1/2] layer.conf: Change dependency on meta-selinux to recommendation Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190926143601.GB9611@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=meta-virtualization@yoctoproject.org \
--cc=paul@betafive.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.