mypaint/libmypaint

1.6.1: build fails

kloczek opened this issue · 1 comments

[tkloczko@barrel libmypaint-1.6.1]$ make -k
make  all-recursive
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1'
Making all in .
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1'
/bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I.    -I/usr/include/json-c  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_POSIX_C_SOURCE=200809L -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o mypaint-brush.lo mypaint-brush.c
libtool: compile:  /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/usr/include/json-c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_POSIX_C_SOURCE=200809L -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c mypaint-brush.c  -fPIC -DPIC -o .libs/mypaint-brush.o
In file included from mypaint-brush.h:23,
                 from mypaint-brush.c:30:
mypaint-brush-settings.h:22:10: fatal error: mypaint-brush-settings-gen.h: No such file or directory
   22 | #include "mypaint-brush-settings-gen.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:759: mypaint-brush.lo] Error 1
/bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I.    -I/usr/include/json-c  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_POSIX_C_SOURCE=200809L -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o mypaint-brush-settings.lo mypaint-brush-settings.c
libtool: compile:  /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/usr/include/json-c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_POSIX_C_SOURCE=200809L -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c mypaint-brush-settings.c  -fPIC -DPIC -o .libs/mypaint-brush-settings.o
In file included from mypaint-brush-settings.c:19:
mypaint-brush-settings.h:22:10: fatal error: mypaint-brush-settings-gen.h: No such file or directory
   22 | #include "mypaint-brush-settings-gen.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:759: mypaint-brush-settings.lo] Error 1
make[2]: *** No rule to make target 'mypaint-brush-settings-gen.h', needed by 'MyPaint-1.6.gir'.
make[2]: Target 'all-am' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1'
Making all in doc
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/doc'
Making all in gegl
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/gegl'
make[2]: *** No rule to make target '../libmypaint.la', needed by 'libmypaint-gegl.la'.
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/gegl'
Making all in tests
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/tests'
Making all in .
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/tests'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I..    -DLIBMYPAINT_TESTING_ABS_TOP_SRCDIR='"/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1"' -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I./.. -D_POSIX_C_SOURCE=200809L -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o mypaint-test-surface.o mypaint-test-surface.c
In file included from ../mypaint-brush.h:23,
                 from mypaint-utils-stroke-player.h:20,
                 from mypaint-test-surface.c:23:
../mypaint-brush-settings.h:22:10: fatal error: mypaint-brush-settings-gen.h: No such file or directory
   22 | #include "mypaint-brush-settings-gen.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:800: mypaint-test-surface.o] Error 1
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I..    -DLIBMYPAINT_TESTING_ABS_TOP_SRCDIR='"/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1"' -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I./.. -D_POSIX_C_SOURCE=200809L -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o mypaint-utils-stroke-player.o mypaint-utils-stroke-player.c
In file included from ../mypaint-brush.h:23,
                 from mypaint-utils-stroke-player.h:20,
                 from mypaint-utils-stroke-player.c:23:
../mypaint-brush-settings.h:22:10: fatal error: mypaint-brush-settings-gen.h: No such file or directory
   22 | #include "mypaint-brush-settings-gen.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:800: mypaint-utils-stroke-player.o] Error 1
make[3]: Target 'all-am' not remade because of errors.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/tests'
Making all in gegl
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/tests/gegl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/tests/gegl'
make[2]: *** [Makefile:831: all-recursive] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/tests'
Making all in po
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1/po'
make[1]: *** [Makefile:864: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libmypaint-1.6.1'
make: *** [Makefile:615: all] Error 2

Cosing.
I found how to generate that file.