Patchwork [meta-oe,v3] libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg

login
register
mail settings
Submitter Samuel Stirtzel
Date Oct. 22, 2012, 3:13 p.m.
Message ID <1350918808-23478-1-git-send-email-s.stirtzel@googlemail.com>
Download mbox | patch
Permalink /patch/38423/
State Accepted
Commit 662fd013adcbee8c59f4f475a11911c3267eae90
Headers show

Comments

Samuel Stirtzel - Oct. 22, 2012, 3:13 p.m.
This fixes "ERROR: Multiple .bb files are due to be built which each provide jpeg"

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
---
 meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
RaNgErS - Oct. 22, 2012, 3:18 p.m.
Hi,

I had a problem with do_rootfs. Using master branch and 2012. Distro.
On Oct 22, 2012 8:44 PM, "Samuel Stirtzel" <s.stirtzel@googlemail.com>
wrote:

> This fixes "ERROR: Multiple .bb files are due to be built which each
> provide jpeg"
>
> Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
> ---
>  meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bbb/meta-oe/recipes-core/jpeg/
> libjpeg-turbo_svn.bb
> index 2aefe1f..d87743b 100644
> --- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> +++ b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM =
> "file://cdjpeg.h;endline=12;md5=78fa8dbac547bb5b2a0e6457a6cfe
>
>  file://djpeg.c;endline=13;md5=e85613b52f2906c5dfc0e21ec902cb33 \
>  "
>  PV = "8d+1.2.1"
> -PR = "r1"
> +PR = "r2"
>  SRCREV = "837"
>  SRC_URI = "svn://
> libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo;protocol=https;module=trunk
> "
>
> @@ -15,6 +15,9 @@ S = "${WORKDIR}/trunk"
>
>  # Drop-in replacement for jpeg
>  PROVIDES = "jpeg"
> +RPROVIDES_${PN} += "jpeg"
> +RREPLACES_${PN} += "jpeg"
> +RCONFLICTS_${PN} += "jpeg"
>
>  inherit autotools pkgconfig
>
> --
> 1.7.9.5
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
Samuel Stirtzel - Oct. 22, 2012, 3:24 p.m.
2012/10/22 RaNgErS <rangers.av@gmail.com>:
> Hi,
>
> I had a problem with do_rootfs. Using master branch and 2012. Distro.

Hi,

do you have any more specific information, like the error message?
Or which package failed the rootfs? / what image did you build?
RaNgErS - Oct. 22, 2012, 4:16 p.m.
Hi,
I am already sent a mail about this before 3 weeks to admin. And it is not
posted .

I have posted the same in the following link. Pardon me for providing an
exterrnal link .

http://stackoverflow.com/questions/12909202/openembedded-do-rootfs-failed

On Oct 22, 2012 8:55 PM, "Samuel Stirtzel" <s.stirtzel@googlemail.com>
wrote:
>
> 2012/10/22 RaNgErS <rangers.av@gmail.com>:
> > Hi,
> >
> > I had a problem with do_rootfs. Using master branch and 2012. Distro.
>
> Hi,
>
> do you have any more specific information, like the error message?
> Or which package failed the rootfs? / what image did you build?
>
>
> --
> Regards
> Samuel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
chase maupin - Oct. 22, 2012, 7:37 p.m.
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On
> Behalf Of Samuel Stirtzel
> Sent: Monday, October 22, 2012 10:13 AM
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-oe][PATCH v3] libjpeg-turbo: Add RPROVIDES to
> fix errors when rdepending on jpeg
> 
> This fixes "ERROR: Multiple .bb files are due to be built which
> each provide jpeg"
> 
> Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>

Acked-by: Chase Maupin <chase.maupin@ti.com>

> ---
>  meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> index 2aefe1f..d87743b 100644
> --- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> +++ b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM =
> "file://cdjpeg.h;endline=12;md5=78fa8dbac547bb5b2a0e6457a6cfe
> 
> file://djpeg.c;endline=13;md5=e85613b52f2906c5dfc0e21ec902cb33 \
>  "
>  PV = "8d+1.2.1"
> -PR = "r1"
> +PR = "r2"
>  SRCREV = "837"
>  SRC_URI = "svn://libjpeg-
> turbo.svn.sourceforge.net/svnroot/libjpeg-
> turbo;protocol=https;module=trunk"
> 
> @@ -15,6 +15,9 @@ S = "${WORKDIR}/trunk"
> 
>  # Drop-in replacement for jpeg
>  PROVIDES = "jpeg"
> +RPROVIDES_${PN} += "jpeg"
> +RREPLACES_${PN} += "jpeg"
> +RCONFLICTS_${PN} += "jpeg"
> 
>  inherit autotools pkgconfig
> 
> --
> 1.7.9.5
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-
> devel
Martin Jansa - Oct. 22, 2012, 7:42 p.m.
On Mon, Oct 22, 2012 at 07:37:26PM +0000, Maupin, Chase wrote:
> > -----Original Message-----
> > From: openembedded-devel-bounces@lists.openembedded.org
> > [mailto:openembedded-devel-bounces@lists.openembedded.org] On
> > Behalf Of Samuel Stirtzel
> > Sent: Monday, October 22, 2012 10:13 AM
> > To: openembedded-devel@lists.openembedded.org
> > Subject: [oe] [meta-oe][PATCH v3] libjpeg-turbo: Add RPROVIDES to
> > fix errors when rdepending on jpeg
> > 
> > This fixes "ERROR: Multiple .bb files are due to be built which
> > each provide jpeg"

Btw, when I've first noticed this error it was caused by
task/packagegroup recipe having jpeg in RDEPENDS. It does not cause
problems when apps are RDEPENDing on jpeg through shlibs which is imho
better way then pulling jpeg to image through task/packagegroup.

But adding this dont hurt either case, so it's fine.

Cheers,
 
> > Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
> 
> Acked-by: Chase Maupin <chase.maupin@ti.com>
> 
> > ---
> >  meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> > b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> > index 2aefe1f..d87743b 100644
> > --- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> > +++ b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> > @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM =
> > "file://cdjpeg.h;endline=12;md5=78fa8dbac547bb5b2a0e6457a6cfe
> > 
> > file://djpeg.c;endline=13;md5=e85613b52f2906c5dfc0e21ec902cb33 \
> >  "
> >  PV = "8d+1.2.1"
> > -PR = "r1"
> > +PR = "r2"
> >  SRCREV = "837"
> >  SRC_URI = "svn://libjpeg-
> > turbo.svn.sourceforge.net/svnroot/libjpeg-
> > turbo;protocol=https;module=trunk"
> > 
> > @@ -15,6 +15,9 @@ S = "${WORKDIR}/trunk"
> > 
> >  # Drop-in replacement for jpeg
> >  PROVIDES = "jpeg"
> > +RPROVIDES_${PN} += "jpeg"
> > +RREPLACES_${PN} += "jpeg"
> > +RCONFLICTS_${PN} += "jpeg"
> > 
> >  inherit autotools pkgconfig
> > 
> > --
> > 1.7.9.5
> > 
> > 
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-
> > devel
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Samuel Stirtzel - Oct. 23, 2012, 6:24 a.m.
2012/10/22 RaNgErS <rangers.av@gmail.com>:
> Hi,
> I am already sent a mail about this before 3 weeks to admin. And it is not
> posted .
>
> I have posted the same in the following link. Pardon me for providing an
> exterrnal link .
>
> http://stackoverflow.com/questions/12909202/openembedded-do-rootfs-failed

Hi,

this error is unrelated to the patch,
but this is the right mailing list for your question.

Unfortunately I didn't work with OE-classic,
therefore I can't help you much.


This patch is related to the new OpenEmbedded (Core),
see [1] for a short explanation of the differences.

There is a good chance that others will help you out,
you might start a new "topic" to increase the visibility of your request though.
E.g. post a new mail with the complete problem description not as
reply but as new thread.


[1] http://www.openembedded.org/wiki/OpenEmbedded-Core#Differences_to_OE-classic
chase maupin - Oct. 23, 2012, 1:30 p.m.
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On
> Behalf Of Martin Jansa
> Sent: Monday, October 22, 2012 2:43 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH v3] libjpeg-turbo: Add
> RPROVIDES to fix errors when rdepending on jpeg
> 
> On Mon, Oct 22, 2012 at 07:37:26PM +0000, Maupin, Chase wrote:
> > > -----Original Message-----
> > > From: openembedded-devel-bounces@lists.openembedded.org
> > > [mailto:openembedded-devel-bounces@lists.openembedded.org] On
> Behalf
> > > Of Samuel Stirtzel
> > > Sent: Monday, October 22, 2012 10:13 AM
> > > To: openembedded-devel@lists.openembedded.org
> > > Subject: [oe] [meta-oe][PATCH v3] libjpeg-turbo: Add
> RPROVIDES to
> > > fix errors when rdepending on jpeg
> > >
> > > This fixes "ERROR: Multiple .bb files are due to be built
> which each
> > > provide jpeg"
> 
> Btw, when I've first noticed this error it was caused by
> task/packagegroup recipe having jpeg in RDEPENDS. It does not
> cause problems when apps are RDEPENDing on jpeg through shlibs
> which is imho better way then pulling jpeg to image through
> task/packagegroup.
> 
> But adding this dont hurt either case, so it's fine.

Any issue pulling this into the denzil branch?

> 
> Cheers,
> 
> > > Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
> >
> > Acked-by: Chase Maupin <chase.maupin@ti.com>
> >
> > > ---
> > >  meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
> > >  1 file changed, 4 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> > > b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> > > index 2aefe1f..d87743b 100644
> > > --- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> > > +++ b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> > > @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM =
> > > "file://cdjpeg.h;endline=12;md5=78fa8dbac547bb5b2a0e6457a6cfe
> > >
> > >
> file://djpeg.c;endline=13;md5=e85613b52f2906c5dfc0e21ec902cb33 \
> "
> > >  PV = "8d+1.2.1"
> > > -PR = "r1"
> > > +PR = "r2"
> > >  SRCREV = "837"
> > >  SRC_URI = "svn://libjpeg-
> > > turbo.svn.sourceforge.net/svnroot/libjpeg-
> > > turbo;protocol=https;module=trunk"
> > >
> > > @@ -15,6 +15,9 @@ S = "${WORKDIR}/trunk"
> > >
> > >  # Drop-in replacement for jpeg
> > >  PROVIDES = "jpeg"
> > > +RPROVIDES_${PN} += "jpeg"
> > > +RREPLACES_${PN} += "jpeg"
> > > +RCONFLICTS_${PN} += "jpeg"
> > >
> > >  inherit autotools pkgconfig
> > >
> > > --
> > > 1.7.9.5
> > >
> > >
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.linuxtogo.org/cgi-
> bin/mailman/listinfo/openembedded-
> > > devel
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-
> bin/mailman/listinfo/openembedded-devel
> 
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

Patch

diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
index 2aefe1f..d87743b 100644
--- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
+++ b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
@@ -7,7 +7,7 @@  LIC_FILES_CHKSUM = "file://cdjpeg.h;endline=12;md5=78fa8dbac547bb5b2a0e6457a6cfe
                     file://djpeg.c;endline=13;md5=e85613b52f2906c5dfc0e21ec902cb33 \
 "
 PV = "8d+1.2.1"
-PR = "r1"
+PR = "r2"
 SRCREV = "837"
 SRC_URI = "svn://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo;protocol=https;module=trunk"
 
@@ -15,6 +15,9 @@  S = "${WORKDIR}/trunk"
 
 # Drop-in replacement for jpeg
 PROVIDES = "jpeg"
+RPROVIDES_${PN} += "jpeg"
+RREPLACES_${PN} += "jpeg"
+RCONFLICTS_${PN} += "jpeg"
 
 inherit autotools pkgconfig