| Summary: | ASTERISK-24048: [patch] contrib/scripts/install_prereq selects 32-bit packages on 64-bit hosts | ||
| Reporter: | Ben Klang (bklang) | Labels: | |
| Date Opened: | 2014-07-16 10:00:35 | Date Closed: | 2015-01-19 20:41:05.000-0600 |
| Priority: | Trivial | Regression? | No |
| Status: | Closed/Complete | Components: | Contrib/General |
| Versions: | 11.11.0 12.4.0 | Frequency of Occurrence | |
| Related Issues: | |||
| Environment: | Attachments: | ( 0) install_prereq_64-bit_compat.patch | |
| Description: | The tool to install prerequisite packages before building Asterisk uses a search command on Debian that results in selecting both 64-bit and 32-bit packages. Besides the waste of disk space, I actually had this cause aptitude use 100% of memory on a VM with 1GB of RAM as it tried to work out all of the 32-bit package dependencies.
The attached patch includes a trivial fix to exclude 32-bit packages on 64-bit hosts. It has been successfully tested on both 64-bit and 32-bit Ubuntu. | ||
| Comments: | By: Ben Klang (bklang) 2014-07-16 10:02:09.401-0500 I meant to also mention: Tested against Asterisk 11 and Trunk from SVN. By: Rusty Newton (rnewton) 2014-07-19 12:01:22.629-0500 Thanks Ben! By: Matt Jordan (mjordan) 2015-01-19 20:35:46.597-0600 [~bklang]: Sorry I haven't had a chance to look at this. I confirmed that this works (and fixes the glitch) on my 64-bit Linux Mint distro as well. Thanks for the contribution! | ||