All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Nikhil Devshatwar <nikhil.nd@ti.com>
Cc: meta-arago@arago-project.org, aparnab@ti.com
Subject: Re: [dunfell PATCH 1/2] websocketd: Add new recipe
Date: Wed, 28 Oct 2020 19:28:30 -0400	[thread overview]
Message-ID: <20201028232829.GE19741@beryl> (raw)
In-Reply-To: <20201028214355.GC19741@beryl>

On Wed, Oct 28, 2020 at 05:43:56PM -0400, Denys Dmytriyenko wrote:
> On Wed, Oct 28, 2020 at 10:37:25PM +0530, Nikhil Devshatwar wrote:
> > On 12:57-20201028, Nikhil Devshatwar wrote:
> > > On 02:35-20201028, Nikhil Devshatwar wrote:
> > > > On 00:56-20201028, Nikhil Devshatwar wrote:
> > > > > On 14:11-20201027, Dan Murphy wrote:
> > > > > > Denys/Nikhil
> > > > > > 
> > > > > > On 10/27/20 2:06 PM, Denys Dmytriyenko wrote:
> > > > > > > On Tue, Oct 27, 2020 at 01:57:06PM -0500, Dan Murphy wrote:
> > > > > > > > Denys
> > > > > > > > 
> > > > > > > > On 10/27/20 1:52 PM, Denys Dmytriyenko wrote:
> > > > > > > > > On Tue, Oct 27, 2020 at 01:42:32PM -0500, Dan Murphy wrote:
> > > > > > > > > > Nikhil
> > > > > > > > > > 
> > > > > > > > > > On 10/27/20 5:11 AM, Nikhil Devshatwar wrote:
> > > > > > > > > > > On 11:09-20201026, Dan Murphy wrote:
> > > > > > > > > > > > Nikhil
> > > > > > > > > > > > 
> > > > > > > > > > > > On 10/26/20 10:51 AM, Nikhil Devshatwar wrote:
> > > > > > > > > > > > > websocketd is an application which allows to redirect output of
> > > > > > > > > > > > > command line applications via a websocket so that web pages can
> > > > > > > > > > > > > interact with them.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > This is very useful for visualizing statistics information on
> > > > > > > > > > > > > host machine browser.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
> > > > > > > > > > > > > ---
> > > > > > > > > > > > >    .../recipes-devtools/websocketd/websocketd.bb    | 16 ++++++++++++++++
> > > > > > > > > > > > >    1 file changed, 16 insertions(+)
> > > > > > > > > > > > >    create mode 100644 meta-arago-extras/recipes-devtools/websocketd/websocketd.bb
> > > > > > > > > > > > > 
> > > > > > > > > > > > > diff --git a/meta-arago-extras/recipes-devtools/websocketd/websocketd.bb b/meta-arago-extras/recipes-devtools/websocketd/websocketd.bb
> > > > > > > > > > > > > new file mode 100644
> > > > > > > > > > > > > index 00000000..44f549ee
> > > > > > > > > > > > > --- /dev/null
> > > > > > > > > > > > > +++ b/meta-arago-extras/recipes-devtools/websocketd/websocketd.bb
> > > > > > > > > > > > > @@ -0,0 +1,16 @@
> > > > > > > > > > > > > +SUMMARY = "Application for routing native applications via websockets"
> > > > > > > > > > > > > +HOMEPAGE = "http://websocketd.com/"
> > > > > > > > > > > > > +
> > > > > > > > > > > > > +LICENSE = "BSD-2-Clause"
> > > > > > > > > > > > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=a14d7befdbee1290ac5c472cd85d66f2"
> > > > > > > > > > > > > +
> > > > > > > > > > > > > +PV = "0.3.0"
> > > > > > > > > > > > 0.3.1 is available
> > > > > > > > > > > > > +SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"
> > > > > > > > > > > > Is this valid for ARM32? Does this build for am3 or am4?
> > > > > > > > > > > > 
> > > > > > > > > > > > I see websocketd-0.3.1-linux_arm.zip available for 32 bit
> > > > > > > > > > > This is planned to be supported only for K3 platforms.
> > > > > > > > > > > I haven't run it on any arm32 platforms.
> > > > > > > > > > > Should I add a compatible machine here and in the statcol recipe as well?
> > > > > > > > > > If you only intend to use the 64 bit package then yes you probably should
> > > > > > > > > > restrict it to 64 bit platforms so it does not get pulled into the 32 bit
> > > > > > > > > > platform.
> > > > > > > > > Why cannot it be build from sources instead of pulling prebuilt binaries?
> > > > > > > > > 
> > > > > > > > It is coded in Go can the Yocto build Go yet?
> > > > > > > Absolutely! Usually all you need is to "inherit go" bbclass. There are some
> > > > > > > existing examples out there:
> > > > > > > 
> > > > > > > https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
> > > > > > > https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/glide/glide_0.13.3.bb
> > > > > > > 
> > > > > > Nice! Lets build it from source then instead of pulling a pre-compiled
> > > > > > release
> > > > > > 
> > > > > > This way we can just build for the arch as well. If that is not needed then
> > > > > > we should make it Arch dependent but lets try to build for both 32 and 64
> > > > > > bit
> > > > > > 
> > > > > 
> > > > > Okay, Let me give it a try and repost
> > > > > Nikhil D
> > > > > 
> > > > 
> > > > Hi Denys, Dan,
> > > > 
> > > > Well, I tried a simple recipe and I am not able to figure out how the
> > > > dependencies are handled in go package builds.
> > > > 
> > > > I tried to add DEPENDS, I tried to run "go get" command after
> > > > do_configure and before do_compile, but this didn't help.
> > > > 
> > > > I inherited go-mod instead of go  (Not sure if this is a right step)
> > > > In this, I get another error when go is trying to download the
> > > > dependency package. Looks like a DNS lookup error.
> > > > 
> > > > Recipe and logs here:
> > > > http://serenity.dal.design.ti.com:7777/raw/rekohinake
> > > 
> > > Here is a publicly accessible link for the logs
> > > https://pastebin.ubuntu.com/p/Cr536RF25t/
> > > 
> > 
> > Hi Dan, Denys,
> > 
> > Can you please give me a hint on what might be going wrong?
> > It seems that the inherit go-mod is right thing to do but I am not
> > able to figure out how to fix the DNS lookup errors.
> 
> Yes, inherit go-mod is correct. I'm not seeing any DNS/proxy issues from 
> outside - looks like it's specific to TI network. Let me try over VPN, but 
> that would be setup issue and not specific to a recipe.

See v4 for the fix.


> -- 
> Denys
> 
> 
> > Regards,
> > Nikhil D
> > 
> > > Nikhil D
> > > 
> > > > 
> > > > Please help me how to fix this. This is my first attempt to build any go
> > > > package. bitbake and otherwise also.
> > > > 
> > > > > > Dan
> > > > > > 
> > > > > _______________________________________________
> > > > > meta-arago mailing list
> > > > > meta-arago@arago-project.org
> > > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > > _______________________________________________
> > > > meta-arago mailing list
> > > > meta-arago@arago-project.org
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


      reply	other threads:[~2020-10-28 23:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-26 15:51 [dunfell PATCH 1/2] websocketd: Add new recipe Nikhil Devshatwar
2020-10-26 15:51 ` [dunfell PATCH 2/2] statcol: New recipe for statistics collector application Nikhil Devshatwar
2020-10-26 16:09 ` [dunfell PATCH 1/2] websocketd: Add new recipe Dan Murphy
2020-10-27 10:11   ` Nikhil Devshatwar
2020-10-27 18:42     ` Dan Murphy
2020-10-27 18:52       ` Denys Dmytriyenko
2020-10-27 18:57         ` Dan Murphy
2020-10-27 19:06           ` Denys Dmytriyenko
2020-10-27 19:11             ` Dan Murphy
2020-10-27 19:26               ` Nikhil Devshatwar
2020-10-27 21:05                 ` Nikhil Devshatwar
2020-10-28  7:27                   ` Nikhil Devshatwar
2020-10-28 17:07                     ` Nikhil Devshatwar
2020-10-28 21:43                       ` Denys Dmytriyenko
2020-10-28 23:28                         ` Denys Dmytriyenko [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=20201028232829.GE19741@beryl \
    --to=denys@ti.com \
    --cc=aparnab@ti.com \
    --cc=meta-arago@arago-project.org \
    --cc=nikhil.nd@ti.com \
    /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.