jmacd / xdelta

open-source binary diff, delta/differential compression tools, VCDIFF/RFC 3284 delta compression
http://xdelta.org
1.14k stars 189 forks source link

Error "external compression commands failed" when compressing certain files #262

Closed looopTools closed 3 years ago

looopTools commented 3 years ago

For across multiple files and file types I get this error: external compression commands failed

The full output when running xdelta on the file:

[tools@yavin Desktop]$ xdelta 100_ak 
xdelta3: externally compressed input: gzip -dc < 100_ak
xdelta3: WARNING: the encoder is automatically decompressing the input file;
xdelta3: WARNING: the decoder will automatically recompress the output file;
xdelta3: WARNING: this may result in different compressed data and checksums
xdelta3: WARNING: despite being identical data; if this is an issue, use -D
xdelta3: WARNING: to avoid decompression and/or use -R to avoid recompression
xdelta3: WARNING: and/or manually decompress the input file; if you know the
xdelta3: WARNING: compression settings that will produce identical output
xdelta3: WARNING: you may set those flags using the environment (e.g., GZIP=-9)
gzip: stdin: decompression OK, trailing garbage ignored
��100_ak/G�=�r��)�'#�#�{�7zXZ��A!
                                 ��A��
�(��d��������YDr�0�</ q�|t�h���       z c]B�T��o������
�����u��7��K�)E��s�γ�q񅂲�!�H�I��2��"��r~>�CP��D1�L�t�Pg�ӗ��k�G{�;u�8�����MqqமHW�t���CQ�`���Ț�0m�h���,���;"���"��:P(��x�)���M
]J���y2\1��"V�*Q�$0�z�ח����&�j!/1��q�U��Q��7ہ�P���8�V,��
�a��D�����)C�$s����:`ee�@O�ؚ/qO����ۑg���=p�
X�
  �.3a��R[�q4���m���v��R0�$�<MY_    mα?\��_%�����}R�H�b���pXwX�0�!&�h
N&~7                                                                     �|ھlr�=fJߖ
T�O��@�������8l��|f�����े�J�YnI�
cE��2�v]\�
�)��
=��i��6Gs0�r����Ǫ��ܟ4<��    7��b��  �F  :��9wd2��O������w,M��m�=�C���C,���2w���y���褞e�O��
                                                                                                  ��*v�bt�}=g�pc�7�%��K�߱-����پٰ���^�M�{�R�ō�Vo��׶�jɭ�s��8f�`���$Q��A'B5M���7�~��1]�_k��.d�sn�uq+֧��JkT�����"T����Z�u�4(N�ɒ���S+X��
                                                            P���ʍ}��
+��3��*���(�8Iy�S���v8��Wnڶ�t�ы�x�R,�nI��ZG@��L̀O�s�<��9N5B̃D^��h�,�?��+9&w�MC�{�臝Ϩ�
                                                                                   �ɻ!@*o��Q��$h���-$�M�zS�Qc��yINs�s�ըt�O/��L�P�_�u�fd���t�B��b�o�dR�I�-��V�1���=I62����4��ل[�t��H�[x��>:SrR�=���ԗ?�g��E/͞ѩ��ƽ��7�\�"��7���τ�rl!˖c�jM��}���=��<n�l�K-;j��a1���f3�e�+c=m����S���D��h��
�                    �X>�L�kt�5�q��&t|]2L4�|{�I�������.�d�k`�}h�� ��lo"\
��2���0?S�^u�1�e���fp�F�d|60�6�c�'�TM��zJS��,-�4v0�jyq�1�/��T�IQ<�(�=����J�A�$v�w����c�K)����WF�#�]�H��k3�`�5���^���n��eL�O�Z6P)�g�4�/�K�,1ڙ�V� 8H�z�n4"�쫳S��
                                 ��&��5
����^��ŷؙԅ��!� �R�J��؞Jh��/��5���"�!Eml.!�P�;[񐴸�sz�Iޟ�|¢�Xkm��zN�Q���C�/�� �:
                                                  ���$�wA�6����|
                                                                ^Qw��+�Y�$1G�/޶}Q�`{��_!H�5oD�SEFŏQP'
                                                                                                     4\?ܪ=9�Eg����7 Q�DX�D��x#�����0�&��oV���`�ڜx�à�'�۟&�"tY������f���mp�
        �̞\����8�3
                 �C����Hr�L�M�n�"��Ce���%8_�D�����@�K�6����G8�d���G��[#� �n�l�.$PU�̐{��}&�sn{꜒4Y�p���"���z1���+���\A�'O���*1�
                                                                                                                            ��/�����4��4;b�.���D&�|S�O����q�E��a��6Ez���4vG���L7bڃ|�Smt.����~;��I��?I�>���ke�!~��]U��+�b���H3pw�
��S�Z�y��<����6��������ͮ�����U5��+G��"?�]�a�}                ��O$$��7��U����[����!*U䍎��8+�!�8�U���9��+(��� �ñ�,�3{z��zdԆl����6t�ۂ���G(
ɐ��Nj�A�+��4[oL�KI      �r�'���e��ç�U+W%��C�l43����F*S@�82��Z�S�{7�E$/�~֋�<!��?c`�R����!g��9�<_Ut�q�qU3;$Y➊hM`��i��w�2�� Q����qV�.F[V�g���F���S���[��
;׺��g.wW��
          y�R��o�`  �Bu]��vw_�����b�,*AG{���3��߮�&*zD�0�ލ�V�C+'Ó�/mǿ!
                                                                         ~Q��K��
�I�& ���jQ�lQu��P�����.�;#-p�S����
                                  �e�'a�#��%"ʦ�۠SIQj!�ѣ�w��v����Eʾ�:At;���3s!=X����)�m�YRkʠm
                                                                                           ��0O���i��ݤ:��_�8�ɟoCX��(.�_Қ�0����F��î�m{J����\՝����32͖"���J�#߲0�QI�a6���Sۈ�O��6��V���+��dt�{%S��Vk��Xӫ1K`�PKj���q�[�����д4-��9��c[O�/Rs>���U
                                                                   vZ�%�X�����R뜄�F���&J�f^7Q@l_{�|�������
                                                                                                         ,is�Ҕo;i��$:��^: "��d���_�F
                                                                                                                                    ��2���� ��k���
                                                                                                                                                      ��U���n���'28_SZ����O�����r�T]���m�?���+�3{�A<���M0���E�0o��uH�HQ?߅�ҿϳ��qv�6k�w�hqnqP9
                                 ��Xo�f-l�����C5�m�VL%J¨�f�y��e�2���D2�+XR?��@��|'������.�=���zt����nF�M�#;U^��!�|�z|�{;T42x]X��1_��a��ӽ��>�DKD�:
                                                                                                                                                 ��1�B{8d�2��q�dS����D�C�*U�FB��Ѕ寊[!g;S�Q�`W
                         ��7?V:p��n�Pm�_`�����D�=m8���S�Hd\׊&m���3}!A=+��'4���W�Դe@b��srjW��u�����̓yM�,ᇢ'2τ���[o|��9����=������Lƥ��_�S����  :��+���䄻�j*������k��[fL�I��h�_ﵴQ�_�����%�
                      �dT�}@>:*{�8I��%Aܯ3@�mB�O��Ui��,5���'_�5S/�U��]�l�,vpy�������!W�Z���t��:QI�����ٳ�T�|_�L��F�¾L�߈�
                                                                                                                      �D�����GJ�ZF��h�b��G��������]j�יb�b�|N<�!f-���a_�(lK}uN>ࡢ�uy�W@�뀤�R�)&xV�k"|@�z8P���`cvy��&ND^��]%���ΕmP����<��\jge�&c�f&�h
                                                                              d�7��������J�
�b�8�R��w-�(߯g?a$$O%ԚD����U�W@���'�}�LqLp��o�qGVju�9D�,0Rk���d�)�                           ������1���<3�
                                                                EЁO����^�-�
^v��,���d2��4
             ��h>˩
                  2ڏ�/�~��ZL�dP�%�j<����(��7Ը�"��y8V\�3N��� F���d����
                                                                      `�_i��E�ݹٷǤn���E�f�p1��JOC
�p�3}�S��GK*q[�H�7zXZ��A!
                         ��A���]�Ʊ�Z$��UX�_Q��� 08��lx�/�
                                                         ��3�������H� D�b���㉐���8T1�k`�?�T��
����>Z�����߃������o<}}r��b4���3f{��z ��ٟ�>t���W&G   �O=6�o1��c��+��Lr���+��%T;��dv��Y�N��a*Y���GNҋ���w5f�!,�@����F��R����YS�2��>F3�o�v���
                                                                                                                                             �����'���A�~|3�'Z!��訙��$Oz��h�;���Q�>n��]M4C[���ڃ�.�T�]z�RA���$�   c�A�ۤ���R���I�����a�� U[)#��\�yU
                                                                               k
                                                                                ��VW��5O��w^����+���7Ke�X�p�����U���t^���}�EU(x0�/1
                                                                                                                                   ��   ��!<p2�)㉸�Q[��4�chB��2
�rN�f�,=��8��%����t��oV��Ԓa[���������/��?�`V�ƌ��S���@
�W�����i���-��Lhz�P��n~mBE��k�d���3�SZ� <NE�����[��MG��^c�h=�x�,L@�E�d���E+i7Y�eA;Z
                                                                       b��
/���%�R@i�[��=�����9���Q>��xb`�G��%���_��q����+Ϲ�׷ګ\T�s
                                                       ��qh\"�29{��<�(f��yt�4����ZÕ�U��z_�_|�EGE�_��Bᩌ-~8�)=�p�В�̔�$cJ̗�
�                                                                                                                     �I1������g���ֺ"3��naA��L�f(L�^�
 �H1�Յ�i�ST�A*>���O>Aus7��
`�'�M��X"�''����]�
�����+�a
p��~��R�Ƈ:߯��5ee��lU��fD+&����6y�   [���L�(e��D�y�ޥ��   1*�I�������r��d�I:z)��>����F����Dx�"��~d=��k���<��D�    ���1��P?��
��H���t�`G ��0�ݏ�ܾV;6r'4�2�
                          �&�-�j��KKiҚ�c�E�]e�y�cz��=����0���D\8Lkp1���|+
                                                                         �Wc�:��þ!�(�奄^�o|B���;u�
�B�A����»�~���im"
��z���:�&�@C<���"�fY��GoR��B,L�l��ֽ�=]� ��ܙs�$�%�ې�W�����I�316
                                                             pE$~fd�ѺX
                                                                      �<������4�Lp
�gd �}������ÏQaJ���u�b�q��qQ�Mq�C�"G�Y��ڊ��F�J���������8���_@�[�G��vj��?f��4IYV���}6�C4�c.�G*�~���F������tu���'�
                                                                                                                4�/���*<�����O��z�@
���_w>�_u<��?��x��T�z�4����0�:j=~�������WzvBqr=¶E�� Z�I�x]���!�9!���}§��g*�ؖ�WX鴄��2?��9�`a�'Gr�3E
                                                                                                     '�j�q��n���
                                                                                                                /���gO���nx��%�mE`�}���1�U3Z�ʦ�n��P"��E��XZa���Rƒe���*��Q��Px����:/�QD��ƙ�O�>0u��<6�~���)��f8mZ�3Lhs~�%�
                                                    ���P���_��:�
����1�AD�!v@����t��Z|��M��h���RҬ��j��<}𸰒��Q->k� ��$��R�>�����ܺ
                                                              ����Q\*��R
��i��ȃM�|�/-�P�MU�H<�&�G��1+    *y���|�v���2Jv� ���e���Yi<�J�����F����@S
          ��KC8gQjxdelta3: external compression commands failed

How to solve this

ivan386 commented 3 years ago

if this is an issue, use -D to avoid decompression and/or use -R to avoid recompression and/or manually decompress the input file;

looopTools commented 3 years ago

Solved my issue, thanks :)