Bug 709251

Summary: couchjs should use pkg-config
Product: [Fedora] Fedora Reporter: Martin Stransky <stransky>
Component: couchdbAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: lemenkov, pahan, stransky, thomas
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 705816 Environment:
Last Closed: 2016-06-03 11:55:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.