From owner-freebsd-eclipse@FreeBSD.ORG Sun Jan 8 07:02:08 2006 Return-Path: X-Original-To: freebsd-eclipse@FreeBSD.org Delivered-To: freebsd-eclipse@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF52116A41F for ; Sun, 8 Jan 2006 07:02:08 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0465543D45 for ; Sun, 8 Jan 2006 07:02:06 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 8230EF247C for ; Sat, 7 Jan 2006 23:02:06 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00999-04 for ; Sat, 7 Jan 2006 23:02:06 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 01815F1AE1 for ; Sat, 7 Jan 2006 23:02:05 -0800 (PST) From: Sean McNeil To: freebsd-eclipse@FreeBSD.org Content-Type: text/plain Date: Sat, 07 Jan 2006 23:02:05 -0800 Message-Id: <1136703725.30638.1.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: Subject: eclipse-cdt on amd64 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Sun, 08 Jan 2006 07:02:08 -0000 Can someone please fix this port? It worked fine until a recent update: => eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is not in /usr/ports/java/eclipse-cdt/distinfo. => Either /usr/ports/java/eclipse-cdt/distinfo is out of date, or => eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is spelled incorrectly. *** Error code 1 Stop in /usr/ports/java/eclipse-cdt. From owner-freebsd-eclipse@FreeBSD.ORG Mon Jan 9 09:34:46 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B02016A420 for ; Mon, 9 Jan 2006 09:34:46 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5462443D45 for ; Mon, 9 Jan 2006 09:34:44 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k099YgAF058480; Mon, 9 Jan 2006 11:34:42 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k099ZVDp039479; Mon, 9 Jan 2006 11:35:32 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43C22E30.7000705@ebs.gr> Date: Mon, 09 Jan 2006 11:34:40 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051223) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sean McNeil References: <1136703725.30638.1.camel@triton.mcneil.com> In-Reply-To: <1136703725.30638.1.camel@triton.mcneil.com> Content-Type: multipart/mixed; boundary="------------040200090004050306050907" Cc: freebsd-eclipse@freebsd.org Subject: Re: eclipse-cdt on amd64 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Mon, 09 Jan 2006 09:34:46 -0000 This is a multi-part message in MIME format. --------------040200090004050306050907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sean McNeil wrote: > Can someone please fix this port? It worked fine until a recent update: > > => eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is not > in /usr/ports/java/eclipse-cdt/distinfo. > => Either /usr/ports/java/eclipse-cdt/distinfo is out of date, or > => eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is spelled > incorrectly. > *** Error code 1 > > Stop in /usr/ports/java/eclipse-cdt. Sorry, this is my fault. Unfortunately, the proper fix would be to port the native library patches to amd64, but lacking the proper hardware I am unable to do it myself. However, perhaps the attached patch could make things functional again, at least as they were before. Can you try it and let me know how it goes? Thanks, Panagiotis --------------040200090004050306050907 Content-Type: text/x-patch; name="eclipse-cdt.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="eclipse-cdt.patch" diff -ruN /usr/ports/java/eclipse-cdt/Makefile eclipse-cdt/Makefile --- /usr/ports/java/eclipse-cdt/Makefile Tue Jan 3 05:26:38 2006 +++ eclipse-cdt/Makefile Mon Jan 9 11:19:34 2006 @@ -10,7 +10,7 @@ CATEGORIES= java devel MASTER_SITES= http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/${PORTVERSION}/ PKGNAMEPREFIX= eclipse- -DISTNAME= org.eclipse.cdt.sdk-${PORTVERSION}-linux.${ECLIPSE_ARCH} +DISTNAME= org.eclipse.cdt.sdk-${PORTVERSION}-linux.x86 DIST_SUBDIR= eclipse MAINTAINER= freebsd-eclipse@FreeBSD.org @@ -44,8 +44,10 @@ @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.core.freebsd_${PORTVERSION}/*.orig @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.core_${PORTVERSION}/*.orig @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_${PORTVERSION}/*.orig +.if (${ARCH} == "i386") @(cd ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_${PORTVERSION}/src/org.eclipse.cdt.core.freebsd_${PORTVERSION}/library; \ ${SETENV} ${MAKE_ENV} ${GMAKE}) +.endif do-install: @${MKDIR} ${PREFIX}/eclipse --------------040200090004050306050907-- From owner-freebsd-eclipse@FreeBSD.ORG Mon Jan 9 11:02:18 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 523B716A41F for ; Mon, 9 Jan 2006 11:02:18 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2D6243D45 for ; Mon, 9 Jan 2006 11:02:17 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k09B2HOa066004 for ; Mon, 9 Jan 2006 11:02:17 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k09B2G9r065998 for freebsd-eclipse@freebsd.org; Mon, 9 Jan 2006 11:02:16 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 9 Jan 2006 11:02:16 GMT Message-Id: <200601091102.k09B2G9r065998@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-eclipse@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Mon, 09 Jan 2006 11:02:18 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2006/01/04] ports/91305 eclipse [patch] Fix the default build of java/ecl 1 problem total. From owner-freebsd-eclipse@FreeBSD.ORG Mon Jan 9 19:20:33 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CDCF16A41F for ; Mon, 9 Jan 2006 19:20:33 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ECF543D45 for ; Mon, 9 Jan 2006 19:20:33 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id D9F43F2545; Mon, 9 Jan 2006 11:20:32 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 40447-01; Mon, 9 Jan 2006 11:20:32 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 6F36DF1AAE; Mon, 9 Jan 2006 11:20:32 -0800 (PST) From: Sean McNeil To: Panagiotis Astithas In-Reply-To: <43C22E30.7000705@ebs.gr> References: <1136703725.30638.1.camel@triton.mcneil.com> <43C22E30.7000705@ebs.gr> Content-Type: text/plain Date: Mon, 09 Jan 2006 11:20:32 -0800 Message-Id: <1136834432.8418.2.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: freebsd-eclipse@freebsd.org Subject: Re: eclipse-cdt on amd64 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Mon, 09 Jan 2006 19:20:33 -0000 On Mon, 2006-01-09 at 11:34 +0200, Panagiotis Astithas wrote: > Sean McNeil wrote: > > Can someone please fix this port? It worked fine until a recent update: > > > > => eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is not > > in /usr/ports/java/eclipse-cdt/distinfo. > > => Either /usr/ports/java/eclipse-cdt/distinfo is out of date, or > > => eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is spelled > > incorrectly. > > *** Error code 1 > > > > Stop in /usr/ports/java/eclipse-cdt. > > Sorry, this is my fault. Unfortunately, the proper fix would be to port > the native library patches to amd64, but lacking the proper hardware I > am unable to do it myself. However, perhaps the attached patch could > make things functional again, at least as they were before. Can you try > it and let me know how it goes? Yes, that got me back on track. Interesting that I haven't hit the issues related to x86 vs. amd64 yet, but I haven't stressed things that much. Too bad you do not have any amd64 hardware. It would be real nice to have your support on this platform. Cheers, Sean From owner-freebsd-eclipse@FreeBSD.ORG Tue Jan 10 01:24:11 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 3AFCB16A41F; Tue, 10 Jan 2006 01:24:11 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0C4843D46; Tue, 10 Jan 2006 01:24:10 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0A1OAlB052423; Tue, 10 Jan 2006 01:24:10 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0A1OAk8052419; Tue, 10 Jan 2006 01:24:10 GMT (envelope-from edwin) Date: Tue, 10 Jan 2006 01:24:10 GMT From: Edwin Groothuis Message-Id: <200601100124.k0A1OAk8052419@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-eclipse@FreeBSD.org Cc: Subject: Re: ports/91576: [UPDATE] java/eclipse-quantum to 3.0.1 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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, 10 Jan 2006 01:24:11 -0000 Synopsis: [UPDATE] java/eclipse-quantum to 3.0.1 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-eclipse Responsible-Changed-By: edwin Responsible-Changed-When: Tue Jan 10 01:24:10 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=91576 From owner-freebsd-eclipse@FreeBSD.ORG Tue Jan 10 07:56:36 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD9B416A41F for ; Tue, 10 Jan 2006 07:56:36 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD3CC43D45 for ; Tue, 10 Jan 2006 07:56:35 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k0A7uUAF062190; Tue, 10 Jan 2006 09:56:30 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0A7vJAY058797; Tue, 10 Jan 2006 09:57:20 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43C368AC.5020007@ebs.gr> Date: Tue, 10 Jan 2006 09:56:28 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051223) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sean McNeil References: <1136703725.30638.1.camel@triton.mcneil.com> <43C22E30.7000705@ebs.gr> <1136834432.8418.2.camel@triton.mcneil.com> In-Reply-To: <1136834432.8418.2.camel@triton.mcneil.com> Content-Type: multipart/mixed; boundary="------------020603030708080204050306" Cc: freebsd-eclipse@freebsd.org Subject: Re: eclipse-cdt on amd64 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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, 10 Jan 2006 07:56:36 -0000 This is a multi-part message in MIME format. --------------020603030708080204050306 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sean McNeil wrote: > On Mon, 2006-01-09 at 11:34 +0200, Panagiotis Astithas wrote: > >>Sean McNeil wrote: >> >>>Can someone please fix this port? It worked fine until a recent update: >>> >>>=> eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is not >>>in /usr/ports/java/eclipse-cdt/distinfo. >>>=> Either /usr/ports/java/eclipse-cdt/distinfo is out of date, or >>>=> eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is spelled >>>incorrectly. >>>*** Error code 1 >>> >>>Stop in /usr/ports/java/eclipse-cdt. >> >>Sorry, this is my fault. Unfortunately, the proper fix would be to port >>the native library patches to amd64, but lacking the proper hardware I >>am unable to do it myself. However, perhaps the attached patch could >>make things functional again, at least as they were before. Can you try >>it and let me know how it goes? > > > Yes, that got me back on track. Interesting that I haven't hit the > issues related to x86 vs. amd64 yet, but I haven't stressed things that > much. > > Too bad you do not have any amd64 hardware. It would be real nice to > have your support on this platform. OK, can you try this patch too, please? It is supposed to DTRT when uninstalling eclipse-cdt for both platforms, unlike the previous one I sent you. I'd like you to try both a 'make install' and 'make deinstall' and let me know if there are any warnings. You should definitely get a warning when uninstalling the version from my previous patch, but It should be fixed now. Thanks, Panagiotis --------------020603030708080204050306 Content-Type: text/x-patch; name="eclipse-cdt.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="eclipse-cdt.patch" diff -ruN /usr/ports/java/eclipse-cdt/Makefile eclipse-cdt/Makefile --- /usr/ports/java/eclipse-cdt/Makefile Tue Jan 3 05:26:38 2006 +++ eclipse-cdt/Makefile Tue Jan 10 09:45:09 2006 @@ -10,7 +10,7 @@ CATEGORIES= java devel MASTER_SITES= http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/${PORTVERSION}/ PKGNAMEPREFIX= eclipse- -DISTNAME= org.eclipse.cdt.sdk-${PORTVERSION}-linux.${ECLIPSE_ARCH} +DISTNAME= org.eclipse.cdt.sdk-${PORTVERSION}-linux.x86 DIST_SUBDIR= eclipse MAINTAINER= freebsd-eclipse@FreeBSD.org @@ -31,6 +31,8 @@ ECLIPSE_ARCH= amd64 .else ECLIPSE_ARCH= x86 +PLIST_FILES+= eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libpty.so \ + eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libspawner.so .endif MAKE_ENV+= ECLIPSE_ARCH=${ECLIPSE_ARCH} \ @@ -44,8 +46,10 @@ @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.core.freebsd_${PORTVERSION}/*.orig @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.core_${PORTVERSION}/*.orig @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_${PORTVERSION}/*.orig +.if (${ARCH} == "i386") @(cd ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_${PORTVERSION}/src/org.eclipse.cdt.core.freebsd_${PORTVERSION}/library; \ ${SETENV} ${MAKE_ENV} ${GMAKE}) +.endif do-install: @${MKDIR} ${PREFIX}/eclipse diff -ruN /usr/ports/java/eclipse-cdt/pkg-plist eclipse-cdt/pkg-plist --- /usr/ports/java/eclipse-cdt/pkg-plist Tue Jan 3 05:28:05 2006 +++ eclipse-cdt/pkg-plist Tue Jan 10 09:44:27 2006 @@ -531,8 +531,6 @@ eclipse/plugins/org.eclipse.cdt.core_3.0.1/plugin.properties eclipse/plugins/org.eclipse.cdt.core_3.0.1/about.html eclipse/plugins/org.eclipse.cdt.core_3.0.1/plugin.xml -eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libspawner.so -eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libpty.so eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/about.html eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/fragment.xml eclipse/plugins/org.eclipse.cdt.core.freebsd_3.0.1/cdt_linux.jar --------------020603030708080204050306-- From owner-freebsd-eclipse@FreeBSD.ORG Tue Jan 10 22:20:45 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D751316A41F for ; Tue, 10 Jan 2006 22:20:45 +0000 (GMT) (envelope-from zlatozar@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id D14B843D7E for ; Tue, 10 Jan 2006 22:20:33 +0000 (GMT) (envelope-from zlatozar@gmail.com) Received: by zproxy.gmail.com with SMTP id l1so12180nzf for ; Tue, 10 Jan 2006 14:20:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=SmBYfs1y6aJYfvxwybHHSdfJWDG9dz3yidjXFLbX4q/NfB/XsIvZuMOjWWbJCUldhap+z2JXbSWH/fdrWPyuDS2veVdhLdU+18mhzlTdDSKyVhDa15/J2EU+hNYISKobngyPyTS41g9+qNuae4eTPV68zyeZew+wMLG51NMcBIo= Received: by 10.36.66.3 with SMTP id o3mr50577nza; Tue, 10 Jan 2006 14:20:29 -0800 (PST) Received: by 10.36.4.11 with HTTP; Tue, 10 Jan 2006 14:20:29 -0800 (PST) Message-ID: <6fda18720601101420v5cf15d26q875fbf29728dc781@mail.gmail.com> Date: Wed, 11 Jan 2006 00:20:29 +0200 From: zlatozar To: freebsd-eclipse@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Eclipse debug crash X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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, 10 Jan 2006 22:20:46 -0000 Hi all, Would you tell me how to fix the following problem: /libexec/ld-elf.so.1: /usr/local/eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebs= d/x86/libpty.so: Undefined symbol "getpt" Eclipse crash when I try to debug simple C project using Eclipse-CDT. I use FreeBSD 6.0 on i386. If you need more debug information please let me know. Best regards, Zlatozar -- (__) \\\ ' ' , ) \ / \ ^ .\ ._/_) http://zlatozar.blogspot.com/ "I'm not a great programmer; I'm just a good programmer with great habits." From owner-freebsd-eclipse@FreeBSD.ORG Tue Jan 10 22:29:31 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C23C316A41F for ; Tue, 10 Jan 2006 22:29:31 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6235843D48 for ; Tue, 10 Jan 2006 22:29:31 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id DF4C8F25D3; Tue, 10 Jan 2006 14:29:30 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24586-05; Tue, 10 Jan 2006 14:29:30 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 5D642F1B2E; Tue, 10 Jan 2006 14:29:30 -0800 (PST) From: Sean McNeil To: Panagiotis Astithas In-Reply-To: <43C368AC.5020007@ebs.gr> References: <1136703725.30638.1.camel@triton.mcneil.com> <43C22E30.7000705@ebs.gr> <1136834432.8418.2.camel@triton.mcneil.com> <43C368AC.5020007@ebs.gr> Content-Type: text/plain Date: Tue, 10 Jan 2006 14:29:30 -0800 Message-Id: <1136932170.45102.0.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: freebsd-eclipse@freebsd.org Subject: Re: eclipse-cdt on amd64 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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, 10 Jan 2006 22:29:31 -0000 On Tue, 2006-01-10 at 09:56 +0200, Panagiotis Astithas wrote: > Sean McNeil wrote: > > On Mon, 2006-01-09 at 11:34 +0200, Panagiotis Astithas wrote: > > > >>Sean McNeil wrote: > >> > >>>Can someone please fix this port? It worked fine until a recent update: > >>> > >>>=> eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is not > >>>in /usr/ports/java/eclipse-cdt/distinfo. > >>>=> Either /usr/ports/java/eclipse-cdt/distinfo is out of date, or > >>>=> eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is spelled > >>>incorrectly. > >>>*** Error code 1 > >>> > >>>Stop in /usr/ports/java/eclipse-cdt. > >> > >>Sorry, this is my fault. Unfortunately, the proper fix would be to port > >>the native library patches to amd64, but lacking the proper hardware I > >>am unable to do it myself. However, perhaps the attached patch could > >>make things functional again, at least as they were before. Can you try > >>it and let me know how it goes? > > > > > > Yes, that got me back on track. Interesting that I haven't hit the > > issues related to x86 vs. amd64 yet, but I haven't stressed things that > > much. > > > > Too bad you do not have any amd64 hardware. It would be real nice to > > have your support on this platform. > > OK, can you try this patch too, please? It is supposed to DTRT when > uninstalling eclipse-cdt for both platforms, unlike the previous one I > sent you. I'd like you to try both a 'make install' and 'make deinstall' > and let me know if there are any warnings. You should definitely get a > warning when uninstalling the version from my previous patch, but It > should be fixed now. Yes, works great with deinstall and install. Sean From owner-freebsd-eclipse@FreeBSD.ORG Wed Jan 11 21:11:43 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CB1116A41F for ; Wed, 11 Jan 2006 21:11:43 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BDA743D45 for ; Wed, 11 Jan 2006 21:11:41 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k0BLBbAF068399; Wed, 11 Jan 2006 23:11:37 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0BLCQNn088551; Wed, 11 Jan 2006 23:12:27 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43C57487.40309@ebs.gr> Date: Wed, 11 Jan 2006 23:11:35 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051223) X-Accept-Language: en-us, en MIME-Version: 1.0 To: zlatozar References: <6fda18720601101420v5cf15d26q875fbf29728dc781@mail.gmail.com> In-Reply-To: <6fda18720601101420v5cf15d26q875fbf29728dc781@mail.gmail.com> Content-Type: multipart/mixed; boundary="------------030502030007020103000802" Cc: freebsd-eclipse@freebsd.org Subject: Re: Eclipse debug crash X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Wed, 11 Jan 2006 21:11:43 -0000 This is a multi-part message in MIME format. --------------030502030007020103000802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit zlatozar wrote: > Hi all, > > Would you tell me how to fix the following problem: > > /libexec/ld-elf.so.1: > /usr/local/eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libpty.so: > Undefined symbol "getpt" > > Eclipse crash when I try to debug simple C project using Eclipse-CDT. > > I use FreeBSD 6.0 on i386. If you need more debug information please let me > know. I believe this patch should fix everything. It contains the previously posted fixes for amd64, as well as the fix for this bug. Let me know how it goes. Cheers, Panagiotis --------------030502030007020103000802 Content-Type: text/x-patch; name="eclipse-cdt.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="eclipse-cdt.patch" diff -ruN /usr/ports/java/eclipse-cdt/Makefile eclipse-cdt/Makefile --- /usr/ports/java/eclipse-cdt/Makefile Tue Jan 3 05:26:38 2006 +++ eclipse-cdt/Makefile Tue Jan 10 09:45:09 2006 @@ -10,7 +10,7 @@ CATEGORIES= java devel MASTER_SITES= http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/${PORTVERSION}/ PKGNAMEPREFIX= eclipse- -DISTNAME= org.eclipse.cdt.sdk-${PORTVERSION}-linux.${ECLIPSE_ARCH} +DISTNAME= org.eclipse.cdt.sdk-${PORTVERSION}-linux.x86 DIST_SUBDIR= eclipse MAINTAINER= freebsd-eclipse@FreeBSD.org @@ -31,6 +31,8 @@ ECLIPSE_ARCH= amd64 .else ECLIPSE_ARCH= x86 +PLIST_FILES+= eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libpty.so \ + eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libspawner.so .endif MAKE_ENV+= ECLIPSE_ARCH=${ECLIPSE_ARCH} \ @@ -44,8 +46,10 @@ @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.core.freebsd_${PORTVERSION}/*.orig @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.core_${PORTVERSION}/*.orig @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_${PORTVERSION}/*.orig +.if (${ARCH} == "i386") @(cd ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_${PORTVERSION}/src/org.eclipse.cdt.core.freebsd_${PORTVERSION}/library; \ ${SETENV} ${MAKE_ENV} ${GMAKE}) +.endif do-install: @${MKDIR} ${PREFIX}/eclipse diff -ruN /usr/ports/java/eclipse-cdt/files/patch-cdt.core-openpty.c eclipse-cdt/files/patch-cdt.core-openpty.c --- /usr/ports/java/eclipse-cdt/files/patch-cdt.core-openpty.c Tue Jan 3 05:26:38 2006 +++ eclipse-cdt/files/patch-cdt.core-openpty.c Wed Jan 11 22:55:34 2006 @@ -1,5 +1,5 @@ ---- eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/openpty.c.orig Sat Dec 3 01:10:16 2005 -+++ eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/openpty.c Sat Dec 3 01:13:46 2005 +--- eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/openpty.c.orig Wed Jan 11 22:04:49 2006 ++++ eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/openpty.c Wed Jan 11 22:52:35 2006 @@ -20,7 +20,6 @@ #include @@ -8,3 +8,12 @@ /** * This is taken from R. W. Stevens book. +@@ -84,7 +83,7 @@ + char *ptr; + + strcpy(pts_name, "/dev/ptmx"); +- fdm = getpt(); ++ fdm = posix_openpt(O_RDWR); + if (fdm < 0) + return -1; + if (grantpt(fdm) < 0) { /* grant access to slave */ diff -ruN /usr/ports/java/eclipse-cdt/pkg-plist eclipse-cdt/pkg-plist --- /usr/ports/java/eclipse-cdt/pkg-plist Tue Jan 3 05:28:05 2006 +++ eclipse-cdt/pkg-plist Tue Jan 10 09:44:27 2006 @@ -531,8 +531,6 @@ eclipse/plugins/org.eclipse.cdt.core_3.0.1/plugin.properties eclipse/plugins/org.eclipse.cdt.core_3.0.1/about.html eclipse/plugins/org.eclipse.cdt.core_3.0.1/plugin.xml -eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libspawner.so -eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libpty.so eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/about.html eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/fragment.xml eclipse/plugins/org.eclipse.cdt.core.freebsd_3.0.1/cdt_linux.jar --------------030502030007020103000802--