Skip to content

1.5.28: parallel build fails becauee missin ibusenumtypes.h #2501

@kloczek

Description

@kloczek

looks like parallel build fails on missimg ibusenumtypes.h

make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/ibus-1.5.28/src'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\"IBUS\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DIBUS_CACHE_DIR=\""/var/cache/ibus"\" -DIBUS_DATA_DIR=\"/usr/share/ibus\" -DIBUS_DISABLE_DEPRECATION_WARNINGS -DIBUS_COMPILATION -DISOCODES_PREFIX=\"/usr\" -DX11_LOCALEDATADIR=\"/usr/share/X11/locale\"  -DENABLE_EMOJI_DICT   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -c -o gen_internal_compose_table-ibuskeynames.o `test -f 'ibuskeynames.c' || echo './'`ibuskeynames.c
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/ibus-1.5.28/src'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/ibus-1.5.28/src'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\"IBUS\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DIBUS_CACHE_DIR=\""/var/cache/ibus"\" -DIBUS_DATA_DIR=\"/usr/share/ibus\" -DIBUS_DISABLE_DEPRECATION_WARNINGS -DIBUS_COMPILATION -DISOCODES_PREFIX=\"/usr\" -DX11_LOCALEDATADIR=\"/usr/share/X11/locale\"  -DENABLE_EMOJI_DICT   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -c -o gen_internal_compose_table-gencomposetable.o `test -f 'gencomposetable.c' || echo './'`gencomposetable.c
In file included from gencomposetable.c:23:
./ibus.h:49:10: fatal error: ibusenumtypes.h: No such file or directory
   49 | #include <ibusenumtypes.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1100: gen_internal_compose_table-gencomposetable.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/ibus-1.5.28/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/ibus-1.5.28/src'

Found that workaroud is to execute make -C src ibusenumtypes.h before start all target.
Looks like somewhere is missing dependency rule.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions