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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Elle Stone
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.

_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

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

Developers mailing list


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
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

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

Shlomi Fish
In reply to this post by Elle Stone
On Sun, 17 Feb 2019 14:24:56 -0500
Elle Stone <[hidden email]> 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:    [hidden email]
> 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 .
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

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

Elle Stone
In reply to this post by Developers mailing list
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
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list