It is required by the java component:
checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread
checking GLIB_LIBS... -lgthread-2.0 -pthread -lglib-2.0
checking for libart-2.0 >= 2.1... Package libart-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libart-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'libart-2.0', required by 'virtual:world', not found
configure: error: Library requirements (libart-2.0 >= 2.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make[1]: *** [Makefile:19636: configure-target-libjava] Error 1
I started maintaining gcc6 to be able to compile pdftk, then written in java. I believe it is now pdftk-gcj in the AUR. gcc6 is the last version of gcc with the gcj component, so it's normal that gcc7 doesn't require it.
Pinned Comments
valandil commented on 2020-08-24 15:06 (UTC)
I highly recommend building this package in a clean chroot. This avoids the use of a AUR helper, which sometimes uses
/tmp
as the stating directory, which often gets filled completely by gcc's build process.It also provides a clean environment, which minimizes interactions between your current environment and gcc's build process.