On 8/17/2014 7:01 PM, Renato Silva wrote:
> I think it's not Bazaar the one encoding the URL:
> 
> $ which bzr
> /usr/bin/bzr
> 
> $ bzr log --line -r -1 file:///D:/Programas/Branches/pidgin/pidgin++
> 103: Renato Silva 2014-08-14 Improvements to the Windows build script.
> 
> $ bzr log --line -r -1 file:///D%3A/Programas/Branches/pidgin/pidgin++
> bzr: ERROR: Invalid url supplied to transport:
> "file:///D%3A/Programas/Branches/pidgin/pidgin++/": Win32 file urls
> start with file:///x:/, where x is a valid drive letter
> 
> Neither the MSYS2 version of Bazaar is the only unable to recognize
> encoded URLs, native version can't either for me:
> 
> $ which bzr
> /c/Programs/Desenvolvimento/Bazaar/bzr
> 
> $ bzr version | head -1
> Bazaar (bzr) 2.5.1
> 
> $ bzr log --line -r -1 file:///D%3A/Programas/Branches/pidgin/pidgin++
> bzr: ERROR: Invalid url supplied to transport:
> "file:///D%3A/Programas/Branches/pidgin/pidgin++/": Win32 file urls
> start with file:///x:/, where x is a valid drive letter
> 
> I don't see an explanation on why upstream Bazaar works for you. Even
> though the Bazaar package is very unstable yet, the encoded URLs should
> not work in either of them. I don't know Cmake but I'd try investigating
> the generated Bazaar command line for each of vanilla and MSYS2 versions.

I should have been more clear.  When I use the MSYS2 version of Bazaar
and the mingw64 version of CMake, the encoded URL is generated.  When I
use the native version of Bazaar with the mingw64 version of CMake, the
URL is not encoded.  That is what is confusing to me.  I would think the
issue would lie with the mingw64 version of CMake but that does not seem
to be the case.  I will attempt some additional testing when I get a
chance to see if I can figure out which program is actually at fault.

> 
> 
> 
> 2014-08-15 10:22 GMT-03:00 Wayne Stambaugh <[email protected]
> <mailto:[email protected]>>:
> 
>     I recently installed bzr from the MSYS2 repo instead of using the
>     Windows binaries distributed by the Bazaar project and ran into this
>     strange error when I went to build KiCad which uses CMake to create the
>     MSYS make files:
> 
>     bzr: ERROR: Invalid url supplied to transport:
>     
> "file://E%3A/msys64/home/Wayne/src/kicad/product/.downloads-by-cmake/boost_1_54_0/src/boost/":
>     local urls must start with file:/// or file://localhost/
> 
>     It appears that msys2 version of bzr or possibly cmake is making a
>     strange Window path substitution.  The : is shown as %3A which causes
>     bzr to choke and the build to fail.  When I uninstall the MSYS2 version
>     of bzr and go back to the original Windows binaries everything works
>     fine.  I am using msys64 and building with mingw64.  Any ideas?
> 
>     Thanks,
> 
>     Wayne
> 
>     
> ------------------------------------------------------------------------------
>     _______________________________________________
>     Msys2-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/msys2-users
> 
> 


------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to