bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] gettext 0.19.1: install step problems


From: Christian Weisgerber
Subject: [bug-gettext] gettext 0.19.1: install step problems
Date: Fri, 11 Jul 2014 11:49:57 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

While installing gettext 0.19.1 on OpenBSD 5.5, I ran into two
problems during the install step:

(1)
The install in gettext-tools/intl fails trying to install ChangeLog.inst,
which does not exist.  Since we copy everything else over from
gettext-runtime/intl, maybe we want that ChangeLog as well?

--------------------------------------------------------------->
--- gettext-runtime/intl/Makefile.in.orig       Thu Apr 24 10:57:40 2014
+++ gettext-runtime/intl/Makefile.in    Wed Jul  9 11:12:52 2014
@@ -460,8 +460,7 @@ install-data: all
        if test "$(PACKAGE)" = "gettext-tools"; then \
          $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
          $(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \
-         $(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \
-         dists="COPYING.LIB $(DISTFILES.common)"; \
+         dists="COPYING.LIB ChangeLog $(DISTFILES.common)"; \
          for file in $$dists; do \
            $(INSTALL_DATA) $(srcdir)/$$file \
                            $(DESTDIR)$(gettextsrcdir)/$$file; \
<---------------------------------------------------------------

(2)
The post-install removal of libgettextlib.a and libgettextsrc.a
suffers from a race condition:

  # No need to install libgettextlib.a, except on AIX.
  install-exec-local: install-libLTLIBRARIES install-exec-clean

With make -jN, the prerequisites are not necessarily made in sequence.
In practice, plain "make" removed the libs, "make -j4" reproducibly
didn't because install-exec-clean was run before install-libLTLIBRARIES.

-- 
Christian "naddy" Weisgerber                          address@hidden



reply via email to

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