Summary: | www-client/seamonkey-2.49.x will not build if PORTAGE_TMPDIR has even moderately long path | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | segmentation fault <segmentation-fault> |
Component: | Current packages | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gentoo-bugs, mozilla |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
segmentation fault
2019-01-30 02:54:42 UTC
There is a 4th workaround, which may be interesting for Gentoo developers to include in some eclass: Workaround 4 ============ Write a wrapper script, wrapper.sh: #!/bin/bash script="$1" shebang=$(head -1 "$script") interp=( ${shebang#\#!} ) # use an array in case a argument is there too # now run it exec "${interp[@]}" "$script" and run any bash script script.sh inside PORTAGE_TMPDIR as wrapper.sh script.sh Found at: https://stackoverflow.com/questions/10813538/shebang-line-limit-in-bash-and-linux-kernel No kernel recompilations, warnings or aborts necessary with this - even better! Reassigning this to portage-dev, because I think this doesn't belongs to Seamonkey specifically. @portage-dev, not sure if you can even handle this, because it's that Linux sets arbitrary values, which seems to cause this problem to surface. |