8000 GNUmakefile: support skipping manpages and completions by blmaier · Pull Request #7331 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

GNUmakefile: support skipping manpages and completions #7331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 23, 2025

Conversation

blmaier
Copy link
Contributor
@blmaier blmaier commented Feb 21, 2025

When packaging uutils for Conda-Forge and a cross-compiled architecture, the install of completion scripts and manpages fails with the following error.

.../coreutils manpage arch > .../man/arch.1
/bin/sh: .../coreutils: Bad CPU type in executable
make: *** [GNUmakefile:349: manpages] Error 126

When cross-compiling, the coreutils tool will be for a different architecture then the build platform. So we won't be able to extract the manpages and completions.

Provide build arguments that let us skip the build and install of manpages and completions.

Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)

@sylvestre
Copy link
Contributor

Could you please add a job in github action for this?
Otherwise, I might regress quickly

Thanks

@blmaier blmaier force-pushed the conda-forge-skip-manpages-comps branch from 5a68b3d to df0bb9f Compare February 21, 2025 22:55
Copy link

GNU testsuite comparison:

GNU test failed: tests/du/long-sloop. tests/du/long-sloop is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

When packaging uutils for Conda-Forge and a cross-compiled architecture,
the install of completion scripts and manpages fails with the following
error.

> .../coreutils manpage arch > .../man/arch.1
> /bin/sh: .../coreutils: Bad CPU type in executable
> make: *** [GNUmakefile:349: manpages] Error 126

When cross-compiling, the `coreutils` tool will be for a different
architecture then the build platform. So we won't be able to extract the
manpages and completions.

Provide build arguments that let us skip the build and install of
manpages and completions.
@blmaier blmaier force-pushed the conda-forge-skip-manpages-comps branch from df0bb9f to f051da7 Compare February 22, 2025 23:21
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@sylvestre
Copy link
Contributor

Excellent. Thanks

@sylvestre sylvestre merged commit c2cf772 into uutils:main Feb 23, 2025
65 checks passed
@blmaier blmaier deleted the conda-forge-skip-manpages-comps < 6D1A /span> branch March 8, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0