php: update SRC_URI for new download location
PATCH v2 1/1 php: update SRC_URI for new download location
* The old downloads location of http://www.php.net/distributions
now points to a listing of all distributions and the mirrors or download locations where the sources can be downloaded.
* The new download location is http://museum.php.net/..... where the rest of the URL is based on the major version on PHP being downloaded. This is a change from the previous download server which had a flattened directory structure so that all versions were available in a single location.
* To account for this change in the directory structure a variable called PHP_MAJVER is used based off of the PV to point the SRC_URI to the proper subdirectory.
* This issue wsa first noted by Joshua Vanderpool at [email protected] and there was discussion at
http://lists.openembedded.org/pipermail/openembedded-devel/2014-January/093757.html
* This patch has been commited to that master branch
---
* Updated in version 2
* Remove the bump of INC_PR as per suggestion of Koen Kooi [[email protected]]
--- meta-oe/recipes-devtools/php/php.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/php/php.inc +5 -1
@@ -9,7 +9,11 @@ DEPENDS_virtclass-native = "zlib-native libxml2-native" INC_PR = "r5" -SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2" +# The new PHP downloads server groups PHP releases by major version so find +# the major version of the PHP recipe. +PHP_MAJVER = "${@d.getVar('PV',1).split('.')[0]}" + +SRC_URI = "http://museum.php.net/php${PHP_MAJVER}/php-${PV}.tar.bz2" S = "${WORKDIR}/php-${PV}"
Signature · 1 line
1.7.9.5
Errors when using populate_sdk - has anyone encountered this before?
Hi All,
We are getting build error when using populate_sdk for our RDK builds. Has anyone seen this?
For generating sdk we use "bitbake -c populate_sdk rdk-generic-image" command , we are getting below error:
===========================================================================
==========================
NOTE: Applying patch 'relocatable_sdk.patch' (../meta-linaro/meta-linaro/recipes-devtools/qemu/files/relocatable_sdk.pat ch)
ERROR: Command Error: exit status: 1 Output:
Applying patch relocatable_sdk.patch
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Upstream-Status: Inappropriate [SDK specific] | |In order to be able to change the dynamic loader path when relocating |binaries, the interp section has to be made big enough to accomodate |the new path (4096 is the maximum path length in Linux). | |Signed-off-by: Laurentiu Palcu <[email protected]> | |Index: qemu-1.4.0/ldscripts/i386.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/i386.ld 2013-02-15 15:05:35.000000000 -0800 |+++ qemu-1.4.0/ldscripts/i386.ld 2013-02-28 22:55:36.138816418 -0800
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 26
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: qemu-1.4.0/ldscripts/x86_64.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/x86_64.ld 2013-02-15
15:05:35.000000000 -0800
|+++ qemu-1.4.0/ldscripts/x86_64.ld 2013-02-28 22:55:36.138816418 -0800
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch relocatable_sdk.patch does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in:/home/ridish/RDK-RI-NICO-2/build-qemux86/tmp/work/i686-nativesdk-rdksdk-lin ux/nativesdk-qemu/1.6.0+gitAUTOINC+0169c51155-r2/temp/log.do_patch.15188
ERROR: Task 1574 (virtual:nativesdk:/home/ridish/RDK-RI-NICO-2/meta-linaro/meta-linaro/recip es-devtools/qemu/qemu_git.bb, do_patch) failed with exit code '1'
Regards,
Sanjay
Quoted 1 line
Re: Errors when using populate_sdk - has anyone encountered this before?
Hi Sanjay
Quoted 5 lines · Sanjay
Hi All,
We are getting build error when using
populate_sdkfor our RDK builds. Has anyone seen this?
Would be nice if you included you Build Configuration that bitbake prints at beginning of build step
Quoted 8 lines
For generating sdk we use "bitbake -c
populate_sdkrdk-generic-image" command , we are getting below error:===========================================================================
==========================
NOTE: Applying patch 'relocatable_sdk.patch' (../meta-linaro/meta-linaro/recipes-devtools/qemu/files/relocatable_sdk.pat ch)
OK so it seems you have meta-linaro in the layer mix. Besides toolchain it provided many other recipes, qemu is one of them and I am not sure if you are interested to use qemu also from meta-linaro, if you are then some of Linaro developers manitnaining meta-linaro might know better. It could just be an oversight. But you could pin to use OE-Core qemu
so in your distro.conf or local.conf add
PREFERRED_PROVIDER_qemu-native = "qemu-native"PREFERRED_VERSION_qemu = "${QEMUVER}"
PREFERRED_VERSION_qemu-native = "${QEMUVER}"
PREFERRED_VERSION_nativesdk-qemu = "${QEMUVER}"
where QEMUVER = "1.5.0" if you are on dora and "1.7.0" if you are on master branch of OE-Core layer
Quoted 51 lines
ERROR: Command Error: exit status: 1 Output:
Applying patch relocatable_sdk.patch
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------|Upstream-Status: Inappropriate [SDK specific] | |In order to be able to change the dynamic loader path when relocating |binaries, the interp section has to be made big enough to accomodate |the new path (4096 is the maximum path length in Linux). | |Signed-off-by: Laurentiu Palcu <[email protected]> | |Index: qemu-1.4.0/ldscripts/i386.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/i386.ld 2013-02-15 15:05:35.000000000 -0800 |+++ qemu-1.4.0/ldscripts/i386.ld 2013-02-28 22:55:36.138816418 -0800--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 26
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------|Index: qemu-1.4.0/ldscripts/x86_64.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/x86_64.ld 2013-02-1515:05:35.000000000 -0800
|+++ qemu-1.4.0/ldscripts/x86_64.ld 2013-02-28 22:55:36.138816418 -0800
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch relocatable_sdk.patch does not apply (enforce with -f)
ERROR: Function failed:patch_do_patch
ERROR: Logfile of failure stored in:/home/ridish/RDK-RI-NICO-2/build-qemux86/tmp/work/i686-nativesdk-rdksdk-linux/nativesdk-qemu/1.6.0+gitAUTOINC+0169c51155-r2/temp/log.do_patch.15188
ERROR: Task 1574 (virtual:nativesdk:/home/ridish/RDK-RI-NICO-2/meta-linaro/meta-linaro/recip es-devtools/qemu/qemu_git.bb,do_patch) failed with exit code '1'Regards,
Sanjay
Quoted 1 line
A message that is not in the archive (sent off-list or not yet received): EFF5E6A1D0DAA14BA6B30C755A7B0FE13131B2C8EC@BLRINMSMBX01.bglrodc.lntinfotech.com
Re: Errors when using populate_sdk - has anyone encountered this before?
Quoted 4 lines · Ridish RA
Hi Khem Raj,
Please do find the build configuration below:
Quoted 16 lines
ridish@sanjay-Precision-M4500:~/RDK-RI-NICO-2/build-qemux86$ bitbake rdk-generic-image -c populate_sdk Loading cache: 100% |########################################################################## ########################################################################| ETA: 00:00:00 Loaded 1942 entries from dependency cache. Parsing recipes: 100% |########################################################################## ######################################################################| Time: 00:00:08 Parsing of 1546 .bb files complete (1543 cached, 3 parsed). 1946 targets, 107 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for eglibc (eglibc, external-linaro-toolchain) NOTE: consider defining a PREFERRED_PROVIDER entry to match eglibc NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo) NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
you also need to pin egibc and jpeg something like below
PREFERRED_PROVIDER_eglibc = "eglibc"PREFERRED_PROVIDER_jpeg = "jpeg"
in one of your distro conf files. IMO look at how angstrom is doing it
Quoted 20 lines
Build Configuration:
BB_VERSION = "1.20.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "i586-rdk-linux" MACHINE = "qemux86" DISTRO = "rdk" DISTRO_VERSION = "0.1+snapshot-20140130" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta = "(nobranch):198623d80d31f19c963e61d03cbcb12dd318dfdf"toolchain-layer
meta-multimedia
meta-oe
meta-networking
meta-ruby = "(nobranch):fdf74512fc4e8514ad74458601adb96916f7cf72"
Quoted 6 lines
meta-linaro
meta-linaro-toolchain =
"(nobranch):8aaf10d8dda34bc02d4ef62d0501b83603b6f827" meta-rdk =
"contrib/ndec/rdk-ri:b0bcf359aed07d86a2175df01d2bcae069e7c867" meta-qt5= "(nobranch):cefaba69a785c5221463f0eb496b749d5ddf8a5a" meta-rdk-cpc= "(nobranch):80e239735dd5f1e08026d66df6b25b0f5a782bfb"
OK you seem to be on dora branches of all repos. Follow my last email and set
QEMUVER = "1.5.0" with other things I suggested
Quoted 168 lines
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Command Error: exit status: 1 Output:
Applying patch relocatable_sdk.patch
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------|Upstream-Status: Inappropriate [SDK specific] | |In order to be able to change the dynamic loader path when relocating |binaries, the interp section has to be made big enough to accomodate |the new path (4096 is the maximum path length in Linux). | |Signed-off-by: Laurentiu Palcu <[email protected]> | |Index: qemu-1.4.0/ldscripts/i386.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/i386.ld 2013-02-15 15:05:35.000000000 -0800 |+++ qemu-1.4.0/ldscripts/i386.ld 2013-02-28 22:55:36.138816418 -0800--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 26
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------|Index: qemu-1.4.0/ldscripts/x86_64.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/x86_64.ld 2013-02-15 |15:05:35.000000000 -0800 +++ qemu-1.4.0/ldscripts/x86_64.ld 2013-02-28 |22:55:36.138816418 -0800--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch relocatable_sdk.patch does not apply (enforce with -f)
ERROR: Function failed:patch_do_patch
ERROR: Logfile of failure stored in:/home/ridish/RDK-RI-NICO-2/build-qemux86/tmp/work/i686-nativesdk-rdksdk-linux/nativesdk-qemu/1.6.0+gitAUTOINC+0706f7c85b-r2/temp/log.do_patch.21651
ERROR: Task 1574 (virtual:nativesdk:/home/ridish/RDK-RI-NICO-2/meta-linaro/meta-linaro/recip es-devtools/qemu/qemu_git.bb,do_patch) failed with exit code '1'Thanks,
Ridish
Ph: +1 (510)-434-6793
________________________________________
From: Khem Raj [[email protected]]
Sent: Thursday, January 30, 2014 8:53 AM
To: Dorairaj, Sanjay
Cc: [email protected]; KalyanKumar Nagabhirava; Ridish RA; Nicolas Dechesne Subject: Re: Errors when usingpopulate_sdk- has anyone encountered this before?Hi Sanjay
On Thu, Jan 30, 2014 at 5:35 AM, Dorairaj, Sanjay
Quoted 4 lines · <[email protected]> wrote:
Hi All,
We are getting build error when using
populate_sdkfor our RDK builds. Has anyone seen this?Would be nice if you included you Build Configuration that bitbake prints at beginning of build step
Quoted 10 lines
For generating sdk we use "bitbake -c
populate_sdkrdk-generic-image" command , we are getting below error:==========================================================================
=
==========================
NOTE: Applying patch 'relocatable_sdk.patch' (../meta-linaro/meta-linaro/recipes-devtools/qemu/files/relocatable_sdk.pa t
ch)OK so it seems you have meta-linaro in the layer mix. Besides toolchain it provided many other recipes, qemu is one of them and I am not sure if you are interested to use qemu also from meta-linaro, if you are then some of Linaro developers manitnaining meta-linaro might know better. It could just be an oversight. But you could pin to use OE-Core qemu
so in your distro.conf or local.conf add
PREFERRED_PROVIDER_qemu-native = "qemu-native"
PREFERRED_VERSION_qemu= "${QEMUVER}"
PREFERRED_VERSION_qemu-native = "${QEMUVER}"
PREFERRED_VERSION_nativesdk-qemu = "${QEMUVER}"where QEMUVER = "1.5.0" if you are on dora and "1.7.0" if you are on master branch of OE-Core layer
Quoted 54 lines
ERROR: Command Error: exit status: 1 Output:
Applying patch relocatable_sdk.patch
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------|Upstream-Status: Inappropriate [SDK specific] | |In order to be able to change the dynamic loader path when relocating |binaries, the interp section has to be made big enough to accomodate |the new path (4096 is the maximum path length in Linux). | |Signed-off-by: Laurentiu Palcu <[email protected]> | |Index: qemu-1.4.0/ldscripts/i386.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/i386.ld 2013-02-15 15:05:35.000000000 |-0800 |+++ qemu-1.4.0/ldscripts/i386.ld 2013-02-28 22:55:36.138816418 |-0800--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 26
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------|Index: qemu-1.4.0/ldscripts/x86_64.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/x86_64.ld 2013-02-1515:05:35.000000000 -0800
|+++ qemu-1.4.0/ldscripts/x86_64.ld 2013-02-28 22:55:36.138816418
|-0800--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch relocatable_sdk.patch does not apply (enforce with -f)
ERROR: Function failed:patch_do_patch
ERROR: Logfile of failure stored in:/home/ridish/RDK-RI-NICO-2/build-qemux86/tmp/work/i686-nativesdk-rdksdk-lin ux/nativesdk-qemu/1.6.0+gitAUTOINC+0169c51155-r2/temp/log.do_patch.15188
ERROR: Task 1574 (virtual:nativesdk:/home/ridish/RDK-RI-NICO-2/meta-linaro/meta-linaro/reci p
es-devtools/qemu/qemu_git.bb,do_patch) failed with exit code '1'Quoted 4 lines
Regards,
Sanjay
The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"
Signature · 1 line
-Khem
A message that is not in the archive (sent off-list or not yet received): EFF5E6A1D0DAA14BA6B30C755A7B0FE13131B2C8ED@BLRINMSMBX01.bglrodc.lntinfotech.com
A message that is not in the archive (sent off-list or not yet received): EFF5E6A1D0DAA14BA6B30C755A7B0FE13131B2C8EF@BLRINMSMBX01.bglrodc.lntinfotech.com
Re: Errors when using populate_sdk - has anyone encountered this before?
hi,
Quoted 5 lines · Ridish RA
I think I got the root cause of the issue, meta-linaro that we have depends on openembedded-core dylan-qt5.1, but Nicolas recently updated openembedded-core to dora. And I think this is the root cause of the issue of the relocatable patch being not able to apply?
So do we have meta-linaro layer based openembedded-core dora?
yes, the problem is a misalignment between oe-core and meta-linaro. meta-linaro is using a recent qemu upstream commit, and the list of patches from oe-core no longer works with meta-linaro qemu_git recipe. the 2 commits in upstream qemu responsible for the misalignment are:
53db78543e473bdf7650a406767d0901c6e26480964c6fa16f50a607f9da5068d6bf15ccc93872c0
I am cc'ing riku and koen since that needs fixing in meta-linaro (nativesdk-qemu does not build).
for now, it's safe to follow Khem's suggestion and use the OE-core qemu.
Re: Errors when using populate_sdk - has anyone encountered this before?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nicolas Dechesne schreef op 30-01-14 22:07:
Quoted 17 lines
hi,
Quoted 7 lines · Ridish RA
I think I got the root cause of the issue, meta-linaro that we have depends on openembedded-core dylan-qt5.1, but Nicolas recently updated openembedded-core to dora. And I think this is the root cause of the issue of the relocatable patch being not able to apply?
So do we have meta-linaro layer based openembedded-core dora?
yes, the problem is a misalignment between oe-core and meta-linaro. meta-linaro is using a recent qemu upstream commit, and the list of patches from oe-core no longer works with meta-linaro
qemu_gitrecipe. the 2 commits in upstream qemu responsible for the misalignment are:
Quoted 7 lines
53db78543e473bdf7650a406767d0901c6e26480964c6fa16f50a607f9da5068d6bf15ccc93872c0I am cc'ing riku and koen since that needs fixing in meta-linaro (nativesdk-qemu does not build).
for now, it's safe to follow Khem's suggestion and use the OE-core qemu.
AUTOREV strikes again :(
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFS6sxPMkyGM64RGpERApmZAJ90opJ7oe/w01M3JeUHmtJIKLYGUgCggfEN daR9kp8t0Jf/SN0Md1moXxU=
=yKgI
-----END PGP SIGNATURE-----
Re: Errors when using populate_sdk - has anyone encountered this before?
In reply to Nicolas Dechesne-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nicolas Dechesne schreef op 30-01-14 22:07:
Quoted 17 lines
hi,
Quoted 7 lines · Ridish RA
I think I got the root cause of the issue, meta-linaro that we have depends on openembedded-core dylan-qt5.1, but Nicolas recently updated openembedded-core to dora. And I think this is the root cause of the issue of the relocatable patch being not able to apply?
So do we have meta-linaro layer based openembedded-core dora?
yes, the problem is a misalignment between oe-core and meta-linaro. meta-linaro is using a recent qemu upstream commit, and the list of patches from oe-core no longer works with meta-linaro
qemu_gitrecipe. the 2 commits in upstream qemu responsible for the misalignment are:
Quoted 5 lines
53db78543e473bdf7650a406767d0901c6e26480964c6fa16f50a607f9da5068d6bf15ccc93872c0I am cc'ing riku and koen since that needs fixing in meta-linaro (nativesdk-qemu does not build).
Can you push cherry-picks for:
http://git.linaro.org/openembedded/meta-linaro.git/commit/2def4e0a5548cadfedcf9511f835af9456b40953
and
http://git.linaro.org/openembedded/meta-linaro.git/commit/fc9473336a77603edabda89ae0bac58ef652d649
to gerrit? I'm off to fosdem tomorrow and have a day off monday, so tuesday is the earliest I can look at it.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFS6s0sMkyGM64RGpERAoqHAJsEe/DFtL4TZYq/Hx+CDA0YVwKXpACggj6+ wIlhhY8LamC7C+lf/BobULY=
=8Jo3
-----END PGP SIGNATURE-----
Re: Errors when using populate_sdk - has anyone encountered this before?
Sanjay Dorairaj
Comcast Silicon Valley Innovation Center
1050 Enterprise Way, Suite 100
Sunnyvale, CA 94089
Desk: (408)900-8737 Cell:(215)900-2349
Skype: dorairajsanjay
Quoted 58 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Nicolas Dechesne schreef op 30-01-14 22:07:
Quoted 17 lines
hi,
Quoted 7 lines · Ridish RA
I think I got the root cause of the issue, meta-linaro that we have depends on openembedded-core dylan-qt5.1, but Nicolas recently updated openembedded-core to dora. And I think this is the root cause of the issue of the relocatable patch being not able to apply?
So do we have meta-linaro layer based openembedded-core dora?
yes, the problem is a misalignment between oe-core and meta-linaro. meta-linaro is using a recent qemu upstream commit, and the list of patches from oe-core no longer works with meta-linaro
qemu_gitrecipe. the 2 commits in upstream qemu responsible for the misalignment are:Quoted 5 lines
53db78543e473bdf7650a406767d0901c6e26480964c6fa16f50a607f9da5068d6bf15ccc93872c0I am cc'ing riku and koen since that needs fixing in meta-linaro (nativesdk-qemu does not build).
Can you push cherry-picks for:
http://git.linaro.org/openembedded/meta-linaro.git/commit/2def4e0a5548cadf
edcf9511f835af9456b40953and
http://git.linaro.org/openembedded/meta-linaro.git/commit/fc9473336a77603e
dabda89ae0bac58ef652d649to gerrit? I'm off to fosdem tomorrow and have a day off monday, so tuesday
is the earliest I can look at it.regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.orgiD8DBQFS6s0sMkyGM64RGpERAoqHAJsEe/DFtL4TZYq/Hx+CDA0YVwKXpACggj6+ wIlhhY8LamC7C+lf/BobULY=
=8Jo3
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: Errors when using populate_sdk - has anyone encountered this before?
Hello All,
I applied the patch provided by Koen but still I face the same issue.
ridish@sanjay-Precision-M4500:~/RDK-RI-NICO-2/build-qemux86$ bitbake rdk-generic-image -c populate_sdk Loading cache: 100% |##################################################################################################################################################| ETA: 00:00:00 Loaded 1945 entries from dependency cache. Parsing recipes: 100% |################################################################################################################################################| Time: 00:00:02 Parsing of 1546 .bb files complete (1543 cached, 3 parsed). 1946 targets, 107 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for eglibc (eglibc, external-linaro-toolchain) NOTE: consider defining a PREFERRED_PROVIDER entry to match eglibc NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo) NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
Build Configuration:
BB_VERSION = "1.20.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "i586-rdk-linux" MACHINE = "qemux86" DISTRO = "rdk" DISTRO_VERSION = "0.1+snapshot-20140130" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta = "(nobranch):198623d80d31f19c963e61d03cbcb12dd318dfdf"
toolchain-layer
meta-multimedia
meta-oe
meta-networking
meta-ruby = "(nobranch):fdf74512fc4e8514ad74458601adb96916f7cf72"
meta-linaro
meta-linaro-toolchain = "(nobranch):8aaf10d8dda34bc02d4ef62d0501b83603b6f827"
meta-rdk =
"contrib/ndec/rdk-ri:b0bcf359aed07d86a2175df01d2bcae069e7c867"
meta-qt5 = "(nobranch):cefaba69a785c5221463f0eb496b749d5ddf8a5a"
meta-rdk-cpc = "(nobranch):80e239735dd5f1e08026d66df6b25b0f5a782bfb"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Command Error: exit status: 1 Output:
Applying patch relocatable_sdk.patch
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Upstream-Status: Inappropriate [SDK specific] | |In order to be able to change the dynamic loader path when relocating |binaries, the interp section has to be made big enough to accomodate |the new path (4096 is the maximum path length in Linux). | |Signed-off-by: Laurentiu Palcu <[email protected]> | |Index: qemu-1.4.0/ldscripts/i386.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/i386.ld 2013-02-15 15:05:35.000000000 -0800 |+++ qemu-1.4.0/ldscripts/i386.ld 2013-02-28 22:55:36.138816418 -0800
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 26
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: qemu-1.4.0/ldscripts/x86_64.ld |=================================================================== |--- qemu-1.4.0.orig/ldscripts/x86_64.ld 2013-02-15
15:05:35.000000000 -0800
|+++ qemu-1.4.0/ldscripts/x86_64.ld 2013-02-28 22:55:36.138816418 -0800
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch relocatable_sdk.patch does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in:/home/ridish/RDK-RI-NICO-2/build-qemux86/tmp/work/i686-nativesdk-rdksdk-linux/nativesdk-qemu/1.7.50+gitAUTOINC+f976b09ea2-r0/temp/log.do_patch.31750
ERROR: Task 1617
(virtual:nativesdk:/home/ridish/RDK-RI-NICO-2/meta-linaro/meta-linaro/recipes-devtools/qemu/
qemu_git.bb, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3140 tasks of which 3135 didn't need to be
rerun and 1 failed.
NOTE: Writing buildhistory
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
virtual:nativesdk:/home/ridish/RDK-RI-NICO-2/meta-linaro/meta-linaro/recipes-devtools/qemu/ qemu_git.bb, do_patch
Summary: There were 2 ERROR messages shown, returning a non-zero exit code. ridish@sanjay-Precision-M4500:~/RDK-RI-NICO-2/build-qemux86$
Can someone please help on this?
Quoted 81 lines · Sanjay
Sanjay Dorairaj
Comcast Silicon Valley Innovation Center
1050 Enterprise Way, Suite 100
Sunnyvale, CA 94089
Desk: (408)900-8737 Cell:(215)900-2349
Skype: dorairajsanjayQuoted 21 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Nicolas Dechesne schreef op 30-01-14 22:07:
Quoted 17 lines
hi,
Quoted 7 lines · Ridish RA
I think I got the root cause of the issue, meta-linaro that we have depends on openembedded-core dylan-qt5.1, but Nicolas recently updated openembedded-core to dora. And I think this is the root cause of the issue of the relocatable patch being not able to apply?
So do we have meta-linaro layer based openembedded-core dora?
yes, the problem is a misalignment between oe-core and meta-linaro. meta-linaro is using a recent qemu upstream commit, and the list of patches from oe-core no longer works with meta-linaro
qemu_gitrecipe. the 2 commits in upstream qemu responsible for the misalignment are:Quoted 9 lines
Quoted 5 lines
53db78543e473bdf7650a406767d0901c6e26480964c6fa16f50a607f9da5068d6bf15ccc93872c0I am cc'ing riku and koen since that needs fixing in meta-linaro (nativesdk-qemu does not build).
Can you push cherry-picks for:
http://git.linaro.org/openembedded/meta-linaro.git/commit/2def4e0a5548cadf
Quoted 5 lines
edcf9511f835af9456b40953and
http://git.linaro.org/openembedded/meta-linaro.git/commit/fc9473336a77603e
Quoted 19 lines
dabda89ae0bac58ef652d649to gerrit? I'm off to fosdem tomorrow and have a day off monday, so tuesday
is the earliest I can look at it.regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.orgiD8DBQFS6s0sMkyGM64RGpERAoqHAJsEe/DFtL4TZYq/Hx+CDA0YVwKXpACggj6+ wIlhhY8LamC7C+lf/BobULY=
=8Jo3
-----END PGP SIGNATURE-----Quoted 4 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
Re: Errors when using populate_sdk - has anyone encountered this before?
In reply to Nicolas DechesneQuoted 12 lines · Nicolas Dechesne
hi,
Quoted 1 line · On Thu, Jan 30, 2014 at 10:52 AM, Ridish RA…
I think I got the root cause of the issue, meta-linaro that we have
depends on openembedded-core dylan-qt5.1, but Nicolas recently updated
Quoted 1 line
openembedded-core to dora. And I think this is the root cause of the
issue of the relocatable patch being not able to apply?
Quoted 3 lines
So do we have meta-linaro layer based openembedded-core dora?
Quoted 7 lines
yes, the problem is a misalignment between oe-core and meta-linaro. meta-linaro is using a recent qemu upstream commit, and the list of patches from oe-core no longer works with meta-linaro
qemu_gitrecipe. the 2 commits in upstream qemu responsible for the misalignment are:
53db78543e473bdf7650a406767d0901c6e26480964c6fa16f50a607f9da5068d6bf15ccc93872c0
i would still consider that oe-core qemus are well pounded and for all architectures it is a better choice in this case where you are targetting x86 and not bleeding edge arm
Quoted 6 lines
I am cc'ing riku and koen since that needs fixing in meta-linaro (nativesdk-qemu does not build).
for now, it's safe to follow Khem's suggestion and use the OE-core qemu.