bugGNU gettext - Bugs: bug #57060, gettext-0.20.1 "make...

 
 

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

bug #57060: gettext-0.20.1 "make install" seems to ignore --prefix and --disable-java for javadoc2

Submitter:  Keith Marshall <keithmarshall>
Submitted:  Tue 15 Oct 2019 05:47:53 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Mon 18 Nov 2019 10:30:51 PM UTC, comment #2: 

The issue of generation of java documentation, in spite of use of '--disable-java', is discussed in bug #56111.

Bruno Haible <haible>
Group administrator
Thu 17 Oct 2019 07:14:22 PM UTC, comment #1: 

It turns out that the loss of '${prefix}' from the installation paths for javadoc2, (and indeed for all 'docdir' references), was the result of an under-quoted reference to '${prefix}' in my own pre-configuration scripts, resulting in premature interpretation.  Sorry for any confusion this may have caused.

The issue of generation of java documentation, in spite of use of '--disable-java' remains.

Keith Marshall <keithmarshall>
Tue 15 Oct 2019 05:47:53 PM UTC, original submission:  

Just tried building gettext-0.21.1 to be compatible with the MinGW.org 32-bit tool chain, cross-compiling on a GNU/Linux host.  I configured with --prefix=/mingw (a two-tier symbolic link to a user-writeable staging directory), and, since the MinGW.org tool chain doesn't include a Java compiler, I added --disable-java.

I note that, during configuration, in addition to identifying the mingw32 cross-compiler tools, the Linux-native Java tools are detected.

The "make" step runs to successful completion, but I do note, in spite of --disable-java, it does run the Linux-native javadoc in gettext-runtime/intl-java

I'm not overly concerned by the seemingly anomalous "make" behaviour, because it doesn't cause a fatal exception.  However, "make install" fails quite quickly:


Making install in intl-java
make[3]: Entering directory '/home/keith/builds/mingw/foo/gettext-runtime/intl-java'
cd ../../../src/gettext-0.20.1/gettext-runtime/intl-java && test ! -d /usr/lib/jdk1.3.1 || env PATH=/usr/lib/jdk1.3.1/bin:$PATH javadoc -d javadoc2 gnu.gettext gnu/gettext/*.java
make[4]: Entering directory '/home/keith/builds/mingw/foo/gettext-runtime/intl-java'
make[4]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p /home/keith/builds/mingw/foo/dist/staged/share/gettext
cd ../../../src/gettext-0.20.1/gettext-runtime/intl-java && test ! -d /usr/lib/jdk1.3.1 || env PATH=/usr/lib/jdk1.3.1/bin:$PATH javadoc -d javadoc2 gnu.gettext gnu/gettext/*.java
/usr/bin/mkdir -p /share/doc/gettext/0.20.1/javadoc2
/usr/bin/mkdir: cannot create directory ‘/share’: Permission denied
make[4]: *** [Makefile:1436: install-javadoc2] Error 1


Note how the target installation directory appears to be "/share", (which I fortunately do not have permission to create),     rather than "/mingw/share", (as I would expect from the "--prefix=/mingw" configuration choice.

Keith Marshall <keithmarshall>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-11-18 haible StatusNone Duplicate
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code