Skip to contentSkip to conversation

mariadb: add libdbi-perl to the depends of mariadb-server

PATCH In review Zhixiong Chi 3 participants 7 messages Aug 23, 2016 – Sep 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mariadb: add libdbi-perl to the depends of mariadb-server

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.

---
 meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/mysql/mariadb.inc +1 -1
index 73905b6..c2d2ecf 100644
@@ -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 \
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Zhixiong Chi

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.

Quoted 26 lines
---
 meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/mysql/mariadb.inc +1 -1
index 73905b6..c2d2ecf 100644
@@ -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 \
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 8 lines · Martin Jansa
Quoted 3 lines · Zhixiong Chi

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.

Quoted 28 lines
Quoted 26 lines
---
  meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/mysql/mariadb.inc +1 -1
index 73905b6..c2d2ecf 100644
@@ -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 \
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 4 lines
---------------------
Thanks,
Zhixiong Chi
Tel: +86-10-8477-7036
#3 lore raw
Quoted 19 lines · Zhixiong Chi
Quoted 8 lines · Martin Jansa
Quoted 3 lines · Zhixiong Chi

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.

Quoted 1 line

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,

Quoted 38 lines

Thanks.

Quoted 35 lines
Quoted 33 lines
---
  meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/mysql/mariadb.inc +1 -1
index 73905b6..c2d2ecf 100644
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 22 lines · Mingli
Quoted 19 lines · Zhixiong Chi
Quoted 8 lines · Martin Jansa
Quoted 3 lines · Zhixiong Chi

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.

Quoted 8 lines
Quoted 1 line

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,

Quoted 39 lines
Quoted 39 lines

Thanks.

Quoted 35 lines
Quoted 33 lines
---
  meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/mysql/mariadb.inc +1 -1
index 73905b6..c2d2ecf 100644
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#5 lore raw
Quoted 27 lines · Mingli
Quoted 24 lines · Mingli
Quoted 20 lines · Zhixiong Chi
Quoted 8 lines · Martin Jansa
Quoted 3 lines · Zhixiong Chi

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.

Quoted 8 lines
Quoted 6 lines

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.

Quoted 46 lines

Thanks,

Quoted 39 lines
Quoted 39 lines

Thanks.

Quoted 35 lines
Quoted 33 lines
---
  meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/mysql/mariadb.inc +1 -1
index 73905b6..c2d2ecf 100644
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#6 lore raw
Quoted 33 lines · Martin Jansa
Quoted 32 lines · Mingli
Quoted 29 lines · Mingli
Quoted 19 lines · Zhixiong Chi
Quoted 8 lines · Martin Jansa
Quoted 3 lines · Zhixiong Chi

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.

Quoted 1 line

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.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

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,

Quoted 50 lines
Quoted 47 lines

Thanks,

Quoted 31 lines
Quoted 31 lines

Thanks.

Quoted 28 lines
Quoted 28 lines
---
   meta-oe/recipes-support/mysql/mariadb.inc | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/mysql/mariadb.inc +1 -1
index 73905b6..c2d2ecf 100644
@@ -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

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel