You are not logged in.

#1 2009-05-04 11:27:28

Kariddi
Member
Registered: 2009-03-12
Posts: 45

cmake broken?

Hi,

After the today update of cmake it seems to be broken.

I'm trying to compile ktorrent and I get this problem early in the building process:

==> Entrata nell'ambiente di fakeroot in corso...
==> Avvio di build() in corso...
patching file plugins/webinterface/httpserver.cpp
Hunk #1 succeeded at 30 with fuzz 1 (offset 1 line).
cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by cmake)
make: *** No targets specified and no makefile found.  Stop.
==> ERRORE: Compilazione interrotta.
    L'operazione sta per essere interrotta...
[hades@artemis ktorrent]$

What's happening?

Offline

#2 2009-05-04 11:36:33

ZombieBear
Member
Registered: 2009-03-12
Posts: 2

Re: cmake broken?

I'm getting the same error (albeit in english)

==> Starting make...
cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by cmake)
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...

I read that adding the -fpermisisve parameter to CXXFLAGS was supposed to fix it, but it dodn't work.

Last edited by ZombieBear (2009-05-04 11:37:10)

Offline

#3 2009-05-04 12:56:51

csousa
Member
Registered: 2009-05-04
Posts: 32

Re: cmake broken?

Same problem here (x86_64), evenfor doing "cmake .." .


Why this things always hapens when a guy is in a deadline? smile

Last edited by csousa (2009-05-04 13:00:57)

Offline

#4 2009-05-04 13:23:43

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: cmake broken?

When gcc-4.4 moves to [core] all will be fixed.  It appears that some c++ binaries built with gcc-4.4 are not compatible with earlier versions.  Rebuilding from ABS should fix the problem in the meantime.

Offline

#5 2009-05-04 13:25:56

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: cmake broken?

I can confirm this problem and will fix this very soon. It seems we have a compatibility issue with binaries that were build with gcc-4.4 but run with gcc-libs-4.3.

I did not notice this because I was using [testing].

Offline

#6 2009-05-04 13:47:17

csousa
Member
Registered: 2009-05-04
Posts: 32

Re: cmake broken?

Thank you very much Pierre big_smile

In the meanwhile i'll use the previous cmake package.

Offline

#7 2009-05-25 21:55:03

virati
Member
Registered: 2008-04-14
Posts: 83

Re: cmake broken?

I'm still getting this error and I'm completely up to date. Do I need to ln something?

Edit:
This is what i get:

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/cc1plus: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libgmpxx.so.4)

Last edited by virati (2009-05-25 21:55:50)

Offline

#8 2009-05-26 01:12:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: cmake broken?

Are you sure you are completely up to date?  gcc-libc-4.4.0-2 is the current package.

Offline

#9 2009-05-26 02:15:38

virati
Member
Registered: 2008-04-14
Posts: 83

Re: cmake broken?

Allan wrote:

Are you sure you are completely up to date?  gcc-libc-4.4.0-2 is the current package.

Yep, completely up to date. I reverted back to old version of glibc, gcc, binutils, etc to what I had 2 days ago and things were compiling fine.

After re-updating with -Syu I was back in the same situation. I couldn't even compile a simple Hello World program without getting an error involving GLIBCXX_3.4.11:

g++ -g -c main2.cpp -o main2.o
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/cc1plus: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libgmpxx.so.4)
make: *** [main2.o] Error 1
zsh: exit 2     make

with gcc 4.4.0-2. I thought maybe having gcc34 or lib32-glibc could be interfering but after removing them I was in the same situation.

edit: gcc-libc should be at 4.4.0-2 or gcc should be at 4.4.0-2? My glibc is at 2.10.1-2 which is what's in core.

Last edited by virati (2009-05-26 02:18:21)

Offline

#10 2009-05-26 02:21:46

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: cmake broken?

gcc-libs should be at 4.4.0.  If it is and you are still getting that error, then I really have no idea what the cause is...

Offline

#11 2009-05-26 02:26:08

virati
Member
Registered: 2008-04-14
Posts: 83

Re: cmake broken?

Allan wrote:

gcc-libs should be at 4.4.0.  If it is and you are still getting that error, then I really have no idea what the cause is...

Yep it is. I've been trying to find out what's wrong for a bit now. Any suggestions on a smarter starting place?

Edit:

If i revert just gmp back to 4.2.4-1 the error goes away for compiling my own programs.

However, trying to run spring still results in

spring: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by spring)
zsh: exit 1     spring

and when i try pacman -Qo on /lib/libstdc++ it says it isn't owned by any package. Is that supposed to be so?

Last edited by virati (2009-05-26 02:32:29)

Offline

#12 2009-05-26 02:41:06

virati
Member
Registered: 2008-04-14
Posts: 83

Re: cmake broken?

Problem Solved:

For some reason I had a libstdc++.so.6 in my /lib folder. Removing that solved the problem. I'm assuming I manually (read: stupidly) put that in /lib and constantly forced gcc to reference that old libstdc++ everytime there was a call to it. Thanks for the help.

Offline

#13 2009-05-26 03:03:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cmake broken?

virati wrote:

I'm assuming I manually (read: stupidly) put that in /lib

I have a hard time picturing this ... :-)

Offline

#14 2009-05-26 04:29:41

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: cmake broken?

GREAT!  You had me really worried there...

Offline

#15 2009-06-04 19:42:20

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: cmake broken?

I don't know since when, but I cannot build anything with cmake (I think since about a week). One message bugs me:

CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/christian/.kde4/share/apps;/usr/share/apps;/opt/kde/share/apps

And "FindKDE4Internal.cmake" isn't there. I reinstalled cmake, but that didn't do it. I'm using gcc 4.4.0-3 and kdemod. If it can be a problem of kdemod, please tell me.

Offline

#16 2009-06-29 03:02:21

abhinandh
Member
Registered: 2008-03-07
Posts: 29

Re: cmake broken?

I still get the same error and cannot compile any apps.
im running i686 with kdemod 4.2.4

Offline

#17 2009-06-29 08:04:25

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: cmake broken?

You do know you're resurrecting an old thread ?
Please open a new one describing your problem..


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

Board footer

Powered by FluxBB