{"action":"closed","issue":{"url":"https://api.github.com/repos/dahlia/libsass-python/issues/75","repository_url":"https://api.github.com/repos/dahlia/libsass-python","labels_url":"https://api.github.com/repos/dahlia/libsass-python/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/dahlia/libsass-python/issues/75/comments","events_url":"https://api.github.com/repos/dahlia/libsass-python/issues/75/events","html_url":"https://github.com/dahlia/libsass-python/issues/75","id":85934128,"number":75,"title":"High memory usage during compilation","user":{"login":"nicktimko","id":5297556,"avatar_url":"https://avatars.githubusercontent.com/u/5297556?v=3","gravatar_id":"","url":"https://api.github.com/users/nicktimko","html_url":"https://github.com/nicktimko","followers_url":"https://api.github.com/users/nicktimko/followers","following_url":"https://api.github.com/users/nicktimko/following{/other_user}","gists_url":"https://api.github.com/users/nicktimko/gists{/gist_id}","starred_url":"https://api.github.com/users/nicktimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicktimko/subscriptions","organizations_url":"https://api.github.com/users/nicktimko/orgs","repos_url":"https://api.github.com/users/nicktimko/repos","events_url":"https://api.github.com/users/nicktimko/events{/privacy}","received_events_url":"https://api.github.com/users/nicktimko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-07T20:03:19Z","updated_at":"2016-05-29T14:51:48Z","closed_at":"2016-05-29T14:51:48Z","body":"I've been having some trouble (pip) installing libsass in a container, seemingly because the compiler runs out of memory (my Docker host VM has about 300 MB free) and gets killed.\r\n\r\n```\r\n$ docker run -i -t python:3.4 pip install libsass\r\nCollecting libsass\r\n  Downloading libsass-0.8.2.tar.gz (229kB)\r\n    100% |████████████████████████████████| 229kB 2.0MB/s\r\n...\r\n    gcc -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./libsass -I/usr/local/include/python3.4m -c libsass/extend.cpp -o build/temp.linux-x86_64-3.4/libsass/extend.o -c -O3 -fPIC -std=c++0x -Wall -Wno-parentheses\r\n    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\n    gcc: internal compiler error: Killed (program cc1plus)\r\n    Please submit a full bug report,\r\n    with preprocessed source if appropriate.\r\n    See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.\r\n    error: command 'gcc' failed with exit status 4\r\n\r\n    ----------------------------------------\r\nCommand \"/usr/local/bin/python3.4 -c \"import setuptools, tokenize;__file__='/tmp/pip-build-4ymrmerb/libsass/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record\r\n/tmp/pip-bdkglgjs-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-build-4ymrmerb/libsass\r\n```\r\n\r\nBy way of comparison (not sure if it's a valid comparison or not), Numpy compiles just fine, using less than half the memory when trying to compile libsass. Can any compilation arguments be added to allow building on more meager VMs?"}}
{"actor":{"display_login":"asottile"}}