After bumping mx-1.4.7-r1 to EAPI 5 compilation fails with the error mentioned in the summary.
I found after running ebuild prepare for mx-1.4.7 and mx-1.4.7-r1 and using meld to find differences that the build failure of mx-1.4.7-r1 is connected to the EAPI bump.
Here is a diff of the configure files of 1.4.7 and 1.4.7-r1
@@ -12616,7 +12616,7 @@
$as_echo "yes" >&6; }
- GTK_CFLAGS="$GTK_CFLAGS -DGSEAL_ENABLE=1"
+ GTK_CFLAGS="$GTK_CFLAGS $(NULL)=1"
if test "x$enable_gtk_widgets" = xyes; then
gnome2_utils.eclass substitutes in gnome2_disable_deprecation_warning
-DGSEAL_ENABLE against $(NULL).
However the configure file of mx-1.4.7 contains -DGSEAL_ENABLE=1 thus, after sed $(NULL)=1 remains and '=1' is appended the the GTK-cflags
from config.status after running ebuild configure:
S["GTK_CFLAGS"]="-D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/us"\
"r/include/pixman-1 -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/u"\
"sr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2"\
" -I/usr/include/libpng16 =1"
Created attachment 369932 [details]
build.log of mx-1.4.7-r1
*** This bug has been marked as a duplicate of bug 500730 ***