On 4. 6. 2026 09:03, Haixiao Yan via dev wrote:
Hi,
The revision-install target in Makefile.in attempts to run the
just-built svnversion binary during make install to generate
svn-revision.txt. This violates a basic cross-compilation principle:
target binaries must not be executed on the build host.
This has caused known failures:
- Linux multilib cross-compilation: The 64-bit target binary
happens to run on a 64-bit build host, outputting "Unversioned
directory". The 32-bit target binary fails to run, falling back to
"unknown". The two resulting svn-revision.txt files have different
content, causing an RPM file conflict during image assembly.
Since the source is always a release tarball with no SVN metadata,
svnversion produces no meaningful output regardless. The target
serves no real purpose.
As suggested on-list, the fix is to simply remove the target entirely.
The patch is attached.
Thanks,
Haixiao
Oh wow. Now we're in the AI slop zone, too, I see. "Thanks" for the
patch, I guess.