Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742569 - dev-util/catalyst: "pixz: command not found" missing dependency on app-arch/pixz
Summary: dev-util/catalyst: "pixz: command not found" missing dependency on app-arch/pixz
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-15 03:02 UTC by Einstok Fair
Modified: 2020-10-08 21:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Einstok Fair 2020-09-15 03:02:46 UTC
# catalyst -f stage3.spec
...

15 Sep 2020 04:15:53 MSK: NOTICE  : Creating stage tarball... mode: pixz_x
NOTICE:catalyst:Creating stage tarball... mode: pixz_x
/bin/sh: pixz: command not found
tar: /var/tmp/catalyst/builds/default/stage3-amd64-2020.09.tar.xz: Cannot write: Broken pipe
tar: Child returned status 127
tar: Error is not recoverable: exiting now


Reproducible: Always
Comment 1 Jonas Stein gentoo-dev 2020-09-16 21:39:28 UTC
do you mean dev-util/catalyst?

Perhaps a missing dependency on app-arch/pixz
is app-arch/pixz installed?
Comment 2 Ben Kohler gentoo-dev 2020-09-16 21:51:15 UTC
If you use a spec with pixz_x compression type, you need to install pixz.  I'm really not sure we need a dep here.
Comment 3 Einstok Fair 2020-09-18 00:47:47 UTC
> do you mean dev-util/catalyst?

Yes.

# emerge -pv catalyst

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-util/catalyst-3.0.12::gentoo  USE="iso -ccache -doc -system-bootloader" PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 4 Einstok Fair 2020-09-18 00:49:22 UTC
> Perhaps a missing dependency on app-arch/pixz

Yes.

> is app-arch/pixz installed?

No.
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2020-09-29 15:43:13 UTC
Yes, as a catalyst user, you need to ensure you have the compression apps installed if you wish to use them in catalyst.  Creating use flags just to install optional dependencies is frowned upon.  Catalyst uses the  pyDecomp pkg which has capability of using many different (de)compression applications.
Comment 6 Larry the Git Cow gentoo-dev 2020-10-08 21:06:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8465671cfe9352d37a65530cb46e7f9b99ef599

commit f8465671cfe9352d37a65530cb46e7f9b99ef599
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-10-08 20:43:26 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-10-08 21:06:07 +0000

    dev-util/catalyst: Add dependency on app-arch/pixz
    
    pixz is not a required dependency, strictly speaking, but it's commonly
    used in .spec files and is an extremely small dependency. Additionally,
    the failure mode if it's not available is to produce a 0-byte tar.xz
    file at the end of the build, which is not good.
    
    Closes: https://bugs.gentoo.org/742569
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/catalyst/catalyst-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)