[asterisk-bugs] [JIRA] (ASTERISK-26872) Bundled pjproject fails to build when tarball downloaded with curl due to md5 verification failure in Docker containers (or when there is no terminal)

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Aug 2 10:09:26 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-26872:
-------------------------------------

    Target Release Version/s: 15.0.0

> Bundled pjproject fails to build when tarball downloaded with curl due to md5 verification failure in Docker containers (or when there is no terminal)
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26872
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26872
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem, Third-Party/pjproject
>    Affects Versions: 13.14.0, 14.4.0
>            Reporter: Matt Jordan
>            Assignee: Matt Jordan
>      Target Release: 13.15.0, 14.4.0, 15.0.0
>
>
> Upon updated to 14.3.0, Docker could no longer build Asterisk with bundled pjproject due to a md5 verification failure with the download. Upon debugging, the size of the pjproject tarball *was* larger than what was expected, which accounted for the md5 failure.
> In previous versions, the Makefile would toss out garbage that had been appended to the tarball:
> {noformat}
> [pjproject]  Downloading http://www.pjsip.org/release/2.5.5/pjproject-2.5.5.tar.bz2 to /tmp/pjproject-2.5.5.tar.bz2
> ######################################################################## 100.0%
> [pjproject]  Unpacking /tmp/pjproject-2.5.5.tar.bz2
> bzip2: (stdin): trailing garbage after EOF ignored
> {noformat}
> This garbage was being appended due to the progress bar being used with curl:
> {noformat}
> DOWNLOAD_TO_STDOUT="${CURL} -L --progress-bar"
> {noformat}
> Removing the progress bar and setting curl to use silent mode ({{-s}}) resolves the issue.



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



More information about the asterisk-bugs mailing list