All of lore.kernel.org
 help / color / mirror / Atom feed
* PN is uppercase
@ 2019-04-01 11:36 Ralf Spiwoks
  2019-04-02 11:54 ` Burton, Ross
  0 siblings, 1 reply; 7+ messages in thread
From: Ralf Spiwoks @ 2019-04-01 11:36 UTC (permalink / raw)
  To: yocto

Hi,

I am getting warning issues about the package name containing uppercase letters, e.g.

WARNING: QA Issue: PN: ... is upper case, this can result in unexpected behavior. [uppercase-pn]

And sometimes later, I am getting many errors like the following one:

ERROR: ...-1.0-r0 do_package_qa: QA Issue: /usr/bin/... contained in package ... requires libgcc_s.so.1, but no providers found in RDEPENDS_...? 
[file-rdeps]


TWO questions:

1) Are those two issues related?

2) What is the logic behind allowing only lower case package names? This is to me
    a serious restriction on the use of Yocto.

Thanks for your help,

Ralf Spiwoks, CERN


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PN is uppercase
  2019-04-01 11:36 PN is uppercase Ralf Spiwoks
@ 2019-04-02 11:54 ` Burton, Ross
  2019-05-21  7:50   ` Ralf Spiwoks
  0 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2019-04-02 11:54 UTC (permalink / raw)
  To: Ralf Spiwoks; +Cc: Yocto-mailing-list

On Tue, 2 Apr 2019 at 12:36, Ralf Spiwoks <spiwoks@cern.ch> wrote:
> TWO questions:
>
> 1) Are those two issues related?

Probably not, unless you're trying to use a mixed-case override.

> 2) What is the logic behind allowing only lower case package names? This is to me
>     a serious restriction on the use of Yocto.

Two reasons: some package managers forbid packages with uppercase
names; and for performance reasons overrides are lowercase and as
package names are often embedded in overrides this implies that
package names need to be lowercase.

What's the problem with using lowercase names?

Ross


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PN is uppercase
  2019-04-02 11:54 ` Burton, Ross
@ 2019-05-21  7:50   ` Ralf Spiwoks
  2019-05-23 23:49     ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Ralf Spiwoks @ 2019-05-21  7:50 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Yocto-mailing-list

Hi Ross,

Thanks for your email. I am realising that I have not replied to your
email earlier. Sorry. I guess it was partly because your answer put
me slightly off. On the one hand, I thought that as a general approach,
Linux was case sensitive, unlike its big rival Windows, and I was not
aware  of package managers which would explicitly forbid uppercase
package names. I find the approach of allowing only lowercase package
names quite limiting, and frankly a drawback for using Yocto

On the other hand I have a few tens of packages to maintain, which
have uppercase letters in the package names and which did work with
Yocto in previous versions. So, because of a new convention we would
have to rework some of the packages or ignore the warning messages.
And until we find the effort for reworking those package recipes we
will stay with the latter option.

Thanks for your patience and your explanations. Cheers,

Ralf.

On 4/2/19 1:54 PM, Burton, Ross wrote:
> On Tue, 2 Apr 2019 at 12:36, Ralf Spiwoks <spiwoks@cern.ch> wrote:
>> TWO questions:
>>
>> 1) Are those two issues related?
> 
> Probably not, unless you're trying to use a mixed-case override.
> 
>> 2) What is the logic behind allowing only lower case package names? This is to me
>>      a serious restriction on the use of Yocto.
> 
> Two reasons: some package managers forbid packages with uppercase
> names; and for performance reasons overrides are lowercase and as
> package names are often embedded in overrides this implies that
> package names need to be lowercase.
> 
> What's the problem with using lowercase names?
> 
> Ross
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PN is uppercase
  2019-05-21  7:50   ` Ralf Spiwoks
@ 2019-05-23 23:49     ` Khem Raj
  2019-05-24  4:23       ` Tim Orling
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2019-05-23 23:49 UTC (permalink / raw)
  To: Ralf Spiwoks, Burton, Ross; +Cc: Yocto-mailing-list



On 5/21/19 12:50 AM, Ralf Spiwoks wrote:
> Hi Ross,
> 
> Thanks for your email. I am realising that I have not replied to your
> email earlier. Sorry. I guess it was partly because your answer put
> me slightly off. On the one hand, I thought that as a general approach,
> Linux was case sensitive, unlike its big rival Windows, and I was not
> aware  of package managers which would explicitly forbid uppercase
> package names. I find the approach of allowing only lowercase package
> names quite limiting, and frankly a drawback for using Yocto
> 
> On the other hand I have a few tens of packages to maintain, which
> have uppercase letters in the package names and which did work with
> Yocto in previous versions. So, because of a new convention we would
> have to rework some of the packages or ignore the warning messages.
> And until we find the effort for reworking those package recipes we
> will stay with the latter option.

The package name rules are not new, they have been with OE/YP forever
so it should have failed always. Similar to debian see

https://www.debian.org/doc/debian-policy/ch-controlfields.html#list-of-fields

> 
> Thanks for your patience and your explanations. Cheers,
> 
> Ralf.
> 
> On 4/2/19 1:54 PM, Burton, Ross wrote:
>> On Tue, 2 Apr 2019 at 12:36, Ralf Spiwoks <spiwoks@cern.ch> wrote:
>>> TWO questions:
>>>
>>> 1) Are those two issues related?
>>
>> Probably not, unless you're trying to use a mixed-case override.
>>
>>> 2) What is the logic behind allowing only lower case package names? 
>>> This is to me
>>>      a serious restriction on the use of Yocto.
>>
>> Two reasons: some package managers forbid packages with uppercase
>> names; and for performance reasons overrides are lowercase and as
>> package names are often embedded in overrides this implies that
>> package names need to be lowercase.
>>
>> What's the problem with using lowercase names?
>>
>> Ross
>>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PN is uppercase
  2019-05-23 23:49     ` Khem Raj
@ 2019-05-24  4:23       ` Tim Orling
  2019-05-24 14:26         ` Ralf Spiwoks
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Orling @ 2019-05-24  4:23 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto-mailing-list, Ralf Spiwoks

[-- Attachment #1: Type: text/plain, Size: 2583 bytes --]

On Thu, May 23, 2019 at 4:55 PM Khem Raj <raj.khem@gmail.com> wrote:

>
>
> On 5/21/19 12:50 AM, Ralf Spiwoks wrote:
> > Hi Ross,
> >
> > Thanks for your email. I am realising that I have not replied to your
> > email earlier. Sorry. I guess it was partly because your answer put
> > me slightly off. On the one hand, I thought that as a general approach,
> > Linux was case sensitive, unlike its big rival Windows, and I was not
> > aware  of package managers which would explicitly forbid uppercase
> > package names. I find the approach of allowing only lowercase package
> > names quite limiting, and frankly a drawback for using Yocto
> >
> > On the other hand I have a few tens of packages to maintain, which
> > have uppercase letters in the package names and which did work with
> > Yocto in previous versions. So, because of a new convention we would
> > have to rework some of the packages or ignore the warning messages.
> > And until we find the effort for reworking those package recipes we
> > will stay with the latter option.
>
> The package name rules are not new, they have been with OE/YP forever
> so it should have failed always. Similar to debian see
>
>
> https://www.debian.org/doc/debian-policy/ch-controlfields.html#list-of-fields
>

We had to pick a convention. Debian is well documented, conservative and
well thought out. My first contributions to OpenEmbedded many years ago
didn’t follow Debian naming, were rejected on V1 and I embarked on a new
learning curve. I’ve embraced it and never looked back.


> >
> > Thanks for your patience and your explanations. Cheers,
> >
> > Ralf.
> >
> > On 4/2/19 1:54 PM, Burton, Ross wrote:
> >> On Tue, 2 Apr 2019 at 12:36, Ralf Spiwoks <spiwoks@cern.ch> wrote:
> >>> TWO questions:
> >>>
> >>> 1) Are those two issues related?
> >>
> >> Probably not, unless you're trying to use a mixed-case override.
> >>
> >>> 2) What is the logic behind allowing only lower case package names?
> >>> This is to me
> >>>      a serious restriction on the use of Yocto.
> >>
> >> Two reasons: some package managers forbid packages with uppercase
> >> names; and for performance reasons overrides are lowercase and as
> >> package names are often embedded in overrides this implies that
> >> package names need to be lowercase.
> >>
> >> What's the problem with using lowercase names?
> >>
> >> Ross
> >>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 3697 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PN is uppercase
  2019-05-24  4:23       ` Tim Orling
@ 2019-05-24 14:26         ` Ralf Spiwoks
  2019-05-25 13:35           ` Burton, Ross
  0 siblings, 1 reply; 7+ messages in thread
From: Ralf Spiwoks @ 2019-05-24 14:26 UTC (permalink / raw)
  To: Tim Orling, Khem Raj; +Cc: Yocto-mailing-list

Hi guys,

The warnings were definitely not on when I started using Yocto more than two years ago.
I have not been using debian packages, and didn't notice. I thought I was still not
using debian and that's why I am surprised about those warnings. But as I wrote, if I
ignore the warnings, nothing bad happens ...

And Tim, thank you for writing "Debian" and "OpenEmbedded" in that way ... it reassured
me ;-)

Have a good weekend. Cheers,

Ralf.

On 5/24/19 6:23 AM, Tim Orling wrote:
> 
> 
> On Thu, May 23, 2019 at 4:55 PM Khem Raj <raj.khem@gmail.com <mailto:raj.khem@gmail.com>> wrote:
> 
> 
> 
>     On 5/21/19 12:50 AM, Ralf Spiwoks wrote:
>      > Hi Ross,
>      >
>      > Thanks for your email. I am realising that I have not replied to your
>      > email earlier. Sorry. I guess it was partly because your answer put
>      > me slightly off. On the one hand, I thought that as a general approach,
>      > Linux was case sensitive, unlike its big rival Windows, and I was not
>      > aware  of package managers which would explicitly forbid uppercase
>      > package names. I find the approach of allowing only lowercase package
>      > names quite limiting, and frankly a drawback for using Yocto
>      >
>      > On the other hand I have a few tens of packages to maintain, which
>      > have uppercase letters in the package names and which did work with
>      > Yocto in previous versions. So, because of a new convention we would
>      > have to rework some of the packages or ignore the warning messages.
>      > And until we find the effort for reworking those package recipes we
>      > will stay with the latter option.
> 
>     The package name rules are not new, they have been with OE/YP forever
>     so it should have failed always. Similar to debian see
> 
>     https://www.debian.org/doc/debian-policy/ch-controlfields.html#list-of-fields
> 
> 
> We had to pick a convention. Debian is well documented, conservative and well thought out. My first contributions to OpenEmbedded many years ago 
> didn’t follow Debian naming, were rejected on V1 and I embarked on a new learning curve. I’ve embraced it and never looked back.
> 
> 
>      >
>      > Thanks for your patience and your explanations. Cheers,
>      >
>      > Ralf.
>      >
>      > On 4/2/19 1:54 PM, Burton, Ross wrote:
>      >> On Tue, 2 Apr 2019 at 12:36, Ralf Spiwoks <spiwoks@cern.ch <mailto:spiwoks@cern.ch>> wrote:
>      >>> TWO questions:
>      >>>
>      >>> 1) Are those two issues related?
>      >>
>      >> Probably not, unless you're trying to use a mixed-case override.
>      >>
>      >>> 2) What is the logic behind allowing only lower case package names?
>      >>> This is to me
>      >>>      a serious restriction on the use of Yocto.
>      >>
>      >> Two reasons: some package managers forbid packages with uppercase
>      >> names; and for performance reasons overrides are lowercase and as
>      >> package names are often embedded in overrides this implies that
>      >> package names need to be lowercase.
>      >>
>      >> What's the problem with using lowercase names?
>      >>
>      >> Ross
>      >>
>     -- 
>     _______________________________________________
>     yocto mailing list
>     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/yocto
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PN is uppercase
  2019-05-24 14:26         ` Ralf Spiwoks
@ 2019-05-25 13:35           ` Burton, Ross
  0 siblings, 0 replies; 7+ messages in thread
From: Burton, Ross @ 2019-05-25 13:35 UTC (permalink / raw)
  To: Ralf Spiwoks; +Cc: Yocto-mailing-list

The check was added in August 2017 and appeared first in Rocko, so
it's possible that you stuck with an earlier release until recently.

Ross

On Fri, 24 May 2019 at 15:26, Ralf Spiwoks <spiwoks@cern.ch> wrote:
>
> Hi guys,
>
> The warnings were definitely not on when I started using Yocto more than two years ago.
> I have not been using debian packages, and didn't notice. I thought I was still not
> using debian and that's why I am surprised about those warnings. But as I wrote, if I
> ignore the warnings, nothing bad happens ...
>
> And Tim, thank you for writing "Debian" and "OpenEmbedded" in that way ... it reassured
> me ;-)
>
> Have a good weekend. Cheers,
>
> Ralf.
>
> On 5/24/19 6:23 AM, Tim Orling wrote:
> >
> >
> > On Thu, May 23, 2019 at 4:55 PM Khem Raj <raj.khem@gmail.com <mailto:raj.khem@gmail.com>> wrote:
> >
> >
> >
> >     On 5/21/19 12:50 AM, Ralf Spiwoks wrote:
> >      > Hi Ross,
> >      >
> >      > Thanks for your email. I am realising that I have not replied to your
> >      > email earlier. Sorry. I guess it was partly because your answer put
> >      > me slightly off. On the one hand, I thought that as a general approach,
> >      > Linux was case sensitive, unlike its big rival Windows, and I was not
> >      > aware  of package managers which would explicitly forbid uppercase
> >      > package names. I find the approach of allowing only lowercase package
> >      > names quite limiting, and frankly a drawback for using Yocto
> >      >
> >      > On the other hand I have a few tens of packages to maintain, which
> >      > have uppercase letters in the package names and which did work with
> >      > Yocto in previous versions. So, because of a new convention we would
> >      > have to rework some of the packages or ignore the warning messages.
> >      > And until we find the effort for reworking those package recipes we
> >      > will stay with the latter option.
> >
> >     The package name rules are not new, they have been with OE/YP forever
> >     so it should have failed always. Similar to debian see
> >
> >     https://www.debian.org/doc/debian-policy/ch-controlfields.html#list-of-fields
> >
> >
> > We had to pick a convention. Debian is well documented, conservative and well thought out. My first contributions to OpenEmbedded many years ago
> > didn’t follow Debian naming, were rejected on V1 and I embarked on a new learning curve. I’ve embraced it and never looked back.
> >
> >
> >      >
> >      > Thanks for your patience and your explanations. Cheers,
> >      >
> >      > Ralf.
> >      >
> >      > On 4/2/19 1:54 PM, Burton, Ross wrote:
> >      >> On Tue, 2 Apr 2019 at 12:36, Ralf Spiwoks <spiwoks@cern.ch <mailto:spiwoks@cern.ch>> wrote:
> >      >>> TWO questions:
> >      >>>
> >      >>> 1) Are those two issues related?
> >      >>
> >      >> Probably not, unless you're trying to use a mixed-case override.
> >      >>
> >      >>> 2) What is the logic behind allowing only lower case package names?
> >      >>> This is to me
> >      >>>      a serious restriction on the use of Yocto.
> >      >>
> >      >> Two reasons: some package managers forbid packages with uppercase
> >      >> names; and for performance reasons overrides are lowercase and as
> >      >> package names are often embedded in overrides this implies that
> >      >> package names need to be lowercase.
> >      >>
> >      >> What's the problem with using lowercase names?
> >      >>
> >      >> Ross
> >      >>
> >     --
> >     _______________________________________________
> >     yocto mailing list
> >     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> >     https://lists.yoctoproject.org/listinfo/yocto
> >


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-25 13:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-01 11:36 PN is uppercase Ralf Spiwoks
2019-04-02 11:54 ` Burton, Ross
2019-05-21  7:50   ` Ralf Spiwoks
2019-05-23 23:49     ` Khem Raj
2019-05-24  4:23       ` Tim Orling
2019-05-24 14:26         ` Ralf Spiwoks
2019-05-25 13:35           ` Burton, Ross

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.