GNOME Bugzilla – Bug 732319
Use of /usr/bin/libtool results in mixing two different compilers
Last modified: 2014-10-28 21:31:11 UTC
Created attachment 279370 [details] Build log After upgrading my gcc (and updating value of CXX) I'm unable to upgrade gexiv2: libtool --mode=link --tag=CC x86_64-pc-linux-gnu-g++-4.8.3 [...] libtool: link: x86_64-pc-linux-gnu-gcc-4.8.2 -shared [...] /usr/bin/libtool: line 8979: x86_64-pc-linux-gnu-gcc-4.8.2: command not found The issue is that installed libtool hardcodes some random compiler used at install time. The result is, CXX used during the build is not used but the old compiler which may no longer be available. And since you're using '--tag=CC' instead of '--tag=CXX', it tries to use the C compiler rather than C++. As far as upstream is concerned, packages are not allowed to use that and should create their own 'local' libtool copies instead. I don't know if it's possible without using whole autotools bundle though.
Oh, I just noticed that 0.10 uses autotools now and doesn't suffer this issue.