GNOME Bugzilla – Bug 674105
cally.pc is buggy
Last modified: 2012-04-16 20:55:13 UTC
Hi, I tried to build clutter-1.10.0, but I got this error: Error: libclutter-deprecated-1.0.so or libclutter-deprecated-1.0.a is required by ./usr/lib/pkgconfig/cally-1.0.pc but not found Yes, it's true, there is no libclutter-deprecated-1.0.so file. I think this line is buggy in file cally.pc.in: Libs: -L${libdir} -lclutter-${soname_infix}-${apiversion} Please, make a correction! Thank you!
(In reply to comment #0) > I tried to build clutter-1.10.0, but I got this error: > > Error: libclutter-deprecated-1.0.so or libclutter-deprecated-1.0.a is required > by ./usr/lib/pkgconfig/cally-1.0.pc but not found I was not able to reproduce this error. I tried using the git branch clutter-1.10 and the clutter-1.10 release that you can download here: http://ftp.gnome.org/pub/GNOME/sources/clutter/1.10/ I tried it with just a basic autogen.sh/configure call and also using --disable-deprecated. > Yes, it's true, there is no libclutter-deprecated-1.0.so file. > > I think this line is buggy in file cally.pc.in: > Libs: -L${libdir} -lclutter-${soname_infix}-${apiversion} Why do you think that? > Please, make a correction! Please try to reproduce this bug again starting from a clean environment (git clean -fdx if you are using git for example). If you get this error again, please, give additional information/steps in order to reproduce this bug.
Created attachment 212081 [details] clutter's config.log
Hi, I didn't use --disable-deprecated option. Now, I've tried this option, but it didn't help. Let's see step by step: Step 1 Download the released clutter-1.10.0.tar.xz and untar it. Step 2 Run the configure, and make. No need make install. Step 3 Look what files are generated. And look that too, what is the line Libs in cally-1.0.pc. For me this is: Libs: -L${libdir} -lclutter-${soname_infix}-${apiversion} where the value of the ${soname_infix} variable is "deprecated". According to this pkgconfig file cally needs libclutter-deprecated-1.0.so. Just search this file, but it is not generated after make. I think you haven't got one with this name. Instead of we have libclutter-1.0.so. No "deprecated" text in name. I don't know what information you need but I attached the config.log. This contains a CLUTTER_SONAME_INFIX variable, please look at that. There is my problem because its value is "deprecated". My solution was that I removed the variable ${soname_infix} form Libs and works fine. :) Thank you!
Created attachment 212082 [details] [review] cally: Fix the pkg-config file Drop a bunch of variables that are not meant to be used by Cally; also, drop the wrong library name from the Libs key: Clutter has a single shared library, now. https://bugzilla.gnome.org/show_bug.cgi?id=674105
Review of attachment 212082 [details] [review]: Seems ok, I have tested it and orca/gnome-shell keeps working. Anyway probably that would be also true if we just remove cally.pc.in, something that I really think that will happen eventually. Thanks for the patch
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.