• Re: support of 7z archives ?

    From Andrey Rakhmatullin@21:1/5 to PICCA Frederic-Emmanuel on Mon Jan 27 15:50:01 2025
    On Mon, Jan 27, 2025 at 03:22:48PM +0100, PICCA Frederic-Emmanuel wrote:
    Hello, I am trying to use mk-origtargz with a 7zip archive., but I get this error message.

    $ mk-origtargz ../fiji-linux64.zip

    .zip?

    [../fiji-linux64.7z]

    What does this mean?


    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmeXm0ItFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh kccP/RMSHW37r9tclrwxa5//JYtfmZNd+sTEHAzLNS1TwEaKwLOvFgd0Nkd91HGg QbeF6MtChCnj0ym7rqcYwIV25Avz17DuuEbRwSmAwPh4J/o6Sn4d5Y3NaVRg6DXN LlOTf/QXo9yS2WtfsL9DLzr6EnFf9Sxfehuarh2ZQIxMNZwF9R1ND7/sy2g7v8TI /kMaA5Uax+i7IfFbTatwKnovMHPMN5ZmamOH3McQpoc/DjrVUSxhwobpQbolhaZG +IMM/at4T25h1rnY4DulMEAmrTJbx57mZOzSX+mJequZDvgMB+Ln5Qj+eta2g1Tp r4Ah6knvoh1m4K8bJdEysY+fFhW/hmgU7YhEOr2eJnuDZ/f8wOIj2413bbHyy1ni k3d0Y2mQmUxAaESBly0ywB/6BCOnP7aixWW79UIBfuSbVVCHLbKF7eqy7TfgM42J ok3QXuztu4WyISepCpl29cf//ZveZ5ouA3VX7BWE4qC2arHhy+nIy3tEjJx9hvtR KlrqWZSIHxqKZdKsmRMh/fT2moKpv+19EWUSFRe5stKr7xLtRMOdvO1hpH5OF0L7 NlAvRbtAhFlZaAUvSlgJ/sGgE+snoHudnMQ0agQWfhAGPHS38mh1QFnu1HUY8Plf ZnqINDNufBjcVpMFERBMDr+HzFg7lGQOERro8XB6vmLi0PGJ
    =tH4v
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Mon Jan 27 15:40:01 2025
    Hello, I am trying to use mk-origtargz with a 7zip archive., but I get this error message.

    $ mk-origtargz ../fiji-linux64.zip
    [../fiji-linux64.7z]
    End-of-central-directory signature not found. Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive. In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
    unzip: cannot find zipfile directory in one of ../fiji-linux64.zip or
    ../fiji-linux64.zip.zip, and cannot find ../fiji-linux64.zip.ZIP, period.
    mk-origtargz error: Repacking from zip or jar failed (could not unzip)

    the file can be find here

    https://downloads.imagej.net/fiji/archive/20250123-1617/

    Is it normal ?

    Fred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yadd@21:1/5 to PICCA Frederic-Emmanuel on Mon Jan 27 16:00:01 2025
    On 1/27/25 15:22, PICCA Frederic-Emmanuel wrote:
    Hello, I am trying to use mk-origtargz with a 7zip archive., but I get this error message.

    $ mk-origtargz ../fiji-linux64.zip
    [../fiji-linux64.7z]
    End-of-central-directory signature not found. Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive. In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
    unzip: cannot find zipfile directory in one of ../fiji-linux64.zip or
    ../fiji-linux64.zip.zip, and cannot find ../fiji-linux64.zip.ZIP, period.
    mk-origtargz error: Repacking from zip or jar failed (could not unzip)

    the file can be find here

    https://downloads.imagej.net/fiji/archive/20250123-1617/

    Is it normal ?

    Fred

    Hi,

    adding a compressor in mk-origtargz is easy but can be allowed only if
    the rest od Debian tools accept it. I don't think 7z is currently accepted. Else we can update uscan/mk-origtargz to accept but recompress this into xz

    Best regards,
    Xavier

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Mon Jan 27 17:40:02 2025
    Ok, it does not uncompress with unzip on stable , but it works on unstable.

    [../fiji-linux64.7z]

    cut and past error :))

    Fred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Tue Jan 28 09:40:01 2025
    I could not see a 7z file there (at least not by simply looking at the
    file extensions).

    Here the file output:

    fiji-linux64.zip: Zip archive data, at least v2.0 to extract, compression method=deflate

    This is a zip archive whcih can not be extracted on stable, except with 7zip.

    someone can confirm that it does not work out of the box with unzip on stable ?

    Maybe there is an issue on my system...


    Fred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Henrik Ahlgren@21:1/5 to All on Tue Jan 28 11:00:01 2025
    On Tue, 2025-01-28 at 10:42 +0100, IOhannes m zmölnig (Debian GNU|Linux) wrote:
    i cannot.
    using 'unzip' in a debian:stable docker container works nicely

    No problems with stable or trixie unzip.

    @Frederic-Emmanuel, did you check that your copy of the file is not
    corrupted?

    $ md5sum fiji-linux64.zip
    6e64d121419012ec6287329619c7b9cd fiji-linux64.zip

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Tue Jan 28 11:20:01 2025
    Sorry for the noise... my file was corrupted...

    but 7z was able to unpack it....


    Cheers

    Fred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Salvo Tomaselli@21:1/5 to All on Thu Jan 30 01:28:57 2025
    but 7z was able to unpack it....

    It was able to unpack the initial part that you downloaded, but not the ending part that you didn't download. So the build or the binary result wouldn't have worked anyway.

    Better to fail if the file is corrupt.

    Best


    --
    Salvo Tomaselli

    "Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
    -- Galileo Galilei

    https://ltworf.codeberg.page/
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEQnSLnnbYmXmeH74Us6fPDIAYhs8FAmeax8kACgkQs6fPDIAY hs+XURAAodLT9G6kk4iUjaN9LBuqC+TRlqH522YLWSO9DswhRziNsoLJ8Dt2QABh qkQAJRU6HkQLIcBJG4rbxTP4oVpDjVD6VZpKCtaOlq4+nNNRB9L5LFHqW1oIgoHR ymtF7MW5Ozu1BfAkuRDLiOZxbEs9EJiC9wce4JjlA+Ro2cqLoAmAmgpntBAyYXZi ARHqM0NO2CY0ecBphbGhefS2tSIcs/0eNIO4T+l+MF9ZpOqEfe89NN4VapWDF9uW H8OYSjFBWhxJEH0lVOAikYxRO9t4waB3sqF9zGo6mATu6Dq5/uhHPZbkWOFWsqd7 hjeG0d+o6tm+0hjL449I/+m6QQoRJeid846eEkG2he2ExACjNhpMfqODXdQ5sQVj Bgmi1RpZCS7kJpOjf+2TZMWdHbgtQecbbvFh2fKUW/pGpTOVXOBPQCFYJnynLjLJ TJNx/ZZ6tZFOXRqXBRaAUrraydwZlt5hNhjUy3i931HhNMEoiz7Y4meJOFECtdzG SWbye5D9hoRHM+ohpay2lf05upfGI7+rP72l0NMTggd2WSs0oMxIf31eLNkL7524 71IXn1JfwmRqE4ENgsJC0ehprB1CJ/MJ+Pv394nAcVlYz683G9MdX69/NENcedGy EXPQ8k7jONyJmTcLrmMW88F87i898QpJy0IF53FYLT9tt+fUhl8=
    =LeA/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)