| Summary: | media-libs/harfbuzz-2.3.1 - In file included from /var/tmp/portage/media-libs/harfbuzz-2.3.1/work/harfbuzz-2.3.1/src/hb-glib.cc:31: /usr/include/glib-2.0/glib/gmacros.h:181:29: error: size of array ‘_GStaticAssertCompileTimeAssertion_0’ is negative | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Morladim <txl263> |
| Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | gnome, office |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Morladim
2019-04-10 08:53:38 UTC
harfbuzz-2.4.0 failed with the same error.
So I think there is some error in my enviroment.
But I don't know where.
libtool: compile: x86_64-pc-linux-gnu-g++ -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src/hb-ucdn -DHB_NDEBUG -fno-rtti -march=sandybridge -O2 -pipe -std=c++14 -fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -c /var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src/hb-ot-color.cc -fPIC -DPIC -o .libs/libharfbuzz_la-hb-ot-color.o
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src/hb-ucdn -DHB_NDEBUG -fno-rtti -march=sandybridge -O2 -pipe -std=c++14 -fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -c -o libharfbuzz_la-hb-ot-font.lo `test -f 'hb-ot-font.cc' || echo '/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src/'`hb-ot-font.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src/hb-ucdn -DHB_NDEBUG -fno-rtti -march=sandybridge -O2 -pipe -std=c++14 -fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -c /var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src/hb-ot-face.cc -fPIC -DPIC -o .libs/libharfbuzz_la-hb-ot-face.o
libtool: compile: x86_64-pc-linux-gnu-g++ -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src/hb-ucdn -DHB_NDEBUG -fno-rtti -march=sandybridge -O2 -pipe -std=c++14 -fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -c /var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src/hb-ot-font.cc -fPIC -DPIC -o .libs/libharfbuzz_la-hb-ot-font.o
In file included from /usr/include/glib-2.0/glibconfig.h:9,
from /usr/include/glib-2.0/glib/gtypes.h:32,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0/src/main.cc:33:
/usr/include/glib-2.0/glib/gtypes.h: In function ‘gboolean _GLIB_CHECKED_ADD_U64(guint64*, guint64, guint64)’:
/usr/include/glib-2.0/glib/gmacros.h:181:29: error: size of array ‘_GStaticAssertCompileTimeAssertion_0’ is negative
__attribute__((__unused__))
^
/usr/include/glib-2.0/glib/gmacros.h:277:120: note: in expansion of macro ‘G_GNUC_UNUSED’
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:423:3: note: in expansion of macro ‘G_STATIC_ASSERT’
G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64));
^~~~~~~~~~~~~~~
make[4]: *** [Makefile:2477: main-main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0-abi_x86_32.x86/src'
make[3]: *** [Makefile:2793: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0-abi_x86_32.x86/src'
make[2]: *** [Makefile:1558: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0-abi_x86_32.x86/src'
make[1]: *** [Makefile:518: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0-abi_x86_32.x86'
make: *** [Makefile:450: all] Error 2
* ERROR: media-libs/harfbuzz-2.4.0::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-libs/harfbuzz-2.4.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/harfbuzz-2.4.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/harfbuzz-2.4.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/harfbuzz-2.4.0/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0-abi_x86_32.x86'
* S: '/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0'
>>> Failed to emerge media-libs/harfbuzz-2.4.0, Log file:
>>> '/var/tmp/portage/media-libs/harfbuzz-2.4.0/temp/build.log'
* Messages for package media-libs/harfbuzz-2.4.0:
* ERROR: media-libs/harfbuzz-2.4.0::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-libs/harfbuzz-2.4.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/harfbuzz-2.4.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/harfbuzz-2.4.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/harfbuzz-2.4.0/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0-abi_x86_32.x86'
* S: '/var/tmp/portage/media-libs/harfbuzz-2.4.0/work/harfbuzz-2.4.0'
*
* The following package has failed to build, install, or execute postinst:
*
* (media-libs/harfbuzz-2.4.0:0/0.9.18::gentoo, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/media-libs/harfbuzz-2.4.0/temp/build.log'
*
Please reopen if you still have this problem with current versions. |