As summary says fontforge will fail to build when compiled against python 3.8 The redhat bugzilla could be a good starting point (1728058) /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../inc "-I../inc" "-I../inc" "-I../lib" "-I../li64/libffi-3.3_rc2/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/u-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/u/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../inc "-I../inc" "-I../inc" "-I../lib" "-I../lib" "-DSHAREDIR=\"/usr/share/fontforge\"" "-DDOCDIR=\"/usr/share/doc/fontforge-20190317-r2/html\"" "-I../uthash/src" "-I../uthash/src" "-DFF_UTHASHglib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/u-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/python3.8 -pthread -I.. -I.. -Werror=implicit-function-declaration -Werror=int-conversion -O3 -pipe -march=skylake -mtune=skylake\" -DDOCDIR=\"/usr/share/doc/fontforge-20190317-r2/html\" -I../uthash/src -I../uthash/src -DFF_UTHASH_GLIF_NAMES=1 -DPLUGINDIR=\"/usr/lib64/fontforge/plugins\" -Wl,--no-undefined -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -pthread -I/usr/includeparsettfbmf.c:206:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 206 | fread(bdfc->bitmap+i*bdfc->bytes_per_line,1,bdfc->bytes_per_line,ttf); r/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/l 542 | extern void *calloc (size_t __nmemb, size_t __size) usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/ulibffi-3.3_rc2/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/incude/gio-unix-2.0 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -I/us | ^~ libffi-3.3_rc2/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/incr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/python3.8 -pthread -I.. -I.. -Werror=implicit-funct/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../inc "-I../inc" "-I../inc" "-I../lib" "-I../lib" "-DSHAREDIR=\"/usr/share/fontforge\"" "-DDOCDIR=\"/usr/share/doc/fontforge-20190317-r2/html\"" "-I../uthash/src" "-I../uthash/src" "-DFF_UTHASHglib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/python3.8 -pthread -I.. -I.. -Werror=implicit-function-declaration -Werror=int-conversion -O3 -pipe -march=skylake -mtune=skylake\" -DDOCDIR=\"/usr/share/doc/fontforge-20190317-r2/html\" -I../uthash/src -I../uthash/src -DFF_UTHASH_GLIF_NAMES=1 -DPLUGINDIR=\"/usr/lib64/fontforge/plugins\" -Wl,--no-undefined -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -pthread -I/usr/includelude/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -I/usion-declaration -Werror=int-conversion -O3 -pipe -march=skylake -mtune=skylake -frecord-gcc-switches -fdiagnostics-color=never -c pua.c -fPIC -DPIC -o .libs/libfontforge_la-pua.o _GLIF_NAMES=1" "-DPLUGINDIR=\"/usr/lib64/fontforge/plugins\"" -Wl,--no-undefined -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/sr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/u -frecord-gcc-switches -fdiagnostics-color=never -c -o libfontforge_la-python.lo `test -f 'python.c' || echo './'`python.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../inc -I../inc -I../inc -I../lib -I../lib -DSHAREDIR=\"/usr/share/fontforge/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc2/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/incr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/python3.8 -pthread -I.. -I.. -Werror=implicit-functpython.c:2001:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 2001 | NULL, /* tp_print */ python.c:2095:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 2095 | NULL, /* tp_print */ python.c:3659:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 3659 | NULL, /*tp_print*/ python.c:3754:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 3754 | NULL, /* tp_print */ python.c:4878:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 4878 | NULL, /* tp_print */ python.c:5653:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 5653 | NULL, /* tp_print */ python.c:5924:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 5924 | NULL, /* tp_print */ python.c:6075:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 6075 | NULL, /* tp_print */ python.c:6200:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 6200 | NULL, /* tp_print */ python.c:6341:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 6341 | NULL, /* tp_print */ python.c:9351:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 9351 | NULL, /* tp_print */ python.c:9444:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 9444 | NULL, /* tp_print */ python.c:9774:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] python.c:10524:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 10524 | NULL, /*tp_print*/ | ^~~~ python.c:10524:5: note: (near initialization for ‘PyFF_LayerInfoArrayType.tp_vectorcall_offset’) python.c:10649:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 10649 | NULL, /* tp_print */ | ^~~~ python.c:10649:5: note: (near initialization for ‘PyFF_MathType.tp_vectorcall_offset’) python.c:10758:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 10758 | NULL, /* tp_print */ | ^~~~ python.c:10758:5: note: (near initialization for ‘PyFF_PrivateIterType.tp_vectorcall_offset’) python.c:10968:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 10968 | NULL, /* tp_print */ | ^~~~ python.c:10968:5: note: (near initialization for ‘PyFF_PrivateType.tp_vectorcall_offset’) python.c:11150:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 11150 | NULL, /* tp_print */ | ^~~~ python.c:11150:5: note: (near initialization for ‘PyFF_FontIterType.tp_vectorcall_offset’) python.c:17930:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 17930 | NULL, /* tp_print */ | ^~~~ python.c:17930:5: note: (near initialization for ‘PyFF_FontType.tp_vectorcall_offset’) python.c:18047:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 18047 | NULL, /* tp_print */ | ^~~~ python.c:18047:5: note: (near initialization for ‘PyFF_AWGlyphIndexType.tp_vectorcall_offset’) python.c:18185:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 18185 | NULL, /* tp_print */ | ^~~~ python.c:18185:5: note: (near initialization for ‘PyFF_AWGlyphType.tp_vectorcall_offset’) python.c:18308:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 18308 | NULL, /* tp_print */ | ^~~~ python.c:18308:5: note: (near initialization for ‘PyFF_AWContextType.tp_vectorcall_offset’) cc1: some warnings being treated as errors make[2]: *** [Makefile:2533: libfontforge_la-python.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-gfx/fontforge-20190317-r2/work/fontforge-20190317/fontforge' make[1]: *** [Makefile:1916: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-gfx/fontforge-20190317-r2/work/fontforge-20190317' make: *** [Makefile:1753: all] Error 2 * ERROR: media-gfx/fontforge-20190317-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/fontforge-20190317-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/fontforge-20190317-r2::gentoo'`. * The complete build log is located at '/var/log/portage/build/media-gfx/fontforge-20190317-r2:20191125-193405.log.gz'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/fontforge-20190317-r2/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/fontforge-20190317-r2/work/fontforge-20190317' * S: '/var/tmp/portage/media-gfx/fontforge-20190317-r2/work/fontforge-20190317' Reproducible: Always
Thank you for the report. Please recompile and *attach* the logfiles and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Commenting here after #gentoo-python was pinged looks like the build system needs to be updated to remove "-Werror=implicit-function-declaration" and "-Werror=int-conversion", generally "-Werror" should be patched out. Why are python3.8 bugs being reported for packages that do not have python3_8 in PYTHON_COMPAT? That generally means they aren't expected to work, or have not been tested.
Werror for specific warnings is fine, and should not be patched out. And I welcome the python3.8 testing.
Meanwhile media-gfx/fontforge-20200314 went stable including python3_8 support. IMHO this bug should be closed.