Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [SOLVED] Can't clone pfsense-tools

    Scheduled Pinned Locked Moved Development
    8 Posts 4 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      ingmthompson
      last edited by

      Anybody able to see what's going on and/or what I'm doing wrong here?

      $ git clone git@git.pfsense.org:pfsense-tools
      Cloning into 'pfsense-tools'...
      remote: Counting objects: 109191, done.
      remote: Compressing objects: 100% (32212/32212), done.
      remote: Total 109191 (delta 75757), reused 108498 (delta 75295)Receiving objects
      Receiving objects: 100% (109191/109191), 62.73 MiB | 187.00 KiB/s, done.
      
      Resolving deltas: 100% (75757/75757), done.
      Checking connectivity... done.
      error: unable to create file pfPorts/db46/files/patch-dist::configure (Invalid argument)
      error: unable to create file pfPorts/php53/files/patch-Zend::zend.h (Invalid argument)
      error: unable to create file pfPorts/php53/files/patch-main::php_config.h.in (Invalid argument)
      error: unable to create file pfPorts/php55/files/patch-Zend::zend.h (Invalid argument)
      error: unable to create file pfPorts/php55/files/patch-main::php_config.h.in (Invalid argument)
      Checking out files: 100% (1168/1168), done.
      fatal: unable to checkout working tree
      warning: Clone succeeded, but checkout failed.
      You can inspect what was checked out with 'git status'
      and retry the checkout with 'git checkout -f HEAD'
      
      1 Reply Last reply Reply Quote 0
      • C
        charliem
        last edited by

        What's your host platform?ย  It is failing on the only files that contain a double-colon in the name in the tools repo, and the colon is a reserved character in windows.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          That may fail on some Windows git clients (msysgit maybe?). It works in cygwin though.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • M
            msi
            last edited by

            I've had other issues with msysgit, cygwin and and *BSD, Linux works :-)

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              I had occasional issues with msysgit and another different older windows git client (gitbash? "GIT for Windows"? I don't remember its name). Tortoisegit may or may not like those, but I doubt it would work with them.

              I've had zero problems with git on cygwin, especially after compiling an up-to-date git client. BSD works well of course, no issues there since that's what we use on all our servers. Linux has been fine also, at least on Ubuntu and Lubuntu where I've used it. Many of the devs use Macs and I haven't heard any complaints from that camp either.

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • I
                ingmthompson
                last edited by

                Yep, that's my problem. I'm using Git for Windows (first one I found on Google). Windows isn't an ideal development environment anyway, I might just set up my Ubuntu VM with Git et al. Thanks for the help, all.

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  git in cygwin (mintty is great) or msysgit work very well if you're used to using a CLI. I prefer cygwin+mintty because it's dead simple to copy/paste into and out of, whereas using anything that works like a cmd window is clunky and awkward for copy/paste.

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • I
                    ingmthompson
                    last edited by

                    I might have a look at that. Copy-pasting with a VM can be even more treacherous at times. Thanks Jim!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.