mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] git source checkout checksum error
@ 2016-08-02 11:00 Gieseler, Christian
  2016-08-03  7:59 ` Michael Olbrich
  0 siblings, 1 reply; 11+ messages in thread
From: Gieseler, Christian @ 2016-08-02 11:00 UTC (permalink / raw)
  To: ptxdist

Hi all,

I have some trouble with the download of trace-cmd on my centos 6

$ ./p targetinstall trace-cmd

-------------------------------
target: trace-cmd-2.5.2.tar.bz2
-------------------------------

git: fetching 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into '/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git'...
Initialized empty shared Git repository in /globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/
remote: Counting objects: 7375, done.
remote: Total 7375 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (7375/7375), 3.21 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (5575/5575), done.
From http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
 * [new branch]      master     -> master
 * [new branch]      rfc/profile -> rfc/profile
 * [new branch]      trace-cmd-stable-v1 -> trace-cmd-stable-v1
...
snip
...
 * [new tag]         trace-cmd-v2.5.4 -> trace-cmd-v2.5.4
 * [new tag]         trace-cmd-v2.6 -> trace-cmd-v2.6

---------------------
target: trace-cmd.get
---------------------

ptxdist: error: Wrong md5sum for 'trace-cmd' (/globalPtxdistsrc/trace-cmd-2.5.2.tar.bz2)
make: *** [/home/christian/3.linuxBSP/eks-ptxdist-bsp/platform-e-light/state/trace-cmd.get] Error 1

On the other hand it works fine on centos 7.
git: fetching 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into '/buildserverhome/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git'...

A diff on the Checkout shows that there are differences in the checkout:
diff -r git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/ tmp/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/
diff -r git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/FETCH_HEAD tmp/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/FETCH_HEAD
26,28c26,28
< 214b302fca364a45da596b89097094117b253a48		tag 'trace-cmd-v1.0.7' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 939c9938d3fc66bac553e7427a3a5c8d534ac95f		tag 'trace-cmd-v1.0.8' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 320c8318dfb76810f10e8b4e5a6b7285dbcefcf7		tag 'trace-cmd-v1.0.9' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
---
> 003a8e3a9b41eececd9bc4031d6928b14021241d		tag 'trace-cmd-v1.0.7' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 9c2a71e9efca5d3c6aacfa6d9663c6cc4ebf5011		tag 'trace-cmd-v1.0.8' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> c8df56e0a76e061c526ab2f8dcd2bf568058f701		tag 'trace-cmd-v1.0.9' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
31,33c31,33
< 019aa5079754abe3f27dcf32395ea4b077a2b9c8		tag 'trace-cmd-v1.1.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 2390dee9baa1471fe31c73a4650d693e174622a9		tag 'trace-cmd-v1.1.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 6788410f1263da48e04332b1a5abaca672b7f4cc		tag 'trace-cmd-v1.1.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
---
> 10bb1f6d6bd83a966c1a38f20298ac8b64910cf2		tag 'trace-cmd-v1.1.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 17ca72e8ab162b5148b8d78549f2f3094399278a		tag 'trace-cmd-v1.1.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 3a1ac894b73a0e81ed7315bc02360f95bf7b9e66		tag 'trace-cmd-v1.1.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
35,45c35,45
< 82366b37dbbe091b6918bca6fd2a5a5ec15a628f		tag 'trace-cmd-v1.2.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 364378dfc5fcb79c2d80e088161be15d71c3a787		tag 'trace-cmd-v1.2.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< d409dca2a48baca29f246c4097554269b9da25e8		tag 'trace-cmd-v1.2.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< d29789bc9be6c60124cee248753a37c974e17b61		tag 'trace-cmd-v1.2.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 04586bd1fc5b7ab0d7e8992cf73449f89086c029		tag 'trace-cmd-v1.2.5' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 60dae67b9e89b6f12ccadfeac108184136388aae		tag 'trace-cmd-v2.0' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 1776cf9a24f95b2623fe7ee380d708bb8c6d8a73		tag 'trace-cmd-v2.0.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< e1bc6f497b196881d05562eca24154030a88f2f8		tag 'trace-cmd-v2.0.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< fb560a37d57996e378d043746a7a2af56e4f4eff		tag 'trace-cmd-v2.0.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< e690c0e4db013accbb60b3e41ee49e109d12a5a3		tag 'trace-cmd-v2.0.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< ef03aef2a9d198012dad8b0985017052161e044f		tag 'trace-cmd-v2.0.5' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
---
> 9441e033db28b4c33d2485eab0d881fb86212f7f		tag 'trace-cmd-v1.2.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 1a39f3f61281e448bb97fbc02a6d17081e11242b		tag 'trace-cmd-v1.2.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 0d26d7f58cab7434b858cf29007a403c6e5cfc28		tag 'trace-cmd-v1.2.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> b3346da9b4d28af09b5f305da5f849cd11f2a284		tag 'trace-cmd-v1.2.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 985058b04fd80fc30de02e7f6f2ec22e255ca536		tag 'trace-cmd-v1.2.5' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> ba63c39ee71c5781efbcedf6c05e23c925abb4d3		tag 'trace-cmd-v2.0' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> a463bd4355743fec280e4cb6fa4b6951832c1c58		tag 'trace-cmd-v2.0.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 80f3ed38343d7ec22e244370ea0f7dfd73cab675		tag 'trace-cmd-v2.0.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 6595be69b0e0cb896d82ecb58221fe8a555f3628		tag 'trace-cmd-v2.0.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 2f94f3a844c35c0f1d48ceba916c4a4551fe0fa0		tag 'trace-cmd-v2.0.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 0ad2b18a8a6bb47572d3f7de5a5a2568a30679c4		tag 'trace-cmd-v2.0.5' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
47,72c47,72
< b44748eb246eb373ad1b330e3a1d1ee2d9cd3699		tag 'trace-cmd-v2.1.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 57ae54ca5dc50f996beb6787c0ab7bda8cac64ba		tag 'trace-cmd-v2.1.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< ed36ee679a2f21dc2726b31026924c6b4c9e89f6		tag 'trace-cmd-v2.1.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 432d22d6589b3f7b5edb7353e07ca98dc9c6d6ec		tag 'trace-cmd-v2.1.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 606cfb9a33c53f6b19abd608a5f04635f1246710		tag 'trace-cmd-v2.1.5' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< aee9336ec0d65de77ebccf45e903630a11a38931		tag 'trace-cmd-v2.1.6' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 82ddeac15d517ee6207adf1874581bb1224f5f4b		tag 'trace-cmd-v2.2.0' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 8c10a774f1f8586cd8b0e3ce8666a376cb1d98e3		tag 'trace-cmd-v2.2.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< c1c7518fd5b48cb611242c8176527cf83c18f86f		tag 'trace-cmd-v2.2.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< cccab4a73984a2ac34c3a2dbec71d44f53fe961d		tag 'trace-cmd-v2.2.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 9d7ffb9bf3391ced45acfc3a46052c1d41d83a2b		tag 'trace-cmd-v2.2.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 5df0f770d028b28e3cf0afca27354033bdf85ce8		tag 'trace-cmd-v2.3.0' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< abe7483ec8ef183fc8bee1f665db40a503ef135c		tag 'trace-cmd-v2.3.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 79e08f8edb38c4c5098486caaa87ca90ba00f547		tag 'trace-cmd-v2.3.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< e4f3342e7bb8b3b94a022742cde44b683792760b		tag 'trace-cmd-v2.3.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 0bf823000dd8f4b0e94c2e927bfcefbd543cc368		tag 'trace-cmd-v2.3.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 0517388225e776a865fa07fa2ce105e97bd19212		tag 'trace-cmd-v2.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 2a0fb915ba671a6276835cc66ba65ff41bdcfea9		tag 'trace-cmd-v2.4.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 01f8e669cb035aa911f1ee0e3f94d535cbcca78f		tag 'trace-cmd-v2.4.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< bd2a7e21fe5f17b9b61a530254dc1fdd3e1c72e8		tag 'trace-cmd-v2.5' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< db0f8737d47305d2a7313a9b975d1717520e6849		tag 'trace-cmd-v2.5.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 63df703241c0dc0b4afe70f26b31c4786471cdd5		tag 'trace-cmd-v2.5.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< cd0d29f41041d627fcc0d0446bfca697c20ee3c3		tag 'trace-cmd-v2.5.2-1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 0813335d2e49291e7ab6a4365cec2baa05813eda		tag 'trace-cmd-v2.5.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 0ba52fa12236552b7a774eb2c3d69886d1479dc6		tag 'trace-cmd-v2.5.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
< 9be5d74805830a291615f2f34a27c903f6a37b1e		tag 'trace-cmd-v2.6' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
---
> 4d34c2d359c32d65a842cbc7579608977691ef3b		tag 'trace-cmd-v2.1.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> af96326e55f2ce6cbc940c451956ed7341107c89		tag 'trace-cmd-v2.1.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> e5e0e6f81842e3d12bfab955ffd25a4cc65326e2		tag 'trace-cmd-v2.1.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 28a6cc97dfb77994f77a47afc898a4ab7930feb0		tag 'trace-cmd-v2.1.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 2aae67e29c7fe1836d3f6448b0a3c36686613b8b		tag 'trace-cmd-v2.1.5' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 690d07dd99ae9b90be1fe64877b90c4ff1873205		tag 'trace-cmd-v2.1.6' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 40fa05aba7406dff4f36f4489ef7188ab6f18e50		tag 'trace-cmd-v2.2.0' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 8e13c90cdbef1e901d00dbdce8af5ad03d15374c		tag 'trace-cmd-v2.2.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> d2e85a34251111d7f7720a6da93a37320cf18d71		tag 'trace-cmd-v2.2.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> d41b7ca5abd5ca33127c238390d97864b3ef2dfe		tag 'trace-cmd-v2.2.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> d704f97c7999e0adac68f8537fd6ce0a21d53f2c		tag 'trace-cmd-v2.2.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> c6af8fc0cfc7ac475534a7ff7424b40ce9f070d9		tag 'trace-cmd-v2.3.0' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> da3854a939153e117cdde785b664e3d44db40f9f		tag 'trace-cmd-v2.3.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 6d3989bc23ff582de600fcd8ab0f540e3c1191a4		tag 'trace-cmd-v2.3.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 105f5544fa9228d7edf35932a9f1fe6220f22ca0		tag 'trace-cmd-v2.3.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> a1b52a932c8d6872e1510901547cb53076d02955		tag 'trace-cmd-v2.3.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> c42ef348a644894216680e9dbeaa5638670445a1		tag 'trace-cmd-v2.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> d4625579f1f27ab5d0a5ae9edceda9e727e46a4a		tag 'trace-cmd-v2.4.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 7485ef47ec497068ed4fd808039a1e9ab894c1ff		tag 'trace-cmd-v2.4.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 7cdb41536e1bba4b7c827a70466e66029c7c1e62		tag 'trace-cmd-v2.5' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> c860231f4a0a582274b60ac8f63b662e131487a3		tag 'trace-cmd-v2.5.1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> a6e4c2aa1aaf905b49e7dd44b4064a93265b021c		tag 'trace-cmd-v2.5.2' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 9ecc81608cc1170698a777c1d051b9e902078264		tag 'trace-cmd-v2.5.2-1' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> e44fe1f5c36c65bba79fc8ad92308e6f3fe5a0ea		tag 'trace-cmd-v2.5.3' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> 198ba2647bb8edfe421a5e6715f162a0d4b996a5		tag 'trace-cmd-v2.5.4' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> e5a9aca322091406a8d6e1fb0ed70ae1b33c1a52		tag 'trace-cmd-v2.6' of http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
Only in git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/hooks: post-commit.sample
Only in git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/hooks: post-receive.sample
diff -r git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/hooks/pre-commit.sample tmp/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/hooks/pre-commit.sample
20a21,23
> # Redirect output to stderr.
> exec 1>&2
> 
28,29c31,32
< 	test "$(git diff --cached --name-only --diff-filter=A -z $against |
< 	  LC_ALL=C tr -d '[ -~]\0')"
---
> 	test $(git diff --cached --name-only --diff-filter=A -z $against |
> 	  LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
45a49
> # If there are whitespace errors, print the offending file names and fail.
Only in tmp/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/hooks: pre-push.sample
diff -r git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/hooks/update.sample tmp/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/hooks/update.sample
41c41
< 	echo "Usage: $0 <ref> <oldrev> <newrev>" >&2
---
> 	echo "usage: $0 <ref> <oldrev> <newrev>" >&2
Binary files git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/objects/pack/pack-a8cc883a2fa435078c0b38ea9094508eb0208996.idx and tmp/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/objects/pack/pack-a8cc883a2fa435078c0b38ea9094508eb0208996.idx differ
Binary files git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/objects/pack/pack-a8cc883a2fa435078c0b38ea9094508eb0208996.pack and tmp/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/objects/pack/pack-a8cc883a2fa435078c0b38ea9094508eb0208996.pack differ

Git checkout trace-cmd-v2.5.2 results in the same response HEAD is now at 63df703... trace-cmd: Version 2.5.2  Still the checkout is not the same as the diff above shows.
Centos 6 has git version 1.7.1. Centos 7 1.8.3.1. 
Has someone an idea whats wrong here.

Best Regrads
Christian


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-02 11:00 [ptxdist] git source checkout checksum error Gieseler, Christian
@ 2016-08-03  7:59 ` Michael Olbrich
  2016-08-03  8:10   ` Uwe Kleine-König
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Olbrich @ 2016-08-03  7:59 UTC (permalink / raw)
  To: ptxdist

Hi,

On Tue, Aug 02, 2016 at 11:00:50AM +0000, Gieseler, Christian wrote:
> I have some trouble with the download of trace-cmd on my centos 6
> 
> $ ./p targetinstall trace-cmd
> 
> -------------------------------
> target: trace-cmd-2.5.2.tar.bz2
> -------------------------------
> 
> git: fetching 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into '/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git'...
> Initialized empty shared Git repository in /globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/
> remote: Counting objects: 7375, done.
> remote: Total 7375 (delta 0), reused 0 (delta 0)
> Receiving objects: 100% (7375/7375), 3.21 MiB | 1.12 MiB/s, done.
> Resolving deltas: 100% (5575/5575), done.
> From http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
>  * [new branch]      master     -> master
>  * [new branch]      rfc/profile -> rfc/profile
>  * [new branch]      trace-cmd-stable-v1 -> trace-cmd-stable-v1
> ...
> snip
> ...
>  * [new tag]         trace-cmd-v2.5.4 -> trace-cmd-v2.5.4
>  * [new tag]         trace-cmd-v2.6 -> trace-cmd-v2.6
> 
> ---------------------
> target: trace-cmd.get
> ---------------------
> 
> ptxdist: error: Wrong md5sum for 'trace-cmd' (/globalPtxdistsrc/trace-cmd-2.5.2.tar.bz2)
> make: *** [/home/christian/3.linuxBSP/eks-ptxdist-bsp/platform-e-light/state/trace-cmd.get] Error 1
> 
> On the other hand it works fine on centos 7.
> git: fetching 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into '/buildserverhome/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git'...
[...]
> Git checkout trace-cmd-v2.5.2 results in the same response HEAD is now at 63df703... trace-cmd: Version 2.5.2  Still the checkout is not the same as the diff above shows.
> Centos 6 has git version 1.7.1. Centos 7 1.8.3.1. 
> Has someone an idea whats wrong here.

PTXdist uses git-archive to generate the tarballs. I'm guessing, somthing
changed there. Try to compare the resulting tarballs to see what changed.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-03  7:59 ` Michael Olbrich
@ 2016-08-03  8:10   ` Uwe Kleine-König
  2016-08-03  8:44     ` Gieseler, Christian
  0 siblings, 1 reply; 11+ messages in thread
From: Uwe Kleine-König @ 2016-08-03  8:10 UTC (permalink / raw)
  To: ptxdist

On Wed, Aug 03, 2016 at 09:59:31AM +0200, Michael Olbrich wrote:
> Hi,
> 
> On Tue, Aug 02, 2016 at 11:00:50AM +0000, Gieseler, Christian wrote:
> > I have some trouble with the download of trace-cmd on my centos 6
> > 
> > $ ./p targetinstall trace-cmd
> > 
> > -------------------------------
> > target: trace-cmd-2.5.2.tar.bz2
> > -------------------------------
> > 
> > git: fetching 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into '/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git'...
> > Initialized empty shared Git repository in /globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git/
> > remote: Counting objects: 7375, done.
> > remote: Total 7375 (delta 0), reused 0 (delta 0)
> > Receiving objects: 100% (7375/7375), 3.21 MiB | 1.12 MiB/s, done.
> > Resolving deltas: 100% (5575/5575), done.
> > From http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> >  * [new branch]      master     -> master
> >  * [new branch]      rfc/profile -> rfc/profile
> >  * [new branch]      trace-cmd-stable-v1 -> trace-cmd-stable-v1
> > ...
> > snip
> > ...
> >  * [new tag]         trace-cmd-v2.5.4 -> trace-cmd-v2.5.4
> >  * [new tag]         trace-cmd-v2.6 -> trace-cmd-v2.6
> > 
> > ---------------------
> > target: trace-cmd.get
> > ---------------------
> > 
> > ptxdist: error: Wrong md5sum for 'trace-cmd' (/globalPtxdistsrc/trace-cmd-2.5.2.tar.bz2)
> > make: *** [/home/christian/3.linuxBSP/eks-ptxdist-bsp/platform-e-light/state/trace-cmd.get] Error 1
> > 
> > On the other hand it works fine on centos 7.
> > git: fetching 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into '/buildserverhome/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-cmd.git'...
> [...]
> > Git checkout trace-cmd-v2.5.2 results in the same response HEAD is now at 63df703... trace-cmd: Version 2.5.2  Still the checkout is not the same as the diff above shows.
> > Centos 6 has git version 1.7.1. Centos 7 1.8.3.1. 
> > Has someone an idea whats wrong here.
> 
> PTXdist uses git-archive to generate the tarballs. I'm guessing, somthing
> changed there. Try to compare the resulting tarballs to see what changed.

Do a good and a bad .tar.bz2 match when unpacked?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-03  8:10   ` Uwe Kleine-König
@ 2016-08-03  8:44     ` Gieseler, Christian
  2016-08-03 10:11       ` Michael Olbrich
  0 siblings, 1 reply; 11+ messages in thread
From: Gieseler, Christian @ 2016-08-03  8:44 UTC (permalink / raw)
  To: ptxdist

Hi,

> -----Ursprüngliche Nachricht-----
> Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von Uwe
> Kleine-König
> Gesendet: Mittwoch, 3. August 2016 10:11
> An: ptxdist@pengutronix.de
> Betreff: Re: [ptxdist] git source checkout checksum error
> 
> On Wed, Aug 03, 2016 at 09:59:31AM +0200, Michael Olbrich wrote:
> > Hi,
> >
> > On Tue, Aug 02, 2016 at 11:00:50AM +0000, Gieseler, Christian wrote:
> > > I have some trouble with the download of trace-cmd on my centos 6
> > >
> > > $ ./p targetinstall trace-cmd
> > >
> > > -------------------------------
> > > target: trace-cmd-2.5.2.tar.bz2
> > > -------------------------------
> > >
> > > git: fetching
> 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into
> '/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> cmd.git'...
> > > Initialized empty shared Git repository in
> /globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> cmd.git/
> > > remote: Counting objects: 7375, done.
> > > remote: Total 7375 (delta 0), reused 0 (delta 0)
> > > Receiving objects: 100% (7375/7375), 3.21 MiB | 1.12 MiB/s, done.
> > > Resolving deltas: 100% (5575/5575), done.
> > > From http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> > >  * [new branch]      master     -> master
> > >  * [new branch]      rfc/profile -> rfc/profile
> > >  * [new branch]      trace-cmd-stable-v1 -> trace-cmd-stable-v1
> > > ...
> > > snip
> > > ...
> > >  * [new tag]         trace-cmd-v2.5.4 -> trace-cmd-v2.5.4
> > >  * [new tag]         trace-cmd-v2.6 -> trace-cmd-v2.6
> > >
> > > ---------------------
> > > target: trace-cmd.get
> > > ---------------------
> > >
> > > ptxdist: error: Wrong md5sum for 'trace-cmd' (/globalPtxdistsrc/trace-
> cmd-2.5.2.tar.bz2)
> > > make: *** [/home/christian/3.linuxBSP/eks-ptxdist-bsp/platform-e-
> light/state/trace-cmd.get] Error 1
> > >
> > > On the other hand it works fine on centos 7.
> > > git: fetching
> 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into
> '/buildserverhome/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.r
> ostedt.trace-cmd.git'...
> > [...]
> > > Git checkout trace-cmd-v2.5.2 results in the same response HEAD is now
> at 63df703... trace-cmd: Version 2.5.2  Still the checkout is not the same as
> the diff above shows.
> > > Centos 6 has git version 1.7.1. Centos 7 1.8.3.1.
> > > Has someone an idea whats wrong here.
> >
> > PTXdist uses git-archive to generate the tarballs. I'm guessing, somthing
> > changed there. Try to compare the resulting tarballs to see what changed.
> 
> Do a good and a bad .tar.bz2 match when unpacked?
Yes, they match. So it seems to be a compression issue.
Is that a parameter in local git config or is ptxdist using a defined value to overwrite the default one?

Best Regards
Christian
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-03  8:44     ` Gieseler, Christian
@ 2016-08-03 10:11       ` Michael Olbrich
  2016-08-03 11:06         ` Gieseler, Christian
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Olbrich @ 2016-08-03 10:11 UTC (permalink / raw)
  To: ptxdist

On Wed, Aug 03, 2016 at 08:44:07AM +0000, Gieseler, Christian wrote:
> > > > git: fetching
> > 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into
> > '/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> > cmd.git'...
> > > > Initialized empty shared Git repository in
> > /globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> > cmd.git/
> > > > remote: Counting objects: 7375, done.
> > > > remote: Total 7375 (delta 0), reused 0 (delta 0)
> > > > Receiving objects: 100% (7375/7375), 3.21 MiB | 1.12 MiB/s, done.
> > > > Resolving deltas: 100% (5575/5575), done.
> > > > From http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd
> > > >  * [new branch]      master     -> master
> > > >  * [new branch]      rfc/profile -> rfc/profile
> > > >  * [new branch]      trace-cmd-stable-v1 -> trace-cmd-stable-v1
> > > > ...
> > > > snip
> > > > ...
> > > >  * [new tag]         trace-cmd-v2.5.4 -> trace-cmd-v2.5.4
> > > >  * [new tag]         trace-cmd-v2.6 -> trace-cmd-v2.6
> > > >
> > > > ---------------------
> > > > target: trace-cmd.get
> > > > ---------------------
> > > >
> > > > ptxdist: error: Wrong md5sum for 'trace-cmd' (/globalPtxdistsrc/trace-
> > cmd-2.5.2.tar.bz2)
> > > > make: *** [/home/christian/3.linuxBSP/eks-ptxdist-bsp/platform-e-
> > light/state/trace-cmd.get] Error 1
> > > >
> > > > On the other hand it works fine on centos 7.
> > > > git: fetching
> > 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git into
> > '/buildserverhome/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.r
> > ostedt.trace-cmd.git'...
> > > [...]
> > > > Git checkout trace-cmd-v2.5.2 results in the same response HEAD is now
> > at 63df703... trace-cmd: Version 2.5.2  Still the checkout is not the same as
> > the diff above shows.
> > > > Centos 6 has git version 1.7.1. Centos 7 1.8.3.1.
> > > > Has someone an idea whats wrong here.
> > >
> > > PTXdist uses git-archive to generate the tarballs. I'm guessing, somthing
> > > changed there. Try to compare the resulting tarballs to see what changed.
> > 
> > Do a good and a bad .tar.bz2 match when unpacked?
> Yes, they match. So it seems to be a compression issue.
> Is that a parameter in local git config or is ptxdist using a defined value
> to overwrite the default one?

Unpacked, as in uncompressed tar match or individual files match?
If the files match, then the file order or timestamps in the tar may be
different, or something like that.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-03 10:11       ` Michael Olbrich
@ 2016-08-03 11:06         ` Gieseler, Christian
  2016-08-03 11:09           ` Uwe Kleine-König
  2016-08-04  6:38           ` Michael Olbrich
  0 siblings, 2 replies; 11+ messages in thread
From: Gieseler, Christian @ 2016-08-03 11:06 UTC (permalink / raw)
  To: ptxdist

> -----Ursprüngliche Nachricht-----
> Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von
> Michael Olbrich
> Gesendet: Mittwoch, 3. August 2016 12:11
> An: ptxdist@pengutronix.de
> Betreff: Re: [ptxdist] git source checkout checksum error
> 
> On Wed, Aug 03, 2016 at 08:44:07AM +0000, Gieseler, Christian wrote:
> > > > > git: fetching
> > > 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
> into
> > > '/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> > > cmd.git'...
> > > > > Initialized empty shared Git repository in
> > > /globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> > > cmd.git/
> > > > > remote: Counting objects: 7375, done.
> > > > > remote: Total 7375 (delta 0), reused 0 (delta 0)
> > > > > Receiving objects: 100% (7375/7375), 3.21 MiB | 1.12 MiB/s, done.
> > > > > Resolving deltas: 100% (5575/5575), done.
> > > > > From http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-
> cmd
> > > > >  * [new branch]      master     -> master
> > > > >  * [new branch]      rfc/profile -> rfc/profile
> > > > >  * [new branch]      trace-cmd-stable-v1 -> trace-cmd-stable-v1
> > > > > ...
> > > > > snip
> > > > > ...
> > > > >  * [new tag]         trace-cmd-v2.5.4 -> trace-cmd-v2.5.4
> > > > >  * [new tag]         trace-cmd-v2.6 -> trace-cmd-v2.6
> > > > >
> > > > > ---------------------
> > > > > target: trace-cmd.get
> > > > > ---------------------
> > > > >
> > > > > ptxdist: error: Wrong md5sum for 'trace-cmd'
> (/globalPtxdistsrc/trace-
> > > cmd-2.5.2.tar.bz2)
> > > > > make: *** [/home/christian/3.linuxBSP/eks-ptxdist-bsp/platform-e-
> > > light/state/trace-cmd.get] Error 1
> > > > >
> > > > > On the other hand it works fine on centos 7.
> > > > > git: fetching
> > > 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
> into
> > >
> '/buildserverhome/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.r
> > > ostedt.trace-cmd.git'...
> > > > [...]
> > > > > Git checkout trace-cmd-v2.5.2 results in the same response HEAD is
> now
> > > at 63df703... trace-cmd: Version 2.5.2  Still the checkout is not the same as
> > > the diff above shows.
> > > > > Centos 6 has git version 1.7.1. Centos 7 1.8.3.1.
> > > > > Has someone an idea whats wrong here.
> > > >
> > > > PTXdist uses git-archive to generate the tarballs. I'm guessing, somthing
> > > > changed there. Try to compare the resulting tarballs to see what
> changed.
> > >
> > > Do a good and a bad .tar.bz2 match when unpacked?
> > Yes, they match. So it seems to be a compression issue.
> > Is that a parameter in local git config or is ptxdist using a defined value
> > to overwrite the default one?
> 
> Unpacked, as in uncompressed tar match or individual files match?
> If the files match, then the file order or timestamps in the tar may be
> different, or something like that.
I unpacked both tar.bz2 with with tar -xf  and a diff shows no difference. However the filesize of the archeives is different.
du -h centos7/trace-cmd-2.5.2.tar.bz2 -->1.7M
du -h centos6/trace-cmd-2.5.2.tar.bz2 -->3.2M

diff -r centos6/trace-cmd-2.5.2 centos7/trace-cmd-2.5.2 for the unpacked archives returns no difference.

Regards Christian
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-03 11:06         ` Gieseler, Christian
@ 2016-08-03 11:09           ` Uwe Kleine-König
  2016-08-03 12:30             ` Gieseler, Christian
  2016-08-04  6:38           ` Michael Olbrich
  1 sibling, 1 reply; 11+ messages in thread
From: Uwe Kleine-König @ 2016-08-03 11:09 UTC (permalink / raw)
  To: ptxdist

On Wed, Aug 03, 2016 at 11:06:36AM +0000, Gieseler, Christian wrote:
> > -----Ursprüngliche Nachricht-----
> > Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von
> > Michael Olbrich
> > Gesendet: Mittwoch, 3. August 2016 12:11
> > An: ptxdist@pengutronix.de
> > Betreff: Re: [ptxdist] git source checkout checksum error
> > 
> > On Wed, Aug 03, 2016 at 08:44:07AM +0000, Gieseler, Christian wrote:
> > > > > > git: fetching
> > > > 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
> > into
> > > > '/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> > > > cmd.git'...
> > > > > > Initialized empty shared Git repository in
> > > > /globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> > > > cmd.git/
> > > > > > remote: Counting objects: 7375, done.
> > > > > > remote: Total 7375 (delta 0), reused 0 (delta 0)
> > > > > > Receiving objects: 100% (7375/7375), 3.21 MiB | 1.12 MiB/s, done.
> > > > > > Resolving deltas: 100% (5575/5575), done.
> > > > > > From http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-
> > cmd
> > > > > >  * [new branch]      master     -> master
> > > > > >  * [new branch]      rfc/profile -> rfc/profile
> > > > > >  * [new branch]      trace-cmd-stable-v1 -> trace-cmd-stable-v1
> > > > > > ...
> > > > > > snip
> > > > > > ...
> > > > > >  * [new tag]         trace-cmd-v2.5.4 -> trace-cmd-v2.5.4
> > > > > >  * [new tag]         trace-cmd-v2.6 -> trace-cmd-v2.6
> > > > > >
> > > > > > ---------------------
> > > > > > target: trace-cmd.get
> > > > > > ---------------------
> > > > > >
> > > > > > ptxdist: error: Wrong md5sum for 'trace-cmd'
> > (/globalPtxdistsrc/trace-
> > > > cmd-2.5.2.tar.bz2)
> > > > > > make: *** [/home/christian/3.linuxBSP/eks-ptxdist-bsp/platform-e-
> > > > light/state/trace-cmd.get] Error 1
> > > > > >
> > > > > > On the other hand it works fine on centos 7.
> > > > > > git: fetching
> > > > 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
> > into
> > > >
> > '/buildserverhome/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.r
> > > > ostedt.trace-cmd.git'...
> > > > > [...]
> > > > > > Git checkout trace-cmd-v2.5.2 results in the same response HEAD is
> > now
> > > > at 63df703... trace-cmd: Version 2.5.2  Still the checkout is not the same as
> > > > the diff above shows.
> > > > > > Centos 6 has git version 1.7.1. Centos 7 1.8.3.1.
> > > > > > Has someone an idea whats wrong here.
> > > > >
> > > > > PTXdist uses git-archive to generate the tarballs. I'm guessing, somthing
> > > > > changed there. Try to compare the resulting tarballs to see what
> > changed.
> > > >
> > > > Do a good and a bad .tar.bz2 match when unpacked?
> > > Yes, they match. So it seems to be a compression issue.
> > > Is that a parameter in local git config or is ptxdist using a defined value
> > > to overwrite the default one?
> > 
> > Unpacked, as in uncompressed tar match or individual files match?
> > If the files match, then the file order or timestamps in the tar may be
> > different, or something like that.
> I unpacked both tar.bz2 with with tar -xf  and a diff shows no difference. However the filesize of the archeives is different.
> du -h centos7/trace-cmd-2.5.2.tar.bz2 -->1.7M
> du -h centos6/trace-cmd-2.5.2.tar.bz2 -->3.2M

What about:

	bzdiff centos{6,7}/trace-cmd-2.5.2.tar.bz2

?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-03 11:09           ` Uwe Kleine-König
@ 2016-08-03 12:30             ` Gieseler, Christian
  0 siblings, 0 replies; 11+ messages in thread
From: Gieseler, Christian @ 2016-08-03 12:30 UTC (permalink / raw)
  To: ptxdist

Hi Uwe,

> -----Ursprüngliche Nachricht-----
> Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von Uwe
> Kleine-König
> Gesendet: Mittwoch, 3. August 2016 13:10
> An: ptxdist@pengutronix.de
> Betreff: Re: [ptxdist] git source checkout checksum error
> 
> On Wed, Aug 03, 2016 at 11:06:36AM +0000, Gieseler, Christian wrote:
> > > -----Ursprüngliche Nachricht-----
> > > Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von
> > > Michael Olbrich
> > > Gesendet: Mittwoch, 3. August 2016 12:11
> > > An: ptxdist@pengutronix.de
> > > Betreff: Re: [ptxdist] git source checkout checksum error
> > >
> > > On Wed, Aug 03, 2016 at 08:44:07AM +0000, Gieseler, Christian wrote:
> > > > > > > git: fetching
> > > > > 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
> > > into
> > > > >
> '/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> > > > > cmd.git'...
> > > > > > > Initialized empty shared Git repository in
> > > > >
> /globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.rostedt.trace-
> > > > > cmd.git/
> > > > > > > remote: Counting objects: 7375, done.
> > > > > > > remote: Total 7375 (delta 0), reused 0 (delta 0)
> > > > > > > Receiving objects: 100% (7375/7375), 3.21 MiB | 1.12 MiB/s, done.
> > > > > > > Resolving deltas: 100% (5575/5575), done.
> > > > > > > From
> http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-
> > > cmd
> > > > > > >  * [new branch]      master     -> master
> > > > > > >  * [new branch]      rfc/profile -> rfc/profile
> > > > > > >  * [new branch]      trace-cmd-stable-v1 -> trace-cmd-stable-v1
> > > > > > > ...
> > > > > > > snip
> > > > > > > ...
> > > > > > >  * [new tag]         trace-cmd-v2.5.4 -> trace-cmd-v2.5.4
> > > > > > >  * [new tag]         trace-cmd-v2.6 -> trace-cmd-v2.6
> > > > > > >
> > > > > > > ---------------------
> > > > > > > target: trace-cmd.get
> > > > > > > ---------------------
> > > > > > >
> > > > > > > ptxdist: error: Wrong md5sum for 'trace-cmd'
> > > (/globalPtxdistsrc/trace-
> > > > > cmd-2.5.2.tar.bz2)
> > > > > > > make: *** [/home/christian/3.linuxBSP/eks-ptxdist-
> bsp/platform-e-
> > > > > light/state/trace-cmd.get] Error 1
> > > > > > >
> > > > > > > On the other hand it works fine on centos 7.
> > > > > > > git: fetching
> > > > > 'http://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
> > > into
> > > > >
> > >
> '/buildserverhome/globalPtxdistsrc/git.kernel.org.pub.scm.linux.kernel.git.r
> > > > > ostedt.trace-cmd.git'...
> > > > > > [...]
> > > > > > > Git checkout trace-cmd-v2.5.2 results in the same response HEAD
> is
> > > now
> > > > > at 63df703... trace-cmd: Version 2.5.2  Still the checkout is not the
> same as
> > > > > the diff above shows.
> > > > > > > Centos 6 has git version 1.7.1. Centos 7 1.8.3.1.
> > > > > > > Has someone an idea whats wrong here.
> > > > > >
> > > > > > PTXdist uses git-archive to generate the tarballs. I'm guessing,
> somthing
> > > > > > changed there. Try to compare the resulting tarballs to see what
> > > changed.
> > > > >
> > > > > Do a good and a bad .tar.bz2 match when unpacked?
> > > > Yes, they match. So it seems to be a compression issue.
> > > > Is that a parameter in local git config or is ptxdist using a defined value
> > > > to overwrite the default one?
> > >
> > > Unpacked, as in uncompressed tar match or individual files match?
> > > If the files match, then the file order or timestamps in the tar may be
> > > different, or something like that.
> > I unpacked both tar.bz2 with with tar -xf  and a diff shows no difference.
> However the filesize of the archeives is different.
> > du -h centos7/trace-cmd-2.5.2.tar.bz2 -->1.7M
> > du -h centos6/trace-cmd-2.5.2.tar.bz2 -->3.2M
> 
> What about:
> 
> 	bzdiff centos{6,7}/trace-cmd-2.5.2.tar.bz2
> 
> ?
bzdiff returns without any output so they are no differences. 
The remaining question is then why they have different size.
Best Regards
Christian

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-03 11:06         ` Gieseler, Christian
  2016-08-03 11:09           ` Uwe Kleine-König
@ 2016-08-04  6:38           ` Michael Olbrich
  2016-08-04  6:50             ` Gieseler, Christian
  1 sibling, 1 reply; 11+ messages in thread
From: Michael Olbrich @ 2016-08-04  6:38 UTC (permalink / raw)
  To: ptxdist

On Wed, Aug 03, 2016 at 11:06:36AM +0000, Gieseler, Christian wrote:
> > Unpacked, as in uncompressed tar match or individual files match?
> > If the files match, then the file order or timestamps in the tar may be
> > different, or something like that.
> I unpacked both tar.bz2 with with tar -xf  and a diff shows no difference. However the filesize of the archeives is different.
> du -h centos7/trace-cmd-2.5.2.tar.bz2 -->1.7M
> du -h centos6/trace-cmd-2.5.2.tar.bz2 -->3.2M

What does 'file' say about both? Is centos6/trace-cmd-2.5.2.tar.bz2 really
a bzip2 file? Maybe it's gzip.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-04  6:38           ` Michael Olbrich
@ 2016-08-04  6:50             ` Gieseler, Christian
  2016-08-04  6:59               ` Michael Olbrich
  0 siblings, 1 reply; 11+ messages in thread
From: Gieseler, Christian @ 2016-08-04  6:50 UTC (permalink / raw)
  To: ptxdist

> -----Ursprüngliche Nachricht-----
> Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von
> Michael Olbrich
> Gesendet: Donnerstag, 4. August 2016 08:39
> An: ptxdist@pengutronix.de
> Betreff: Re: [ptxdist] git source checkout checksum error
> 
> On Wed, Aug 03, 2016 at 11:06:36AM +0000, Gieseler, Christian wrote:
> > > Unpacked, as in uncompressed tar match or individual files match?
> > > If the files match, then the file order or timestamps in the tar may be
> > > different, or something like that.
> > I unpacked both tar.bz2 with with tar -xf  and a diff shows no difference.
> However the filesize of the archeives is different.
> > du -h centos7/trace-cmd-2.5.2.tar.bz2 -->1.7M
> > du -h centos6/trace-cmd-2.5.2.tar.bz2 -->3.2M
> 
> What does 'file' say about both? Is centos6/trace-cmd-2.5.2.tar.bz2 really
> a bzip2 file? Maybe it's gzip.
> 
file centos6/trace-cmd-2.5.2.tar.bz2  centos6/trace-cmd-2.5.2.tar.bz2: POSIX tar archive
file centos7/trace-cmd-2.5.2.tar.bz2  centos7/trace-cmd-2.5.2.tar.bz2: bzip2 compressed data, block size = 900k

Which parameters are you passing to git archive about compression? Are you using the system defaults?

Best Regards
Christian

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] git source checkout checksum error
  2016-08-04  6:50             ` Gieseler, Christian
@ 2016-08-04  6:59               ` Michael Olbrich
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Olbrich @ 2016-08-04  6:59 UTC (permalink / raw)
  To: ptxdist

On Thu, Aug 04, 2016 at 06:50:45AM +0000, Gieseler, Christian wrote:
> > -----Ursprüngliche Nachricht-----
> > Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von
> > Michael Olbrich
> > Gesendet: Donnerstag, 4. August 2016 08:39
> > An: ptxdist@pengutronix.de
> > Betreff: Re: [ptxdist] git source checkout checksum error
> > 
> > On Wed, Aug 03, 2016 at 11:06:36AM +0000, Gieseler, Christian wrote:
> > > > Unpacked, as in uncompressed tar match or individual files match?
> > > > If the files match, then the file order or timestamps in the tar may be
> > > > different, or something like that.
> > > I unpacked both tar.bz2 with with tar -xf  and a diff shows no difference.
> > However the filesize of the archeives is different.
> > > du -h centos7/trace-cmd-2.5.2.tar.bz2 -->1.7M
> > > du -h centos6/trace-cmd-2.5.2.tar.bz2 -->3.2M
> > 
> > What does 'file' say about both? Is centos6/trace-cmd-2.5.2.tar.bz2 really
> > a bzip2 file? Maybe it's gzip.
> > 
> file centos6/trace-cmd-2.5.2.tar.bz2  centos6/trace-cmd-2.5.2.tar.bz2: POSIX tar archive
> file centos7/trace-cmd-2.5.2.tar.bz2  centos7/trace-cmd-2.5.2.tar.bz2: bzip2 compressed data, block size = 900k
> 
> Which parameters are you passing to git archive about compression? Are you using the system defaults?

scripts/lib/ptxd_make_get.sh +138

That's basically a 'git config tar.tar.bz2.command "bzip2 -c"'. I think the
command option was introduced with git 1.8.x :-/.

Maybe you could change ptxd_make_get_git() do so something like this:

case "${path}" in
*.bz2)
	cmd="bzip2 -c"
	;;
...
esac
git archive ... | ${cmd}" > "${path}"

make sure 'git archive' produces just tar for all git version when called
like this.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-08-04  6:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-02 11:00 [ptxdist] git source checkout checksum error Gieseler, Christian
2016-08-03  7:59 ` Michael Olbrich
2016-08-03  8:10   ` Uwe Kleine-König
2016-08-03  8:44     ` Gieseler, Christian
2016-08-03 10:11       ` Michael Olbrich
2016-08-03 11:06         ` Gieseler, Christian
2016-08-03 11:09           ` Uwe Kleine-König
2016-08-03 12:30             ` Gieseler, Christian
2016-08-04  6:38           ` Michael Olbrich
2016-08-04  6:50             ` Gieseler, Christian
2016-08-04  6:59               ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox