Skip to content

[BUG] at_fn_error: command not found #18

Description

@drok

Describe the bug

When re-generating Makefiles after a broken multi-line assignment (missing backslash), config.status reports:

config.status: error: in `/home/radu/proj/ia2/store/build/Debug':
./config.status: line 1178: at_fn_error: command not found

and the Makefile is not updated:

config.status: error: in `/home/radu/proj/ia2/store/build/Debug':
./config.status: line 1178: at_fn_error: command not found
make  all-recursive
make[1]: Entering directory '/home/radu/proj/ia2/store/build/Debug'
Making all in src
make[2]: Entering directory '/home/radu/proj/ia2/store/build/Debug/src'
Makefile:2966: *** missing separator.  Stop.

Steps to reproduce the behavior:

Create a Makefile.am assingmen with missing backslash:

libxxx_a_CPPFLAGS = \
    -I${top_srcdir}/vendor/fmt/include \
    -DWIDE_INTEGER_DISABLE_IOSTREAM \
    -DPACKAGE_DATA_DIR=$(pkgdatadir)
    -D_OTHER_VAR_

Regenerate Makefiles.

Workaround:

Edit the offending Makefile and manually fix it to make it syntactically correct, then regen it:

Makefile:2966: *** missing separator

Expected behavior

at_fn_error should be defined, and Makefiles regenerated

Where does the extension run?

  • OS where VSCode runs: Windows 10
  • OS where the autotools extension runs: Ubuntu 22, ie, remotely
  • Extension Version: 0.3.0

What project are you editing?

  • Project repo if public: libtransmission
  • Autoconf version (autoconf --version): 2,71
  • Automake version (automake --version): 1.16.5
  • Make version (make --version): 4.3
  • Using libtool? : no

What does the extension log? (OUTPUT pane / "Autotools" channel)

In src/Makefile > undefined
    Makefile:643: libtransmission/.deps/announce-list.Po: No such file or directory
Makefile:1070: *** missing separator.  Stop.

In Makefile > config.h
    make[1]: *** [all-recursive] Error 1

In Makefile > config.h
    make: *** [all] Error 2

In src/Makefile > undefined
    Makefile:643: libtransmission/.deps/announce-list.Po: No such file or directory

In src/Makefile > undefined
    Makefile:1070: *** missing separator.  Stop.

In Makefile > config.h
    make: *** [check-recursive] Error 1

Exporting project config was partially successful.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#dry-run-warnings
In src/Makefile > undefined
    Makefile:643: libtransmission/.deps/announce-list.Po: No such file or directory

In Makefile > config.h
    Makefile:1070: *** missing separator.  Stop.

In Makefile > config.h
    make[1]: *** [all-recursive] Error 1

In Makefile > config.h
    make: *** [all] Error 2

In src/Makefile > undefined
    Makefile:643: libtransmission/.deps/announce-list.Po: No such file or directory

In Makefile > config.h
    Makefile:1070: *** missing separator.  Stop.

In Makefile > config.h
    make: *** [check-recursive] Error 1

Exporting project config was partially successful.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#dry-run-warnings
2025-02-23T23:07:03.562Z: ERROR: Recheck failed. Review the Terminal tab for cause.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#recheck-fail
2025-02-23T23:07:07.485Z: ERROR: Recheck failed. Review the Terminal tab for cause.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#recheck-fail
2025-02-23T23:10:13.014Z: ERROR: Recheck failed. Review the Terminal tab for cause.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#recheck-fail
In src/Makefile > store.o
WARNING:     make[2]: *** No rule to make target '/home/radu/proj/ia2/store/src/libtransmission/announce-list.cc', needed by 'libtransmission/announce-list.o'.
WARNING: This leads to debugging out-of-date programs.
WARNING: make[2]: *** No rule to ma...
In src/Makefile > store.o
WARNING:     make[2]: *** No rule to make target '/home/radu/proj/ia2/store/src/libtransmission/timer-ev.cc', needed by 'libtransmission/timer-ev.o'.
WARNING: This leads to debugging out-of-date programs.
WARNING: make[2]: *** No rule to make target ...
In src/Makefile > store.o
WARNING:     make[2]: *** No rule to make target '/home/radu/proj/ia2/store/src/libtransmission/tr-utp.cc', needed by 'libtransmission/tr-utp.o'.
WARNING: This leads to debugging out-of-date programs.
WARNING: make[2]: *** No rule to make target '/ho...
In src/Makefile > store.o
WARNING:     make[2]: *** No rule to make target '/home/radu/proj/ia2/store/src/libtransmission/variant-json.cc', needed by 'libtransmission/variant-json.o'.
WARNING: This leads to debugging out-of-date programs.
WARNING: make[2]: *** No rule to make...
In src/Makefile > store.o
WARNING:     make[2]: *** No rule to make target '/home/radu/proj/ia2/store/src/libtransmission/web.cc', needed by 'libtransmission/web.o'.
WARNING: This leads to debugging out-of-date programs.
WARNING: make[2]: *** No rule to make target '/home/rad...
In Makefile > config.h
    make[1]: *** [all-recursive] Error 1

In Makefile > config.h
    make: *** [all] Error 2

In src/Makefile > store.o
WARNING:     make[1]: *** No rule to make target '/home/radu/proj/ia2/store/src/libtransmission/announce-list.cc', needed by 'libtransmission/announce-list.o'.
WARNING: This leads to debugging out-of-date programs.
WARNING: make[1]: *** No rule to ma...
In src/Makefile > store.o
WARNING:     make[1]: *** No rule to make target '/home/radu/proj/ia2/store/src/libtransmission/torrent.cc', needed by 'libtransmission/torrent.o'.
WARNING: This leads to debugging out-of-date programs.
WARNING: make[1]: *** No rule to make target '/...
In src/Makefile > store.o
WARNING:     make[1]: *** No rule to make target '/home/radu/proj/ia2/store/src/libtransmission/watchdir.cc', needed by 'libtransmission/watchdir.o'.
WARNING: This leads to debugging out-of-date programs.
WARNING: make[1]: *** No rule to make target ...
In Makefile > config.h
    make: *** [check-recursive] Error 1

Exporting project config was partially successful.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#dry-run-warnings
Exported to IntelliSense: build configuration for 83 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 83 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 83 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 83 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 83 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 83 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 83 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 83 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
2025-02-24T00:53:48.225Z: ERROR: Regen failed. Review the Terminal tab for cause.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#regen-fail
Configure failed. Review the Terminal tab for cause.
Configuring can be re-attempted with "Autotools: Configure"
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#config-fail
Configure failed. Review the Terminal tab for cause.
Configuring can be re-attempted with "Autotools: Configure"
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#config-fail
Configure failed. Review the Terminal tab for cause.
Configuring can be re-attempted with "Autotools: Configure"
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#config-fail
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
2025-02-24T01:02:47.830Z: ERROR: Regen failed. Review the Terminal tab for cause.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#regen-fail
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
Exported to IntelliSense: build configuration for 84 source files like store.c, sanity.c, announce-list.cc, ...
Generated tasks: 1 build tasks and 1 test tasks in 1 check suites (see Run Task... command)
In src/Makefile > undefined
    Makefile:2966: *** missing separator.  Stop.

In Makefile > config.h
    make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

In src/Makefile > undefined
    Makefile:2966: *** missing separator.  Stop.

In Makefile > config.h
    make: *** [check-recursive] Error 1

Exporting project config was partially successful.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#dry-run-warnings
In src/Makefile > undefined
    Makefile:2966: *** missing separator.  Stop.

In Makefile > config.h
    make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

In src/Makefile > undefined
    Makefile:2966: *** missing separator.  Stop.

In Makefile > config.h
    make: *** [check-recursive] Error 1

Exporting project config was partially successful.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#dry-run-warnings
In src/Makefile > undefined
    Makefile:2966: *** missing separator.  Stop.

In Makefile > config.h
    make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

In src/Makefile > undefined
    Makefile:2966: *** missing separator.  Stop.

In Makefile > config.h
    make: *** [check-recursive] Error 1

Exporting project config was partially successful.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#dry-run-warnings
In src/Makefile > undefined
    Makefile:2966: *** missing separator.  Stop.

In Makefile > config.h
    make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

In src/Makefile > undefined
    Makefile:2966: *** missing separator.  Stop.

In Makefile > config.h
    make: *** [check-recursive] Error 1

Exporting project config was partially successful.
KB: https://autotools.mergesium.com/kb/store?v=0.0.0#dry-run-warnings

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions