All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] utils/checkpackagelib: add function to check of the default package source variable
Date: Tue, 9 Jan 2018 09:50:28 +0100	[thread overview]
Message-ID: <20180109095028.286b1ecd@windsurf> (raw)
In-Reply-To: <5a5423b8d08a0_5241d7ae4c960fb@ultri3.mail>

Hello,

+Yegor in Cc, since there is some scanpypi discussion below.

On Tue, 09 Jan 2018 00:06:48 -0200, Ricardo Martincoski wrote:

> Unrelated... but I see there are few more (other) warnings in the tree.
> 
> 
> 1) daq
> A patch fixing this (removing the unneeded variable) ideally should be added to
> the series because it is tested in gitlab.

I fixed this one.

> 2) glibc
> It's a special package, but the removal of the variable seems fine to me (needs
> testing of course).

I think it can be changed indeed, but I haven't tested it.

> 3) python-networkmanager
> I guess the variable can be removed. Could it interact with scanpypi? Do we
> care if it does interact?
> By 'interact' I mean: when someone uses scanpypi to create a package should
> he/she use check-package after it?

I fixed this one as well. I guess scanpypi could be improved to not
emit the <pkg>_SOURCE line when its value is the default one.

> For these 2 I am not sure which one is the best solution: fix or whitelist.

Fix :-)

> 4) gdb
> The variable is overwritten for ARC. Would removing the variable make the code
> worst in this case? The 'if' would need to be negated, and the non-default
> value be assigned for not-ARC, I guess.
> 
> 5) binutils
> It has '?=' later for the same variable. I am not sure the first assignment can
> be removed.
> 
> 6) gcc
> Maybe we want it to be explicit to ease the maintenance? Not sure.
> 
> These 3 are good candidates for a whitelist.

Yes, agreed. Jerzy, could you send an updated patch that takes into
account Ricardo's comments, including whitelisting gdb/binutils/gcc ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2018-01-09  8:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 12:14 [Buildroot] [PATCH 1/1] utils/checkpackagelib: add function to check of the default package source variable Jerzy Grzegorek
2018-01-08 22:48 ` Thomas Petazzoni
2018-01-09  2:06   ` Ricardo Martincoski
2018-01-09  8:50     ` Thomas Petazzoni [this message]
2018-01-09 12:54       ` Jerzy Grzegorek
2018-01-09 12:51     ` Jerzy Grzegorek

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=20180109095028.286b1ecd@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --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.