On 23 June 2016 at 12:15, Daniel Knezevic wrote:
| Package: quantlib-swig
| Version: 1.8-1
| Severity: important
| Tags: sid + patch
| Justification: FTBFS
| User: [email protected]
| Usertags: mips-patch
| 
| Hello,
| Package quantlib-swig FTBFS on mips and mipsel with following error:
| virtual memory exhausted: Cannot allocate memory
| error: command 'g++' failed with exit status 1

Yup. And I had strictly no idea what to do about it :-/

| 
| build logs:
| 
https://buildd.debian.org/status/fetch.php?pkg=quantlib-swig&arch=mips&ver=1.8-1&stamp=1464237100
| 
https://buildd.debian.org/status/fetch.php?pkg=quantlib-swig&arch=mipsel&ver=1.8-1&stamp=1464237390
| 
| I tried to reduce ggc-min-expand to 20, and with this change package compiles 
for me.

Never heard of that option -- nice. It reduces internal memory footprint?
 
| With attached patch I was able to build quantlib-swig successfully for both 
mips and mipsel.

Will apply ASAP!

Thanks, Dirk
 
| Regards,
| Daniel
| 
| x[DELETED ATTACHMENT quantlib-swig-mips-rules.patch, text/x-patch]

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | [email protected]

Reply via email to