Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Git Error while downloading QT5
Forum Updated to NodeBB v4.3 + New Features

Git Error while downloading QT5

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 2.9k Views 1 Watching
  • 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.
  • N Offline
    N Offline
    nvharisha
    wrote on 4 Jul 2012, 09:13 last edited by
    #1

    I was trying to download & build QT5 using git as given in the "link":http://qt-project.org/wiki/Building-Qt-5-from-Git.
    But when i do
    @perl init-repository -http@

    i get following error while downloading. (I was able to download qt3d,qtactiveqt, qlalr folders).

    bq. Cloning into 'qtbase'...
    error: Unable to get pack file http://git.gitorious.org/qt/qtbase.git/objects/pack/pack-bee6014c04f8a98aa6b70f39a08a7dad6a1bc3dd.pack
    transfer closed with 84106651 bytes remaining to read
    error: Unable to find c0d249019b098890fb8e5e9e144c2dd8029a670c under http://git.gitorious.org/qt/qtbase.git
    Cannot obtain needed object c0d249019b098890fb8e5e9e144c2dd8029a670c
    while processing commit 32c54642dd9af1f1bf48c259f55dad6d5339c5e8.
    error: Fetch failed.

    When I try to use wget http://git.gitorious.org/qt/qtbase.git/objects/pack/pack-bee6014c04f8a98aa6b70f39a08a7dad6a1bc3dd.pack , I was able to download it without any issues.

    Any suggestions??

    Hari

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on 4 Jul 2012, 09:41 last edited by
      #2

      I don't know if this directly relates to your problem but the download through git, especially when it comes to large packages, is quite unstable sometimes.

      Just give it a few tries (you will have to force initialization then, <code>perl init-repository -http -f</code>); it usually works somewhen.

      You can also try to omit large packages (most of all WebKit using <code>--no-webkit</code>).

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nvharisha
        wrote on 4 Jul 2012, 10:03 last edited by
        #3

        yes I am trying it with -f without any success.

        I am not sure if there some other way, I can download the sources or else I have to wait till they release the beta :(

        Hari

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 4 Jul 2012, 10:33 last edited by
          #4

          hari, you can grab sources and binaries from "beta-snapshots":http://releases.qt-project.org/qt5.0/beta-snapshots/ repo. It's being regularly updated.

          (Z(:^

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nvharisha
            wrote on 4 Jul 2012, 11:52 last edited by
            #5

            Thanks that was a great relief from trying through git:)

            Hari

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sierdzio
              Moderators
              wrote on 4 Jul 2012, 11:53 last edited by
              #6

              Pleasure. Checking out git can be a bit painful sometimes :)

              (Z(:^

              1 Reply Last reply
              0

              3/6

              4 Jul 2012, 10:03

              • Login

              • Login or register to search.
              3 out of 6
              • First post
                3/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved