Bug 53426 - java/eclipse port build breaks at libupdate.so
Summary: java/eclipse port build breaks at libupdate.so
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-java (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-17 22:20 UTC by Linh Pham
Modified: 2003-06-18 02:59 UTC (History)
0 users

See Also:


Attachments
eclipse-2.1_build (8.22 KB, text/plain)
2003-06-17 22:20 UTC, Linh Pham
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Linh Pham 2003-06-17 22:20:09 UTC
When doing a 'make' in java/eclipse (I pulled the files for the port manually
from CVSWeb since it wasn't available via FTP or cvsup.freebsd.org yet), it
returns a series of errors when trying to:

"===> Building libupdate.so"

The source of the error seems to be in plugins/org.eclipse.update.core.freebsd/src/update.h
where it complains that it cannot find jni.h, which then causes the compilation of
plugins/org.eclipse.update.core.freebsd/src/update.cpp to fail miserably. The entire
output of the 'make' command is included in the uu-encoded file within the fix section
called eclipse-2.1_build.

I'm using the stock GCC in 5.1-RELEASE and the Java port that I have installed
in the system is jdk-1.3.1p8_2. The same thing happens when CFLAGS is defined
with or without "-O2 -pipe" in /etc/make.conf. Also all of the dependent ports
for java/eclipse are built and installed.

Fix: I haven't found a fix yet. Attached below is a uu-encoded file containing
the output of trying to build the port.
How-To-Repeat: Pull the port files, version 1.1, from CVSWeb for java/eclipse and run
'make' on the port.
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2003-06-17 22:21:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->java

Over to new maintainer.
Comment 2 Greg Lewis freebsd_committer freebsd_triage 2003-06-18 00:16:37 UTC
State Changed
From-To: open->feedback

Can you please try the latest version and see if the problem 
still occurs?  I've removed the hardcoding of the JAVA_HOME 
setting and uncommented the USE_JAVA setting.
Comment 3 Linh Pham 2003-06-18 01:22:38 UTC
On 2003-06-17 16:17 -0700, Greg Lewis <glewis@FreeBSD.org> wrote:

# Can you please try the latest version and see if the problem
# still occurs?  I've removed the hardcoding of the JAVA_HOME
# setting and uncommented the USE_JAVA setting.

Pulling down version 1.3 of the Makefile seems to do the trick. I was
able to build and install the port without any fatal errors.

Thanks.

-- 
Linh Pham                                         question@closedsrc.org
Webmaster and FreeBSD Geek                          http://closedsrc.org
Apprentice Manager Editor and Writer           http://www.daemonnews.org
Courage: The things I do for love | And So Western Civilization Crumbles
Comment 4 Greg Lewis freebsd_committer freebsd_triage 2003-06-18 02:59:07 UTC
State Changed
From-To: feedback->closed

Originator has confirmed the fix, thanks!