[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tarball Generation Fail - WARNING: The man page cannot be updated ye
From: |
NR |
Subject: |
Re: Tarball Generation Fail - WARNING: The man page cannot be updated yet - cp: cannot stat |
Date: |
Tue, 9 Jul 2024 08:34:51 -0500 |
> These would be workarounds that add extra complexity, for a rare use-case.
I guess this is where our thinking diverge, as I don't consider fixing
problems (those that prevent a build from succeeding) a "workaround".
(acknowledging the "tarball" mention, the issue still would exist in
the git repo (noting for others, we've already discussed reasons for
git over tarball)).
We can consider this closed, as I already had my own way of dealing
with the issue. Both to compile and install with those files, as well
as without if I desired.
As I suspected, simply forcing that "CROSS_COMPILE" to pass, I got
past the issues and those files are now able to be installed. And I
don't miss out on any other actually relevant errors with the "-k"
argument (there's one that requires a qemu package to be installed,
which I already dealt with).
I also found it odd that you are required to do an "all" target
compile to get those "man" files.
While not knowing exactly what "dist" entails, I would think it
would've generated those man files, and included them with the other
source files for the tarball.
But from I'm seeing with the mention of "all" being required, is that
a full compilation needs to occur for some reason, even if just to
create a source-file tarball.
That would create yet another step for cross-compile since it has to
be done for the host to pass that cross-compile test (if I didn't
already force the test to pass and not need to do the "host"
compilation first).
On Mon, Jul 8, 2024 at 9:05 PM Bruno Haible <bruno@clisp.org> wrote:
>
> Hi,
> Oh, I see. The 'dist' target works only after "make". So, do
> $ make all dist
> rather than
> $ make dist
>
> I need to think about whether this can be easily fixed.
>
> These would be workarounds that add extra complexity, for a rare
> use-case. Instead of building from git with a cross-compiler, do
> 1. build from git with a native compiler, then do "make dist",
> 2. build that new tarball with a cross-compiler.
>
> Bruno