ports/152789: freeswitch build fails to unpack mod_cult w/wget

Marcin Cieslak saper at saper.info
Thu Dec 2 19:30:17 UTC 2010


>Number:         152789
>Category:       ports
>Synopsis:       freeswitch build fails to unpack mod_cult w/wget
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 02 19:30:15 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Cieslak
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: 

8.2-PRERELEASE amd64 running  GENERIC
>Description:

When using wget, getlib.sh fails to unpack
downloaded mod_cult source.

>How-To-Repeat:

Build freeswitch-core, /usr/local/bin/wget installed.

Running getlib.sh c

+ TAR=/usr/bin/tar
+ ZCAT=/usr/bin/gunzip
+ WGET=/usr/local/bin/wget
+ CURL=/usr/local/bin/curl
+ [ -f /usr/local/bin/wget ]
+ DOWNLOAD_CMD=/usr/local/bin/wget
+ base=file:///usr/ports/distfiles/freeswitch/
+ tarfile=celt-0.7.1.tar.gz
+ echo celt-0.7.1.tar.gz
+ grep ://
+ url=''
+ [ ! -z ]
+ [ ! -d celt-0.7.1.tar.gz ]
+ echo celt-0.7.1.tar.gz
+ sed 's/\.tar\.gz//g'
+ uncompressed=celt-0.7.1
+ echo celt-0.7.1
+ sed 's/\.tgz//g'
+ uncompressed=celt-0.7.1
+ [ ! -f celt-0.7.1.tar.gz ]
+ rm -fr celt-0.7.1
+ /usr/local/bin/wget file:///usr/ports/distfiles/freeswitch/celt-0.7.1.tar.gz
file:///usr/ports/distfiles/freeswitch/celt-0.7.1.tar.gz: Unsupported scheme.
+ [ ! -f celt-0.7.1.tar.gz ]
+ echo cannot find celt-0.7.1.tar.gz
cannot find celt-0.7.1.tar.gz
+ exit 1

>Fix:

Workaround: move /usr/local/bin/wget out of the way and let freeswitch
use curl. 

I don't fully understand getlib.sh logic to fix it, probably
it could just be simplified (a shortcut case when the distfile
is already on the loca filesystem).
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list