Skip to contentSkip to conversation

libxml-sax-writer-perl: add recipe

PATCH Superseded [email protected] 3 participants 7 messages Jul 22, 2014 – Jul 29, 2014

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libxml-sax-writer-perl: add recipe

From: Roy Li <[email protected]>

---
 .../libxml/libxml-sax-writer-perl_0.54.bb          |   25 ++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb
meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +25 -0
new file mode 100644
index 0000000..52458e4
@@ -0,0 +1,25 @@
+SUMMARY = "XML::SAX::Writer - SAX2 Writer"
+DESCRIPTION = "\
+XML::SAX::Writer helps to serialize SAX2 representations of XML documents to \
+strings, files, and other flat representations. It handles charset encodings, \
+XML escaping conventions, and so forth. It is still considered alpha, \
+although it has been put to limited use in settings such as XML::LibXML and \
+the AxKit XML Application Server. \
+"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPLv1+"
+HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/"
+DEPENDS += "libxml-filter-buffertext-perl-native"
+RDEPENDS_${PN} += "libxml-filter-buffertext-perl"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz"
+SRC_URI[md5sum] = "383139d76418a82b9800dc4f8b568891"
+SRC_URI[sha256sum] = "a1b4d959aed8f8337523c4cef4b431e56e619c795dc6f99a868548952101cf3d"
+
+LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e"
+
+S = "${WORKDIR}/XML-SAX-Writer-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.10.4
Acked-by on v2 1/1
#1 lore raw

//Hongxu

Quoted 39 lines · On 07/22/2014 03:06 PM, [email protected] wrote:

From: Roy Li <[email protected]>

---
  .../libxml/libxml-sax-writer-perl_0.54.bb          |   25 ++++++++++++++++++++
  1 file changed, 25 insertions(+)

create mode 100644 meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +25 -0
new file mode 100644
index 0000000..52458e4
@@ -0,0 +1,25 @@
+SUMMARY = "XML::SAX::Writer - SAX2 Writer"
+DESCRIPTION = "\
+XML::SAX::Writer helps to serialize SAX2 representations of XML documents to \
+strings, files, and other flat representations. It handles charset encodings, \
+XML escaping conventions, and so forth. It is still considered alpha, \
+although it has been put to limited use in settings such as XML::LibXML and \
+the AxKit XML Application Server. \
+"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPLv1+"
+HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/"
+DEPENDS += "libxml-filter-buffertext-perl-native"
+RDEPENDS_${PN} += "libxml-filter-buffertext-perl"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz"
+SRC_URI[md5sum] = "383139d76418a82b9800dc4f8b568891"
+SRC_URI[sha256sum] = "a1b4d959aed8f8337523c4cef4b431e56e619c795dc6f99a868548952101cf3d"
+
+LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e"
+
+S = "${WORKDIR}/XML-SAX-Writer-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
#2 lore raw
In reply to [email protected]
Quoted 1 line · On Tue, Jul 22, 2014 at 03:06:53PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

Sorry, but it still isn't correct even with allarch, because there is dependency on TUNE_PKGARCH perl:

ERROR: libxml-filter-buffertext-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

ERROR: libxml-sax-writer-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm
Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

Quoted 45 lines
---
 .../libxml/libxml-sax-writer-perl_0.54.bb          |   25 ++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb
meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +25 -0
new file mode 100644
index 0000000..52458e4
@@ -0,0 +1,25 @@
+SUMMARY = "XML::SAX::Writer - SAX2 Writer"
+DESCRIPTION = "\
+XML::SAX::Writer helps to serialize SAX2 representations of XML documents to \
+strings, files, and other flat representations. It handles charset encodings, \
+XML escaping conventions, and so forth. It is still considered alpha, \
+although it has been put to limited use in settings such as XML::LibXML and \
+the AxKit XML Application Server. \
+"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPLv1+"
+HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/"
+DEPENDS += "libxml-filter-buffertext-perl-native"
+RDEPENDS_${PN} += "libxml-filter-buffertext-perl"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz"
+SRC_URI[md5sum] = "383139d76418a82b9800dc4f8b568891"
+SRC_URI[sha256sum] = "a1b4d959aed8f8337523c4cef4b431e56e619c795dc6f99a868548952101cf3d"
+
+LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e"
+
+S = "${WORKDIR}/XML-SAX-Writer-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
Signature · 7 lines
1.7.10.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 12 lines · Martin Jansa
Quoted 1 line · On Tue, Jul 22, 2014 at 03:06:53PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

Sorry, but it still isn't correct even with allarch, because there is dependency on TUNE_PKGARCH perl:

ERROR: libxml-filter-buffertext-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

ERROR: libxml-sax-writer-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm
Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

Sorry,
I will check it

-Roy

Quoted 48 lines
Quoted 45 lines
---
  .../libxml/libxml-sax-writer-perl_0.54.bb          |   25 ++++++++++++++++++++
  1 file changed, 25 insertions(+)

create mode 100644 meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +25 -1
new file mode 100644
index 0000000..52458e4
@@ -0,0 +1,25 @@
+SUMMARY = "XML::SAX::Writer - SAX2 Writer"
+DESCRIPTION = "\
+XML::SAX::Writer helps to serialize SAX2 representations of XML documents to \
+strings, files, and other flat representations. It handles charset encodings, \
+XML escaping conventions, and so forth. It is still considered alpha, \
+although it has been put to limited use in settings such as XML::LibXML and \
+the AxKit XML Application Server. \
+"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPLv1+"
+HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/"
+DEPENDS += "libxml-filter-buffertext-perl-native"
+RDEPENDS_${PN} += "libxml-filter-buffertext-perl"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz"
+SRC_URI[md5sum] = "383139d76418a82b9800dc4f8b568891"
+SRC_URI[sha256sum] = "a1b4d959aed8f8337523c4cef4b431e56e619c795dc6f99a868548952101cf3d"
+
+LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e"
+
+S = "${WORKDIR}/XML-SAX-Writer-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
--

1.7.10.4

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

Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#4 lore raw
In reply to Martin Jansa
Quoted 12 lines · Martin Jansa
Quoted 1 line · On Tue, Jul 22, 2014 at 03:06:53PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

Sorry, but it still isn't correct even with allarch, because there is dependency on TUNE_PKGARCH perl:

ERROR: libxml-filter-buffertext-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

ERROR: libxml-sax-writer-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm
Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

1. I can not reproduce it, where are my steps be wrong?

$ ../scripts/sstate-diff-machines.sh --tmpdir=tmp/ --machines="qemuarm qemux86copy qemux86-64" --targets=libxml-sax
-writer-perl
...
NOTE: Preparing runqueue
NOTE: Reparsing files to collect dependency data
NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and all succeeded.
INFO: Output written in: /buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562

$cd /buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562 $

builder@pek-yocto-build1:/buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562$ find . |grep writer-perl|grep sysroot
./qemux86copy/all-poky-linux/libxml-sax-writer-perl/0.54-r0.do_populate_sysroot.sigdata.323a1635a2b08060e64815de8e009281
./qemuarm/all-poky-linux/libxml-sax-writer-perl/0.54-r0.do_populate_sysroot.sigdata.323a1635a2b08060e64815de8e009281
./qemux86-64/all-poky-linux/libxml-sax-writer-perl/0.54-r0.do_populate_sysroot.sigdata.323a1635a2b08060e64815de8e009281
builder@pek-yocto-build1:/buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562$ 

2. the cause maybe the below:
perl module will depend on perl, but perl is not allarch, so make your error.

meta/classes/cpan-base.bbclass
7 DEPENDS += "${@["perl",
"perl-native"][(bb.data.inherits_class('native', d))]}"
8 RDEPENDS_${PN} += "${@["perl",
""][(bb.data.inherits_class('native', d))]}"

3. no perl modules inherit allarch in oe-core; oe-core$ find ./ -name "*perl*bb" -exec grep allarch {} \; oe-core$

but I think some module should be allarch, like: libxml-simple-perl
https://packages.debian.org/search?keywords=libxml-simple-perl&searchon=names&suite=stable&section=all

-Roy

Quoted 48 lines
Quoted 45 lines
---
  .../libxml/libxml-sax-writer-perl_0.54.bb          |   25 ++++++++++++++++++++
  1 file changed, 25 insertions(+)

create mode 100644 meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +25 -1
new file mode 100644
index 0000000..52458e4
@@ -0,0 +1,25 @@
+SUMMARY = "XML::SAX::Writer - SAX2 Writer"
+DESCRIPTION = "\
+XML::SAX::Writer helps to serialize SAX2 representations of XML documents to \
+strings, files, and other flat representations. It handles charset encodings, \
+XML escaping conventions, and so forth. It is still considered alpha, \
+although it has been put to limited use in settings such as XML::LibXML and \
+the AxKit XML Application Server. \
+"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPLv1+"
+HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/"
+DEPENDS += "libxml-filter-buffertext-perl-native"
+RDEPENDS_${PN} += "libxml-filter-buffertext-perl"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz"
+SRC_URI[md5sum] = "383139d76418a82b9800dc4f8b568891"
+SRC_URI[sha256sum] = "a1b4d959aed8f8337523c4cef4b431e56e619c795dc6f99a868548952101cf3d"
+
+LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e"
+
+S = "${WORKDIR}/XML-SAX-Writer-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
--

1.7.10.4

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

Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#5 lore raw
Quoted 63 lines · Rongqing Li
Quoted 12 lines · Martin Jansa
Quoted 1 line · On Tue, Jul 22, 2014 at 03:06:53PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

Sorry, but it still isn't correct even with allarch, because there is dependency on TUNE_PKGARCH perl:

ERROR: libxml-filter-buffertext-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm
Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

Quoted 5 lines

ERROR: libxml-sax-writer-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm
Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

1. I can not reproduce it, where are my steps be wrong?

$ ../scripts/sstate-diff-machines.sh --tmpdir=tmp/ --machines="qemuarm
qemux86copy qemux86-64" --targets=libxml-sax
-writer-perl
...
NOTE: Preparing runqueue
NOTE: Reparsing files to collect dependency data
NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be
rerun and all succeeded.
INFO: Output written in:
/buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562

$cd /buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562 $

builder@pek-yocto-build1:/buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562$
find . |grep writer-perl|grep sysroot ./qemux86copy/all-poky-linux/libxml-sax-writer-perl/0.54-r0.do_populate_sysroot.sigdata.323a1635a2b08060e64815de8e009281

./qemuarm/all-poky-linux/libxml-sax-writer-perl/0.54-r0.do_populate_sysroot.sigdata.323a1635a2b08060e64815de8e009281

./qemux86-64/all-poky-linux/libxml-sax-writer-perl/0.54-r0.do_populate_sysroot.sigdata.323a1635a2b08060e64815de8e009281

builder@pek-yocto-build1:/buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562$

2. the cause maybe the below:
perl module will depend on perl, but perl is not allarch, so make your error.

meta/classes/cpan-base.bbclass
7 DEPENDS += "${@["perl",
"perl-native"][(bb.data.inherits_class('native', d))]}"
8 RDEPENDS_${PN} += "${@["perl",
""][(bb.data.inherits_class('native', d))]}"

Quoted 10 lines

3. no perl modules inherit allarch in oe-core; oe-core$ find ./ -name "*perl*bb" -exec grep allarch {} \; oe-core$

but I think some module should be allarch, like: libxml-simple-perl
https://packages.debian.org/search?keywords=libxml-simple-perl&searchon=names&suite=stable&section=all

Martin Jansa:

What should I do? make this recipes not to inherit allarch? or remove the adding dependency on perl from cpan-base.bbclass or other

-Roy

Quoted 64 lines

-Roy

Quoted 60 lines
Quoted 57 lines
---
  .../libxml/libxml-sax-writer-perl_0.54.bb          |   25
++++++++++++++++++++
  1 file changed, 25 insertions(+)

create mode 100644
meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb

diff --git a/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb b/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file mode 100644
index 0000000..52458e4

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +3 -0
@@ -0,0 +1,25 @@
+SUMMARY = "XML::SAX::Writer - SAX2 Writer"
+DESCRIPTION = "\
+XML::SAX::Writer helps to serialize SAX2 representations of XML

documents to \
+strings, files, and other flat representations. It handles charset encodings, \

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +2 -0
+XML escaping conventions, and so forth. It is still considered alpha, \
+although it has been put to limited use in settings such as

XML::LibXML and \

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +9 -0
+the AxKit XML Application Server. \
+"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPLv1+"
+HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/"
+DEPENDS += "libxml-filter-buffertext-perl-native"
+RDEPENDS_${PN} += "libxml-filter-buffertext-perl"
+
+SRC_URI =

"http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz"

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +2 -0
+SRC_URI[md5sum] = "383139d76418a82b9800dc4f8b568891"
+SRC_URI[sha256sum] =

"a1b4d959aed8f8337523c4cef4b431e56e619c795dc6f99a868548952101cf3d"

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +2 -0
+
+LIC_FILES_CHKSUM =

"file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e"

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +6 -1
+
+S = "${WORKDIR}/XML-SAX-Writer-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
--

1.7.10.4

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

Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#6 lore raw
Quoted 76 lines · Rongqing Li
Quoted 63 lines · Rongqing Li
Quoted 12 lines · Martin Jansa
Quoted 1 line · On Tue, Jul 22, 2014 at 03:06:53PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

Sorry, but it still isn't correct even with allarch, because there is dependency on TUNE_PKGARCH perl:

ERROR: libxml-filter-buffertext-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm
Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

Quoted 5 lines

ERROR: libxml-sax-writer-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm
Hash for dependent task perl_5.20.0.bb.do_populate_sysroot changed from a5827c8deafb0ace555794c62c44e19f to 1a07f7ac7ad2a2750b58dfa60136114b

1. I can not reproduce it, where are my steps be wrong?

$ ../scripts/sstate-diff-machines.sh --tmpdir=tmp/ --machines="qemuarm
qemux86copy qemux86-64" --targets=libxml-sax
-writer-perl
...
NOTE: Preparing runqueue
NOTE: Reparsing files to collect dependency data
NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be
rerun and all succeeded.
INFO: Output written in:
/buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562

$cd /buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562 $

builder@pek-yocto-build1:/buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562$
find . |grep writer-perl|grep sysroot ./qemux86copy/all-poky-linux/libxml-sax-writer-perl/0.54-r0.do_populate_sysroot.sigdata.323a1635a2b08060e64815de8e009281

./qemuarm/all-poky-linux/libxml-sax-writer-perl/0.54-r0.do_populate_sysroot.sigdata.323a1635a2b08060e64815de8e009281

./qemux86-64/all-poky-linux/libxml-sax-writer-perl/0.54-r0.do_populate_sysroot.sigdata.323a1635a2b08060e64815de8e009281

builder@pek-yocto-build1:/buildarea1/lirq/new/5/poky/build-next/tmp/sstate-diff/1406264562$

2. the cause maybe the below:
perl module will depend on perl, but perl is not allarch, so make your error.

meta/classes/cpan-base.bbclass
7 DEPENDS += "${@["perl",
"perl-native"][(bb.data.inherits_class('native', d))]}"
8 RDEPENDS_${PN} += "${@["perl",
""][(bb.data.inherits_class('native', d))]}"

Quoted 10 lines

3. no perl modules inherit allarch in oe-core; oe-core$ find ./ -name "*perl*bb" -exec grep allarch {} \; oe-core$

but I think some module should be allarch, like: libxml-simple-perl
https://packages.debian.org/search?keywords=libxml-simple-perl&searchon=names&suite=stable&section=all

Quoted 5 lines

Martin Jansa:

What should I do? make this recipes not to inherit allarch? or remove the adding dependency on perl from cpan-base.bbclass or other

I'm fine with dropped allarch.

Building the module once per TUNE_PKGARCH is better than rebuilding it as allarch every single time you switch between MACHINEs with different TUNE_PKGARCH.

Quoted 70 lines
Quoted 61 lines
Quoted 60 lines
Quoted 57 lines
---
  .../libxml/libxml-sax-writer-perl_0.54.bb          |   25
++++++++++++++++++++
  1 file changed, 25 insertions(+)

create mode 100644
meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb

diff --git a/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb b/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file mode 100644
index 0000000..52458e4

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +3 -0
@@ -0,0 +1,25 @@
+SUMMARY = "XML::SAX::Writer - SAX2 Writer"
+DESCRIPTION = "\
+XML::SAX::Writer helps to serialize SAX2 representations of XML

documents to \
+strings, files, and other flat representations. It handles charset encodings, \

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +2 -0
+XML escaping conventions, and so forth. It is still considered alpha, \
+although it has been put to limited use in settings such as

XML::LibXML and \

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +9 -0
+the AxKit XML Application Server. \
+"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPLv1+"
+HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/"
+DEPENDS += "libxml-filter-buffertext-perl-native"
+RDEPENDS_${PN} += "libxml-filter-buffertext-perl"
+
+SRC_URI =

"http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz"

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +2 -0
+SRC_URI[md5sum] = "383139d76418a82b9800dc4f8b568891"
+SRC_URI[sha256sum] =

"a1b4d959aed8f8337523c4cef4b431e56e619c795dc6f99a868548952101cf3d"

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +2 -0
+
+LIC_FILES_CHKSUM =

"file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e"

meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb new file +6 -1
+
+S = "${WORKDIR}/XML-SAX-Writer-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
--

1.7.10.4

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

Signature · 7 lines
Best Reagrds,
Roy | RongQing Li
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]