-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update OBS package #145
Comments
Hi Danny, I managed to build the plugin on CentOS 7 by:
|
Hi @giacomd, I have managed to update the package for openSUSE and SLES12-SP3/4 and SLES15. I also build all dependencies for CentOS, but the build currently fails with an error during "make install": I have to check what's wrong, seems to be an issue with substitution of (installation) paths. |
For some reason make install tries to install libdict_rados_plugin.la to /usr/lib64/dovecot instead of /home/abuild/rpmbuild/BUILDROOT/dovecot-ceph-plugin-0.0.8-3.1.x86_64/usr/lib64/dovecot as it would be required in the build system. |
This is because in the
After that I get a problem with the location of librmb, I'm checking. |
I already did some changes to the spec file to fix it (https://build.opensuse.org/package/view_file/home:dalgaaf:dovecot-ceph-plugin/dovecot-ceph-plugin_CentOS/dovecot-ceph-plugin.spec?expand=1), but no luck with the librmb issue. Didn't manage to work on it today. |
OK I managed to build on a CentOS 7.5 by adapting your spec file: The packages install correctly. |
Thanks, it seems one of the problems is that it does not create the _libdir correctly in the build env. Why this works on SUSE I don't know. The usage of %makeinstall is also problematic, it does only expand correctly on SUSE products. |
Since nobody else mentioned it, there's also an official dovecot 2.3.x repository for CentOS, among other distros: |
Indeed good point. I was assuming we should stay with 2.2.x and using IUS. |
TODO:
The text was updated successfully, but these errors were encountered: