need help building libffi 3.3

Hi,

I need to build libffi 3.3 as dependency of another project. I created a package (you can see it here: https://build.opensuse.org/package/show/home:estebanlm/libffi) and everything seems to work fine, the first time.

But then, some repositories stop work, with a message “Unresolvable: nothing provides libffi.so.6()(64bit) needed by glib2, nothing provides libffi.so.6()(64bit) needed by guile22”.

Now, in my build I do install the libraries under %{_libdir}, but I do not override libffi.so (to not mess with other installed packages).

Moreover, this weird status gets "transmitted"to other packages I have created (see https://build.opensuse.org/package/show/home:estebanlm/libgit2, as an example).

Until now, the only “solution” I found is to remove the package and start over, but this does not solves the problem because even if then the build of libffi succeeds, subsequent builds on same repository don’t.

So… my question would be: how can I avoid my libffi build to break everything?

Thanks in advance,
Esteban

Not “some” - Fedora stop work.

with a message “Unresolvable: nothing provides libffi.so.6()(64bit) needed by glib2, nothing provides libffi.so.6()(64bit) needed by guile22”.

Well, apparently you give your package the same name as Fedora package, but your package builds library with different major number. That is wrong, if major number changes library package name must change as well.