Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1057030 - broken pkgconfig file
Summary: broken pkgconfig file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: oyranos
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christopher Meng
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1066424 (view as bug list)
Depends On:
Blocks: 992894 1037014
TreeView+ depends on / blocked
 
Reported: 2014-01-23 11:10 UTC by Michael Schwendt
Modified: 2014-03-08 06:11 UTC (History)
4 users (show)

Fixed In Version: oyranos-0.9.5-0.1.20140123git.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-19 17:15:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
oyranos-workaround-for-broken-configs.patch (1.43 KB, patch)
2014-02-18 18:17 UTC, Jaromír Cápík
no flags Details | Diff

Description Michael Schwendt 2014-01-23 11:10:43 UTC
Description of problem:
libtool: link: require no space between `-L' and `-loyranos'

$ pkg-config --libs oyranos
-L -loyranos -loyranos_config -loyranos_modules -loyranos_object -loyranos_core -lelektra 


Version-Release number of selected component (if applicable):
oyranos-devel-0.9.5-0.0.20140123git

Comment 1 Michael Schwendt 2014-02-18 12:08:32 UTC
*** Bug 1066424 has been marked as a duplicate of this bug. ***

Comment 2 Jaromír Cápík 2014-02-18 18:17:47 UTC
Created attachment 864673 [details]
oyranos-workaround-for-broken-configs.patch

Hello Christopher.

Unless you plan a better fix asap, I would apply the attached workaround on Thursday (if you have no objections). The cinepaint upstream lost interest in Fedora as the package was in a terrible condition and I really need to resurrect the project and therefore can't wait till the broken dependencies are fixed so that they're usable again.

Hope you understand that.

Thanks,
Jaromir.

Comment 3 Christopher Meng 2014-02-19 07:10:54 UTC
(In reply to Jaromír Cápík from comment #2)
> Created attachment 864673 [details]
> oyranos-workaround-for-broken-configs.patch
> 
> Hello Christopher.
> 
> Unless you plan a better fix asap, I would apply the attached workaround on
> Thursday (if you have no objections). The cinepaint upstream lost interest
> in Fedora as the package was in a terrible condition and I really need to
> resurrect the project and therefore can't wait till the broken dependencies
> are fixed so that they're usable again.
> 
> Hope you understand that.
> 
> Thanks,
> Jaromir.

I just leave the hospital and now feel better than days ago.

Because I can only use computer from tomorrow, I hope you can finish this today. 

Thanks. 

PS oyranos will release new version soon(final testing now and found bugs), I've already sent this bug to the upstream since Michael's report, therefore maybe it's better to fix later. Anyway, just go ahead.

Comment 4 Jaromír Cápík 2014-02-19 17:15:35 UTC
Ok. I just pushed the change and rebuilt the package.
Closing.

Thanks and take care.
Jaromir.

Comment 5 Kai-Uwe Behrmann 2014-02-19 19:49:41 UTC
Can you please point me to your build log, as I can not see where in the process the -L without path comes in. Thanks in advance from upstream.

Comment 6 Michael Schwendt 2014-02-19 20:13:12 UTC
You can find everything about that build (including the used source tarball) at this link:

  http://koji.fedoraproject.org/koji/buildinfo?buildID=493231

$ grep ^Libs oyranos.pc
Libs: -L${libdir} -loyranos -loyranos_config -loyranos_modules -loyranos_object -loyranos_core -L -lelektra

Where it's coming from I haven't examined.

Comment 7 Michael Schwendt 2014-02-19 20:15:58 UTC
$ grep ELEKTRA_LIBS * -R
oyranos/extras/oyranos.pc.in:Libs: -L${libdir} -l@PACKAGE_NAME@ -l@PACKAGE_NAME@_config -l@PACKAGE_NAME@_modules -l@PACKAGE_NAME@_object -l@PACKAGE_NAME@_core @ELEKTRA_LIBS@
oyranos/extras/oyranos-config.in:yajl="@ELEKTRA_LIBS@"
oyranos/CMakeLists.txt:  SET( ELEKTRA_LIBS "-L${ELEKTRA_LIBRARY_DIRS} -l${ELEKTRA_LIBRARIES}" )

Comment 8 Jaromír Cápík 2014-02-20 11:27:16 UTC
Hello Kai-Uwe.

The FindElektra.cmake module returns empty ELEKTRA_LIBRARY_DIRS and consequently the ELEKTRA_LIBS is empty as well. The question is whether this issue comes from the elektra package or not.

Regards,
Jaromir.

Comment 9 Michael Schwendt 2014-02-20 11:41:46 UTC
The elektra-devel package includes its own and longer FindElektra.cmake module, which does not use an ELEKTRA_LIBRARY_DIRS variable.

Comment 10 Kai-Uwe Behrmann 2014-02-20 21:58:51 UTC
(In reply to Michael Schwendt from comment #7)
> $ grep ELEKTRA_LIBS * -R

Thanks for the info. A bug fix is in git upstream. Hope it works for you.

Comment 11 Kai-Uwe Behrmann 2014-03-07 17:08:27 UTC
oyranos-0.9.5 is released with the bug fix from git.

Here is the announcement:
http://sourceforge.net/p/oyranos/mailman/message/32073072/

Comment 12 Christopher Meng 2014-03-08 06:11:26 UTC
(In reply to Kai-Uwe Behrmann from comment #11)
> oyranos-0.9.5 is released with the bug fix from git.
> 
> Here is the announcement:
> http://sourceforge.net/p/oyranos/mailman/message/32073072/

Thanks, I will update the package soon. Recently I'm very busy with other things.


Note You need to log in before you can comment on or make changes to this bug.