From owner-freebsd-java@freebsd.org Mon Mar 25 08:00:35 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46D3B155605B for ; Mon, 25 Mar 2019 08:00:35 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-vk1-xa41.google.com (mail-vk1-xa41.google.com [IPv6:2607:f8b0:4864:20::a41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D77C385846 for ; Mon, 25 Mar 2019 08:00:33 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-vk1-xa41.google.com with SMTP id k64so1745413vke.1 for ; Mon, 25 Mar 2019 01:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Sbd+qhe7h+6x6/4GFXz29icl92OhLoZro7a23MG4gCk=; b=Cf3Os8M0X/aBa3ysiMNeMgpa50K/4HALi4xsE0nsssZ4TDwNX3y4uWwogu+AntKQuS EoCVpz9M2NVaDp8ogt/t5VKvNjnNgN2HvSDTW2EELjllPAwUdNRIxK4ghjS3BY3v4x3b dg3qvfV9TNzg89Ql6UuTlF8RJ+A6Yv7mzM9J0jfFs0bOBtSbt1Fsk/Th84dnCn4NS7gR c3BHI8oJr00mZMvMBZK1ghDWWzaWESYgsItAjt1sJ8jFWHENUTPiC2aidFUkFX974dc2 49EqTpposHuW05eKsKLZf18TEaVuvLIAU6RoWlf4CMOfesOycYzoQLDjlqSsmDY9/h+8 JYQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Sbd+qhe7h+6x6/4GFXz29icl92OhLoZro7a23MG4gCk=; b=SHRvHQm4UodC+G7/ceuU31N/zdkRB4QZ3AmIWmrigFX3WKb4lWLBZYw63w/1UQe+ff jPlT76pGxvKX5s7oK9ZMHC9lS9tXSVIMc0+6I/fylsPYpoqsHyK0oawSHBa4kQQck7Vh OHy3WF+HVz3q98d4neArujVauppfdvf76GLiK+5HE1m2tncbJHE/bolrUfS4jo90dCkX t3I9MyyXVNrYXvdOXRewn0m1zJa3g8G9yXRA/wSnpt2BgkyaXteKvKz4lv58IR5XsrgK PwApoG6n/RoKpkNJkGVtRzp8ugNjkwYxhQL9UVEeImnnB8/9/Z0UujZK6zq5Y2ErD7u4 fNOQ== X-Gm-Message-State: APjAAAXisOaQqNCfixJf4Ush1n+g3tSMA6KqyvSrAQFbPrOX0TroGLQ0 oxATZUBC9ZtVTLHCFPKtWIeBuVDKsKz/+oKl00fuzg== X-Google-Smtp-Source: APXvYqw/P9/4ruOJeq+LKKmG3L/Cm73wxrtK7oWNk3IwW0dkJ7zzGxl0k9uAn05tTk9HOGmJnSIWAyB93JaXeJttFL0= X-Received: by 2002:a1f:1714:: with SMTP id 20mr13621826vkx.47.1553500832472; Mon, 25 Mar 2019 01:00:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Chen Date: Mon, 25 Mar 2019 21:00:16 +1300 Message-ID: Subject: Re: CFT java/eclipse port 4.11 To: Michael Zhilin Cc: "freebsd-java@FreeBSD.org" , freebsd-eclipse@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: D77C385846 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chen-org-nz.20150623.gappssmtp.com header.s=20150623 header.b=Cf3Os8M0 X-Spamd-Result: default: False [-2.13 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.67)[-0.669,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.986,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; DMARC_NA(0.00)[chen.org.nz]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[1.4.a.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.02)[-0.020,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.14)[ip: (4.37), ipnet: 2607:f8b0::/32(-2.86), asn: 15169(-2.14), country: US(-0.07)] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2019 08:00:35 -0000 On Mon, 25 Mar 2019 at 18:26, Michael Zhilin wrote: > > Hi Jonathan, > > Got it works after 5 hours of debugging and googling. Issue was lack of v= ersion of stat symbol in eclipse_1900.so. Solution (i'm not sure it's appro= priate) is to add "-lc" as argument for LD command in make_*.mak (https://g= ithub.com/daemonblade/freebsd-eclipse/blob/master/java-eclipse/files/patch-= rt.equinox.framework#L391). My version is FreeBSD 13-CURRENT with ino64, so= "stat" from eclipse_xxx.so tried to call compat11.stat, when "stat" from b= inary made correct call. Thank you for locating the source of the issue. I spent a few hours trying to work out what was happening, and just couldn't understand what I was seeing in the debugger. I've committed the fix onto the project, and the updated port can be found at: http://pkgs.chen.org.nz/ports/java-eclipse.1.txz Thanks again! --=20 Jonathan Chen