emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45285: closed ([PATCH] gnu: Add ark.)


From: GNU bug Tracking System
Subject: bug#45285: closed ([PATCH] gnu: Add ark.)
Date: Fri, 16 Jul 2021 04:10:02 +0000

Your message dated Fri, 16 Jul 2021 00:09:44 -0400
with message-id <878s26nblj.fsf_-_@gmail.com>
and subject line Re: bug#45285: [PATCH] gnu: Add ark.
has caused the debbugs.gnu.org bug report #45285,
regarding [PATCH] gnu: Add ark.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
45285: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45285
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add ark. Date: Thu, 17 Dec 2020 13:11:59 +0800
> QWARN  : ExtractTest::testExtraction(extract all entries from a xar archive 
> with path) ark.libarchive: Could not open the archive: Unrecognized archive 
> format
> QWARN  : ExtractTest::testExtraction(extract all entries from a xar archive 
> with path) ark.libarchive: Could not open the archive: Unrecognized archive 
> format
> FAIL!  : ExtractTest::testExtraction(extract all entries from a xar archive 
> with path) Compared values are not the same
>    Actual   (extractedEntriesCount)        : 0
>    Expected (expectedExtractedEntriesCount): 6
>    Loc: 
> [/tmp/guix-build-ark-20.04.1.drv-0/ark-20.04.1/autotests/kerfuffle/extracttest.cpp(469)]

The tests fail.

Attachment: ark.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#45285: [PATCH] gnu: Add ark. Date: Fri, 16 Jul 2021 00:09:44 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hello,

Z572 <873216071@qq.com> writes:

> Hi,
>
> Ludovic Courtès <ludo@gnu.org> skribis:
>
>>>> QWARN  : ExtractTest::testExtraction(extract all entries from a xar 
>>>> archive with path) ark.libarchive: Could not open the archive: 
>>>> Unrecognized archive format
>>>> QWARN  : ExtractTest::testExtraction(extract all entries from a xar 
>>>> archive with path) ark.libarchive: Could not open the archive: 
>>>> Unrecognized archive format
>>>> FAIL!  : ExtractTest::testExtraction(extract all entries from a xar 
>>>> archive with path) Compared values are not the same
>>>>    Actual   (extractedEntriesCount)        : 0
>>>>    Expected (expectedExtractedEntriesCount): 6
>>>>    Loc: 
>>>> [/tmp/guix-build-ark-20.04.1.drv-0/ark-20.04.1/autotests/kerfuffle/extracttest.cpp(469)]
>>>
>>> The tests fail.
>>
>> What you paste above sounds like there could be a real issue with some
>> archive formats, which may be a core issue for this archiving tool.
>>
>> Could you investigate a bit and/or get in touch with upstream to see if
>> they can provide guidance?
>
> I think this is guix libarchive's problem, it doesn't support xar format 
> because it
> needs to input OpenSSL, EXPAT, And XML2.
> See libarchive-3.4.2.tar.xz!libarchive-3.4.2/configure :
>
> -----+------------------------------------------------------------------------------
> L1546|  --without-openssl       Don't build support for mtree and xar hashes 
> through
> L1547|                          openssl
> L1548|  --without-xml2          Don't build support for xar through libxml2
> L1549|  --without-expat         Don't build support for xar through expat
> -----+------------------------------------------------------------------------------
>
> It's new patch.

Thanks for the update!

I've moved it to the (gnu packages kde-utils) module, dropped the
unnecessary lz4 input, moved the propagated inputs to inputs and wrapped
the command line tools using wrap-program in a phase, tested that it
could run and open a tarball, and applied as commit 4094d12df1.

Thank you for the contribution!

Closing.

Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]