Sign up now! · Forgot password?
RSS/Atom feed Twitter

GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'"

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'" Elle Stone 17 Feb 19:24
  GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'" Ell via gimp-developer-list 17 Feb 19:46
   GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'" Elle Stone 17 Feb 20:07
  GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'" Shlomi Fish 17 Feb 19:46
Elle Stone
2019-02-17 19:24:56 UTC (3 months ago)

GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'"

When compiling GIMP-2.99 updated this morning, I got this error:

make[4]: *** No rule to make target 'gimpoperationmaskcomponents.c', needed by 'gimpoperationmaskcomponents.o'. Stop. make[4]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:984: all-recursive] Error 1 make[2]: *** [Makefile:1266: all-recursive] Error 1 make[1]: *** [Makefile:854: all-recursive] Error 1 make: *** [Makefile:755: all] Error 2

In fact there doesn't seem to be "gimpoperationmaskcomponents.c", though there is "gimpoperationmaskcomponents.cc".

Renaming the file and typing "make" to continue compiling results in a bunch of other errors, and "make" doesn't finish.

Ell via gimp-developer-list
2019-02-17 19:46:07 UTC (3 months ago)

GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'"

On 2/17/19 2:24 PM, Elle Stone wrote:

When compiling GIMP-2.99 updated this morning, I got this error:

make[4]: *** No rule to make target 'gimpoperationmaskcomponents.c', needed by 'gimpoperationmaskcomponents.o'. Stop. make[4]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:984: all-recursive] Error 1 make[2]: *** [Makefile:1266: all-recursive] Error 1 make[1]: *** [Makefile:854: all-recursive] Error 1 make: *** [Makefile:755: all] Error 2

In fact there doesn't seem to be "gimpoperationmaskcomponents.c", though there is "gimpoperationmaskcomponents.cc".

Renaming the file and typing "make" to continue compiling results in a bunch of other errors, and "make" doesn't finish.

This happens each time we convert a C file to C++. Since both the old .c and new .cc files compile into the same .o file, autofoo is too dumb to smoothly handle that for an existing build. You need to either do fresh build, or, in your build directory, edit app/operations/.deps/gimpoperationmaskcomponents.Po, and change "gimpoperationmaskcomponents.c" to "gimpoperationmaskcomponents.cc", on the first or second line.

--
Ell

Shlomi Fish
2019-02-17 19:46:17 UTC (3 months ago)

GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'"

On Sun, 17 Feb 2019 14:24:56 -0500 Elle Stone wrote:

When compiling GIMP-2.99 updated this morning, I got this error:

make[4]: *** No rule to make target 'gimpoperationmaskcomponents.c', needed by 'gimpoperationmaskcomponents.o'. Stop. make[4]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:984: all-recursive] Error 1 make[2]: *** [Makefile:1266: all-recursive] Error 1 make[1]: *** [Makefile:854: all-recursive] Error 1 make: *** [Makefile:755: all] Error 2

In fact there doesn't seem to be "gimpoperationmaskcomponents.c", though there is "gimpoperationmaskcomponents.cc".

Renaming the file and typing "make" to continue compiling results in a bunch of other errors, and "make" doesn't finish.

Hi Elle!

Try running "git clean -dxf" and then try a clean build.

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
List of Networking Clients - http://shlom.in/net-clients

Chuck Norris has 0 messages in his E-mail inbox. Including already read ones.
    — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .
Elle Stone
2019-02-17 20:07:46 UTC (3 months ago)

GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'"

On 2/17/19 2:46 PM, Ell via gimp-developer-list wrote:

On 2/17/19 2:24 PM, Elle Stone wrote:

When compiling GIMP-2.99 updated this morning, I got this error:

make[4]: *** No rule to make target 'gimpoperationmaskcomponents.c', needed by 'gimpoperationmaskcomponents.o'. Stop. make[4]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:984: all-recursive] Error 1 make[2]: *** [Makefile:1266: all-recursive] Error 1 make[1]: *** [Makefile:854: all-recursive] Error 1 make: *** [Makefile:755: all] Error 2

This happens each time we convert a C file to C++. Since both the old .c and new .cc files compile into the same .o file, autofoo is too dumb to smoothly handle that for an existing build. You need to either do fresh build, or, in your build directory, edit app/operations/.deps/gimpoperationmaskcomponents.Po, and change "gimpoperationmaskcomponents.c" to "gimpoperationmaskcomponents.cc", on the first or second line.

--
Ell

Ell, thanks! compiling from scratch worked.

Best, Elle