coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils 8.30 "bootstap"


From: Gabor Z. Papp
Subject: Re: coreutils 8.30 "bootstap"
Date: Fri, 17 Aug 2018 13:24:56 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7)

* Bernhard Voelker <address@hidden>:

| okay, I think the problem isn't the VPATH build, but the detection
| of whether you're cross-compiling or not.

| In 'man/local.mk':

|   ## Use the distributed man pages if cross compiling or lack perl
|   if CROSS_COMPILING
|   run_help2man = $(SHELL) $(srcdir)/man/dummy-man
|   else
|   ## Graceful degradation for systems lacking perl.
|   if HAVE_PERL
|   run_help2man = $(PERL) -- $(srcdir)/man/help2man
|   else
|   run_help2man = $(SHELL) $(srcdir)/man/dummy-man
|   endif
|   endif

| and CROSS_COMPILING is set in 'configure.ac':

|   AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])

| but it seems automake doesn't provide the right value for "$cross_compiling"
| for you when cross-compiling from x86_64 to i686.

| BTW: CROSS_COMPILING is also used to determine whether to use
| the just-built 'src/ginstall' or 'install' of the build host,
| so I'm wondering if you'd fall into the same trap later on?

Wasn't able to test it yet. :-)

| If yes, then I suggest - with my limited autotool foo - to enhance
| the configure-time check with:

| ----8<----
| diff --git a/configure.ac b/configure.ac

[...]

The inline attachment messed up tabulators, but I applied the patch by
hand.

Seems like something wrong around this line:

| -       && export SOURCE_DATE_EPOCH && $(run_help2man)                  \
| +       && export SOURCE_DATE_EPOCH && $${run_help2man}                 \

see the attached log.

Attachment: build-1534502528.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]