Merge lp:~clint-fewbar/ubuntu/maverick/mongodb/add-xulrunner-wrapper into lp:ubuntu/maverick/mongodb
| Status: | Merged |
|---|---|
| Approved by: | Micah Gersten on 2010-10-05 |
| Approved revision: | 14 |
| Merged at revision: | 9 |
| Proposed branch: | lp:~clint-fewbar/ubuntu/maverick/mongodb/add-xulrunner-wrapper |
| Merge into: | lp:ubuntu/maverick/mongodb |
| Diff against target: |
244 lines (+92/-34) 11 files modified
SConstruct (+2/-2) buildscripts/hacks_ubuntu.py (+4/-1) debian/changelog (+16/-0) debian/control (+2/-1) debian/copyright (+21/-0) debian/mongodb-clients.install (+8/-8) debian/mongodb-clients.lintian (+0/-9) debian/mongodb-server.install (+2/-3) debian/mongodb-server.lintian (+0/-4) debian/rules (+5/-6) debian/xulwrapper (+32/-0) |
| To merge this branch: | bzr merge lp:~clint-fewbar/ubuntu/maverick/mongodb/add-xulrunner-wrapper |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Micah Gersten | 2010-08-12 | Needs Fixing on 2010-09-21 | |
| Ubuntu branches | 2010-08-12 | Pending | |
|
Review via email:
|
|||
Description of the Change
Adds xulrunner wrapper and ensures dependencies are right for mongodb-clients.
| Clint Byrum (clint-fewbar) wrote : | # |
| Micah Gersten (micahg) wrote : | # |
I'll look at this over the weekend.
| Chris Coulson (chrisccoulson) wrote : | # |
Are the lintian overrides really necessary? (ie, are the binaries really specifying a rpath to /usr/lib64/
| Micah Gersten (micahg) wrote : | # |
Yeah, that's a problem too, but the bigger issue is the scons check
locally when building fails when it can't find a top level mozjs lib but
seems to work for Clint.
On 08/17/2010 03:35 PM, Chris Coulson wrote:
> Are the lintian overrides really necessary? (ie, are the binaries really specifying a rpath to /usr/lib64/
| Clint Byrum (clint-fewbar) wrote : | # |
The reason for this is sort of covered in
https:/
Basically, xulrunner's upstream does not guarantee ABI compatibility, so we're writing wrappers to find the new versions. I do find this a little counter-productive, as it will still break when ABI compatibility breaks with a wrapper in the same way it would break if we put it in /usr/lib and didn't bump soname.
I guess nobody is willing to fork xulrunner and produce stable releases though, so until that happens, we're stuck with wrappers and lintian overrides.
| Micah Gersten (micahg) wrote : | # |
That wasn't the question, the previous merge included some lintian
overrides which should've been dropped since we don't have those paths.
On 08/17/2010 03:45 PM, Clint Byrum wrote:
> The reason for this is sort of covered in
>
> https:/
>
> Basically, xulrunner's upstream does not guarantee ABI compatibility, so we're writing wrappers to find the new versions. I do find this a little counter-productive, as it will still break when ABI compatibility breaks with a wrapper in the same way it would break if we put it in /usr/lib and didn't bump soname.
>
> I guess nobody is willing to fork xulrunner and produce stable releases though, so until that happens, we're stuck with wrappers and lintian overrides.
| Chris Coulson (chrisccoulson) wrote : | # |
I just tried building this, and the binaries are specifying a rpath to the correct location (so, it actually throws out a whole bunch of lintian errors, as the overrides are out-of-date).
I think the build system should be fixed to remove these rpath's, as they don't make sense when the directory changes so frequently and you are using LD_LIBRARY_PATH anyway
- 10. By Clint Byrum on 2010-09-09
-
patched SConstruct + buildscripts/
hacks_ubuntu. py: removing rpath
because wrapper is used
| Clint Byrum (clint-fewbar) wrote : | # |
I have removed the usage of rpath from the package entirely, and patched the hacks_ubuntu.py file to set LD_LIBRARY_PATH, allowing the tests and tools to run without incident.
- 11. By Clint Byrum on 2010-09-09
-
Removing debian/
mongodb- server. lintian -- rpath is no longer used
| Clint Byrum (clint-fewbar) wrote : | # |
Ugh and now I just realized the out-of-debian-dir changes came through rather than the patch that I created...
Of course, if you branch this and run
bzr-buildpackage -S
It does generate the patch properly...
Merge reviewers, please advise, would you rather a new merge proposal with the patch be submitted, or handle such a transformation yourselves on upload?
| Micah Gersten (micahg) wrote : | # |
In the middle of a test build, but debian/
| Micah Gersten (micahg) wrote : | # |
Build failure:
install -m 644 /tmp/buildd/
install: cannot stat `/tmp/buildd/
make: *** [install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
- 12. By Clint Byrum on 2010-09-22
-
Removing debian/
mongodb- clients. lintian -- rpath is no longer used - 13. By Clint Byrum on 2010-09-22
-
removing lintian overrides from .install files
| Clint Byrum (clint-fewbar) wrote : | # |
Hi Micah, I removed mongodb-
I had this build failure in pbuilder:
...
g++ -o tools/export.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
g++ -o mongoexport -fPIC -pthread -rdynamic stdafx.o buildinfo.o db/common.o db/jsobj.o db/json.o db/lasterror.o db/nonce.o db/queryutil.o shell/mongo.o util/background.o util/mmap.o util/sock.o util/util.o util/message.o util/assert_util.o util/httpclient.o util/md5main.o util/base64.o util/debug_util.o util/thread_pool.o util/md5.o client/connpool.o client/dbclient.o client/model.o client/parallel.o client/
collect2: ld returned 1 exit status
scons: *** [mongoexport] Error 1
scons: building terminated because of errors.
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I've uploaded it to a PPA to see if maybe there was just something wrong with my builder setup..
https:/
- 14. By Clint Byrum on 2010-09-29
-
more robust way to add items to LD_LIBRARY_PATH per micahg and kees
| Clint Byrum (clint-fewbar) wrote : | # |
After discussing this with micahg, I just pushed a new version up that uses a more robust method to add to LD_LIBRARY_PATH.
| Micah Gersten (micahg) wrote : | # |
This looks, good I just need to check one thing with the security team before I upload. It now builds and will make a source build w/out issue. Thanks for all the hard work!


FYI, this successfully built in a PPA:
https:/ /launchpad. net/~clint- fewbar/ +archive/ fixes/+ build/1917295