radial / core-busyboxplus

Full-chain/Internet enabled busybox images from scratch using Buildroot for flexible but light Docker volume containers. Comes in multiple flavors.
https://index.docker.io/u/radial/busyboxplus
48 stars 36 forks source link

First test failed - why? #1

Closed kklepper closed 10 years ago

kklepper commented 10 years ago

I installed successfully with

sudo docker import - busyboxplus:just-right < rootfs.tar

Then I tried to pull CodeIgniter like so:

/ # cd opt
/opt # mkdir ci
/opt # cd ci
/opt/ci # git init
Initialized empty Git repository in /opt/ci/.git/
/opt/ci # git clone  git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
remote: Counting objects: 58707, done.
remote: Compressing objects: 100% (11806/11806), done.
remote: Total 58707 (delta 46796), reused 58686 (delta 46785)
Receiving objects: 100% (58707/58707), 34.11 MiB | 539.00 KiB/s, done.
fatal: serious inflate inconsistency   
fatal: index-pack failed

Next I switched to ubuntu:

sudo docker run -i -t --rm -h ubuntu --name u1 ubuntu bash 

and successfully installed CI:

root@ubuntu:/# cd opt
root@ubuntu:/opt# mkdir ci
root@ubuntu:/opt# cd ci
root@ubuntu:/opt/ci# git init
bash: git: command not found
root@ubuntu:/opt/ci# apt-get update 
[...]
root@ubuntu:/opt/ci# apt-get install -y git
[...]
root@ubuntu:/opt/ci# git init
Initialized empty Git repository in /opt/ci/.git/
root@ubuntu:/opt/ci# git clone  git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
remote: Counting objects: 58707, done.
remote: Compressing objects: 100% (11806/11806), done.
remote: Total 58707 (delta 46796), reused 58686 (delta 46785)
Receiving objects: 100% (58707/58707), 34.11 MiB | 553 KiB/s, done.
Resolving deltas: 100% (46796/46796), done.

What is the problem here?

brianclements commented 10 years ago

Thanks for the report. I think this is related to the same bug mentioned in the README. My hunch is that the output of the build process is messing up the image "filesystem" somehow and that results in all kinds of mishaps when git decompresses files in the clone process. I was able to reproduce your bug, but I was also able to successfully clone smaller text-only repositories leading me to believe again that this only affects things with compression.

The search continues...

kklepper commented 10 years ago

Thanks for your feedback. As a side note, I first used your Dockerfile approach which lead to numerous errors and finally failed. Interested in the output? I'd do it again.

brianclements commented 10 years ago

This is my first attempt at many things all at once with this Dockerfile, so I'm not surprised by this. Were the errors with the busybox compile process or in the docker "build" of it?

brianclements commented 10 years ago

Tried with Jerome's Dockerfile with only addition of git (below):

FROM ubuntu:12.04
RUN apt-get update -q
RUN apt-get install -qy wget build-essential libncurses-dev rsync unzip bc
RUN wget -q http://buildroot.uclibc.org/downloads/buildroot-2013.08.1.tar.gz
# RUN echo 'ffea9c3154ca2de4141ae0604ae51f4e buildroot-2013.08.1.tar.gz' > buildroot.md5
# RUN md5sum --check buildroot.md5
RUN tar -zxf buildroot-2013.08.1.tar.gz
WORKDIR /buildroot-2013.08.1
RUN make defconfig
RUN sed -i 's/BR2_i386=y/BR2_x86_64=y/' .config
RUN echo BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y >>.config
RUN         echo BR2_PACKAGE_GIT=y >>.config
RUN make olddefconfig
RUN make --quiet
RUN ln -s /buildroot-2013.08.1/output/images/rootfs.tar /rootfs.tar

Issue still there:

/ # cd /opt/
/opt # mkdir ci
/opt # cd ci
/opt/ci # git clone  git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
remote: Counting objects: 58707, done.
remote: Compressing objects: 100% (11806/11806), done.
remote: Total 58707 (delta 46796), reused 58686 (delta 46785)
Receiving objects: 100% (58707/58707), 34.11 MiB | 181.00 KiB/s, done.
fatal: serious inflate inconsistency
fatal: index-pack failed

So I'm thinking it's less about a configuration mistake on my part and more of a git/buildroot/busybox version/library build issue. Will try next with different version combinations of all of the above.

kklepper commented 10 years ago

Were the errors with the busybox compile process or in the docker "build" of it?

In the busybox compile process, as far as I can tell. I can repeat the test and give you the output, if you want to. It was quite some stuff, though, so I didn't care to take a copy.

brianclements commented 10 years ago

Interesting, I wouldn't worry about it, thanks though. Although it's strange that it failed for you as I've run it multiple times myself since.

brianclements commented 10 years ago

Update: This is definitely a git issue as it pertains to buildroot. Whenever I have the "too-big" image size issue with a resulting rootfs.tar, any image imported or built from that will inevitably also fail at cloning the codeigniter repo listed at the top.

REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
bbox-git-1.9.0      built               f48c177cacac        3 hours ago         155.5 MB
bbox-git-1.9.0      import              09ebd366001e        3 hours ago         13.53 MB
jpetazzo            git-1.9.0           fe5d25669868        7 hours ago         3.331 GB
bbox-git-1.8.5.3    build               cce9e4a45814        8 hours ago         156.3 MB
bbox-git-1.8.5.3    import              d665017e26da        8 hours ago         12.26 MB
jpetazzo            git-1.8.5.3         9dea3869f616        9 hours ago         3.325 GB
bbox-git-1.8.3      built               b54db7e599df        10 hours ago        145.8 MB
bbox-git-1.8.3      import              0e5953e7d0cd        10 hours ago        11.91 MB
jpetazzo            git-1.8.3           648d41f7badd        17 hours ago        3.298 GB
tarmaker            pre-build           6473bf0a83e6        19 hours ago        394.5 MB
$ sudo docker run bbox-git-1.8.3:built git clone git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
fatal: serious inflate inconsistency
fatal: index-pack failed
$ sudo docker run bbox-git-1.8.3:import git clone git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
fatal: serious inflate inconsistency
fatal: index-pack failed
$ sudo docker run bbox-git-1.8.5.3:build git clone git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
fatal: serious inflate inconsistency
fatal: index-pack failed
$ sudo docker run bbox-git-1.8.5.3:import git clone git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
error: inflate: data stream error (incorrect header check)
fatal: serious inflate inconsistency
fatal: index-pack failed
$ sudo docker run bbox-git-1.9.0:built git clone git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
fatal: premature end of pack file, 95 bytes missing
fatal: index-pack failed
$ sudo docker run bbox-git-1.9.0:built git clone git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
fatal: serious inflate inconsistency
fatal: index-pack failed
$ sudo docker run bbox-git-1.9.0:import git clone git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
fatal: serious inflate inconsistency
fatal: index-pack failed
brianclements commented 10 years ago

Still working on this. Tried again today and got this output, not sure what to make of it but I haven't seen it before. It still looks like the same core issue, but not sure why it decided to be verbose today.

# git clone  git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
remote: Counting objects: 58806, done.
remote: Compressing objects: 100% (11838/11838), done.
remote: Total 58806 (delta 46873), reused 58769 (delta 46852)
Receiving objects: 100% (58806/58806), 34.12 MiB | 1011.00 KiB/s, done.
Resolving deltas: 100% (46873/46873), done.
Checking connectivity... done.
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/2.1-stable is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/develop is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/abstract-config-load is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/db_pdo_transition is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/db_row_default is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/eu-cookie-law is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/html5 is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/loader-improvements is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/replace_cookies is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/sparks is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/stringify_attributes is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/user-notes is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/utf8-changes is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/hmvc-lite is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/master is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/release/3.0 is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/2.1.1 is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/2.1.2 is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/2.1.3 is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/2.1.4 is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/v2.0.3 is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/v2.0.3-corrected-changelog is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/v2.1.0 is not a valid packed reference!
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test3/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: Trying to write ref refs/heads/develop with nonexistent object 8e814ee16f2569619627d2c3e22433d7391f011c
fatal: Cannot update the ref 'HEAD'.
brianclements commented 10 years ago

Sporadic it is...I got it to work once!

# cd ../test3
/opt/test3 # ls
/opt/test3 # git clone --verbose git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
remote: Counting objects: 58806, done.
remote: Compressing objects: 100% (11838/11838), done.
remote: Total 58806 (delta 46873), reused 58769 (delta 46852)
Receiving objects: 100% (58806/58806), 34.12 MiB | 354.00 KiB/s, done.
Resolving deltas: 100% (46873/46873), done.
Checking connectivity... done.
/opt/test3 # ls
CodeIgniter
/opt/test3 # cd CodeIgniter/
.git/            application/     system/          tests/           user_guide_src/
/opt/test3 # ls CodeIgniter/.git/objects/pack
pack-d95918b221834b4b52c87e1761ad1be24c64dff9.idx   pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack
/opt/test3 # cd ../
/opt # mkdir test4
/opt # cd test4
/opt/test4 # git clone --verbose git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
remote: Counting objects: 58806, done.
remote: Compressing objects: 100% (11838/11838), done.
remote: Total 58806 (delta 46873), reused 58769 (delta 46852)
Receiving objects: 100% (58806/58806), 34.12 MiB | 3.02 MiB/s, done.
Resolving deltas: 100% (46873/46873), done.
Checking connectivity... done.
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/2.1-stable is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/develop is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/abstract-config-load is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/db_pdo_transition is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/db_row_default is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/eu-cookie-law is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/html5 is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/loader-improvements is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/replace_cookies is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/sparks is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/stringify_attributes is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/user-notes is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/feature/utf8-changes is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/hmvc-lite is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/master is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/remotes/origin/release/3.0 is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/2.1.1 is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/2.1.2 is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/2.1.3 is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/2.1.4 is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/v2.0.3 is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/v2.0.3-corrected-changelog is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: internal error: refs/tags/v2.1.0 is not a valid packed reference!
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index
warning: packfile /opt/test4/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed
error: Trying to write ref refs/heads/develop with nonexistent object 8e814ee16f2569619627d2c3e22433d7391f011c
fatal: Cannot update the ref 'HEAD'.
brianclements commented 10 years ago

Does anyone know about how git names those "packs." I read here that they are created on the sorted object names. So if this list is supposed to always be the same (because the content is the same) wouldn't it follow that they should be the same across all computers? This isn't the case here. Cloning 2 separate times on my host:

○ ls temp2/CodeIgniter/.git/objects/pack
pack-f9bfab4a8aea1323ba26a46d1346fff8de9ade4c.idx  pack-f9bfab4a8aea1323ba26a46d1346fff8de9ade4c.pack
○ ls temp3/CodeIgniter/.git/objects/pack
pack-f9bfab4a8aea1323ba26a46d1346fff8de9ade4c.idx  pack-f9bfab4a8aea1323ba26a46d1346fff8de9ade4c.pack

and the one successful clone in my busyboxplus image yeilds:

ls test3/CodeIgniter/.git/objects/pack/
pack-d95918b221834b4b52c87e1761ad1be24c64dff9.idx   pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack
brianclements commented 10 years ago

Btw, I've been able to make respositories in the image and clone them locally, even with a big ~30mb file. Compression worked fine there:

/opt # mkdir test2
/opt # cd test2
/opt/test2 # git init
Initialized empty Git repository in /opt/test2/.git/
/opt/test2 # git remote add local ../test1
/opt/test2 # git pull local master
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 6 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (6/6), done.
From ../test1
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> local/master
/opt/test2 # ls -hal
total 16
drwxr-xr-x    3 root     root        4.0K Apr  4 21:45 .
drwxrwxr-x    6 root     root        4.0K Apr  4 21:44 ..
drwxr-xr-x    8 root     root        4.0K Apr  4 21:45 .git
-rw-r--r--    1 root     root       30.0M Apr  4 21:45 my_big_file

and I'm learning now that even though this involved compression, it didn't produce .git/objects/pack/ files, perhaps that's just for network transfers?

kklepper commented 10 years ago

I can reproduce, but with different results:

/ # cd opt /opt # mkdir ci /opt # cd ci /opt/ci # git init Initialized empty Git repository in /opt/ci/.git/ /opt/ci # /opt/ci # /opt/ci #


type 1:

/opt/ci # git clone --verbose git://github.com/EllisLab/CodeIgniter.git Cloning into 'CodeIgniter'... remote: Counting objects: 58806, done. remote: Compressing objects: 100% (11838/11838), done. remote: Total 58806 (delta 46873), reused 58769 (delta 46852) Receiving objects: 100% (58806/58806), 34.12 MiB | 532.00 KiB/s, done. fatal: serious inflate inconsistency
fatal: index-pack failed


type 2:

/opt/ci # git clone --verbose git://github.com/EllisLab/CodeIgniter.git Cloning into 'CodeIgniter'... remote: Counting objects: 58806, done. remote: Compressing objects: 100% (11838/11838), done. remote: Total 58806 (delta 46873), reused 58769 (delta 46852) Receiving objects: 100% (58806/58806), 34.12 MiB | 505.00 KiB/s, done. Resolving deltas: 100% (46873/46873), done. Checking connectivity... done. error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/2.1-stable is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/develop is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/abstract-config-load is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/db_pdo_transition is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/db_row_default is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/eu-cookie-law is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/html5 is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/loader-improvements is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/replace_cookies is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/sparks is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/stringify_attributes is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/user-notes is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/feature/utf8-changes is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/hmvc-lite is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/master is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/remotes/origin/release/3.0 is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/tags/2.1.1 is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/tags/2.1.2 is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/tags/2.1.3 is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/tags/2.1.4 is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/tags/v2.0.3 is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/tags/v2.0.3-corrected-changelog is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: internal error: refs/tags/v2.1.0 is not a valid packed reference! error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack does not match index warning: packfile /opt/ci/CodeIgniter/.git/objects/pack/pack-d95918b221834b4b52c87e1761ad1be24c64dff9.pack cannot be accessed error: Trying to write ref refs/heads/develop with nonexistent object 8e814ee16f2569619627d2c3e22433d7391f011c fatal: Cannot update the ref 'HEAD'.


I don't see any difference on my side and can't predict which result will follow.

googling delivers http://lists-archives.com/git/505502-fatal-serious-inflate-inconsistency.html

    fatal: serious inflate inconsistency
    fatal: index-pack died with error code 128
    fetch-pack from
    'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' failed.
    (tomcat-05) [/usr/src] git version
    git version 1.5.2.1

This is bad.

index-pack works like this:

1) it receives data over the network: 1a) it writes a copy of that data to disk to create a pack 1b) it deflates that data in parallel to compute its SHA1

2) when done, it resolves deltas and to do so: 2a) it deflates the base object data from 1a 2b) it applies the delta over the base object data then compute its SHA1

In your case it seems that 1B and 2A don't produce the same deflated data somehow.

Is it reproducible? Are you using Linux? What kernel version? Are you using NFS?

If it isn't reproducible then you might possibly have been the victim of faulty hardware.


It turns out that indeed either faulty hardware or faulty zlib library was the cause here.

brianclements commented 10 years ago

Thanks for reproducing this. It's similar down to the pack hash too! It's not consistent though which is troublesome as you know. Remember, I did get it to work once and git does work in other containers so I don't think it's hardware either physical or virtual. Faulty zlib is one idea, but that would fail every time no? Perhaps not. I know it's compiled with the most recent versions of zlib, maybe I'll try older versions later. My next thought is that there is something wrong with the data transfer part of the process. I am also noticing sporadic transfer rates from this image so maybe I'll try building with different networking components into the image next.

kklepper commented 10 years ago

Today I rebuilt from run.sh, again with errors. It looks fine first, but hours later...

This is my test section docker.0.9.1; my ssh shell didn't show more than this:

[...]
Applying 305-libmudflap-susv3-legacy.patch using patch: 
patching file libmudflap/mf-hooks2.c
Hunk #1 succeeded at 424 (offset -3 lines).
Hunk #2 succeeded at 434 (offset -3 lines).
Hunk #3 succeeded at 444 (offset -3 lines).
Hunk #4 succeeded at 453 (offset -3 lines).
Hunk #5 succeeded at 462 (offset -3 lines).

Applying 810-arm-softfloat-libgcc.patch using patch: 
patching file gcc/config/arm/linux-elf.h
patching file libgcc/config/arm/t-linux

Applying 830-arm_unbreak_armv4t.patch using patch: 
patching file gcc/config/arm/linux-eabi.h

Applying 850-xtensa-libgcc-linker-script.patch using patch: 
patching file libgcc/config.host
>>> host-gcc-intermediate 4.7.3 Updating config.sub and config.guess
>>> host-gcc-intermediate 4.7.3 Patching libtool
find: `/tmp/builder/buildroot/output/build/host-gcc-intermediate-4.7.3/build': No such file or directory
>>> uclibc 0.9.33.2 Downloading
>>> uclibc 0.9.33.2 Extracting
>>> uclibc 0.9.33.2 Patching

Applying uclibc-0001-bits-time.h-sync-with-glibc-2.16.patch using patch: 
patching file libc/sysdeps/linux/common/bits/time.h

Applying uclibc-0003-Add-dup3-syscall.patch using patch: 
patching file include/unistd.h
patching file libc/sysdeps/linux/common/dup3.c

Applying uclibc-0004-libc-sysdeps-add-__kernel_long-and-__kernel_ulong.patch using patch: 
patching file libc/sysdeps/linux/alpha/bits/kernel_types.h
patching file libc/sysdeps/linux/arm/bits/kernel_types.h
patching file libc/sysdeps/linux/avr32/bits/kernel_types.h
patching file libc/sysdeps/linux/bfin/bits/kernel_types.h
patching file libc/sysdeps/linux/c6x/bits/kernel_types.h
patching file libc/sysdeps/linux/cris/bits/kernel_types.h
patching file libc/sysdeps/linux/e1/bits/kernel_types.h
patching file libc/sysdeps/linux/h8300/bits/kernel_types.h
patching file libc/sysdeps/linux/hppa/bits/kernel_types.h
patching file libc/sysdeps/linux/i386/bits/kernel_types.h
patching file libc/sysdeps/linux/ia64/bits/kernel_types.h
patching file libc/sysdeps/linux/m68k/bits/kernel_types.h
patching file libc/sysdeps/linux/microblaze/bits/kernel_types.h
patching file libc/sysdeps/linux/mips/bits/kernel_types.h
patching file libc/sysdeps/linux/nios2/bits/kernel_types.h
patching file libc/sysdeps/linux/powerpc/bits/kernel_types.h
patching file libc/sysdeps/linux/sh/bits/kernel_types.h
patching file libc/sysdeps/linux/sh64/bits/kernel_types.h
patching file libc/sysdeps/linux/sparc/bits/kernel_types.h
patching file libc/sysdeps/linux/v850/bits/kernel_types.h
patching file libc/sysdeps/linux/x86_64/bits/kernel_types.h
patching file libc/sysdeps/linux/xtensa/bits/kernel_types.h

Applying uclibc-0005-Patch-from-OpenWRT-for-avr32.patch using patch: 
patching file libc/sysdeps/linux/avr32/bits/atomic.h

Applying uclibc-0006-arm-clone-restore-stack-pointer-just-after-return-fr.patch using patch: 
patching file libc/sysdeps/linux/arm/clone.S

Applying uclibc-0007-arm-clone.S-Add-missing-IT-instruction-for-Thumb2.patch using patch: 
patching file libc/sysdeps/linux/arm/clone.S

Applying uclibc-0008-arm-move-check-for-BX-to-its-own-header.patch using patch: 
patching file ldso/ldso/arm/dl-startup.h
patching file ldso/ldso/arm/resolve.S
patching file libc/string/arm/_memcpy.S
patching file libc/string/arm/memcmp.S
patching file libc/string/arm/memset.S
patching file libc/string/arm/strcmp.S
patching file libc/string/arm/strlen.S
patching file libc/sysdeps/linux/arm/__longjmp.S
patching file libc/sysdeps/linux/arm/bits/arm_asm.h
patching file libc/sysdeps/linux/arm/bits/arm_bx.h
patching file libc/sysdeps/linux/arm/clone.S
patching file libc/sysdeps/linux/arm/mmap64.S
patching file libc/sysdeps/linux/arm/syscall-eabi.S
patching file libc/sysdeps/linux/arm/sysdep.h
patching file libc/sysdeps/linux/arm/vfork.S

Applying uclibc-0009-mips64-fix-n64-interp.patch using patch: 
patching file Rules.mak
Hunk #1 succeeded at 118 (offset -20 lines).

Applying uclibc-0010-Rules.mak-fix-breakage-from-603af30d.patch using patch: 
patching file Rules.mak
Hunk #1 succeeded at 121 (offset -20 lines).

Applying uclibc-0011-libc-add-non-standard-execvpe-function.patch using patch: 
patching file include/unistd.h
Hunk #1 succeeded at 568 (offset -51 lines).
patching file libc/unistd/exec.c
patching file libc/unistd/execvpe.c

Applying uclibc-0012-libc-stdlib-add-mkostemp-helpers.patch using patch: 
patching file include/stdlib.h
patching file libc/stdlib/Makefile.in
Hunk #1 succeeded at 12 with fuzz 1.
patching file libc/stdlib/mkostemp.c
patching file libc/stdlib/mkostemp64.c

Applying uclibc-0013-eventfd-Implement-eventfd2-and-fix-eventfd.patch using patch: 
patching file libc/sysdeps/linux/common/eventfd.c
patching file libc/sysdeps/linux/common/stubs.c

Applying uclibc-0015-add-posix_madvise.c.patch using patch: 
patching file libc/sysdeps/linux/common/Makefile.in
patching file libc/sysdeps/linux/common/posix_madvise.c

Applying uclibc-0016-nptl-sh-fix-race-condition-in-lll_wait_tid.patch using patch: 
patching file libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h

Applying uclibc-0017-librt-re-add-SIGCANCEL-to-the-list-of-blocked-signal.patch using patch: 
patching file libpthread/nptl/sysdeps/unix/sysv/linux/timer_routines.c

Applying uclibc-0018-ldso-include-dlfcn.h-for-RTLD_NODELETE.patch using patch: 
patching file ldso/include/dl-elf.h
patching file ldso/include/ldso.h

Applying uclibc-0019-include-elf.h-update-for-ELFOSABI_-changes.patch using patch: 
patching file include/elf.h

Applying uclibc-0020-update-ptrace.h-to-latest-from-glibc.patch using patch: 
patching file libc/sysdeps/linux/common/sys/ptrace.h

Applying uclibc-0022-inet-rpc-fix-authnone_marshal-in-multithreading-cont.patch using patch: 
patching file libc/inet/rpc/auth_none.c
patching file libc/inet/rpc/rpc_private.h
patching file libc/inet/rpc/rpc_thread.c

Applying uclibc-0023-MIPS-Convert-__syscall_error-callers-to-use-a0-for-a.patch using patch: 
patching file libc/sysdeps/linux/mips/vfork.S
patching file libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h
patching file libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S

Applying uclibc-0024-MIPS-Use-a0-instead-of-v0-for-__syscall_error-argume.patch using patch: 
patching file libc/sysdeps/linux/mips/syscall_error.S

Applying uclibc-0025-ldso-use-.arm-mode-for-resolver-unconditionally.patch using patch: 
patching file ldso/ldso/arm/resolve.S
Hunk #1 succeeded at 102 (offset 1 line).

Applying uclibc-0026-make-NPTL-s-getpid-behave-similar-to-the-common-one.patch using patch: 
patching file libpthread/nptl/sysdeps/unix/sysv/linux/getpid.c

Applying uclibc-0027-i386-bits-syscalls.h-allow-immediate-values-as-6th-s.patch using patch: 
patching file libc/sysdeps/linux/i386/bits/syscalls.h

Applying uclibc-0028-dl-fix-dlsym-lookups-with-RTLD_NEXT.patch using patch: 
patching file ldso/libdl/libdl.c

Applying uclibc-0029-inet-rpc-fix-build-in-NPTL-case.patch using patch: 
patching file libc/inet/rpc/auth_none.c
patching file libc/inet/rpc/rpc_private.h

Applying uclibc-0030-stdio-implement-assignment-allocation-m-character.patch using patch: 
patching file extra/Configs/Config.in
patching file libc/stdio/_scanf.c

Applying uclibc-0031-mmap-sys_mmap2-do-unsigned-shift-of-offset.patch using patch: 
patching file libc/sysdeps/linux/common/mmap.c

Applying uclibc-0033-rpmatch-backport-function.patch using patch: 
patching file include/stdlib.h
patching file libc/stdlib/Makefile.in
patching file libc/stdlib/rpmatch.c
patching file libc/stdlib/stdlib.c

Applying uclibc-0034-statfs-support-f_frsize.patch using patch: 
patching file libc/misc/statfs/fstatfs64.c
patching file libc/misc/statfs/internal_statvfs.c
patching file libc/misc/statfs/statfs64.c
patching file test/.gitignore
patching file test/misc/Makefile.in
patching file test/misc/tst-statfs.c
patching file test/misc/tst-statvfs.c

Applying uclibc-0035-socket.h-pull-socket_type.h-from-eglibc.patch using patch: 
patching file Makefile.in
Hunk #1 succeeded at 259 (offset 4 lines).
patching file libc/inet/opensock.c
patching file libc/sysdeps/linux/alpha/bits/socket_type.h
patching file libc/sysdeps/linux/common/bits/kernel-features.h
patching file libc/sysdeps/linux/common/bits/socket.h
patching file libc/sysdeps/linux/common/bits/socket_type.h
patching file libc/sysdeps/linux/common/cmsg_nxthdr.c
patching file libc/sysdeps/linux/hppa/bits/socket_type.h
patching file libc/sysdeps/linux/mips/bits/socket.h
patching file libc/sysdeps/linux/mips/bits/socket_type.h
patching file libc/sysdeps/linux/sparc/bits/socket.h
patching file libc/sysdeps/linux/sparc/bits/socket_type.h

Applying uclibc-0036-mount.h-update.patch using patch: 
patching file include/sys/mount.h

Applying uclibc-0037-buildsys-gen_bits_syscall_h-do-not-leave-undefined-S.patch using patch: 
patching file extra/scripts/gen_bits_syscall_h.sh

Applying uclibc-0038-libc-sysdeps-sync-bits-in.h-with-glibc.patch using patch: 
patching file libc/sysdeps/linux/common/bits/in.h

Applying uclibc-0039-libc-atexit-reuse-free-slots-at-the-end-of-exit-func.patch using patch: 
patching file libc/stdlib/_atexit.c

Applying uclibc-0040-mman-rename-MAP_UNINITIALIZE-to-MAP_UNINITIALIZED.patch using patch: 
patching file ldso/ldso/dl-elf.c
patching file ldso/ldso/ldso.c
patching file libc/stdlib/malloc-simple/alloc.c
patching file libc/stdlib/malloc-standard/malloc.h
patching file libc/stdlib/malloc/malloc.c
patching file libc/sysdeps/linux/alpha/bits/mman.h
patching file libc/sysdeps/linux/common/bits/mman-common.h
patching file libc/sysdeps/linux/hppa/bits/mman.h
patching file libc/sysdeps/linux/mips/bits/mman.h
patching file libc/sysdeps/linux/powerpc/bits/mman.h
patching file libc/sysdeps/linux/sparc/bits/mman.h
patching file libc/sysdeps/linux/xtensa/bits/mman.h

Applying uclibc-0041-libc-add-posix_fallocate.patch using patch: 
patching file include/fcntl.h
patching file libc/sysdeps/linux/common/Makefile.in
Hunk #1 succeeded at 81 (offset -1 lines).
patching file libc/sysdeps/linux/common/bits/kernel-features.h
patching file libc/sysdeps/linux/common/posix_fallocate.c
patching file libc/sysdeps/linux/common/posix_fallocate64.c
patching file test/.gitignore
patching file test/unistd/Makefile.in
patching file test/unistd/tst-posix_fallocate.c
patching file test/unistd/tst-posix_fallocate64.c

Applying uclibc-0042-nice-fix-overflow-checking-in-int_add_no_wrap.patch using patch: 
patching file libc/sysdeps/linux/common/nice.c

Applying uclibc-0043-buildsys-Add-missing-SYMBOL_PREFIX-to-symbol-names.patch using patch: 
patching file Makerules
patching file ldso/ldso/Makefile.in
patching file ldso/ldso/bfin/dl-startup.h
patching file ldso/libdl/Makefile.in
patching file libpthread/nptl/Makefile.in

Applying uclibc-0044-inet-do-not-filter-responses-in-res_query.patch using patch: 
patching file libc/inet/resolv.c

Applying uclibc-0045-Remove-pragma-weak-for-undeclared-symbol.patch using patch: 
patching file libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h

Applying uclibc-0046-inet-fix-getting-the-nameserver-from-_res-state-afte.patch using patch: 
patching file libc/inet/resolv.c

Applying uclibc-0047-_vfprintf.c-use-fputws_unlocked-S-F-instead-of-fputw.patch using patch: 
patching file libc/stdio/_vfprintf.c

Applying uclibc-0048-Fix-a-problem-with-scanning-wide-chars.patch using patch: 
patching file libc/stdio/_scanf.c

Applying uclibc-0049-Fix-some-fragileness-in-dlopen-do_dlopen-wrapper-wor.patch using patch: 
patching file ldso/libdl/libdl.c

Applying uclibc-0050-libdl-fix-dlopen-implementation-from-statically-link.patch using patch: 
patching file ldso/libdl/libdl.c

Applying uclibc-0051-libubacktrace-fix-backtrace-for-statically-linked-ap.patch using patch: 
patching file libubacktrace/Makefile.in
patching file libubacktrace/arm/Makefile.arch
patching file libubacktrace/arm/backtrace.c
patching file libubacktrace/backtrace.c

Applying uclibc-0052-libubacktrace-fix-build-due-to-some-typos.patch using patch: 
patching file libubacktrace/Makefile.in

Applying uclibc-0053-libc-elf-explicitly-include-uClibc_page.h-to-make-PA.patch using patch: 
patching file libc/misc/elf/dl-support.c
>>> host-gcc-initial 4.7.3 Extracting
>>> host-gcc-initial 4.7.3 Patching

Applying 100-uclibc-conf.patch using patch: 
patching file contrib/regression/objs-gcc.sh
Hunk #1 succeeded at 106 (offset 1 line).

Applying 301-missing-execinfo_h.patch using patch: 
patching file boehm-gc/include/gc.h
Hunk #1 succeeded at 503 with fuzz 1 (offset 3 lines).

Applying 302-c99-snprintf.patch using patch: 
patching file libstdc++-v3/include/c_global/cstdio
Hunk #1 succeeded at 140 with fuzz 2 (offset -4 lines).

Applying 305-libmudflap-susv3-legacy.patch using patch: 
patching file libmudflap/mf-hooks2.c
Hunk #1 succeeded at 424 (offset -3 lines).
Hunk #2 succeeded at 434 (offset -3 lines).
Hunk #3 succeeded at 444 (offset -3 lines).
Hunk #4 succeeded at 453 (offset -3 lines).
Hunk #5 succeeded at 462 (offset -3 lines).

Applying 810-arm-softfloat-libgcc.patch using patch: 
patching file gcc/config/arm/linux-elf.h
patching file libgcc/config/arm/t-linux

Applying 830-arm_unbreak_armv4t.patch using patch: 
patching file gcc/config/arm/linux-eabi.h

Applying 850-xtensa-libgcc-linker-script.patch using patch: 
patching file libgcc/config.host
>>> host-gcc-initial 4.7.3 Updating config.sub and config.guess
>>> host-gcc-initial 4.7.3 Patching libtool
find: `/tmp/builder/buildroot/output/build/host-gcc-initial-4.7.3/build': No such file or directory
>>> host-gcc-initial 4.7.3 Configuring
*** This configuration is not supported in the following subdirectories:
     target-libquadmath gnattools target-libada target-libstdc++-v3 target-libgfortran target-libffi target-zlib target-libobjc target-libmudflap target-libssp target-boehm-gc target-libitm
    (Any other directories should still work fine.)
./configure: 7828: ./configure.lineno: missing: not found
>>> host-gcc-initial 4.7.3 Building
mkdir -p -- ./intl
mkdir -p -- ./lto-plugin
mkdir -p -- ./libiberty
Configuring in ./intl
Configuring in ./libiberty
Configuring in ./lto-plugin
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
/tmp/builder/buildroot/output/build/host-gcc-initial-4.7.3/lto-plugin/configure: line 6056: /usr/bin/file: No such file or directory
mkdir -p -- build-x86_64-unknown-linux-gnu/libiberty
Configuring in build-x86_64-unknown-linux-gnu/libiberty
mkdir -p -- build-x86_64-unknown-linux-gnu/fixincludes
Configuring in build-x86_64-unknown-linux-gnu/fixincludes
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
mkdir -p -- ./zlib
Configuring in ./zlib
mkdir -p -- ./libdecnumber
Configuring in ./libdecnumber
/tmp/builder/buildroot/output/build/host-gcc-initial-4.7.3/zlib/configure: line 5865: /usr/bin/file: No such file or directory
mkdir -p -- ./fixincludes
Configuring in ./fixincludes
mkdir -p -- ./libcpp
Configuring in ./libcpp
../../../fixincludes/server.c: In function 'server_setup':
../../../fixincludes/server.c:195:10: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
   getcwd (buff, MAXPATHLEN + 1);
          ^
libtool: compile:  /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../lto-plugin -I../../lto-plugin/../include -DHAVE_CONFIG_H -Wall -O2 -I/tmp/builder/buildroot/output/host/usr/include -c ../../lto-plugin/lto-plugin.c  -fPIC -DPIC -o .libs/lto-plugin.o
libtool: link: /usr/bin/gcc -shared  .libs/lto-plugin.o   -L/tmp/builder/buildroot/output/host/lib -L/tmp/builder/buildroot/output/host/usr/lib  -Wl,-rpath -Wl,/tmp/builder/buildroot/output/host/usr/lib ../libiberty/pic/libiberty.a   -Wl,-soname -Wl,liblto_plugin.so.0 -o .libs/liblto_plugin.so.0.0.0
libtool: link: (cd ".libs" && rm -f "liblto_plugin.so.0" && ln -s "liblto_plugin.so.0.0.0" "liblto_plugin.so.0")
../../fixincludes/server.c: In function 'server_setup':
../../fixincludes/server.c:195:10: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
   getcwd (buff, MAXPATHLEN + 1);
          ^
libtool: link: (cd ".libs" && rm -f "liblto_plugin.so" && ln -s "liblto_plugin.so.0.0.0" "liblto_plugin.so")
libtool: link: ( cd ".libs" && rm -f "liblto_plugin.la" && ln -s "../liblto_plugin.la" "liblto_plugin.la" )
mkdir -p -- .././gcc
libtool: install: /usr/bin/install -c .libs/liblto_plugin.so.0.0.0 /tmp/builder/buildroot/output/build/host-gcc-initial-4.7.3/build/lto-plugin/.././gcc/liblto_plugin.so.0.0.0
libtool: install: (cd /tmp/builder/buildroot/output/build/host-gcc-initial-4.7.3/build/lto-plugin/.././gcc && { ln -s -f liblto_plugin.so.0.0.0 liblto_plugin.so.0 || { rm -f liblto_plugin.so.0 && ln -s liblto_plugin.so.0.0.0 liblto_plugin.so.0; }; })
libtool: install: (cd /tmp/builder/buildroot/output/build/host-gcc-initial-4.7.3/build/lto-plugin/.././gcc && { ln -s -f liblto_plugin.so.0.0.0 liblto_plugin.so || { rm -f liblto_plugin.so && ln -s liblto_plugin.so.0.0.0 liblto_plugin.so; }; })
libtool: install: /usr/bin/install -c .libs/liblto_plugin.lai /tmp/builder/buildroot/output/build/host-gcc-initial-4.7.3/build/lto-plugin/.././gcc/liblto_plugin.la
libtool: install: warning: remember to run `libtool --finish /tmp/builder/buildroot/output/host/usr/libexec/gcc/x86_64-buildroot-linux-uclibc/4.7.3'
Configuring in ./gcc
mkdir -p -- .deps
../../libcpp/directives.c: In function 'cpp_define_formatted':
../../libcpp/directives.c:2370:13: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result]
   vasprintf (&ptr, fmt, ap);
             ^
../../libcpp/expr.c: In function 'cpp_classify_number':
../../libcpp/expr.c:597:13: warning: format not a string literal and no format arguments [-Wformat-security]
             cpp_warning (pfile, CPP_W_LONG_LONG, message);
             ^
../../libcpp/expr.c:599:13: warning: format not a string literal and no format arguments [-Wformat-security]
             cpp_pedwarning (pfile, CPP_W_LONG_LONG, message);
             ^
configure: WARNING: fixed-point is not supported for this target, ignored
configure: WARNING:
*** Makeinfo is missing or too old.
*** Info documentation will not be built.
../../libcpp/macro.c: In function 'create_iso_definition':
../../libcpp/macro.c:2853:8: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
        ^
../../libcpp/macro.c:2866:8: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
        ^
Using `../../gcc/config/i386/i386.c' for machine-specific logic.
Using `../../gcc/config/i386/i386.md' as machine description file.
Using the following target machine macro files:
        ../../gcc/config/vxworks-dummy.h
        ../../gcc/config/i386/biarch64.h
        ../../gcc/config/i386/i386.h
        ../../gcc/config/linux-android.h
        ../../gcc/config/i386/unix.h
        ../../gcc/config/i386/att.h
        ../../gcc/config/dbxelf.h
        ../../gcc/config/elfos.h
        ../../gcc/config/gnu-user.h
        ../../gcc/config/glibc-stdint.h
        ../../gcc/config/i386/x86-64.h
        ../../gcc/config/i386/gnu-user64.h
        ../../gcc/config/linux.h
        ../../gcc/config/i386/linux64.h
        ../../gcc/config/initfini-array.h
Using host-linux.o for host machine hooks.
/tmp/builder/buildroot/output/build/host-gcc-initial-4.7.3/gcc/configure: line 13828: /usr/bin/file: No such file or directory
Using ggc-page for garbage collection.
Links are now set up to build a cross-compiler
 from x86_64-unknown-linux-gnu to x86_64-buildroot-linux-uclibc.
../../gcc/genhooks.c: In function 'emit_documentation':
../../gcc/genhooks.c:141:14: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
       fscanf (f, "%999s", buf);
              ^
../../gcc/genhooks.c:132:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
   while (fscanf (f, "%*[^@]"), buf[0] = '\0',
                 ^
../../gcc/genhooks.c:195:14: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
       fscanf (f, "%5[^ \n]", buf);
              ^
../../gcc/genhooks.c:201:14: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
       fscanf (f, "%999s", buf);
              ^
warning: multiple different help strings for I:
        -I <dir>.       Add <dir> to the end of the main source path
        -I <dir>        Add <dir> to the end of the main include path
warning: multiple different help strings for nostdinc:
        Do not look for source files in standard path
        Do not search standard system include directories (those specified with -isystem will still be used)
gengtype-lex.c: In function 'yy_get_next_buffer':
gengtype-lex.c:1096:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
gengtype-lex.c:1887:3: note: in expansion of macro 'YY_INPUT'
gengtype-lex.c: In function 'yy_get_next_buffer':
gengtype-lex.c:1096:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
gengtype-lex.c:1887:3: note: in expansion of macro 'YY_INPUT'
../../gcc/lto-wrapper.c: In function 'collect_execute':
../../gcc/lto-wrapper.c:195:4: warning: format not a string literal and no format arguments [-Wformat-security]
    fatal_perror (errmsg);
    ^
../../gcc/lto-wrapper.c:198:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fatal (errmsg);
  ^
../../gcc/lto-wrapper.c: In function 'run_gcc':
../../gcc/lto-wrapper.c:504:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
       read (fd, data, length);
            ^
In file included from ../../gcc/function.h:25:0,
                 from build/gencondmd.c:25:
../../gcc/tree.h:3277:11: warning: identifier 'thread_local' conflicts with C++ keyword [-Wc++-compat]
  unsigned thread_local : 1;
           ^
/bin/bash: line 1: 25236 Killed                  build/genattrtab ../../gcc/config/i386/i386.md insn-conditions.md > tmp-attrtab.c
make[2]: *** [s-attrtab] Error 137
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-gcc] Error 2
make: *** [/tmp/builder/buildroot/output/build/host-gcc-initial-4.7.3/.stamp_built] Error 2
2014/04/05 15:15:52 The command [/bin/sh -c make --quiet] returned a non-zero code: 2
Unable to find image 'tarmaker' locally
Pulling repository tarmaker
2014/04/05 15:16:00 HTTP code: 404
2014/04/05 15:16:00 No such container: builder
2014/04/05 15:16:00 No such container: builder
md5sum: rootfs.tar.md5: No such file or directory
Uploading context 12.95 MB
Uploading context 
Step 0 : FROM        scratch
Pulling repository scratch
511136ea3c5a: Download complete 
 ---> 511136ea3c5a
Step 1 : MAINTAINER  Brian Clements <brian@brianclements.net>
 ---> Running in 2437ee7d290e
 ---> 1c47e041d180
Step 2 : ADD         rootfs.tar /
2014/04/05 15:16:11 rootfs.tar: no such file or directory
./run.sh: line 12: rootfs.tar: No such file or directory
REPOSITORY             TAG                 IMAGE ID            CREATED                  VIRTUAL SIZE
<none>                 <none>              1c47e041d180        Less than a second ago   0 B
<none>                 <none>              e73457b1f61f        35 minutes ago           376.9 MB
kklepper/mini          latest              30224957d31b        7 days ago               12.59 MB
busyboxplus            just-right          776d0939a76d        7 days ago               12.59 MB
brianclements/ubuntu   latest              7dbb2d4c5a81        9 days ago               144.6 MB
kklepper/MariaDB       latest              84fe1c430516        2 weeks ago              410.9 MB
kklepper/diamond       latest              d0c911df4d6c        2 weeks ago              1.215 MB
lgsd/diamond           latest              bfa7f7cadbff        8 weeks ago              1.215 MB
ubuntu                 13.10               9f676bd305a4        8 weeks ago              178 MB
ubuntu                 saucy               9f676bd305a4        8 weeks ago              178 MB
ubuntu                 raring              eb601b8965b8        8 weeks ago              166.5 MB
ubuntu                 13.04               eb601b8965b8        8 weeks ago              166.5 MB
ubuntu                 12.10               5ac751e8d623        8 weeks ago              161 MB
ubuntu                 quantal             5ac751e8d623        8 weeks ago              161 MB
ubuntu                 10.04               9cc9ea5ea540        8 weeks ago              180.8 MB
ubuntu                 lucid               9cc9ea5ea540        8 weeks ago              180.8 MB
ubuntu                 12.04               9cd978db300e        8 weeks ago              204.4 MB
ubuntu                 latest              9cd978db300e        8 weeks ago              204.4 MB
ubuntu                 precise             9cd978db300e        8 weeks ago              204.4 MB
scratch                latest              511136ea3c5a        9 months ago             0 B
vagrant@precise64:/vagrant/mini$ 
kklepper commented 10 years ago

By the way, did you notice lgsd/diamond? It is even smaller, has wget, but no git and curl. I don't know what to do with it.

Also, I asked about Playsoft / container_builder which looked pretty interesting, having nginx in a small container, but again I could not do anything productive with it.

Maybe those can give you ideas ;-)

brianclements commented 10 years ago

cool finds, there might be something in there to use in the future. lgsd/diamon uses much of the same strategy that I do but doesn't show how buildroot was compiled for that image. The repo is also monstrously large too, I think there are too many former .tar images hidden in the git history.

Container_builder is nice and is a different strategy for building containers altogether. Something to look into for sure.

As for your output, I'm going to update both the master and gitbug branches hopefully today to newer/leaner versions of the build that has a "more tested" set of build instructions. The master branch should always build for you so I'm surprised that it fails. What systems/kernels/architectures are you using to run these containers? Did you modify the tarmaker Dockerfiles before running the script? I see that last line in your output there too, if you're running docker containers within other containers (dockerception!) you need to run in --privileged mode I believe.

kklepper commented 10 years ago

I am on XP using Vagrant with VirtualBox, not running containers in containers.

Unfortunately I am not proficient enough to be of much help in the indicated directions. Otherwise I would have tried myself already - actually I did with Container_builder and was able to reproduce, although I didn't understand how to go on from there. That's why I asked the author (see issue), but unfortunaltely he didn't find the time to elaborate as promised.

I could do more if I received help, so if you would like me to do something, just instruct me enough.

brianclements commented 10 years ago

Sure: in the repository, select the "gitbug" branch. This branch just contains the files needed to make the busybox+git image. Clone that branch, not master, and compile running ./run.sh git. I already know git doesn't work in that image, but I want to make sure that you can compile it ok and not get any errors like before. Thanks!

brianclements commented 10 years ago

Some more interesting things: I had success before with creating git repos in the image itself and then cloning around within the container. This was working ok, then I realized that the issue might not be size, but "complexity" of the repo; that is, the number of objects. So I ADDed the CodeIgniter repo via dockerfile into the container and still had the issue. This rules out data corruption over the bridge and now is focused again squarely on the decompression of objects.

○ sudo docker build -t test2 .
Uploading context 41.49 MB
Uploading context
Step 0 : from test1
---> edcf239a8486
Step 1 : add CodeIgniter /opt/
---> afc13b659071
Successfully built afc13b659071
Removing intermediate container da308d60bf1e

○ sudo docker run -it test2 sh
/ # cd opt
/opt # ls
DCO.txt          application      composer.json    contributing.md  index.php        license.txt      license_afl.txt  phpdoc.dist.xml  readme.rst       system           tests            user_guide_src
/opt # cd ..
/ # mkdir test1
/ # cd test1
/test1 # ls
/test1 # git init
Initialized empty Git repository in /test1/.git/
/test1 # git remote add local /opt
/test1 # git remote -v
local   /opt (fetch)
local   /opt (push)
/test1 # git pull local
remote: Counting objects: 56678, done.
remote: Compressing objects: 100% (11347/11347), done.
remote: Total 56678 (delta 45225), reused 56666 (delta 45218)
Receiving objects: 100% (56678/56678), 33.22 MiB | 15.57 MiB/s, done.
error: inflate: data stream error (incorrect header check)
fatal: serious inflate inconsistency
fatal: index-pack failed
/test1 # git pull local
remote: Counting objects: 56678, done.
remote: Compressing objects: 100% (11347/11347), done.
remote: Total 56678 (delta 45225), reused 56666 (delta 45218)
Receiving objects: 100% (56678/56678), 33.22 MiB | 15.55 MiB/s, done.
fatal: serious inflate inconsistency
fatal: index-pack failed
/test1 # git pull local
remote: Counting objects: 56678, done.
remote: Compressing objects: 100% (11347/11347), done.
remote: Total 56678 (delta 45225), reused 56666 (delta 45218)
Receiving objects: 100% (56678/56678), 33.22 MiB | 16.00 MiB/s, done.
error: inflate: data stream error (incorrect header check)
fatal: serious inflate inconsistency
fatal: index-pack failed
/test1 # git pull local
remote: Counting objects: 56678, done.
remote: Compressing objects: 100% (11347/11347), done.
remote: Total 56678 (delta 45225), reused 56666 (delta 45218)
Receiving objects: 100% (56678/56678), 33.22 MiB | 16.26 MiB/s, done.
error: inflate: data stream error (incorrect header check)
fatal: serious inflate inconsistency
fatal: index-pack failed
/test1 #
brianclements commented 10 years ago

Hi @kklepper , Thanks for the patience, I've gotten to the bottom of this issue and released a new git image that now is fully functional. Check it out at https://index.docker.io/u/radial/busyboxplus and let me know if you run into any other issues.