GNU bug report logs - #79213
Issue compiling diffutils-3.12 during LFS cross-compilation (help2man error)

Previous Next

Package: diffutils;

Reported by: 吴浩杰 <haojiewu_24 <at> 163.com>

Date: Mon, 11 Aug 2025 04:09:01 UTC

Severity: normal

Tags: notabug

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 79213-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 吴浩杰 <haojiewu_24 <at> 163.com>
Cc: 79213-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#79213: Issue compiling diffutils-3.12 during
 LFS cross-compilation (help2man error)
Date: Mon, 11 Aug 2025 09:20:49 -0700
tags: notabug

On 2025-08-11 02:30, 吴浩杰 wrote:

> ./sdiff: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./sdiff)
...
> Do you have any suggestions on how to resolve this? For example, the error message mentions using the --no-discard-stderr option with help2man. Could you please advise how to properly use this option to bypass or handle the error during the build process?
> 
> Alternatively, is there a recommended way to skip generating the manual pages during build when running in this kind of cross-compilation environment?

This has nothing to do with help2man, and bypassing manual page 
generation won't help, as you have built executables that don't run.

To fix the problem, build on a system compatible with your runtime 
environment. It is typically OK to build on one version and then run on 
a later version, as great efforts are made to support backward 
compatibility. The reverse (which is what you are trying to do) often 
does not work.




This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.