I cannot get kmod-19 to build, error log is attached. Reproducible: Always
Created attachment 390130 [details] kmod-19 build log
Created attachment 390132 [details] cave --info output information about system from package manager
Same error here. (~amd64)
Created attachment 390158 [details] kmod-19 build.log
You have: checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -fdiagnostics-color=auto in envvar CFLAGS... yes and then later: x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-fdiagnostics-color=auto' With the same GCC version I get: checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -fdiagnostics-color=auto in envvar CFLAGS... no and then it compiles fine.
(In reply to Jeroen Roovers from comment #5) > You have: > > checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag > -fdiagnostics-color=auto in envvar CFLAGS... yes > > and then later: > > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option > '-fdiagnostics-color=auto' > > With the same GCC version I get: > > checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag > -fdiagnostics-color=auto in envvar CFLAGS... no > > and then it compiles fine. Is there any workaround for this? Or maybe what the cause for the problem is to solve it?
> Is there any workaround for this? Or maybe what the cause for the problem is > to solve it? Omg.... Not ccache again... efialtis nikhatzi # FEATURES="-ccache" emerge kmod Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/kmod-19::gentoo >>> Installing (1 of 1) sys-apps/kmod-19::gentoo Without ccache, it compiles fine...
Closing on behalf of ssuominen: "ccache in play, user needs to clear his cache for ccache"
*** Bug 530456 has been marked as a duplicate of this bug. ***
*** Bug 531674 has been marked as a duplicate of this bug. ***
diff -rupN a/configure.ac b/configure.ac --- a/configure.ac 2014-11-17 01:21:43.398853576 +1300 +++ b/configure.ac 2014-12-07 09:03:27.017007926 +1300 @@ -201,7 +201,6 @@ CC_CHECK_FLAGS_APPEND(with_cflags, [CFLA -Wuninitialized \ -fno-common \ -fdiagnostics-show-option \ - -fdiagnostics-color=auto \ -fvisibility=hidden \ -ffunction-sections \ -fdata-sections]) diff -rupN a/Makefile.am b/Makefile.am --- a/Makefile.am 2014-11-17 01:20:18.944122118 +1300 +++ b/Makefile.am 2014-12-07 09:03:47.640070285 +1300 @@ -11,6 +11,9 @@ BUILT_FILES = ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} AM_MAKEFLAGS = --no-print-directory +GCC_COLORS ?= 'error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' +export GCC_COLORS + AM_CPPFLAGS = \ -include $(top_builddir)/config.h \ -I$(top_srcdir)/libkmod \