-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Squeeze backport [was: Could not build packages] #3
Comments
The source package is targetted at wheezy. It will not work on squeeze, to use it there a backport of it would need to be created. The reason for that is the introduction of multiarch support in wheezy. This changes the paths that libraries are installed to, and these changed paths are the reason for the errors you're seeing. |
Essentially the modifications that would be required is to strip out (undo) the multiarch changes and add a new changelog entry documenting reverting the multiarch changes with ~bpo60+1 added to the version number it is based on. That version would make it 'older' than the wheezy version, so wouldn't break the squeeze->wheezy upgrade path. See http://wiki.debian.org/Multiarch/Implementation for more information. |
Ok, thanks a lot. I'll take a look =) |
I have created a squeeze-backport branch on GitHub, please see whether this version builds ok on squeeze. Please note some packages were removed in wheezy to avoid conflicts with mysql-5.5 (eg libmysqlclient18). You may find that this causes problems if trying to use the packages on squeeze - I have not had a change to test the bpo60 version. |
The problem persists. I think it is due to removing libmysqlclient as you mentioned above
I suppose there should be -Xusr/lib/libmysqlclient option in dh_install command in override_dh_install target |
Omitting them wouldn't be enough since they're used by some of the binaries. New packages would need to be added. That's not something that's trivial though as you need to be careful not to break the upgrade path to wheezy. The move to targetting wheezy was partly because it massively simplies these issues as the mysql-5.5 there has libmysqlclient18 which is ABI compatible with the library in mysql cluster 7.2, so it can just depend on the package from mysql-5.5. |
I've made some updates to the squeeze backport, can you see whether this is more successful? Please note that to build the packages will require debhelper 9. On squeeze that means you'll need to install it from squeeze-backports, see http://backports-master.debian.org/Instructions/ |
Unfortunately, it still fails
|
This seems strange. I've just checked on a clean squeeze installation and that library does build with the correct symbols. Are you sure you're using the latest revision of the squeeze-backport branch? Do a fresh git clone if in doubt. If the problem still persists I'd be curious to see the output of: What build options, if any, were you using? |
I'm doing it like this
Now it gives me
And if I run build the second time it gives
and objdump -T $(TMP)/usr/lib/libmysqlclient.so.18.0.0 gives this |
When trying to build mysql-cluster on debian squeeze I'm getting this (some months ago I was able to build it on debian squeeze)
Sorry for russian, I have russian locale - I suppose it is clear that it returns an error.
Please ask, if I can help you in any way.
Thanks!
The text was updated successfully, but these errors were encountered: