Bug 709251 - couchjs should use pkg-config
Summary: couchjs should use pkg-config
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: couchdb
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-31 07:42 UTC by Martin Stransky
Modified: 2016-06-03 11:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 705816
Environment:
Last Closed: 2016-06-03 11:55:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Stransky 2011-05-31 07:42:43 UTC
couchdb does not use pkg-config to get js build flags. It causes that the js lib is built with JS_THREADSAFE but couchdb is missing this flag. see:

$ pkg-config --cflags libjs
-DXP_UNIX=1 -DJS_THREADSAFE=1 -I/usr/include/nspr4  

It may cause crashes in js garbage collector.

Comment 1 Fedora End Of Life 2013-04-03 19:30:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Peter Lemenkov 2016-06-03 11:55:10 UTC
Actually couchjs is built against mozjs185 and it does uses pkg-config.

Btw I'm surprised to see two different *.pc files in js-devel-1.8.5 package. I've no idea which one is better than other.

Anyway, CouchDB does uses pkg-config as per version 1.6.1 so I believe it's safe to close this ticket.


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