All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server
@ 2016-08-23  3:10 Zhixiong Chi
  2016-09-01 12:20 ` Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Zhixiong Chi @ 2016-08-23  3:10 UTC (permalink / raw)
  To: openembedded-devel

The commands(mysql_convert_table_format and mysql_setpermission) need
to the supported API provided by the libdbi-perl package.
So add the libdbi-perl to the variable RDEPENDS of mariabdb-server.

Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
---
 meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
index 73905b6..c2d2ecf 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
 RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
     perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
     perl-module-file-copy perl-module-file-temp perl-module-posix \
-    ${PN}-client"
+    ${PN}-client libdbi-perl"
 RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
     perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
     perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
-- 
1.9.1



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

* Re: [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server
  2016-08-23  3:10 [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server Zhixiong Chi
@ 2016-09-01 12:20 ` Martin Jansa
  2016-09-05  4:27   ` Zhixiong Chi
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2016-09-01 12:20 UTC (permalink / raw)
  To: openembedded-devel

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

On Tue, Aug 23, 2016 at 11:10:30AM +0800, Zhixiong Chi wrote:
> The commands(mysql_convert_table_format and mysql_setpermission) need
> to the supported API provided by the libdbi-perl package.
> So add the libdbi-perl to the variable RDEPENDS of mariabdb-server.

This isn't possible, libdbi-perl is in meta-perl and mariadb is in
meta-oe.

meta-oe doesn't depend (and cannot) on meta-perl.

> Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
> ---
>  meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
> index 73905b6..c2d2ecf 100644
> --- a/meta-oe/recipes-support/mysql/mariadb.inc
> +++ b/meta-oe/recipes-support/mysql/mariadb.inc
> @@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
>  RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
>      perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
>      perl-module-file-copy perl-module-file-temp perl-module-posix \
> -    ${PN}-client"
> +    ${PN}-client libdbi-perl"
>  RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
>      perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
>      perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

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

* Re: [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server
  2016-09-01 12:20 ` Martin Jansa
@ 2016-09-05  4:27   ` Zhixiong Chi
  2016-09-18  7:52     ` Yu, Mingli
  0 siblings, 1 reply; 7+ messages in thread
From: Zhixiong Chi @ 2016-09-05  4:27 UTC (permalink / raw)
  To: openembedded-devel



On 2016年09月01日 20:20, Martin Jansa wrote:
> On Tue, Aug 23, 2016 at 11:10:30AM +0800, Zhixiong Chi wrote:
>> The commands(mysql_convert_table_format and mysql_setpermission) need
>> to the supported API provided by the libdbi-perl package.
>> So add the libdbi-perl to the variable RDEPENDS of mariabdb-server.
> This isn't possible, libdbi-perl is in meta-perl and mariadb is in
> meta-oe.
>
> meta-oe doesn't depend (and cannot) on meta-perl.
The script mysql_convert_table_format(line 50) and 
mysql_convert_table_format
(line 20) which located xxx/mariadb/scripts/ source path will call the 
DBI function
with the sentence "use DBI", and this DBI function is provided by the 
libdbi-perl
package.

So the scripts will fail when start to work.

Thanks.
>> Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
>> ---
>>   meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
>> index 73905b6..c2d2ecf 100644
>> --- a/meta-oe/recipes-support/mysql/mariadb.inc
>> +++ b/meta-oe/recipes-support/mysql/mariadb.inc
>> @@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
>>   RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
>>       perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
>>       perl-module-file-copy perl-module-file-temp perl-module-posix \
>> -    ${PN}-client"
>> +    ${PN}-client libdbi-perl"
>>   RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
>>       perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
>>       perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
>> -- 
>> 1.9.1
>>
>> -- 
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>

-- 
---------------------
Thanks,
Zhixiong Chi
Tel: +86-10-8477-7036



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

* Re: [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server
  2016-09-05  4:27   ` Zhixiong Chi
@ 2016-09-18  7:52     ` Yu, Mingli
  2016-09-21  5:42       ` Yu, Mingli
  0 siblings, 1 reply; 7+ messages in thread
From: Yu, Mingli @ 2016-09-18  7:52 UTC (permalink / raw)
  To: openembedded-devel



On 2016年09月05日 12:27, Zhixiong Chi wrote:
>
>
> On 2016年09月01日 20:20, Martin Jansa wrote:
>> On Tue, Aug 23, 2016 at 11:10:30AM +0800, Zhixiong Chi wrote:
>>> The commands(mysql_convert_table_format and mysql_setpermission) need
>>> to the supported API provided by the libdbi-perl package.
>>> So add the libdbi-perl to the variable RDEPENDS of mariabdb-server.
>> This isn't possible, libdbi-perl is in meta-perl and mariadb is in
>> meta-oe.
>>
>> meta-oe doesn't depend (and cannot) on meta-perl.
> The script mysql_convert_table_format(line 50) and
> mysql_convert_table_format
> (line 20) which located xxx/mariadb/scripts/ source path will call the
> DBI function
> with the sentence "use DBI", and this DBI function is provided by the
> libdbi-perl
> package.
>
> So the scripts will fail when start to work.

Any update?

The issue also exists in my environment as mariabdb-server rdepends on 
DBI.pm which is provided by libdbi-perl.

Thanks,

>
> Thanks.
>>> Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
>>> ---
>>>   meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
>>> b/meta-oe/recipes-support/mysql/mariadb.inc
>>> index 73905b6..c2d2ecf 100644
>>> --- a/meta-oe/recipes-support/mysql/mariadb.inc
>>> +++ b/meta-oe/recipes-support/mysql/mariadb.inc
>>> @@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl
>>> perl-module-getopt-long perl-module-file-temp \
>>>   RDEPENDS_${PN}-server = "perl perl-module-getopt-long
>>> perl-module-data-dumper \
>>>       perl-module-file-basename perl-module-file-path
>>> perl-module-sys-hostname \
>>>       perl-module-file-copy perl-module-file-temp perl-module-posix \
>>> -    ${PN}-client"
>>> +    ${PN}-client libdbi-perl"
>>>   RDEPENDS_${PN}-leftovers = "perl perl-module-cwd
>>> perl-module-benchmark perl-module-getopt-long \
>>>       perl-module-posix perl-module-data-dumper perl-module-sigtrap
>>> perl-module-threads \
>>>       perl-module-threads-shared perl-module-io-socket
>>> perl-module-sys-hostname perl-module-file-copy \
>>> --
>>> 1.9.1
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>>
>


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

* Re: [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server
  2016-09-18  7:52     ` Yu, Mingli
@ 2016-09-21  5:42       ` Yu, Mingli
  2016-09-21  7:08         ` Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Yu, Mingli @ 2016-09-21  5:42 UTC (permalink / raw)
  To: openembedded-devel



On 2016年09月18日 15:52, Yu, Mingli wrote:
>
>
> On 2016年09月05日 12:27, Zhixiong Chi wrote:
>>
>>
>> On 2016年09月01日 20:20, Martin Jansa wrote:
>>> On Tue, Aug 23, 2016 at 11:10:30AM +0800, Zhixiong Chi wrote:
>>>> The commands(mysql_convert_table_format and mysql_setpermission) need
>>>> to the supported API provided by the libdbi-perl package.
>>>> So add the libdbi-perl to the variable RDEPENDS of mariabdb-server.
>>> This isn't possible, libdbi-perl is in meta-perl and mariadb is in
>>> meta-oe.
>>>
>>> meta-oe doesn't depend (and cannot) on meta-perl.
>> The script mysql_convert_table_format(line 50) and
>> mysql_convert_table_format
>> (line 20) which located xxx/mariadb/scripts/ source path will call the
>> DBI function
>> with the sentence "use DBI", and this DBI function is provided by the
>> libdbi-perl
>> package.
>>
>> So the scripts will fail when start to work.
>
> Any update?
>
> The issue also exists in my environment as mariabdb-server rdepends on
> DBI.pm which is provided by libdbi-perl.
>
> Thanks,

Ping.

Thanks,

>
>>
>> Thanks.
>>>> Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
>>>> ---
>>>>   meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
>>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
>>>> b/meta-oe/recipes-support/mysql/mariadb.inc
>>>> index 73905b6..c2d2ecf 100644
>>>> --- a/meta-oe/recipes-support/mysql/mariadb.inc
>>>> +++ b/meta-oe/recipes-support/mysql/mariadb.inc
>>>> @@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl
>>>> perl-module-getopt-long perl-module-file-temp \
>>>>   RDEPENDS_${PN}-server = "perl perl-module-getopt-long
>>>> perl-module-data-dumper \
>>>>       perl-module-file-basename perl-module-file-path
>>>> perl-module-sys-hostname \
>>>>       perl-module-file-copy perl-module-file-temp perl-module-posix \
>>>> -    ${PN}-client"
>>>> +    ${PN}-client libdbi-perl"
>>>>   RDEPENDS_${PN}-leftovers = "perl perl-module-cwd
>>>> perl-module-benchmark perl-module-getopt-long \
>>>>       perl-module-posix perl-module-data-dumper perl-module-sigtrap
>>>> perl-module-threads \
>>>>       perl-module-threads-shared perl-module-io-socket
>>>> perl-module-sys-hostname perl-module-file-copy \
>>>> --
>>>> 1.9.1
>>>>
>>>> --
>>>> _______________________________________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>
>>>
>>


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

* Re: [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server
  2016-09-21  5:42       ` Yu, Mingli
@ 2016-09-21  7:08         ` Martin Jansa
  2016-09-23  2:41           ` Yu, Mingli
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2016-09-21  7:08 UTC (permalink / raw)
  To: openembedded-devel

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

On Wed, Sep 21, 2016 at 01:42:47PM +0800, Yu, Mingli wrote:
> 
> 
> On 2016年09月18日 15:52, Yu, Mingli wrote:
> >
> >
> > On 2016年09月05日 12:27, Zhixiong Chi wrote:
> >>
> >>
> >> On 2016年09月01日 20:20, Martin Jansa wrote:
> >>> On Tue, Aug 23, 2016 at 11:10:30AM +0800, Zhixiong Chi wrote:
> >>>> The commands(mysql_convert_table_format and mysql_setpermission) need
> >>>> to the supported API provided by the libdbi-perl package.
> >>>> So add the libdbi-perl to the variable RDEPENDS of mariabdb-server.
> >>> This isn't possible, libdbi-perl is in meta-perl and mariadb is in
> >>> meta-oe.
> >>>
> >>> meta-oe doesn't depend (and cannot) on meta-perl.
> >> The script mysql_convert_table_format(line 50) and
> >> mysql_convert_table_format
> >> (line 20) which located xxx/mariadb/scripts/ source path will call the
> >> DBI function
> >> with the sentence "use DBI", and this DBI function is provided by the
> >> libdbi-perl
> >> package.
> >>
> >> So the scripts will fail when start to work.
> >
> > Any update?
> >
> > The issue also exists in my environment as mariabdb-server rdepends on
> > DBI.pm which is provided by libdbi-perl.
> >
> > Thanks,
> 
> Ping.

Pong.

Still cannot depend on meta-perl layer from meta-oe.

> Thanks,
> 
> >
> >>
> >> Thanks.
> >>>> Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
> >>>> ---
> >>>>   meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
> >>>>   1 file changed, 1 insertion(+), 1 deletion(-)
> >>>>
> >>>> diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
> >>>> b/meta-oe/recipes-support/mysql/mariadb.inc
> >>>> index 73905b6..c2d2ecf 100644
> >>>> --- a/meta-oe/recipes-support/mysql/mariadb.inc
> >>>> +++ b/meta-oe/recipes-support/mysql/mariadb.inc
> >>>> @@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl
> >>>> perl-module-getopt-long perl-module-file-temp \
> >>>>   RDEPENDS_${PN}-server = "perl perl-module-getopt-long
> >>>> perl-module-data-dumper \
> >>>>       perl-module-file-basename perl-module-file-path
> >>>> perl-module-sys-hostname \
> >>>>       perl-module-file-copy perl-module-file-temp perl-module-posix \
> >>>> -    ${PN}-client"
> >>>> +    ${PN}-client libdbi-perl"
> >>>>   RDEPENDS_${PN}-leftovers = "perl perl-module-cwd
> >>>> perl-module-benchmark perl-module-getopt-long \
> >>>>       perl-module-posix perl-module-data-dumper perl-module-sigtrap
> >>>> perl-module-threads \
> >>>>       perl-module-threads-shared perl-module-io-socket
> >>>> perl-module-sys-hostname perl-module-file-copy \
> >>>> --
> >>>> 1.9.1
> >>>>
> >>>> --
> >>>> _______________________________________________
> >>>> Openembedded-devel mailing list
> >>>> Openembedded-devel@lists.openembedded.org
> >>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >>>
> >>>
> >>
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

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

* Re: [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server
  2016-09-21  7:08         ` Martin Jansa
@ 2016-09-23  2:41           ` Yu, Mingli
  0 siblings, 0 replies; 7+ messages in thread
From: Yu, Mingli @ 2016-09-23  2:41 UTC (permalink / raw)
  To: openembedded-devel



On 2016年09月21日 15:08, Martin Jansa wrote:
> On Wed, Sep 21, 2016 at 01:42:47PM +0800, Yu, Mingli wrote:
>>
>>
>> On 2016年09月18日 15:52, Yu, Mingli wrote:
>>>
>>>
>>> On 2016年09月05日 12:27, Zhixiong Chi wrote:
>>>>
>>>>
>>>> On 2016年09月01日 20:20, Martin Jansa wrote:
>>>>> On Tue, Aug 23, 2016 at 11:10:30AM +0800, Zhixiong Chi wrote:
>>>>>> The commands(mysql_convert_table_format and mysql_setpermission) need
>>>>>> to the supported API provided by the libdbi-perl package.
>>>>>> So add the libdbi-perl to the variable RDEPENDS of mariabdb-server.
>>>>> This isn't possible, libdbi-perl is in meta-perl and mariadb is in
>>>>> meta-oe.
>>>>>
>>>>> meta-oe doesn't depend (and cannot) on meta-perl.
>>>> The script mysql_convert_table_format(line 50) and
>>>> mysql_convert_table_format
>>>> (line 20) which located xxx/mariadb/scripts/ source path will call the
>>>> DBI function
>>>> with the sentence "use DBI", and this DBI function is provided by the
>>>> libdbi-perl
>>>> package.
>>>>
>>>> So the scripts will fail when start to work.
>>>
>>> Any update?
>>>
>>> The issue also exists in my environment as mariabdb-server rdepends on
>>> DBI.pm which is provided by libdbi-perl.
>>>
>>> Thanks,
>>
>> Ping.
>
> Pong.
>
> Still cannot depend on meta-perl layer from meta-oe.

Thanks! If so will resend V2 patch to move libdbi-perl from meta-perl to 
meta-oe.

Thanks,

>
>> Thanks,
>>
>>>
>>>>
>>>> Thanks.
>>>>>> Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
>>>>>> ---
>>>>>>    meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
>>>>>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>>>>>
>>>>>> diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
>>>>>> b/meta-oe/recipes-support/mysql/mariadb.inc
>>>>>> index 73905b6..c2d2ecf 100644
>>>>>> --- a/meta-oe/recipes-support/mysql/mariadb.inc
>>>>>> +++ b/meta-oe/recipes-support/mysql/mariadb.inc
>>>>>> @@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl
>>>>>> perl-module-getopt-long perl-module-file-temp \
>>>>>>    RDEPENDS_${PN}-server = "perl perl-module-getopt-long
>>>>>> perl-module-data-dumper \
>>>>>>        perl-module-file-basename perl-module-file-path
>>>>>> perl-module-sys-hostname \
>>>>>>        perl-module-file-copy perl-module-file-temp perl-module-posix \
>>>>>> -    ${PN}-client"
>>>>>> +    ${PN}-client libdbi-perl"
>>>>>>    RDEPENDS_${PN}-leftovers = "perl perl-module-cwd
>>>>>> perl-module-benchmark perl-module-getopt-long \
>>>>>>        perl-module-posix perl-module-data-dumper perl-module-sigtrap
>>>>>> perl-module-threads \
>>>>>>        perl-module-threads-shared perl-module-io-socket
>>>>>> perl-module-sys-hostname perl-module-file-copy \
>>>>>> --
>>>>>> 1.9.1
>>>>>>
>>>>>> --
>>>>>> _______________________________________________
>>>>>> Openembedded-devel mailing list
>>>>>> Openembedded-devel@lists.openembedded.org
>>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>
>>>>>
>>>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>


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

end of thread, other threads:[~2016-09-23  2:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-23  3:10 [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server Zhixiong Chi
2016-09-01 12:20 ` Martin Jansa
2016-09-05  4:27   ` Zhixiong Chi
2016-09-18  7:52     ` Yu, Mingli
2016-09-21  5:42       ` Yu, Mingli
2016-09-21  7:08         ` Martin Jansa
2016-09-23  2:41           ` Yu, Mingli

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.