Skip to content

[BUG] handle automake subdir-objects better #17

@drok

Description

@drok

Describe the bug

There is a bug in automake 1.14 where out-of-tree builds fail on dependency tracking if subdir-objects feature is enabled.

Automake does not expand $(openvpn_srcdir) correctly in .deps paths

Steps to reproduce the behavior:

Load ovpn@510ddbe2 -

The autotools extension reports:

Makefile:983: [...]/proj/ovpn/src/openvpn/.deps/memleaks_buffer_rfc4821_memcheck-buffer.Po: No such file or directory

also, directories like ./build/Debug/tests/unit/base64/$(openvpn_srcdir)/.deps are created. the $(openvpn_srcdir) is not expanded correctly.

Expected behavior

The extension should detect this confusing bug and suggest a workaround. Possible workarounds

Where does the extension run?

  • OS where VSCode runs: Windows 10
  • OS where the autotools extension runs: Ubuntu 16, ie, remotely
  • Extension Version: 0.2.0/linux-x64 pre-release

What project are you editing?

  • Project repo if public: ovpn
  • Autoconf version (autoconf --version): 2.69
  • Automake version (automake --version): 1.15
  • Make version (make --version): 4.1
  • Using libtool? : no

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions