-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not enough room for program headers
error during do_strip()
phase of build
#1514
Comments
Hi there! If the default behavior of stripping ELF binaries isn't working for you, do adding a do_strip() {
return 0
} help you out? Not every Plan works with this default, but we hypothesize that the vast majority benefit from this (similar to most other Linux distribution packaging systems). |
Yes that does work :)
…Sent from my iPhone
On 27 Nov 2016, at 19:05, Fletcher Nichol ***@***.***> wrote:
Hi there!
If the default behavior of stripping ELF binaries isn't working for you, do adding a
do_strip() {
return 0
}
help you out? Not every Plan works with this default, but we hypothesize that the vast majority benefit from this (similar to most other Linux distribution packaging systems).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ran into this today. I didn't like the answer of not stripping your binaries. Pythoners like to include pre-built binaries inside their module. You have the option to ignore these pre-built things and always build from source.
ref: http://serverfault.com/questions/774546/linux-binary-strip-error-when-using-pip-install-not-enough-room-for-program-hea now i can use the default |
@eeyun, perhaps @bdangit's advice (I think I remember @georgemarshall saying the same thing) should be part of |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
The error in full looks like (as
pip install
finishes inside the build):I'm seeing this on macOS El Capitan when building a fairly complex Python app inside the Studio. While I can't share the source code, I can share edited
requirements.txt
andplan.sh
content:I have no custom HAB environment variables set.
The text was updated successfully, but these errors were encountered: