bugGNU gettext - Bugs: bug #56333, gettext-tools-0.20.1 build failure...


You are not allowed to post comments on this tracker with your current authentication level.

bug #56333: gettext-tools-0.20.1 build failure with no rule to make target install-nobase_includeHEADERS

Submitted by:  Hanspeter Niederstrasser <nieder>
Submitted on:  Thu 16 May 2019 09:59:02 AM UTC  
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Bruno Haible <haible>
Open/Closed:  Closed

( Jump to the original submission)

Sun 19 May 2019 12:02:03 AM UTC, comment #7: 

> The procedure comes implicit from PACKAGING's suggestion

Indeed, this procedure of building gettext-tools separately does not work any more.

I've pushed this fix: https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=e4b3a3f56fa6fc2a51769e286545f0631bb4837c
that is heavily based on Miguel's patch.

Miguel, thanks a lot for this patch. It was really useful, although I did a couple of details differently:
- I did not add libtextstyle.m4 to git, but rather let autogen.sh copy it.
- I called the option --with-installed-libtextstyle, since --with-included-libtextstyle is a bit a misnomer (since the sources are in a sibling directory, not the gettext-tools directory).

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Sat 18 May 2019 05:00:24 PM UTC, comment #6: 

Yes, I wouldn't consider this a bug, as the requirement is to build both libtextstyle and gettext-tools in the same build tree, and in that order, but I think it reduces the knowledge needed to compile separately each part of GNU gettext.

The procedure comes implicit from PACKAGING's suggestion, but this is not the same behavior with gettext-runtime and gettext-tools in previous releases, as now it is required to do the compilation of libtextstyle and gettext-tools in the same building tree, unlike with gettext-runtime, that can be compiled and installed separately.

Miguel Ángel Arruga Vivas <m1gu3l>
Project Member
Fri 17 May 2019 08:48:48 AM UTC, comment #5: 

I've succeeded in building gettext-tools (and passing make check 100%) by first running "./configure && make" in libtextstyle, then running our usual "./configure && make" recipe (see attached files) in gettext-tools.

Hanspeter Niederstrasser <nieder>
Fri 17 May 2019 01:24:31 AM UTC, comment #4: 

To explain our build process: we first build/install in gettext-runtime (to get libintl.8.dylib), then a clean build tree is used to for gettext-runtime, linking against the installed libintl.8.dylib (which is the same version as the gettext-runtime being built).

Hanspeter Niederstrasser <nieder>
Fri 17 May 2019 01:20:15 AM UTC, comment #3: 

Attached is my build log (configure & make) for gettext-tools-0.20.1. The Fink project has been using these parameters for a long time now (at least since 0.18). Also attached are config.log and config.status.

(file #46916, file #46917, file #46918)

Hanspeter Niederstrasser <nieder>
Thu 16 May 2019 09:46:31 PM UTC, comment #2: 


I can confirm the issue.

You can reproduce following these steps in a clean folder:

$ tar xvpf gettext-0.20.1.tar.gz
$ cd gettext-0.20.1/gettext-tools/
$ ./configure && make

The attached patch can solve the issue, but I needed the whole day for a make distcheck, sorry.  Probably there are better places for the configure.ac snippet, what do you think?

(file #46915)

Miguel Ángel Arruga Vivas <m1gu3l>
Project Member
Thu 16 May 2019 01:00:05 PM UTC, comment #1: 

Works for me (on macOS 10.13.4).

Can you please show/attach
- the list of configure options that you passed,
- the configure output,
- the config.log and config.status files,
- the "make" output.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Thu 16 May 2019 09:59:02 AM UTC, original submission:  

Building gettext-tools-0.20.1, the build fails with:

make[2]: Entering directory `/sw/build.build/gettext-tools-0.20.1-2/gettext-0.20.1/gettext-tools/src'
here=`pwd`; \
        cd ../../libtextstyle/lib && \
          /Applications/Xcode.app/Contents/Developer/usr/bin/make install-nobase_includeHEADERS install-nobase_nodist_includeHEADERS includedir="$here"
make[3]: Entering directory `/sw/build.build/gettext-tools-0.20.1-2/gettext-0.20.1/libtextstyle/lib'
make[3]: *** No rule to make target `install-nobase_includeHEADERS'.  Stop.
make[3]: Leaving directory `/sw/build.build/gettext-tools-0.20.1-2/gettext-0.20.1/libtextstyle/lib'
make[2]: *** [textstyle/stdbool.h] Error 2
make[2]: Leaving directory `/sw/build.build/gettext-tools-0.20.1-2/gettext-0.20.1/gettext-tools/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sw/build.build/gettext-tools-0.20.1-2/gettext-0.20.1/gettext-tools'
make: *** [all] Error 2
make: Leaving directory `/sw/build.build/gettext-tools-0.20.1-2/gettext-0.20.1/gettext-tools'

gettext-tools- built fine.
Building on macOS 10.13.6

Hanspeter Niederstrasser <nieder>


Attached Files
file #46916:  config.log added by nieder (1MiB - application/octet-stream)
file #46918:  config.status added by nieder (145KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by m1gu3l (Updated the item)
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by nieder (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-19 haible Open/ClosedOpen => Closed
    2019-05-19 haible Open/ClosedClosed => Open
    2019-05-19 haible StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2019-05-17 nieder Attached File- => Added config.log, #46916
        Attached File- => Added fink-build-log_gettext-tools_0.20.1-2_2019.05.16-19.35.43.gz, #46917
        Attached File- => Added config.status, #46918
    2019-05-16 m1gu3l Attached File- => Added 0001-build-Fix-separate-compilation-of-gettext-tools.patch, #46915
    2019-05-16 haible StatusNone => Need Info
        Assigned toNone => haible

    Back to the top

    Powered by Savane 3.5