[asterisk-bugs] [JIRA] (ASTERISK-24048) [patch] contrib/scripts/install_prereq selects 32-bit packages on 64-bit hosts

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Jan 19 20:36:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224569#comment-224569 ] 

Matt Jordan commented on ASTERISK-24048:
----------------------------------------

[~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!

> [patch] contrib/scripts/install_prereq selects 32-bit packages on 64-bit hosts
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24048
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24048
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Contrib/General
>    Affects Versions: 11.11.0, 12.4.0
>            Reporter: Ben Klang
>            Severity: Trivial
>         Attachments: install_prereq_64-bit_compat.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list