From owner-freebsd-eclipse@FreeBSD.ORG Tue Oct 31 10:30:31 2006 Return-Path: X-Original-To: freebsd-eclipse@hub.freebsd.org Delivered-To: freebsd-eclipse@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37A7E16A403 for ; Tue, 31 Oct 2006 10:30:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3751043D60 for ; Tue, 31 Oct 2006 10:30:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9VAUS7s027574 for ; Tue, 31 Oct 2006 10:30:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9VAUSfI027573; Tue, 31 Oct 2006 10:30:28 GMT (envelope-from gnats) Date: Tue, 31 Oct 2006 10:30:28 GMT Message-Id: <200610311030.k9VAUSfI027573@freefall.freebsd.org> To: freebsd-eclipse@FreeBSD.org From: Vladimir Grebenschikov Cc: Subject: Re: ports/104959: java/eclipse does not work on 7-CURRENT: Undefined symbol "pthread_getschedparam" X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vladimir Grebenschikov List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2006 10:30:31 -0000 The following reply was made to PR ports/104959; it has been noted by GNATS. From: Vladimir Grebenschikov To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/104959: java/eclipse does not work on 7-CURRENT: Undefined symbol "pthread_getschedparam" Date: Tue, 31 Oct 2006 13:20:50 +0300 =F7 =D7=D4, 31/10/2006 =D7 08:50 +0000, FreeBSD-gnats-submit@FreeBSD.org = =D0=C9=DB=C5=D4: Following patch fixes problem with 'Undefined symbol "pthread_getschedparam"' but eclipse fails on start after splash-screen. Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/ncvs/ports/java/eclipse/Makefile,v retrieving revision 1.49 diff -u -r1.49 Makefile --- Makefile 14 Oct 2006 08:54:36 -0000 1.49 +++ Makefile 31 Oct 2006 09:45:52 -0000 @@ -2,7 +2,7 @@ # Date created: March 7, 2003 # Whom: various members of freebsd-java # -# $FreeBSD: ports/java/eclipse/Makefile,v 1.49 2006/10/14 08:54:36 marcus Exp $ +# $FreeBSD$ # =20 PORTNAME=3D eclipse @@ -89,7 +89,8 @@ MAKE_CAIRO=3D${MAKE_CAIRO} \ MACHINE_ARCH=3D${MACHINE_ARCH} \ MOTIF_HOME=3D${X11_HOME} \ - GECKO_CONFIG=3D${GECKO_CONFIG} + GECKO_CONFIG=3D${GECKO_CONFIG} \ + PTHREAD_LIBS=3D${PTHREAD_LIBS} =20 PLIST_FILES=3D bin/eclipse share/applications/eclipse.desktop =20 Index: files/patch-features-launchers-gtk-make_freebsd.mak =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/ncvs/ports/java/eclipse/files/patch-features-launchers-gtk-make_= freebsd.mak,v retrieving revision 1.1 diff -u -r1.1 patch-features-launchers-gtk-make_freebsd.mak --- files/patch-features-launchers-gtk-make_freebsd.mak 31 Jul 2005 05:26:15 -0000 1.1 +++ files/patch-features-launchers-gtk-make_freebsd.mak 31 Oct 2006 09:43:54 -0000 @@ -5,7 +5,7 @@ OBJS =3D eclipse.o eclipseUtil.o eclipseShm.o eclipseConfig.o eclipseGtk.o EXEC =3D $(PROGRAM_OUTPUT) -LIBS =3D `pkg-config --libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgdk-x11-2.0 -+LIBS =3D `pkg-config --libs gtk+-2.0` ++LIBS =3D ${PTHREAD_LIBS} `pkg-config --libs gtk+-2.0` CFLAGS =3D -O -s \ -fpic \ -DMOZILLA_FIX \ Error that appears after that fix: !SESSION 2006-10-31 13:14:13.579 ------------------------------------------= ----- eclipse.buildId=3DM20060118-1600 java.version=3D1.5.0-p3 java.vendor=3DSun Microsystems Inc. BootLoader constants: OS=3Dfreebsd, ARCH=3Dx86, WS=3Dgtk, NL=3Dru_RU Command-line arguments: -os freebsd -ws gtk -arch x86 !ENTRY org.eclipse.update.configurator 2006-10-31 13:14:15.457 !MESSAGE Could not load from shared install !STACK 0 java.lang.Exception at org.eclipse.update.internal.configurator.ConfigurationParser.pro= cessConfig(ConfigurationParser.java:304) at org.eclipse.update.internal.configurator.ConfigurationParser.sta= rtElement(ConfigurationParser.java:106) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.sta= rtElement(AbstractSAXParser.java:533) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl= .scanStartElement(XMLNSDocumentScannerImpl.java:324) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl= $NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:773) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScann= erImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.ja= va:1794) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScann= erImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pa= rse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pa= rse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLPa= rser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.par= se(AbstractSAXParser.java:1242) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at org.eclipse.update.internal.configurator.ConfigurationParser.par= se(ConfigurationParser.java:70) at org.eclipse.update.internal.configurator.PlatformConfiguration.l= oadConfig(PlatformConfiguration.java:1023) at org.eclipse.update.internal.configurator.PlatformConfiguration.i= nitializeCurrent(PlatformConfiguration.java:692) at org.eclipse.update.internal.configurator.PlatformConfiguration.<= init>(PlatformConfiguration.java:87) at org.eclipse.update.internal.configurator.PlatformConfiguration.s= tartup(PlatformConfiguration.java:646) at org.eclipse.update.internal.configurator.ConfigurationActivator.= getPlatformConfiguration(ConfigurationActivator.java:321) at org.eclipse.update.internal.configurator.ConfigurationActivator.= initialize(ConfigurationActivator.java:104) at org.eclipse.update.internal.configurator.ConfigurationActivator.= start(ConfigurationActivator.java:67) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run= (BundleContextImpl.java:994) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start= Activator(BundleContextImpl.java:988) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start= (BundleContextImpl.java:969) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(= BundleHost.java:316) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(A= bstractBundle.java:337) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(= Framework.java:1024) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resum= eBundles(StartLevelManager.java:574) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFW= SL(StartLevelManager.java:496) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSet= StartLevel(StartLevelManager.java:275) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispa= tchEvent(StartLevelManager.java:456) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(E= ventManager.java:189) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run= (EventManager.java:291) !ENTRY org.eclipse.core.runtime 2006-10-31 13:14:15.507 !MESSAGE Product org.eclipse.platform.ide could not be found. !ENTRY org.eclipse.osgi 2006-10-31 13:14:15.598 !MESSAGE Application error !STACK 1 java.lang.RuntimeException: No application id has been found. at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Platfo= rmActivator.java:204) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart= er.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart= er.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor= Impl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod= AccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) --=20 Vladimir B. Grebenschikov vova@fbsd.ru