All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libcap: disable GOLANG
Date: Wed, 9 Sep 2020 22:42:43 +0200	[thread overview]
Message-ID: <20200909204243.GS14354@scaer> (raw)
In-Reply-To: <d1e0d62f-098d-4dbb-037a-8f827772dd1e@aliyun.com>

Tian Yuanhao, All,

On 2020-09-01 00:14 +0800, Tian Yuanhao via buildroot spake thusly:
> This patch is for the next branch.
> 
> Recently, the go infrastructure has changed, and libcap has been
> upgraded to 2.42. libcap introduced golang in 2.28, see:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/commit/Make.Rules?id=0615d996379dceedefcd65a114f93fefd81c208f
> 
> When you compile host-go and then compile host-libcap, GOLANG will be
> automatically set to yes. Because libcap.mk lacks golang support,
> compilation will fail.

I've taken those explanations and used them as the new commit log, and
applied the patch.

However, the patch was mangled: TABs were replaced by spaces, so I had
to fix that too.

Applied to master, thanks!

Regards,
Yann E. MORIN.

> > > libcap is a pure C library before 2.27, it lacks some environment
> > > variables set in pkg-golang.mk.
> >
> > Can you be more specific? What exactly is this fixing? I don't see
> > any related autobuilder errors?
> >
> > http://autobuild.buildroot.net/?reason=libcap-2.27
> >
> > And I don't see any reference to GOLANG in libcap-2.27?
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      parent reply	other threads:[~2020-09-09 20:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31  2:16 [Buildroot] [PATCH] libcap: disable GOLANG Tian Yuanhao
2020-08-31 15:15 ` Peter Korsgaard
2020-08-31 16:14   ` Tian Yuanhao
2020-08-31 16:24     ` Peter Korsgaard
2020-09-09 20:35       ` Joseph Kogut
2020-09-09 20:42     ` Yann E. MORIN [this message]

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=20200909204243.GS14354@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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.