Skip to contentSkip to conversation

libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg

PATCH In review Samuel Stirtzel 4 participants 8 messages Oct 22, 2012 – Oct 23, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 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"

---
 meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +4 -1
index 2aefe1f..d87743b 100644
@@ -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
 
Signature · 1 line
1.7.9.5
#1 lore raw

Hi,

I had a problem with do_rootfs. Using master branch and 2012. Distro.

Quoted 45 lines · Samuel Stirtzel

This fixes "ERROR: Multiple .bb files are due to be built which each provide jpeg"

---
 meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
(quoted diff) +0 -0

libjpeg-turbo_svn.bb
index 2aefe1f..d87743b 100644

meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +0 -0
@@ -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"

meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +1 -1
-PR = "r1"
+PR = "r2"
 SRCREV = "837"
 SRC_URI = "svn://

libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo;protocol=https;module=trunk "

meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +3 -1
@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw

2012/10/22 RaNgErS <[email protected]>:

Quoted 3 lines

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?

Signature · 2 lines
Regards
Samuel
#3 lore raw

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

Quoted 20 lines · Samuel Stirtzel

2012/10/22 RaNgErS <[email protected]>:

Quoted 3 lines

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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#4 lore raw

2012/10/22 RaNgErS <[email protected]>:

Quoted 8 lines

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

Signature · 2 lines
Regards
Samuel
Acked-by on v3 1/1
#5 lore raw
In reply to Samuel Stirtzel
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Samuel Stirtzel
Sent: Monday, October 22, 2012 10:13 AM
To: [email protected]
Subject: [oe] [meta-oe][PATCH v3] libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg

Quoted 4 lines

This fixes "ERROR: Multiple .bb files are due to be built which each provide jpeg"

Quoted 41 lines
---
 meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +0 -0
index 2aefe1f..d87743b 100644
@@ -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"

meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +1 -1
-PR = "r1"
+PR = "r2"
 SRCREV = "837"
 SRC_URI = "svn://libjpeg-

turbo.svn.sourceforge.net/svnroot/libjpeg-
turbo;protocol=https;module=trunk"

meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +3 -1
@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-
devel

#6 lore raw
Quoted 11 lines · Chase
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Samuel Stirtzel
Sent: Monday, October 22, 2012 10:13 AM
To: [email protected]
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,

Quoted 50 lines
Quoted 1 line
Quoted 36 lines
---
 meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +0 -0
index 2aefe1f..d87743b 100644
@@ -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"

meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +1 -1
-PR = "r1"
+PR = "r2"
 SRCREV = "837"
 SRC_URI = "svn://libjpeg-

turbo.svn.sourceforge.net/svnroot/libjpeg-
turbo;protocol=https;module=trunk"

meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +3 -1
@@ -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

Quoted 5 lines

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

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

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#7 lore raw
Quoted 25 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Jansa
Sent: Monday, October 22, 2012 2:43 PM
To: [email protected]
Subject: Re: [oe] [meta-oe][PATCH v3] libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg

Quoted 3 lines · Chase
Quoted 3 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On

Behalf

Quoted 4 lines
Quoted 4 lines

Of Samuel Stirtzel
Sent: Monday, October 22, 2012 10:13 AM
To: [email protected]
Subject: [oe] [meta-oe][PATCH v3] libjpeg-turbo: Add

RPROVIDES to

Quoted 3 lines
Quoted 3 lines

fix errors when rdepending on jpeg

This fixes "ERROR: Multiple .bb files are due to be built

which each

Quoted 1 line
Quoted 1 line

provide jpeg"

Quoted 7 lines

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?

Quoted 59 lines

Cheers,

Quoted 8 lines
Quoted 1 line
Quoted 4 lines
---
 meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Quoted 9 lines
Quoted 9 lines
meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +0 -0
index 2aefe1f..d87743b 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM =

"file://cdjpeg.h;endline=12;md5=78fa8dbac547bb5b2a0e6457a6cfe

file://djpeg.c;endline=13;md5=e85613b52f2906c5dfc0e21ec902cb33 \
"

Quoted 18 lines
Quoted 18 lines

PV = "8d+1.2.1"

meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +1 -1
-PR = "r1"
+PR = "r2"
 SRCREV = "837"
 SRC_URI = "svn://libjpeg-

turbo.svn.sourceforge.net/svnroot/libjpeg-
turbo;protocol=https;module=trunk"

meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb +3 -0
@@ -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
 
Quoted 8 lines
Quoted 8 lines

--
1.7.9.5

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-

bin/mailman/listinfo/openembedded-

Quoted 6 lines
Quoted 1 line

devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-

bin/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]