Compile Failure 4.8 Branch

Thomas Baumgart thb at net-bembel.de
Sat Oct 15 12:33:48 UTC 2016


Hi,

On Friday 14 October 2016 19:28:54 Brendan Coupe wrote:

> By the way, my desktop has the same version of gcc and it compiles fine.
> 
> 
> 
> *----Brendan*
> 
> On Fri, Oct 14, 2016 at 7:26 PM, Brendan Coupe <brendan at coupeware.com>
> 
> wrote:
> > I re-ran make with -d

try running 

  make VERBOSE=1

which prints out the commands. "make -d" dumps all kind of internal make stuff 
which we are not interested (yet). I believe the problem is not buried inside 
make.


> > I've attached the output and copied the console errors below.
> > 
> > Thanks for your help.
> > 
> > make -j 1 -d > ../../make-again.log
> > In file included from /usr/local/src/kmm/kmymoney-
> > 2016.10.14-09.50.03/kmymoney/mymoney/mymoneyaccount.h:32:0,
> > 
> >                  from /usr/local/src/kmm/kmymoney-
> > 
> > 2016.10.14-09.50.03/kmymoney/mymoney/mymoneyforecast.h:33,
> > 
> >                  from /usr/local/src/kmm/kmymoney-
> > 
> > 2016.10.14-09.50.03/kmymoney/kmymoneyglobalsettings.cpp:34:
> > /usr/local/src/kmm/kmymoney-2016.10.14-09.50.03/kmymoney/mymoney/mymoneymo
> > ney.h:52:30: fatal error: alkimia/alkvalue.h: No such file or directory
> > 
> >  #include <alkimia/alkvalue.h>


Very strange. Why does it not find alkimia header files? That should be 
handled and caught by cmake in the beginning. What is your output of

  thb at thb-nb:~/devel/kmymoney (4.8)$ find / -name alkvalue.h 2>/dev/null

Mine is

  /home/thb/devel/alkimia/libalkimia/alkvalue.h
  /home/thb/devel/createtarball/libalkimia-4.3.2/libalkimia/alkvalue.h
  /usr/include/alkimia/alkvalue.h


> > compilation terminated.
> > make[2]: ***
> > [kmymoney/CMakeFiles/kmm_config.dir/kmymoneyglobalsettings.cpp.o] Error 1
> > make[1]: *** [kmymoney/CMakeFiles/kmm_config.dir/all] Error 2
> > make: *** [all] Error 2


If I wipe that kmymoneyglobalsettings.o file here and re-run 

  make -j 1VERBOSE=1

I do see (among other stuff) the following:

[ 11%] Building CXX object 
kmymoney/CMakeFiles/kmm_config.dir/kmymoneyglobalsettings.cpp.o                                                                      
cd /home/thb/devel/kmymoney/build/kmymoney && /usr/bin/c++   -DHAVE_CONFIG_H -
DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=15 -DKDE_DEPRECATED_WARNINGS -
DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -
DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -
I/home/thb/devel/kmymoney/build/kmymoney -I/home/thb/devel/kmymoney/kmymoney -
I/home/thb/devel/kmymoney -I/home/thb/devel/kmymoney/build -
I/home/thb/devel/kmymoney/build/kmymoney/dialogs -
I/home/thb/devel/kmymoney/kmymoney/widgets -
I/home/thb/devel/kmymoney/build/kmymoney/widgets -
I/home/thb/devel/kmymoney/kmymoney/mymoney -
I/home/thb/devel/kmymoney/kmymoney/mymoney/storage -
I/home/thb/devel/kmymoney/kmymoney/plugins -
I/home/thb/devel/kmymoney/build/kmymoney/plugins -
I/home/thb/devel/kmymoney/kmymoney/views -
I/home/thb/devel/kmymoney/kmymoney/dialogs -
I/home/thb/devel/kmymoney/kmymoney/converter -
I/home/thb/devel/kmymoney/build/kmymoney/dialogs/settings -
I/home/thb/devel/kmymoney/build/kmymoney/mymoney/storage -
I/home/thb/devel/kmymoney/build/kmymoney/mymoney -
I/home/thb/devel/kmymoney/kmymoney/reports -
I/home/thb/devel/kmymoney/kmymoney/wizards/endingbalancedlg -
I/home/thb/devel/kmymoney/build/kmymoney/wizards/endingbalancedlg -
I/home/thb/devel/kmymoney/kmymoney/wizards/newinvestmentwizard -
I/home/thb/devel/kmymoney/build/kmymoney/wizards/newinvestmentwizard -
I/home/thb/devel/kmymoney/kmymoney/wizards/newloanwizard -
I/home/thb/devel/kmymoney/build/kmymoney/wizards/newloanwizard -
I/home/thb/devel/kmymoney/kmymoney/wizards/wizardpages -
I/home/thb/devel/kmymoney/kmymoney/models -
I/home/thb/devel/kmymoney/build/kmymoney/models -
I/home/thb/devel/kmymoney/build/kmymoney/payeeidentifier/ibanandbic/widgets -
I/home/thb/devel/kmymoney/build/kmymoney/payeeidentifier/ibanandbic -
I/home/thb/devel/kmymoney/build/kmymoney/payeeidentifier/nationalaccount -
I/home/thb/devel/kmymoney/libkgpgfile -
I/home/thb/devel/kmymoney/libkdchart/include -I/usr/include/KDE -
I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -
I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -
I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -
I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -
I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -
I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -
I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt4/mkspecs/default  -
Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall 
-W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-
check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -
fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -
fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -fPIC -fno-
common -Wlogical-op -O2 -g -DNDEBUG -DQT_NO_DEBUG   -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o 
CMakeFiles/kmm_config.dir/kmymoneyglobalsettings.cpp.o -c 
/home/thb/devel/kmymoney/kmymoney/kmymoneyglobalsettings.cpp
[ 11%] Linking CXX static library ../lib/libkmm_config.a

My compiler finds alkimia/alkvalue.h in /usr/include which is a standard path 
for the compiler. 


-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
The gates in my computer are AND,OR and NOT, not Bill
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20161015/0362609c/attachment.sig>


More information about the KMyMoney-devel mailing list