Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 150992 - Using the Callisto TPTP on some systems, specially Debian-likes
Summary: Using the Callisto TPTP on some systems, specially Debian-likes
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Bing Xu CLA
QA Contact:
URL:
Whiteboard: closed471
Keywords:
: 150991 150993 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-18 14:45 EDT by Iver CLA
Modified: 2016-05-05 11:00 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iver CLA 2006-07-18 14:45:14 EDT
Well, I don't know if this is actually a bug but I am posting it here so it might help other people that experience the same problem I did.

I use Ubuntu Dapper and had the same problem in a Debian. Here it is:

I installed Eclipse 3.2 and used the "find and install" feature to install Callisto on my machines hoping to get a clean install of the TPTP plugin. It all did well but when trying to profile an application I had the same bug reported here http://dev.eclipse.org/newslists/news.eclipse.tptp/msg02271.html . The information in that post did not help me to overcome my problem. Searching a bit more on the web I found a link that suggested, in Ubuntu 5.04, the installation of libstdc++2.10-glibc2.2 and though I use Ubuntu 6.06 I decided to give it a try. I stopped to get the first error but when I tried to profile the application I got a strange behaviour. It looked the thing was started but the application was not launched.

I was almost giving up to use TPTP and trying to find another free profiler when I found out that some software that require libstdc++2.10-glibc2.2, use the libstdc++-libc6.2-2.so.3 shared object and not the default libstdc++-libc6.1-1.so.2 that was in my systems. So I made the following link, ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2 and now the TPTP seems to be working great!!!

I hope this helps people who are having the same problem since the solution to it is not easy to find on the web.

Cheers,
Iver
Comment 1 Guru Nagarajan CLA 2006-07-24 12:22:40 EDT
Karla,
  This is very good info. This entry could go either in Rel Notes or the platformd doc.

Comment 2 Guru Nagarajan CLA 2006-07-24 12:23:19 EDT
*** Bug 150993 has been marked as a duplicate of this bug. ***
Comment 3 Guru Nagarajan CLA 2006-07-24 12:24:31 EDT
*** Bug 150991 has been marked as a duplicate of this bug. ***
Comment 4 Karla Callaghan CLA 2006-07-24 15:10:08 EDT
The need for libstdc++-libc6.2-2.so.3 is stated explicitly in the documentation - but finding that documentation would be difficult for anyone that did not know that the Profiling tool is packaged with the Agent Controller.  That specific lib is mentioned in the prerequistes in "Getting started with Agent Controller - Linux on IA32" (http://www.eclipse.org/tptp/home/downloads/installguide/agentcontroller_42/linux_ia32/getting_started.html).

I believe 3 things are needed to avoid user frustration in the future:
1) We need to make it easier for users to find the getting started for profiling information.  The easiest would be to add the word "Profiling" into the title of the Getting started doc, so we'd have "Getting started with Agent Controller and Profiling" as the title and have the links from the TPTP Documents pages change to match that.

2) We should have a note in our Release Notes that states what error is going to be seen by the user when they don't have this library - then include instructions that this library is required as per the prerequisites section.

3) The Installation Guide section for the agent controller, which contains platform-independent instructions, should state that additional requirements may be listed in the platform-specific Getting Started guide.

- Reset Version to be 4.2, as that is the release that went with Callisto, not 4.1.
- Reducing severity, this is a documentation problem and does not block the 4.2.1 release.
- Setting target to 4.2.1 for addressing items 1 & 2 above.
- Copying Ruth in case she has comment on the title change suggested in item 1.
- Assigning to Bob, to fix items 1 & 2, coordinating with Ruth on the web page link name change.
- I'll create a new bugzilla for the install guide change (item 3), to be owned by Ruth.
Comment 5 Karla Callaghan CLA 2006-07-24 15:41:15 EDT
Bug 151631 was added to address item 3.
Comment 6 Iver CLA 2006-07-26 01:17:21 EDT
I am sorry to say that the TPTP still doesn't work here. It worked for just one time. Now I have all the installed libs. I try to launch the profile but nothing happens, it is like if the process is launched but not executed.

Hope to get some help.
Comment 7 Iver CLA 2006-08-12 16:27:35 EDT
Any news from this bug? TPTP still doesn't work on my systems and I believe it is not working in the systems of all debian/ubuntu users around.
Comment 8 Karla Callaghan CLA 2006-08-17 14:09:08 EDT
Iver - you opened a new bug 153675, but it's the same issue right?

Assigning to Samson to collect all Ubuntu profiling issues under one person.

Samson - you may want to close as duplicate and track issue under the new bug number (unless there is some distinction I'm missing).
Comment 9 Karla Callaghan CLA 2006-08-17 15:15:06 EDT
Target 4.3.
Comment 10 Samson Wai CLA 2006-09-11 12:30:39 EDT
Not containable in 4.3. Mark as P3 per 2006/09/11 Platform meeting.
Comment 11 Samson Wai CLA 2006-10-30 10:27:39 EST
Not containable in 4.3 and retarget to 4.4. Please let me know if you have any concern.
Comment 12 Samson Wai CLA 2007-01-31 12:21:10 EST
Retarget to future due to resource limitation.
Comment 13 Samson Wai CLA 2007-11-27 09:33:02 EST
Hi Bing. I have transferred my bugs to you for triage. Thanks.
Comment 14 Tristan Schmelcher CLA 2008-04-06 00:22:52 EDT
Thanks a billion for this info, Iver. I installed libstdc++2.10-glibc2.2 on Ubuntu Gutsy (still provided in the repos, so this must be some sort of common legacy component) and it was the last piece needed to finally get things working with TPTP-4.4.1/Eclipse-3.3.1.1.

TPTP team: do you really need to be linking against this lib? No matter how prominently you put this info in your documentation, this is still going to bite tons of people.
Comment 15 Chris Long CLA 2008-04-24 12:42:55 EDT
For are any Gentoo users reading this: you can fix the libstdc++ problem by emerging sys-libs/lib-compat. (The latest unmasked x86 version is 1.4.1, which worked for me.)

I can now start and connect to the IAC. (It seems to be having trouble at the end of a test now, but maybe my computer is just being slow.)
Comment 16 David Stenglein CLA 2008-11-14 14:34:54 EST
Is there any update on this library dependency? The libstdc++2.10-glibc2.2 is no longer available in ubuntu 8.10/Intrepid.

Why is this library still in use? Is it from some long-term supported environment like RedHat Enterprise Linux?
Comment 17 Bing Xu CLA 2008-11-14 15:05:38 EST
Hi Josh, is this same as 240677?
Comment 18 Joshua Bowles CLA 2008-11-14 15:27:24 EST
Yeah this would appear to be the same problem.
Comment 19 Paul Slauenwhite CLA 2009-06-30 06:54:05 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. Since this defect is more than 2 years old, it may be no longer relevant. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this defect is resolved as WONTFIX. If this defect is still relevant and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Comment 20 Tristan Schmelcher CLA 2009-07-01 00:25:32 EDT
(In reply to comment #19)
> As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality
> by resolving relevant defects and increasing test coverage through test
> creation, automation, Build Verification Tests (BVTs), and expanded run-time
> execution. Since this defect is more than 2 years old, it may be no longer
> relevant. As part of the TPTP Bugzilla housecleaning process (see
> http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this defect is
> resolved as WONTFIX. If this defect is still relevant and reproducible in the
> latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please
> re-open.
> 

Please re-open this bug. (It doesn't give me an option to do it myself.) This problem still affects TPTP 4.6. There are two libs that are built against libstdc++-libc6.2-2.so.3. See below.

$ ldd /opt/eclipse-3.3.2/plugins/org.eclipse.tptp.platform.jvmti.runtime_4.5.0.v200906121434/agent_files/linux_em64t/libBCIEngProbe.so
	linux-gate.so.1 =>  (0xb8063000)
	libstdc++-libc6.2-2.so.3 => not found
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f62000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7dfe000)
	/lib/ld-linux.so.2 (0xb8064000)
$ ldd /opt/eclipse-3.3.2/plugins/org.eclipse.tptp.platform.jvmti.runtime_4.5.0.v200906121434/agent_files/linux_ia32/libBCIEngProbe.so
	linux-gate.so.1 =>  (0xb7f5c000)
	libstdc++-libc6.2-2.so.3 => not found
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e5b000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cf7000)
	/lib/ld-linux.so.2 (0xb7f5d000)
$ 

The libstdc++-libc6.2-2.so.3 library is extremely old and outdated. You should not be building against it. Most distros do not include it by default. In fact, Ubuntu no longer includes it AT ALL, so for users of modern Ubuntu it is impossible to run your build.
Comment 21 Kathy Chan CLA 2010-11-18 18:51:55 EST
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.