Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500754 - x11-libs/mx-1.4.7-r1 fails to compile: error: =1:no such file or directory
Summary: x11-libs/mx-1.4.7-r1 fails to compile: error: =1:no such file or directory
Status: RESOLVED DUPLICATE of bug 500730
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-09 09:56 UTC by Walter Meinl
Modified: 2014-02-09 10:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log of mx-1.4.7-r1 (x11-libs:mx-1.4.7-r1:20140209-083105.log,341.53 KB, text/plain)
2014-02-09 09:57 UTC, Walter Meinl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Meinl 2014-02-09 09:56:19 UTC
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

--- /var/tmp/portage/x11-libs/mx-1.4.7/work/mx-1.4.7/configure
+++ /var/tmp/portage/x11-libs/mx-1.4.7-r1/work/mx-1.4.7/configure
@@ -12616,7 +12616,7 @@
 $as_echo "yes" >&6; }
 
 fi
-       GTK_CFLAGS="$GTK_CFLAGS -DGSEAL_ENABLE=1"
+       GTK_CFLAGS="$GTK_CFLAGS $(NULL)=1"
 fi
 
  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"




Reproducible: Always
Comment 1 Walter Meinl 2014-02-09 09:57:53 UTC
Created attachment 369932 [details]
build.log of mx-1.4.7-r1
Comment 2 Pacho Ramos gentoo-dev 2014-02-09 10:26:47 UTC

*** This bug has been marked as a duplicate of bug 500730 ***