[MacPorts] #47648: clang-3.7: Subversion fetch fails if behind HTTP proxy
#47648: clang-3.7: Subversion fetch fails if behind HTTP proxy ----------------------+-------------------------------- Reporter: raimue@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: clang-3.7 llvm-3.7 ----------------------+-------------------------------- As reported on IRC, the post-extract in the clang-3.7 port cannot be executed when behind a HTTP proxy: {{{ :notice:extract ---> Extracting clang-3.7 :debug:extract Executing org.macports.extract (clang-3.7) :debug:extract Executing proc-post-org.macports.extract-extract-0 :info:extract svn: E120108: Unable to connect to a repository at URL 'http://llvm.org/svn/llvm-project/cfe/trunk' :info:extract svn: E120108: Error running context: The server unexpectedly closed the connection. :info:extract Command failed: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/trunk/tools && svn co -r 235803 http://llvm.org/svn/llvm-project/cfe/trunk clang :info:extract Exit code: 1 :error:extract org.macports.extract for port clang-3.7 returned: command execution failed }}} The fetch phase worked because base is using arguments for `svn` to tell it about the HTTP proxy in the system. This also applies to other subports of llvm-3.7 with specific variants. See attached patch for a proposed workaround. -- Ticket URL: <https://trac.macports.org/ticket/47648> MacPorts <https://www.macports.org/> Ports system for OS X
#47648: clang-3.7: Subversion fetch fails if behind HTTP proxy ---------------------------------+------------------------ Reporter: raimue@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: clang-3.7 llvm-3.7 | ---------------------------------+------------------------ Changes (by raimue@…): * cc: larryv@… (added) * owner: jeremyhu@… => jeremyhu@… -- Ticket URL: <https://trac.macports.org/ticket/47648#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47648: clang-3.7: Subversion fetch fails if behind HTTP proxy ---------------------------------+------------------------ Reporter: raimue@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: clang-3.7 llvm-3.7 | ---------------------------------+------------------------ Comment (by jeremyhu@…): Go ahead and push, thanks. -- Ticket URL: <https://trac.macports.org/ticket/47648#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47648: clang-3.7: Subversion fetch fails if behind HTTP proxy ---------------------------------+------------------------ Reporter: raimue@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: clang-3.7 llvm-3.7 | ---------------------------------+------------------------ Changes (by larryv@…): * status: new => closed * resolution: => fixed Comment: Thanks, Rainer. r135930 -- Ticket URL: <https://trac.macports.org/ticket/47648#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts