After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 674105 - cally.pc is buggy
cally.pc is buggy
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: cally
1.10.x
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-04-14 14:23 UTC by Tamás Németh
Modified: 2012-04-16 20:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
clutter's config.log (50.04 KB, text/x-log)
2012-04-15 11:47 UTC, Tamás Németh
  Details
cally: Fix the pkg-config file (1.14 KB, patch)
2012-04-15 12:05 UTC, Emmanuele Bassi (:ebassi)
reviewed Details | Review

Description Tamás Németh 2012-04-14 14:23:22 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!
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2012-04-14 21:25:01 UTC
(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.
Comment 2 Tamás Németh 2012-04-15 11:47:35 UTC
Created attachment 212081 [details]
clutter's config.log
Comment 3 Tamás Németh 2012-04-15 11:48:14 UTC
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!
Comment 4 Emmanuele Bassi (:ebassi) 2012-04-15 12:05:21 UTC
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
Comment 5 Alejandro Piñeiro Iglesias (IRC: infapi00) 2012-04-16 11:08:54 UTC
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
Comment 6 Emmanuele Bassi (:ebassi) 2012-04-16 20:55:13 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.