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 1340656 - pkgconfig and cmake config provide incorrect flags
Summary: pkgconfig and cmake config provide incorrect flags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: assimp
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: openrave
TreeView+ depends on / blocked
 
Reported: 2016-05-29 18:32 UTC by Till Hofmann
Modified: 2016-07-12 15:06 UTC (History)
2 users (show)

Fixed In Version: assimp-3.2.0-3.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-12 15:06:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
failed build of openrave due to a wrong link flag (deleted)
2016-05-29 18:32 UTC, Till Hofmann
no flags Details

Description Till Hofmann 2016-05-29 18:32:51 UTC
Created attachment 1162627 [details]
failed build of openrave due to a wrong link flag

Description of problem:
These are two separate but related problems:
1. The pkgconfig file assimp.pc contains /usr/usr/ as prefix for libdir and includedir.
2. The cmake config provides the flag '-lassimpd' instead of '-lassimp', which makes it impossible to link against assimp (there is no libassimpd.so).

Version-Release number of selected component (if applicable):
3.2.0-1

How reproducible:
always

Steps to Reproduce:
pkgconfig: run `pkg-config --libs assimp`
cmake: link against assimp in a cmake project

Actual results:
$ pkg-config --libs assimp
-L/usr//usr/lib64 -lassimp

Linking against libassimp fails with
/usr/bin/ld: cannot find -lassimpd

See attachment for an example.

Expected results:

pkgconfig should return -L/usr/lib64
Linking against assimp should work in a cmake project.

Additional info:
Rawhide is affected, too.

Comment 1 Rich Mattes 2016-06-02 12:02:15 UTC
Sorry about that, I'll try to fix this in the next couple days.

Comment 2 Fedora Update System 2016-06-07 02:36:59 UTC
assimp-3.2.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d0febaacf2

Comment 3 Fedora Update System 2016-06-07 18:54:05 UTC
assimp-3.2.0-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d0febaacf2

Comment 4 Fedora Update System 2016-07-01 18:44:30 UTC
assimp-3.2.0-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ca92b91dd5

Comment 5 Fedora Update System 2016-07-02 20:28:53 UTC
assimp-3.2.0-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ca92b91dd5

Comment 6 Fedora Update System 2016-07-12 15:06:24 UTC
assimp-3.2.0-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


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