couchdb needs rebuilding

Bug #758895 reported by Chris Coulson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
couchdb (Ubuntu)
Fix Released
Medium
Chris Coulson
Natty
Fix Released
Medium
Chris Coulson
mozjs (Ubuntu)
Fix Released
Medium
Chris Coulson
Natty
Fix Released
Medium
Chris Coulson

Bug Description

I turned on --enable-threadsafe in libmozjs a few days ago, as this is the default config in firefox and xulrunner, and --disable-threadsafe is pretty much untested by anyone (I should have done this from the start really). couchdb has always been used with a threadsafe build of spidermonkey previously.

However, this changes a #define in js-config.h (JS_THREADSAFE) which is used by couchdb, slightly altering the compiler output. We should rebuild couchdb with the updated js-config.h header really, as I can't really guarantee its stability without doing that.

In addition to this, turning on --enable-threadsafe in spidermonkey has produced a broken js-config script, which couchdb uses to set the linker flags. In the future (ie, next cycle), I will drop js-config and make couchdb use the pkg-config file provided instead. However, for now, I should just fix js-config so that I can rebuild couchdb

affects: Ubuntu Natty → couchdb (Ubuntu Natty)
Changed in mozjs (Ubuntu Natty):
importance: Undecided → High
Changed in couchdb (Ubuntu Natty):
importance: Undecided → High
assignee: nobody → Chris Coulson (chrisccoulson)
Changed in mozjs (Ubuntu Natty):
assignee: nobody → Chris Coulson (chrisccoulson)
Changed in couchdb (Ubuntu Natty):
assignee: Chris Coulson (chrisccoulson) → nobody
status: New → Triaged
Changed in mozjs (Ubuntu Natty):
status: New → Triaged
Changed in couchdb (Ubuntu Natty):
assignee: nobody → Chris Coulson (chrisccoulson)
milestone: none → ubuntu-11.04
Changed in mozjs (Ubuntu Natty):
milestone: none → ubuntu-11.04
description: updated
Changed in couchdb (Ubuntu Natty):
importance: High → Medium
Changed in mozjs (Ubuntu Natty):
importance: High → Medium
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Ok, uploaded couchdb to rebuild it. Note, I just converted it to using pkg-config now and dropped js-config entirely from mozjs.

Changed in couchdb (Ubuntu Natty):
status: Triaged → Fix Committed
Changed in mozjs (Ubuntu Natty):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mozjs - 1.8.5-1.0.0-0ubuntu4

---------------
mozjs (1.8.5-1.0.0-0ubuntu4) natty; urgency=low

  * Drop the broken js-config script. Only couchdb was using it before,
    but it has been converted to use pkg-config instead now (fixes LP: #758895)
    - update debian/libmozjs185-dev.install
 -- Chris Coulson <email address hidden> Fri, 15 Apr 2011 13:29:42 +0100

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package couchdb - 1.0.1-0ubuntu15

---------------
couchdb (1.0.1-0ubuntu15) natty; urgency=low

  * Rebuild against latest libmozjs, since we turned on --enable-threadsafe
  * Also switch to using pkg-config rather than using the js-config script
    shipped by libmozjs. The latter is totally broken since turning on
    --enable-ctypes
    - update debian/patches/moz0002-libmozjs.patch
    - update debian/patches/moz0003-spidermonkey1.8.5_autotools.patch
    - Fixes (LP: #758895)
 -- Chris Coulson <email address hidden> Fri, 15 Apr 2011 13:21:56 +0100

Changed in couchdb (Ubuntu Natty):
status: Fix Committed → Fix Released
Changed in mozjs (Ubuntu Natty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.