Multilib status
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Problem A
=========
We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses /lib/, the second /lib64/ and the thrid /lib32/, an artificial example I realise)
I know one proposal was to map:
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason these are not "all" arch packages.
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm
and I believe there are some patches Dongxiao has created which do this.
Problem B
=========
If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "x86_64" architecture packages installed?
As far as I can tell there are two proposals around:
1) Set the architecture in the package provides and depends (a bit ugly)
2) Configure libzypp to understand that qemux86_64 does really map to x86_64 architecture and imply x86_64 dependencies.
Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second part.
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Cheers,
Richard
Hi Richard and Mark,
Quoted 52 lines
-----Original Message-----
From: Richard Purdie [mailto:[email protected]]
Sent: Friday, September 16, 2011 5:32 PM
To: Mark Hatle
Cc: Xu, Dongxiao; openembedded-core
Subject: Multilib statusHi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason these are not "all" arch packages.
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do this.
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packages installed?
Quoted 6 lines
As far as I can tell there are two proposals around:
1) Set the architecture in the package provides and depends (a bit ugly)
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.
In our current rootfs_rpm logic, we don't use zypper tool to make the file system, what we use is pure rpm plus db. I am not sure whether the rpm database or sat-solver has such kind of bindings between different repo folders? (like qemux86_64 and x86_64)
Thanks,
Dongxiao
Quoted 21 lines
Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second part.
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Cheers,
Richard
Hi Richard and Mark,
Quoted 68 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Xu, Dongxiao
Sent: Friday, September 16, 2011 8:01 PM
To: Richard Purdie; Mark Hatle
Cc: openembedded-core
Subject: Re: [OE-core] Multilib statusHi Richard and Mark,
Quoted 57 lines
-----Original Message-----
From: Richard Purdie [mailto:[email protected]]
Sent: Friday, September 16, 2011 5:32 PM
To: Mark Hatle
Cc: Xu, Dongxiao; openembedded-core
Subject: Multilib statusHi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason these are not "all" arch packages.
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do this.
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packages installed?As far as I can tell there are two proposals around:
1) Set the architecture in the package provides and depends (a bit ugly)
Quoted 7 lines
Quoted 2 lines
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.In our current
rootfs_rpmlogic, we don't use zypper tool to make the file system, what we use is pure rpm plus db.
I am not sure whether the rpm database or sat-solver has such kind of bindings between different repo folders? (likeqemux86_64andx86_64)
I updated my branch at:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/ml4
Patch 1/3 is to solve the Problem B by approach 1) that Richard mentioned.
Patch 2/3 is to solve the Problem A which defines a new architecture (lib32_qemux86_64) when PACKAGE_ARCH == MACHINE_ARCH. Patch 3/3 is to install MULTILIB_IMAGE_INSTALL packages into final image.
Thanks,
Dongxiao
Quoted 31 lines
Thanks,
DongxiaoQuoted 10 lines
Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second part.
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
Quoted 3 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of
issues out.
Quoted 8 lines
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Cheers,
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 6 lines · Richard Purdie
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my configuration:
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 23 lines
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason these are not "all" arch packages.
Quoted 7 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do this.
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib, specify a default machine virtclass in the format you list above.
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea. However, it would could simplify the configuration aspects.
Quoted 9 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packages installed?As far as I can tell there are two proposals around:
Quoted 7 lines
1) Set the architecture in the package provides and depends (a bit ugly)
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second part.
Agreed.
Quoted 3 lines
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field upgrade/installs.
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be used. There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32, ELF64 or something else, as long as something provides bash.
Quoted 7 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies -are- ELF specific, so those have to work properly!)
--Mark
Quoted 5 lines
Cheers,
Richard
Quoted 67 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Friday, September 16, 2011 10:51 PM
To: Richard Purdie
Cc: Xu, Dongxiao; openembedded-core
Subject: Re: Multilib statusQuoted 6 lines · Richard Purdie
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my configuration:
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 23 lines
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason these are not "all" arch packages.
Quoted 7 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do this.
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib, specify a default machine virtclass in the format you list above.
Quoted 4 lines
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea.
However, it would could simplify the configuration aspects.
There are two implementations towards the above result:
1) automatically setting MLPREFIX before MACHINE_ARCH.
2) user manually sets MACHINE_virtclass-multilib-lib32="lib32-qemux86-64" in local.conf.
Which one do you prefer?
Quoted 29 lines
Quoted 10 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packages installed?As far as I can tell there are two proposals around:
Quoted 8 lines
1) Set the architecture in the package provides and depends (a bit ugly)
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second part.
Agreed.
Quoted 3 lines
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field upgrade/installs.
Quoted 8 lines
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be used. There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32, ELF64 or something else, as long as something provides bash.
If user sets MULTILIB_IMAGE_INSTALL="lib32-task-core-boot" with a qemux86-64 image, it means that he wants to install all elements required by task-core-boot by lib32 version. If the dependency is selected *randomly*, users would not have multiple libraries in his system.
Thanks,
Dongxiao
Quoted 21 lines
Quoted 8 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies -are- ELF specific, so those have to work properly!)
--Mark
Quoted 5 lines
Cheers,
Richard
Quoted 72 lines · Dongxiao
Quoted 67 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Friday, September 16, 2011 10:51 PM
To: Richard Purdie
Cc: Xu, Dongxiao; openembedded-core
Subject: Re: Multilib statusQuoted 6 lines · Richard Purdie
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my configuration:
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 23 lines
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason these are not "all" arch packages.
Quoted 7 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do this.
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib, specify a default machine virtclass in the format you list above.
Quoted 4 lines
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea.
However, it would could simplify the configuration aspects.
Quoted 5 lines
There are two implementations towards the above result:
1) automatically setting MLPREFIX beforeMACHINE_ARCH.
2) user manually sets MACHINE_virtclass-multilib-lib32="lib32-qemux86-64" in local.conf.Which one do you prefer?
Right now I'm thinking the best approach is:
*) Allow the user to set MACHINE_virtclass-multilib-...="...."
*) If the user has NOT set it, fall back and use the setting of lib..-machine as in 2
This way for people who have specific requirements for external compatibility or just desire more control they can do it. But for everyone else it will still work properly.
FYI, I'm currently working in the rootfs_rpm stuff, the system is currently ignoring the alternative (multilib) machine packages. I'm hoping this will be fairly simple to resolve.
Quoted 34 lines
Quoted 34 lines
Quoted 10 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packages installed?As far as I can tell there are two proposals around:
Quoted 8 lines
1) Set the architecture in the package provides and depends (a bit ugly)
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second part.
Agreed.
Quoted 3 lines
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field upgrade/installs.
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be used. There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Quoted 5 lines
Quoted 3 lines
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32, ELF64 or something else, as long as something provides bash.
If user sets MULTILIB_IMAGE_INSTALL="lib32-task-core-boot" with a qemux86-64 image, it means that he wants to install all elements required by task-core-boot by lib32 version. If the dependency is selected *randomly*, users would not have multiple libraries in his system.
This is a special use case, yes one that I think we need to resolve, but it's not the typical case.
The typical case will be someone wants the 64-bit (or 32-bit) version of a select package for compatibility. And they only want the dependencies for that package to be loaded. Anything satisfying the dependency will do.
My recommendation right now is, lets get that working ASAP. Once that does, refocus the efforts on getting the multilib "tasks" to do something reasonable. (i.e. select a group of packages)
If we try to solve both at once, I don't think we're going to come up with a reasonable solution at this time.
--Mark
Quoted 24 lines
Thanks,
DongxiaoQuoted 21 lines
Quoted 8 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies -are- ELF specific, so those have to work properly!)
--Mark
Quoted 5 lines
Cheers,
Richard
Just an FYI. I'm working through a bunch of issues. I found out that the RPM dependency resolution was completely broken, due to a small bug in the package_rpm.bbclass.. Packages were not being given the proper provide information, so RPM was attempting best match -- and failing as noted in the previous discussion..
Unfortunately this has opened up a small can of worms which I'm trying to deal with. The simplistic fix for the bug is:
meta/classes/package_rpm.bbclass +1 -1
@@ -840,7 +840,7 @@ python do_package_rpm () { os.chmod(outdepends, 0755) # Poky / RPM Provides - outprovides = workdir + "/" + srcname + ".requires" + outprovides = workdir + "/" + srcname + ".provides" try: from __builtin__ import file
Unfortunately this has exposed a large set of problems that I didn't realize we had....
Will do a more formal pull request as soon as I get things working again.
--Mark
Quoted 173 lines · Mark Hatle
Quoted 72 lines · Dongxiao
Quoted 72 lines
Quoted 71 lines
Quoted 71 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Friday, September 16, 2011 10:51 PM
To: Richard Purdie
Cc: Xu, Dongxiao; openembedded-core
Subject: Re: Multilib statusQuoted 6 lines · Richard Purdie
Quoted 6 lines
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my configuration:
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 23 lines
Quoted 23 lines
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason these are not "all" arch packages.
Quoted 7 lines
Quoted 7 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do this.
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib, specify a default machine virtclass in the format you list above.
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea.
However, it would could simplify the configuration aspects.Quoted 5 lines
Quoted 5 lines
There are two implementations towards the above result:
1) automatically setting MLPREFIX beforeMACHINE_ARCH.
2) user manually sets MACHINE_virtclass-multilib-lib32="lib32-qemux86-64" in local.conf.Which one do you prefer?
Right now I'm thinking the best approach is:
*) Allow the user to set MACHINE_virtclass-multilib-...="...."
*) If the user has NOT set it, fall back and use the setting of lib..-machine as in 2
This way for people who have specific requirements for external compatibility or just desire more control they can do it. But for everyone else it will still work properly.
FYI, I'm currently working in the
rootfs_rpmstuff, the system is currently ignoring the alternative (multilib) machine packages. I'm hoping this will be fairly simple to resolve.Quoted 34 lines
Quoted 34 lines
Quoted 34 lines
Quoted 34 lines
Quoted 10 lines
Quoted 10 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packages installed?As far as I can tell there are two proposals around:
Quoted 8 lines
Quoted 8 lines
1) Set the architecture in the package provides and depends (a bit ugly)
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second part.
Agreed.
Quoted 3 lines
Quoted 3 lines
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field upgrade/installs.
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be used. There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32, ELF64 or something else, as long as something provides bash.
If user sets MULTILIB_IMAGE_INSTALL="lib32-task-core-boot" with a qemux86-64 image, it means that he wants to install all elements required by task-core-boot by lib32 version. If the dependency is selected *randomly*, users would not have multiple libraries in his system.
This is a special use case, yes one that I think we need to resolve, but it's not the typical case.
The typical case will be someone wants the 64-bit (or 32-bit) version of a select package for compatibility. And they only want the dependencies for that package to be loaded. Anything satisfying the dependency will do.
My recommendation right now is, lets get that working ASAP. Once that does, refocus the efforts on getting the multilib "tasks" to do something reasonable. (i.e. select a group of packages)
If we try to solve both at once, I don't think we're going to come up with a reasonable solution at this time.
--Mark
Quoted 24 lines
Quoted 24 lines
Thanks,
DongxiaoQuoted 21 lines
Quoted 21 lines
Quoted 8 lines
Quoted 8 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies -are- ELF specific, so those have to work properly!)
--Mark
Quoted 5 lines
Quoted 5 lines
Cheers,
Richard
Hi Mark,
Quoted 28 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Saturday, September 17, 2011 2:19 AM
To: Mark Hatle
Cc: Xu, Dongxiao; Richard Purdie; openembedded-core
Subject: Re: Multilib statusJust an FYI. I'm working through a bunch of issues. I found out that the RPM dependency resolution was completely broken, due to a small bug in the package_rpm.bbclass.. Packages were not being given the proper provide information, so RPM was attempting best match -- and failing as noted in the previous discussion..
Unfortunately this has opened up a small can of worms which I'm trying to deal with. The simplistic fix for the bug is:
meta/classes/package_rpm.bbclass +1
-1@@ -840,7 +840,7 @@ python do_package_rpm () { os.chmod(outdepends, 0755) # Poky / RPM Provides - outprovides = workdir + "/" + srcname + ".requires" + outprovides = workdir + "/" + srcname + ".provides" try: from __builtin__ import file
Quoted 6 lines
Unfortunately this has exposed a large set of problems that I didn't realize we had....
Will do a more formal pull request as soon as I get things working again.
--Mark
I just had a test after cherry-pick some of your changes in mhatle/rpm, here are some problems I found and some investigations:
1. do_rootfs failed.
The error log reports unmet dependency of pkgconfig(libpng).
This is due to the dangling link in libpng package. libpng.pc links to libpng12.pc which has been packaged into libpng12.
2. There is a wrong commit I suppose it should be reverted. When you debugging your code, please revert it. I will discuss it with Richard tomorrow.
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mhatle/rpm&id=329d864f9bbf94ad3aae8df43d63fe10e4237e4f
3. After the above issue got fixed, rootfs succeed but we saw the final image is still in a mess. We need some x86_64 rpm to be installed, however what we got is x86 rpm package. Then I tried another approach we ever talked about that, firstly install base image, then install the multilib packages. I added a parameter "--replacepkgs" to rpm command to avoid errors like "package xxx has already installed". With this approach, the final image could boot up with multilib library installed.
Some of my testing code is located under http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/ml-testing
Thanks,
Dongxiao
Quoted 191 lines · Mark Hatle
Quoted 16 lines · Dongxiao
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Friday, September 16, 2011 10:51 PM
To: Richard Purdie
Cc: Xu, Dongxiao; openembedded-core
Subject: Re: Multilib statusQuoted 6 lines · Richard Purdie
Quoted 6 lines
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my
configuration:
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 15 lines
Quoted 15 lines
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason
these are not "all" arch packages.
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do
this.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib,
specify a default machine virtclass in the format you list above.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea.
However, it would could simplify the configuration aspects.There are two implementations towards the above result:
1) automatically setting MLPREFIX beforeMACHINE_ARCH.
2) user manually setsMACHINE_virtclass-multilib-lib32="lib32-qemux86-64" in local.conf.
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Which one do you prefer?
Right now I'm thinking the best approach is:
*) Allow the user to set MACHINE_virtclass-multilib-...="...."
*) If the user has NOT set it, fall back and use the setting of lib..-machine as in 2
Quoted 15 lines
This way for people who have specific requirements for external compatibility or just desire more control they can do it. But for everyone else it will still work properly.
FYI, I'm currently working in the
rootfs_rpmstuff, the system is currently ignoring the alternative (multilib) machine packages. I'm hoping this will be fairly simple to resolve.Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packagesinstalled?
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
As far as I can tell there are two proposals around:
1) Set the architecture in the package provides and depends (a bit
ugly)Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second
part.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Agreed.
Quoted 3 lines
Quoted 3 lines
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field upgrade/installs.
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be
used.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
Quoted 7 lines
There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32,
ELF64 or something else, as long as something provides bash.If user sets MULTILIB_IMAGE_INSTALL="lib32-task-core-boot" with a
qemux86-64 image, it means that he wants to install all elements required by task-core-boot by lib32 version. If the dependency is selected *randomly*, users would not have multiple libraries in his system.
Quoted 6 lines
This is a special use case, yes one that I think we need to resolve, but it's not the typical case.
The typical case will be someone wants the 64-bit (or 32-bit) version of a select package for compatibility. And they only want the dependencies for that package to be loaded. Anything satisfying the
dependency will do.
Quoted 3 lines
My recommendation right now is, lets get that working ASAP. Once that does, refocus the efforts on getting the multilib "tasks" to do something
reasonable.
Quoted 32 lines
(i.e. select a group of packages)
If we try to solve both at once, I don't think we're going to come up with a reasonable solution at this time.
--Mark
Quoted 24 lines
Quoted 24 lines
Thanks,
DongxiaoQuoted 21 lines
Quoted 21 lines
Quoted 8 lines
Quoted 8 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies -are- ELF specific, so those have to work properly!)
--Mark
Quoted 5 lines
Quoted 5 lines
Cheers,
Richard
Quoted 35 lines · Dongxiao
Hi Mark,
Quoted 33 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Saturday, September 17, 2011 2:19 AM
To: Mark Hatle
Cc: Xu, Dongxiao; Richard Purdie; openembedded-core
Subject: Re: Multilib statusJust an FYI. I'm working through a bunch of issues. I found out that the RPM dependency resolution was completely broken, due to a small bug in the package_rpm.bbclass.. Packages were not being given the proper provide information, so RPM was attempting best match -- and failing as noted in the previous discussion..
Unfortunately this has opened up a small can of worms which I'm trying to deal with. The simplistic fix for the bug is:
meta/classes/package_rpm.bbclass +1
-1@@ -840,7 +840,7 @@ python do_package_rpm () { os.chmod(outdepends, 0755) # Poky / RPM Provides - outprovides = workdir + "/" + srcname + ".requires" + outprovides = workdir + "/" + srcname + ".provides" try: from __builtin__ import fileUnfortunately this has exposed a large set of problems that I didn't realize we had....
Will do a more formal pull request as soon as I get things working again.
Quoted 7 lines
Quoted 1 line
--Mark
I just had a test after cherry-pick some of your changes in mhatle/rpm, here are some problems I found and some investigations:
1.
do_rootfsfailed.
The error log reports unmet dependency of pkgconfig(libpng).
This is due to the dangling link in libpng package. libpng.pc links to libpng12.pc which has been packaged into libpng12.
Ahh this is a bit different then the failures I've seen. We'll have to fix that one.
Quoted 3 lines
2. There is a wrong commit I suppose it should be reverted. When you debugging your code, please revert it. I will discuss it with Richard tomorrow.
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mhatle/rpm&id=329d864f9bbf94ad3aae8df43d63fe10e4237e4f
Ahh, ya I just ran into that problem... I have a fix for that commit I just finished. (Do you have a newer version, if so I'll update to that and see if my change is still needed.)
Quoted 3 lines
3. After the above issue got fixed, rootfs succeed but we saw the final image is still in a mess. We need some
x86_64rpm to be installed, however what we got is x86 rpm package. Then I tried another approach we ever talked about that, firstly install base image, then install the multilib packages. I added a parameter "--replacepkgs" to rpm command to avoid errors like "package xxx has already installed". With this approach, the final image could boot up with multilib library installed.Some of my testing code is located under http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/ml-testing
I'll run through the testing code and see if I can figure out what is different.
--Mark
Quoted 195 lines
Thanks,
DongxiaoQuoted 191 lines · Mark Hatle
Quoted 16 lines · Dongxiao
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Friday, September 16, 2011 10:51 PM
To: Richard Purdie
Cc: Xu, Dongxiao; openembedded-core
Subject: Re: Multilib statusQuoted 6 lines · Richard Purdie
Quoted 6 lines
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my
configuration:
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 15 lines
Quoted 15 lines
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason
these are not "all" arch packages.
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do
this.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib,
specify a default machine virtclass in the format you list above.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea.
However, it would could simplify the configuration aspects.There are two implementations towards the above result:
1) automatically setting MLPREFIX beforeMACHINE_ARCH.
2) user manually setsMACHINE_virtclass-multilib-lib32="lib32-qemux86-64" in local.conf.
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Which one do you prefer?
Right now I'm thinking the best approach is:
*) Allow the user to set MACHINE_virtclass-multilib-...="...."
*) If the user has NOT set it, fall back and use the setting of lib..-machine as in 2
Quoted 15 lines
This way for people who have specific requirements for external compatibility or just desire more control they can do it. But for everyone else it will still work properly.
FYI, I'm currently working in the
rootfs_rpmstuff, the system is currently ignoring the alternative (multilib) machine packages. I'm hoping this will be fairly simple to resolve.Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packagesinstalled?
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
As far as I can tell there are two proposals around:
1) Set the architecture in the package provides and depends (a bit
ugly)Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second
part.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Agreed.
Quoted 3 lines
Quoted 3 lines
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field upgrade/installs.
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be
used.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
Quoted 7 lines
There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32,
ELF64 or something else, as long as something provides bash.If user sets MULTILIB_IMAGE_INSTALL="lib32-task-core-boot" with a
qemux86-64 image, it means that he wants to install all elements required by task-core-boot by lib32 version. If the dependency is selected *randomly*, users would not have multiple libraries in his system.
Quoted 6 lines
This is a special use case, yes one that I think we need to resolve, but it's not the typical case.
The typical case will be someone wants the 64-bit (or 32-bit) version of a select package for compatibility. And they only want the dependencies for that package to be loaded. Anything satisfying the
dependency will do.
Quoted 3 lines
My recommendation right now is, lets get that working ASAP. Once that does, refocus the efforts on getting the multilib "tasks" to do something
reasonable.
Quoted 32 lines
(i.e. select a group of packages)
If we try to solve both at once, I don't think we're going to come up with a reasonable solution at this time.
--Mark
Quoted 24 lines
Quoted 24 lines
Thanks,
DongxiaoQuoted 21 lines
Quoted 21 lines
Quoted 8 lines
Quoted 8 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies -are- ELF specific, so those have to work properly!)
--Mark
Quoted 5 lines
Quoted 5 lines
Cheers,
Richard
Quoted 46 lines
Quoted 28 lines
Quoted 28 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Saturday, September 17, 2011 2:19 AM
To: Mark Hatle
Cc: Xu, Dongxiao; Richard Purdie; openembedded-core
Subject: Re: Multilib statusJust an FYI. I'm working through a bunch of issues. I found out that the RPM dependency resolution was completely broken, due to a small bug in the package_rpm.bbclass.. Packages were not being given the proper provide information, so RPM was attempting best match -- and failing as noted in the previous discussion..
Unfortunately this has opened up a small can of worms which I'm trying to deal with. The simplistic fix for the bug is:
meta/classes/package_rpm.bbclass +1
-1@@ -840,7 +840,7 @@ python do_package_rpm () { os.chmod(outdepends, 0755) # Poky / RPM Provides - outprovides = workdir + "/" + srcname + ".requires" + outprovides = workdir + "/" + srcname + ".provides" try: from __builtin__ import fileQuoted 8 lines
Quoted 6 lines
Unfortunately this has exposed a large set of problems that I didn't realize we had....
Will do a more formal pull request as soon as I get things working again.
--Mark
I just had a test after cherry-pick some of your changes in mhatle/rpm, here
are some problems I found and some investigations:
Quoted 4 lines
1.
do_rootfsfailed.
The error log reports unmet dependency of pkgconfig(libpng).
This is due to the dangling link in libpng package. libpng.pc links to libpng12.pcwhich has been packaged into libpng12.
Ahh this is a bit different then the failures I've seen. We'll have to fix that one.
Quoted 1 line
2. There is a wrong commit I suppose it should be reverted. When you
Quoted 8 lines
debugging your code, please revert it.
Quoted 3 lines
I will discuss it with Richard tomorrow.
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mhatl
e/rpm&id=329d864f9bbf94ad3aae8df43d63fe10e4237e4fAhh, ya I just ran into that problem... I have a fix for that commit I just finished. (Do you have a newer version, if so I'll update to that and see if my change is still needed.)
No I haven't worked on a new version of that patch. Could you share yours?
Thanks,
Dongxiao
Quoted 221 lines
Quoted 2 lines
3. After the above issue got fixed, rootfs succeed but we saw the final image is
still in a mess. We need some
x86_64rpm to be installed, however what we got is x86 rpm package. Then I tried another approach we ever talked about that, firstly install base image, then install the multilib packages. I added a parameter "--replacepkgs" to rpm command to avoid errors like "package xxx has already installed". With this approach, the final image could boot up with multilib library installed.Quoted 4 lines
Some of my testing code is located under
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/ml-
testingI'll run through the testing code and see if I can figure out what is different.
--Mark
Quoted 204 lines
Thanks,
DongxiaoQuoted 200 lines · Mark Hatle
Quoted 16 lines · Dongxiao
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Friday, September 16, 2011 10:51 PM
To: Richard Purdie
Cc: Xu, Dongxiao; openembedded-core
Subject: Re: Multilib statusQuoted 6 lines · Richard Purdie
Quoted 6 lines
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my
configuration:
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 15 lines
Quoted 15 lines
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason
these are not "all" arch packages.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do
this.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib,
specify a default machine virtclass in the format you list above.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea.
However, it would could simplify the configuration aspects.There are two implementations towards the above result:
1) automatically setting MLPREFIX beforeMACHINE_ARCH.
2) user manually setsMACHINE_virtclass-multilib-lib32="lib32-qemux86-64" in local.conf.
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Which one do you prefer?
Right now I'm thinking the best approach is:
*) Allow the user to set MACHINE_virtclass-multilib-...="...."
*) If the user has NOT set it, fall back and use the setting of lib..-machine as in 2
Quoted 16 lines
This way for people who have specific requirements for external compatibility or just desire more control they can do it. But for everyone else it will still work properly.
FYI, I'm currently working in the
rootfs_rpmstuff, the system is currently ignoring the alternative (multilib) machine packages. I'm hoping this will be fairly simple to resolve.Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packagesinstalled?
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
As far as I can tell there are two proposals around:
1) Set the architecture in the package provides and depends (a bit
ugly)Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second
part.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Agreed.
Quoted 3 lines
Quoted 3 lines
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field upgrade/installs.
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be
used.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
Quoted 7 lines
There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32,
ELF64 or something else, as long as something provides bash.If user sets MULTILIB_IMAGE_INSTALL="lib32-task-core-boot" with a
qemux86-64 image, it means that he wants to install all elements required by task-core-boot by lib32 version. If the dependency is selected *randomly*, users would not have multiple libraries in his system.
Quoted 7 lines
This is a special use case, yes one that I think we need to resolve, but it's not the typical case.
The typical case will be someone wants the 64-bit (or 32-bit) version of a select package for compatibility. And they only want the dependencies for that package to be loaded. Anything satisfying the
dependency will do.
Quoted 4 lines
My recommendation right now is, lets get that working ASAP. Once that does, refocus the efforts on getting the multilib "tasks" to do something
reasonable.
Quoted 33 lines
(i.e. select a group of packages)
If we try to solve both at once, I don't think we're going to come up with a reasonable solution at this time.
--Mark
Quoted 25 lines
Quoted 25 lines
Thanks,
DongxiaoQuoted 22 lines
Quoted 22 lines
Quoted 8 lines
Quoted 8 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies
-are- ELF specific, so those have to work properly!)--Mark
Quoted 5 lines
Quoted 5 lines
Cheers,
Richard
commit id aea5b9ef458099efd8f9a83428af84bbbe69eed2
I'm really not sure what I have is right though.. it seems to be not failing.. ;) But you likely know what should trigger these changes and if what I did is correct or not.
--Mark
Quoted 282 lines · Dongxiao
Quoted 46 lines
Quoted 28 lines
Quoted 28 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Saturday, September 17, 2011 2:19 AM
To: Mark Hatle
Cc: Xu, Dongxiao; Richard Purdie; openembedded-core
Subject: Re: Multilib statusJust an FYI. I'm working through a bunch of issues. I found out that the RPM dependency resolution was completely broken, due to a small bug in the package_rpm.bbclass.. Packages were not being given the proper provide information, so RPM was attempting best match -- and failing as noted in the previous discussion..
Unfortunately this has opened up a small can of worms which I'm trying to deal with. The simplistic fix for the bug is:
meta/classes/package_rpm.bbclass +1
-1@@ -840,7 +840,7 @@ python do_package_rpm () { os.chmod(outdepends, 0755) # Poky / RPM Provides - outprovides = workdir + "/" + srcname + ".requires" + outprovides = workdir + "/" + srcname + ".provides" try: from __builtin__ import fileQuoted 8 lines
Quoted 6 lines
Unfortunately this has exposed a large set of problems that I didn't realize we had....
Will do a more formal pull request as soon as I get things working again.
--Mark
I just had a test after cherry-pick some of your changes in mhatle/rpm, here
are some problems I found and some investigations:
Quoted 4 lines
1.
do_rootfsfailed.
The error log reports unmet dependency of pkgconfig(libpng).
This is due to the dangling link in libpng package. libpng.pc links to libpng12.pcwhich has been packaged into libpng12.
Ahh this is a bit different then the failures I've seen. We'll have to fix that one.
Quoted 1 line
2. There is a wrong commit I suppose it should be reverted. When you
Quoted 8 lines
debugging your code, please revert it.
Quoted 3 lines
I will discuss it with Richard tomorrow.
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mhatl
e/rpm&id=329d864f9bbf94ad3aae8df43d63fe10e4237e4fAhh, ya I just ran into that problem... I have a fix for that commit I just finished. (Do you have a newer version, if so I'll update to that and see if my change is still needed.)
No I haven't worked on a new version of that patch. Could you share yours?
Thanks,
DongxiaoQuoted 221 lines
Quoted 2 lines
3. After the above issue got fixed, rootfs succeed but we saw the final image is
still in a mess. We need some
x86_64rpm to be installed, however what we got is x86 rpm package. Then I tried another approach we ever talked about that, firstly install base image, then install the multilib packages. I added a parameter "--replacepkgs" to rpm command to avoid errors like "package xxx has already installed". With this approach, the final image could boot up with multilib library installed.Quoted 4 lines
Some of my testing code is located under
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/ml-
testingI'll run through the testing code and see if I can figure out what is different.
--Mark
Quoted 204 lines
Thanks,
DongxiaoQuoted 200 lines · Mark Hatle
Quoted 16 lines · Dongxiao
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Friday, September 16, 2011 10:51 PM
To: Richard Purdie
Cc: Xu, Dongxiao; openembedded-core
Subject: Re: Multilib statusQuoted 6 lines · Richard Purdie
Quoted 6 lines
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some resolutions.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my
configuration:
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 15 lines
Quoted 15 lines
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason
these are not "all" arch packages.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do
this.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib,
specify a default machine virtclass in the format you list above.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea.
However, it would could simplify the configuration aspects.There are two implementations towards the above result:
1) automatically setting MLPREFIX beforeMACHINE_ARCH.
2) user manually setsMACHINE_virtclass-multilib-lib32="lib32-qemux86-64" in local.conf.
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Which one do you prefer?
Right now I'm thinking the best approach is:
*) Allow the user to set MACHINE_virtclass-multilib-...="...."
*) If the user has NOT set it, fall back and use the setting of lib..-machine as in 2
Quoted 16 lines
This way for people who have specific requirements for external compatibility or just desire more control they can do it. But for everyone else it will still work properly.
FYI, I'm currently working in the
rootfs_rpmstuff, the system is currently ignoring the alternative (multilib) machine packages. I'm hoping this will be fairly simple to resolve.Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packagesinstalled?
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
As far as I can tell there are two proposals around:
1) Set the architecture in the package provides and depends (a bit
ugly)Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second
part.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Agreed.
Quoted 3 lines
Quoted 3 lines
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field upgrade/installs.
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be
used.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
Quoted 7 lines
There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32,
ELF64 or something else, as long as something provides bash.If user sets MULTILIB_IMAGE_INSTALL="lib32-task-core-boot" with a
qemux86-64 image, it means that he wants to install all elements required by task-core-boot by lib32 version. If the dependency is selected *randomly*, users would not have multiple libraries in his system.
Quoted 7 lines
This is a special use case, yes one that I think we need to resolve, but it's not the typical case.
The typical case will be someone wants the 64-bit (or 32-bit) version of a select package for compatibility. And they only want the dependencies for that package to be loaded. Anything satisfying the
dependency will do.
Quoted 4 lines
My recommendation right now is, lets get that working ASAP. Once that does, refocus the efforts on getting the multilib "tasks" to do something
reasonable.
Quoted 33 lines
(i.e. select a group of packages)
If we try to solve both at once, I don't think we're going to come up with a reasonable solution at this time.
--Mark
Quoted 25 lines
Quoted 25 lines
Thanks,
DongxiaoQuoted 22 lines
Quoted 22 lines
Quoted 8 lines
Quoted 8 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional problems.
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies
-are- ELF specific, so those have to work properly!)--Mark
Quoted 5 lines
Quoted 5 lines
Cheers,
Richard
Quoted 7 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Wednesday, September 21, 2011 1:06 AM
To: Xu, Dongxiao
Cc: Richard Purdie; openembedded-core
Subject: Re: Multilib status
Quoted 5 lines
commit id
aea5b9ef458099efd8f9a83428af84bbbe69eed2I'm really not sure what I have is right though.. it seems to be not failing.. ;) But you likely know what should trigger these changes and if what I did is correct or not.
What I was trying to solve with the previous commit is to handle the multiple (r)provider issue of those allarch recipes.
It seems that although your changes don't solve the above problem, they are needed to handle RPROVIDES mappings.
For the multiple provider issue, I will discuss it with Richard tomorrow.
Thanks,
Dongxiao
Quoted 298 lines
--Mark
Quoted 39 lines · Dongxiao
Quoted 39 lines
Quoted 31 lines
Quoted 31 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Saturday, September 17, 2011 2:19 AM
To: Mark Hatle
Cc: Xu, Dongxiao; Richard Purdie; openembedded-core
Subject: Re: Multilib statusJust an FYI. I'm working through a bunch of issues. I found out that the RPM dependency resolution was completely broken, due to a small bug in the package_rpm.bbclass.. Packages were not being given the proper provide information, so RPM was attempting best match -- and failing as noted in the previous discussion..
Unfortunately this has opened up a small can of worms which I'm trying to deal with. The simplistic fix for the bug is:
meta/classes/package_rpm.bbclass +1
-1@@ -840,7 +840,7 @@ python do_package_rpm () { os.chmod(outdepends, 0755) # Poky / RPM Provides - outprovides = workdir + "/" + srcname + ".requires" + outprovides = workdir + "/" + srcname + ".provides" try: from __builtin__ import fileUnfortunately this has exposed a large set of problems that I didn't realize we had....
Quoted 6 lines
Quoted 3 lines
Will do a more formal pull request as soon as I get things working again.
--Mark
I just had a test after cherry-pick some of your changes in mhatle/rpm, here
are some problems I found and some investigations:
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
1.
do_rootfsfailed.
The error log reports unmet dependency of pkgconfig(libpng). This is due to the dangling link in libpng package. libpng.pc links to libpng12.pcwhich has been packaged into libpng12.
Ahh this is a bit different then the failures I've seen. We'll have to fix that
one.
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
2. There is a wrong commit I suppose it should be reverted. When you
debugging your code, please revert it.
Quoted 3 lines
I will discuss it with Richard tomorrow.
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mha
tl e/rpm&id=329d864f9bbf94ad3aae8df43d63fe10e4237e4fAhh, ya I just ran into that problem... I have a fix for that commit I just
finished.
Quoted 4 lines
Quoted 3 lines
(Do you have a newer version, if so I'll update to that and see if my change is still
needed.)Quoted 45 lines
No I haven't worked on a new version of that patch. Could you share yours?
Thanks,
DongxiaoQuoted 40 lines
Quoted 3 lines
3. After the above issue got fixed, rootfs succeed but we saw the final image is
still in a mess. We need some
x86_64rpm to be installed, however what we got is x86 rpm package. Then I tried another approach we ever talked about that, firstly install base image, then install the multilib packages. I added a parameter "--replacepkgs" to rpm command to avoid errors like "package xxx has already installed". With this approach, the final image could boot up with multilib library installed.Quoted 5 lines
Some of my testing code is located under
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/m
l-
testingI'll run through the testing code and see if I can figure out what is different.
--Mark
Quoted 21 lines
Thanks,
DongxiaoQuoted 17 lines · Mark Hatle
Quoted 15 lines · Dongxiao
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Friday, September 16, 2011 10:51 PM
To: Richard Purdie
Cc: Xu, Dongxiao; openembedded-core
Subject: Re: Multilib statusQuoted 6 lines · Richard Purdie
Quoted 6 lines
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some
resolutions.
Quoted 114 lines
Quoted 114 lines
Quoted 114 lines
Quoted 114 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my
configuration:
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 15 lines
Quoted 15 lines
Problem A
=========We can have multiple forms of "machine specific" packages now, one for each multilib e.g.:
task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64") task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")
(lets assume the first uses
/lib/, the second/lib64/and the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't correct since the library directories are different. In this specific case it might not matter but in general it would. What is also important is that the different versions imply different dependencies. The lib64 bit version would pull in and select lib64 bit libs. Its these dependencies which are a key reason
these are not "all" arch packages.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created which do
this.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib,
specify a default machine virtclass in the format you list above.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea.
However, it would could simplify the configuration aspects.There are two implementations towards the above result:
1) automatically setting MLPREFIX beforeMACHINE_ARCH.
2) user manually setsMACHINE_virtclass-multilib-lib32="lib32-qemux86-64" in local.conf.
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Which one do you prefer?
Right now I'm thinking the best approach is:
*) Allow the user to set MACHINE_virtclass-multilib-...="...."
*) If the user has NOT set it, fall back and use the setting of lib..-machine as in 2
Quoted 16 lines
This way for people who have specific requirements for external compatibility or just desire more control they can do it. But for everyone else it will still work properly.
FYI, I'm currently working in the
rootfs_rpmstuff, the system is currently ignoring the alternative (multilib) machine packages. I'm hoping this will be fairly simple to resolve.Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm which depends on "connman", how does the system figure out to associate this to mean we want the "
x86_64" architecture packagesinstalled?
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
As far as I can tell there are two proposals around:
1) Set the architecture in the package provides and depends (a bit
ugly)Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
2) Configure libzypp to understand that
qemux86_64does really map tox86_64architecture and implyx86_64dependencies.Solving problem A above is the first step towards resolving this either way but we don't seem to have a resolution on this second
part.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Agreed.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
For reference, we really do want these task packages to have an associated architecture so the user can easily build up blocks of the system using a given ABI.
This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field
upgrade/installs.
Quoted 41 lines
Quoted 41 lines
Quoted 41 lines
Quoted 41 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be
used.
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
Quoted 7 lines
There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32,
ELF64 or something else, as long as something provides bash.If user sets MULTILIB_IMAGE_INSTALL="lib32-task-core-boot" with a
qemux86-64 image, it means that he wants to install all elements required by task-core-boot by lib32 version. If the dependency is selected *randomly*, users would not have multiple libraries in his system.
Quoted 7 lines
This is a special use case, yes one that I think we need to resolve, but it's not the typical case.
The typical case will be someone wants the 64-bit (or 32-bit) version of a select package for compatibility. And they only want the dependencies for that package to be loaded. Anything satisfying the
dependency will do.
Quoted 4 lines
My recommendation right now is, lets get that working ASAP. Once that does, refocus the efforts on getting the multilib "tasks" to do something
reasonable.
Quoted 10 lines
(i.e. select a group of packages)
If we try to solve both at once, I don't think we're going to come up with a reasonable solution at this time.
--Mark
Quoted 3 lines
Quoted 3 lines
Thanks,
DongxiaoQuoted 1 line
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
What I really need now is an idea of which patches you both agree on that we need to merge (I think we have some for problem A) and a resolution on problem B along with some patches so we can close this set of issues out.
If there are further issues can you reply to this email either with the details or a pointer to the specific additional
problems.
Quoted 17 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 15 lines
Quoted 15 lines
Quoted 14 lines
Quoted 14 lines
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies
-are- ELF specific, so those have to work properly!)--Mark
Quoted 5 lines
Quoted 5 lines
Cheers,
Richard
Quoted 13 lines · Dongxiao
Quoted 7 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Wednesday, September 21, 2011 1:06 AM
To: Xu, Dongxiao
Cc: Richard Purdie; openembedded-core
Subject: Re: Multilib statusQuoted 5 lines
commit id
aea5b9ef458099efd8f9a83428af84bbbe69eed2I'm really not sure what I have is right though.. it seems to be not failing.. ;) But you likely know what should trigger these changes and if what I did is correct or not.
Quoted 5 lines
What I was trying to solve with the previous commit is to handle the multiple (r)provider issue of those allarch recipes.
It seems that although your changes don't solve the above problem, they are needed to handle RPROVIDES mappings.
For the multiple provider issue, I will discuss it with Richard tomorrow.
Ya, what I sent out early was broken.. I think I have it working now:
poky-contrib.git -- commit id: d971a73d970b8f0beeded599f95a6d8ce5c32a4c
This seems to correctly specify the PROVIDES, RPROVIDES and RPROVIDES_<PN> for the multilibs now.. I'm still not sure that this is right though, because it may change the PROVIDES/RPROVIDES for packages that were previously cached from non multilib builds.. but it's progress.
--Mark
Quoted 302 lines
Thanks,
DongxiaoQuoted 298 lines
--Mark
Quoted 39 lines · Dongxiao
Quoted 39 lines
Quoted 31 lines
Quoted 31 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Saturday, September 17, 2011 2:19 AM
To: Mark Hatle
Cc: Xu, Dongxiao; Richard Purdie; openembedded-core
Subject: Re: Multilib statusJust an FYI. I'm working through a bunch of issues. I found out that the RPM dependency resolution was completely broken, due to a small bug in the package_rpm.bbclass.. Packages were not being given the proper provide information, so RPM was attempting best match -- and failing as noted in the previous discussion..
Unfortunately this has opened up a small can of worms which I'm trying to deal with. The simplistic fix for the bug is:
meta/classes/package_rpm.bbclass +1
-1@@ -840,7 +840,7 @@ python do_package_rpm () { os.chmod(outdepends, 0755) # Poky / RPM Provides - outprovides = workdir + "/" + srcname + ".requires" + outprovides = workdir + "/" + srcname + ".provides" try: from __builtin__ import fileUnfortunately this has exposed a large set of problems that I didn't realize we had....
Quoted 6 lines
Quoted 3 lines
Will do a more formal pull request as soon as I get things working again.
--Mark
I just had a test after cherry-pick some of your changes in mhatle/rpm, here
are some problems I found and some investigations:
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
1.
do_rootfsfailed.
The error log reports unmet dependency of pkgconfig(libpng). This is due to the dangling link in libpng package. libpng.pc links to libpng12.pcwhich has been packaged into libpng12.
Ahh this is a bit different then the failures I've seen. We'll have to fix that
one.
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
2. There is a wrong commit I suppose it should be reverted. When you
debugging your code, please revert it.
Quoted 3 lines
I will discuss it with Richard tomorrow.
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mha
tl e/rpm&id=329d864f9bbf94ad3aae8df43d63fe10e4237e4fAhh, ya I just ran into that problem... I have a fix for that commit I just
finished.
Quoted 4 lines
Quoted 3 lines
(Do you have a newer version, if so I'll update to that and see if my change is still
needed.)Quoted 45 lines
No I haven't worked on a new version of that patch. Could you share yours?
Thanks,
DongxiaoQuoted 40 lines
Quoted 3 lines
3. After the above issue got fixed, rootfs succeed but we saw the final image is
still in a mess. We need some
x86_64rpm to be installed, however what we got is x86 rpm package. Then I tried another approach we ever talked about that, firstly install base image, then install the multilib packages. I added a parameter "--replacepkgs" to rpm command to avoid errors like "package xxx has already installed". With this approach, the final image could boot up with multilib library installed.Quoted 5 lines
Some of my testing code is located under
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/m
l-
testingI'll run through the testing code and see if I can figure out what is different.
--Mark
Quoted 21 lines
Thanks,
DongxiaoQuoted 17 lines · Mark Hatle
Quoted 15 lines · Dongxiao
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
-----Original Message-----
From: Mark Hatle [mailto:[email protected]]
Sent: Friday, September 16, 2011 10:51 PM
To: Richard Purdie
Cc: Xu, Dongxiao; openembedded-core
Subject: Re: Multilib statusQuoted 6 lines · Richard Purdie
Quoted 6 lines
Hi Mark/Dongxaio,
We really need to get the remainder of the multilib bugs
wrapped up. I think there is some confusion about the exact
approach to take to fix some of them so I'm hoping to try
and summarise the problems here so we can work out someresolutions.
Quoted 114 lines
Quoted 114 lines
Quoted 114 lines
Quoted 114 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Let me explain where I am quickly. I just spent two days working on reproducing the issue(s). So far I've not reproduced the direct failures but a series of others. I finally figured out part of the reason I wasn't seeing this. I had a typo in my
configuration:
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
DEFAULTTUNE-virtclass-mulitlib-lib32 = "x86"
This resulted in two sets of binaries normal and lib32 that were more or less identical in the RPM case. We -really- need a sanity check that stupid typos like that don't cause problems.
---
So now that I finally have a built with that done... see below.
Quoted 15 lines
Quoted 15 lines
Problem A
=========We can have multiple forms of "machine specific" packages
now, one for each multilib e.g.:task-core-x11-base-1.0-r34.qemux86_64.rpm ("normal")
task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib64")
task-core-x11-base-1.0-r34.qemux86_64.rpm ("lib32")(lets assume the first uses /lib/, the second /lib64/ and
the thrid /lib32/, an artificial example I realise)I know one proposal was to map:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpm to
task-core-x11-base-1.0-r34.lib32_qemux86.rpm but this isn't
correct since the library directories are different. In this
specific case it might not matter but in general it would.
What is also important is that the different versions imply
different dependencies. The lib64 bit version would pull in
and select lib64 bit libs. Its these dependencies which are
a key reasonthese are not "all" arch packages.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
The end result is therefore we likely want:
task-core-x11-base-1.0-r34.qemux86_64.rpm
task-core-x11-base-1.0-r34.lib64_qemux86_64.rpm
task-core-x11-base-1.0-r34.lib32_qemux86_64.rpmand I believe there are some patches Dongxiao has created
which dothis.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Yes, I'm currently testing his new MACHINE_virtclass-multilib-... patch. So far it seems to be working.. assuming this is the approach we go with, we'll want to add some type of sanity check so that it's not possible to collide between the different multilib configurations. (Alternatively we could, for each multilib,
specify a default machine virtclass in the format you list above.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
An alternative I was thinking of over night would be to avoid the RPM remapping on the "machine" packages.. but I'm not sure if that is really a good idea.
However, it would could simplify the configuration aspects.There are two implementations towards the above result:
1) automatically setting MLPREFIX beforeMACHINE_ARCH.
2) user manually setsMACHINE_virtclass-multilib-lib32="lib32-qemux86-64" in local.conf.
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Which one do you prefer?
Right now I'm thinking the best approach is:
*) Allow the user to set MACHINE_virtclass-multilib-...="...."
*) If the user has NOT set it, fall back and use the setting of lib..-machine as in 2
Quoted 16 lines
This way for people who have specific requirements for external compatibility or just desire more control they can do it. But for everyone else it will still work properly.
FYI, I'm currently working in the
rootfs_rpmstuff, the system is currently ignoring the alternative (multilib) machine packages. I'm hoping this will be fairly simple to resolve.Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Problem B
=========If we install task-core-x11-base-1.0-r34.qemux86_64.rpm
which depends on "connman", how does the system figure out
to associate this to mean we want the "x86_64" architecture
packagesinstalled?
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
As far as I can tell there are two proposals around:
1) Set the architecture in the package provides and depends
(a bit
ugly)Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
2) Configure libzypp to understand that qemux86_64 does
really map to
x86_64 architecture and imply x86_64 dependencies.Solving problem A above is the first step towards resolving
this either way but we don't seem to have a resolution on
this secondpart.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Agreed.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
For reference, we really do want these task packages to have
an associated architecture so the user can easily build up
blocks of the system using a given ABI.This is going to be somewhat of a problem I suspect, simply because that is not the way RPM is/was designed. We can adjust the rootfs install time, but this won't address field
upgrade/installs.
Quoted 41 lines
Quoted 41 lines
Quoted 41 lines
Quoted 41 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
RPM (and Red Hat Linux/Fedora systems) appear to be designed that any package that reasonably meets the run-time dependencies can be
used.
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
Quoted 7 lines
There is a concept of a "best" machine based on the resolver hierarchy, but ELF size may or may not be a factor in that decision.
Doing this is quite powerful, but it also has a conscious decision set behind it. If "bash" is required by a script, it really doesn't matter if it's ELF32,
ELF64 or something else, as long as something provides bash.If user sets MULTILIB_IMAGE_INSTALL="lib32-task-core-boot" with a
qemux86-64 image, it means that he wants to install all elements required by task-core-boot by lib32 version. If the dependency is selected *randomly*, users would not have multiple libraries in his system.
Quoted 7 lines
This is a special use case, yes one that I think we need to resolve, but it's not the typical case.
The typical case will be someone wants the 64-bit (or 32-bit) version of a select package for compatibility. And they only want the dependencies for that package to be loaded. Anything satisfying the
dependency will do.
Quoted 4 lines
My recommendation right now is, lets get that working ASAP. Once that does, refocus the efforts on getting the multilib "tasks" to do something
reasonable.
Quoted 10 lines
(i.e. select a group of packages)
If we try to solve both at once, I don't think we're going to come up with a reasonable solution at this time.
--Mark
Quoted 3 lines
Quoted 3 lines
Thanks,
DongxiaoQuoted 1 line
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
What I really need now is an idea of which patches you both
agree on that we need to merge (I think we have some for
problem A) and a resolution on problem B along with some
patches so we can close this set of issues out.If there are further issues can you reply to this email
either with the details or a pointer to the specific additionalproblems.
Quoted 17 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 15 lines
Quoted 15 lines
Quoted 14 lines
Quoted 14 lines
Now that I have my stupid typo out of the way, I expect to have further information in a few hours as to the regularly dependency resolution failure Dongxiao was reporting. (Library dependencies
-are- ELF specific, so those have to work properly!)--Mark
Quoted 5 lines
Quoted 5 lines
Cheers,
Richard