automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, experimental/deps-pr13928,


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, experimental/deps-pr13928, created. v1.14.1-82-g0b371a4
Date: Sun, 04 Jan 2015 23:42:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=0b371a43bf49516fef214b2d2a299c9f5edbb39f

The branch, experimental/deps-pr13928 has been created
        at  0b371a43bf49516fef214b2d2a299c9f5edbb39f (commit)

- Log -----------------------------------------------------------------
commit 0b371a43bf49516fef214b2d2a299c9f5edbb39f
Author: Stefano Lattarini <address@hidden>
Date:   Sat Jan 3 01:33:45 2015 +0100

    deps: fix corner-case "make distclean" bug
    
    Assume we have package satisfying the following conditions:
      (1) automatic dependency tracking is enabled;
      (2) the 'subdir-objects' Automake option is enabled;
      (3) the package uses a recursive make setup.
    
    Also assume that:
      (a) a subdir Makefile declares a foo_SOURCES variable containing
          a source file in the parent directory;
      (b) that parent Makefile declare a compiled program itself.
    
    Then BSD and Solaris make used to fail when running "make distclean",
    because the 'distclean' target of the subdir Makefile removed the
    whole '.deps' directory before the parent Makefile was done with the
    included '.Po' makefile fragments in that directory. This issue was
    revealed by failures in the 'subobj-vpath-pr13928.sh' test when those
    make implementations were used.
    
    We fix the issue by ensuring the 'distclean' target of any Makefile
    only removed the '.Po' makefile fragments included by it, rather than
    the whole '.deps' directory where such files resides.
    
    This change should be the last step in fixing automake bug#13928
    for good.
    
    * bin/automake.in (handle_languages), lib/am/depend.am: Adjust
    to implement the new 'distclean' logic.
    * t/pr224.sh: Adjust to avoid a spurious failure.
    * PLANS/subdir-objects.txt: Update.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 860d21b8854eb61dd79f37f1be564af7efa916c6
Author: Stefano Lattarini <address@hidden>
Date:   Fri Jan 2 14:47:36 2015 +0100

    compile: don't place built object files in $(srcdir), ever ...
    
    ... even when a source file is specified as '$(srdir)/foo.c' or
    '$(top_srcdir)/bar.c'. And ditto for dependency-tracking makefile
    fragments (those under '.deps' directories).
    
    Such issues used to occur when the 'subdir-objects' option was given.
    
    This change should fix the second and last part of automake bug#13928.
    See also bug#16375 and bug#15293.
    
    * NEWS: Update.
    * bin/automake.in (handle_single_transform): Make sure object files
    and dependency-tracking makefile fragments coming from source like
    '$(srcdir)/foo.c' and '$(top_srcdir)/bar.c' are placed respectively
    under $(builddir) and $(top_builddir).
    * t/subobj-vpath-pr13928.sh: Enhance to expose even more aspects
    of the bug we've just fixed.
    * t/subobj-pr13928-more-langs.sh: New test, similar to the one above,
    but with non-C languages as well.
    * t/list-of-tests.mk (XFAIL_TESTS): Remove 'subobj-vpath-pr13928.sh',
    it's now supposed to pass.
    (handwritten_TESTS): Add 'subobj-pr13928-more-langs.sh'.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit e60e8498f589edbf9d7ab016df7c2e1dc775076d
Author: Stefano Lattarini <address@hidden>
Date:   Fri Jan 2 15:26:12 2015 +0100

    tests: fix some bugs in an XFAILing test
    
    * t/subobj-vpath-pr13928.sh: This one. The test would have failed (or
    hung!) even if the bug it was testing against were fixed.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit f1b86edccf2e84c728dbe27c635e54fd27913d4e
Author: Stefano Lattarini <address@hidden>
Date:   Wed Dec 24 10:57:17 2014 +0100

    deps: 'subdir-object' option now works when foo_SOURCES contains $(var)
    
    Following a suggestions of Johan Kristensen, we have config.status use
    'make' invocations rather than Makefile-parsing 'sed' hacks to bootstrap
    the dependency-tracking '.Po' and '.Plo' makefile fragments. To handle
    the inclusion of such files that are still missing when make is first
    we basically generate a temporary Makefile without these includes, and
    call 'make' on that Makefile.
    
    This fixes the serious bug bug#13928, which was an hard blocker to make the
    behavior mandated by the 'subdir-object' active by default (which we want
    to do in Automake 2.0).
    
    The issue has also been reported in bug#15919.
    
    * NEWS, THANKS: Update.
    * bin/automake.in (handle_languages): Add a trailing "marking" comment
    ("# am--include-marker") to the generated Makefile lines issuing 'include'
    directives for the dependency-tracking '.Po' and '.Plo' makefile fragments.
    Also rename the generated Makefile variable 'am__depfiles_maybe' to the
    clearer 'am__maybe_remake_depfiles'.
    Minor unrelated refactoring.
    * lib/am/configure.am: Adjust to account for the 'am__depfiles_maybe' ->
    'am__maybe_remake_depfiles' renaming.
    * lib/am/depend.am: Add rules to generate a dummy version of all the
    dependency-tracking '.Po' and '.Plo' makefile fragments.
    * m4/depout.m4: Use make invocations rather than Makefile-parsing sed hacks
    to bootstrap the dependency-tracking '.Po' and '.Plo' makefile fragments.
    We still use some sed trickery in order to remove the inclusion of the
    still non existing .Po and .Plo files from the Makefile we invoke make
    upon; this is done stripping lines that contain the magic string
    "# am--include-marker".
    * m4/make.m4 (AM_MAKE_INCLUDE): Given that now automake generates Makefiles
    containing include statements with trailing comment, adjust the checks done
    here to make sure $MAKE support that; e.g., "include foo.mk # comment"
    rather than just "include foo.mk".
    Also refactor and adjust to leave better debugging info in config.log.
    * t/postproc.sh: Rename ...
    * t/depend-postproc.sh: ... to this, and adjust and enhance.
    * t/list-of-tests.mk (handwritten_TESTS): Adjust.
    (XFAIL_TESTS): Remove 't/subobj-indir-pr13928.sh', which is now succeeding.
    * t/subobj-indir-pr13928.sh: Simplify slightly, now that we expect it to
    pass.
    * t/depcomp8a.sh: Adjust grepping check to account for the changes in
    the generated Makefile, and tp be somewhat more robust in light of possible
    future modifications.
    * t/depcomp8b.sh: Likewise.
    * t/subobj11b.sh: Likewise.
    * t/subobj11c.sh: Likewise.
    * t/extra-sources.sh: Likewise.
    * t/lex-depend-grep.sh: Likewise.
    * t/lex-depend-cxx.sh: Add a command to help debugging in case of test
    failure.
    
    Helped-by: Johan Kristensen <address@hidden>
    Signed-off-by: Stefano Lattarini <address@hidden>

commit db43dd473361d90d8b00362cfef5bac8e722000d
Author: Stefano Lattarini <address@hidden>
Date:   Wed Dec 31 00:05:23 2014 +0100

    release: stable minor release 1.15
    
    * configure.ac (AC_INIT): Bump version number to 1.15.
    * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit e443cc9ca68ebbcd756b8cd4ceb6e104c6c25930
Author: Stefano Lattarini <address@hidden>
Date:   Wed Dec 31 00:02:30 2014 +0100

    NEWS: minor improvements and fixed some typos and grammaros
    
    Signed-off-by: Stefano Lattarini <address@hidden>

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Automake



reply via email to

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