taskSavannah Administration - Tasks: task #15224, savane code - configure does not...

 
 

task #15224: savane code - configure does not notice if msgconv is absent

Submitter:  Andrew Janke <apjanke>
Submitted:  Wed 27 Mar 2019 08:36:06 PM UTC
   
 
Should Start On:  Wed 27 Mar 2019 12:00:00 AM UTC Should be Finished on:  Wed 27 Mar 2019 12:00:00 AM UTC
Category:  System Priority:  * 5 - Normal
Status:  Done Privacy:  Public
Assigned to:  ineiev Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 28 Mar 2019 06:12:18 PM UTC, comment #2: 

Thanks!

Andrew Janke <apjanke>
Thu 28 Mar 2019 02:51:16 PM UTC, comment #1: 

I've just pushed a patch to make configure fail when AM_PO_SUBDIRS finds no msgfmt.

Ineiev <ineiev>
Site Administrator
Wed 27 Mar 2019 08:36:06 PM UTC, original submission:  

I'm building the Savane code on macOS, which is a BSD system and includes BSD gettext by default. BSD gettext does not include msgconv. It looks like the `configure` script does not notice this, so it succeeds, but `make` produces an error.

configure also looks for gmsgfmt, and fails to find it, but does not raise an error in this case. This will cause `$(GMSGFMT)` to be empty, which causes the `make po` step to fail with weird error messages if you add GNU gettext to your $PATH after doing `configure`.

Here's some output from `(./bootstrap && ./configure && make ) &> build.log`. Full log attached.


+ '[' x = xclean ']'
+ autoreconf --install --symlink --warnings=all
+ echo 'You now can run ./configure.sh'
You now can run ./configure.sh
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
[...]
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for perl... /usr/local/bin/perl
[...]
Configuration directory:  /usr/local/etc/savane
Guessed HTTPd/PHP user (configuration file permissions):
Database name: savane

Now you can run:
  make
  make install
[...]
Making all in po
test ! -f ./savane.pot || \
          test -z "ca.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo pt_BR.gmo ru.gmo sv.gmo" || /Applications/Xcode-10.1.app/Contents/Developer/usr/bin/make ca.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo pt_BR.gmo ru.gmo sv.gmo
msgconv --to-code=UTF-8 --output-file=ca.po_utf-8 ca.po
make[2]: msgconv: No such file or directory
make[2]: *** [ca.po_utf-8] Error 1
make[1]: *** [stamp-po] Error 2
make: *** [all-recursive] Error 1


Andrew Janke <apjanke>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #46648:  build.log added by apjanke (6KiB - 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 ineiev (Posted a comment)
  • -email is unavailable- added by apjanke (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.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-28 ineiev CategoryApproved Projects to be Reviewed System
    2019-03-28 ineiev CategoryNone Approved Projects to be Reviewed
        StatusNone Done
        Assigned toNone ineiev
        Open/ClosedOpen Closed
    2019-03-27 apjanke Attached File- Added build.log, #46648

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code