~alpine/aports

[alpine-aports] MongoDB package

Filipp Andronov <filipp.andronov@gmail.com>
Details
Message ID
<CACm89GEMA3b-PF8fB2GE6=LBd0a7xs0hfp9RgOYpMVj14GbjrA@mail.gmail.com>
Sender timestamp
1431787384
DKIM signature
missing
Download raw message
Hello,

Here is mongodb 3.0.2 package with dependencies:

Status: builds fine
Testing: I've only done smoke tests - install package into a fresh Alpine
docker container, run mongodb and made a few queries.

Things to be complete:
1. Build is only for x86_64, because I have to made a few hacks in code.
Most critical one is __ELF_NATIVE_CLASS
2. No tc-malloc. It doesnt build, so system allocator instead. Im working
on gpreftools package...
3. No heap usage statistics: always returns 0. It is broken in mongodb for
64bit architecture and also musl mallocinfo is not compatible with glibc.
So I just comment out heap reporting code, see comments in APKBUILD
4. Use more system libs, yaml & boost are from the top of my mind. Boost
make compilation fails, but should be easy to fix
5. Enable mongodb tests during build. Im just not sure how that should be
done in Alpine, i.e _where_ in build lifecycle tests should run

Please let me know if packages need to be improved. That is my first alpine
package, so I might break some dev guidelines.

-- 
Thanks and regards,
Philip Andronov
------------------------------------------
SaaS development team leader,
atlassian.com

Mobile: +84 (169) 6310357
Skype: filipp.andronov
Linkedin: http://ru.linkedin.com/pub/philip-andronov/32/369/63a
Reply to thread Export thread (mbox)