ports/135467: can not build java/eclipse with WITHOUT_MOZILLA=yes WITHOUT_GNOMEVFS=yes WITHOUT_CAIRO=yes

Kazuo Dohzono dohzono at gmail.com
Fri Jun 12 00:40:03 UTC 2009


The following reply was made to PR ports/135467; it has been noted by GNATS.

From: Kazuo Dohzono <dohzono at gmail.com>
To: bug-followup at FreeBSD.org, dohzono at gmail.com
Cc:  
Subject: Re: ports/135467: can not build java/eclipse with WITHOUT_MOZILLA=yes 
	WITHOUT_GNOMEVFS=yes WITHOUT_CAIRO=yes
Date: Fri, 12 Jun 2009 09:11:05 +0900

 > Try toggling the other two settings to see which one (if any) is breaking the build.
 
 Does this help you?
 
 $ cd /usr/ports/java/eclipse/
 $ echo /var/db/pkg/*gnome*
 /var/db/pkg/*gnome* # I don't have any gnome environment
 $ make WITHOUT_GNOMEVFS=yes
 (snip)
 ===>  Building for eclipse-3.4.2
      [echo] TARGET: compiler
      [echo] UPDATE ecj.jar
 
 BUILD SUCCESSFUL
 Total time: 11 seconds
      [echo] TARGET: compiler2
      [echo] compilerArg -enableJavadoc -nowarn -encoding ISO-8859-1
      [echo] build compiler org.eclipse.jdt.core.JDTCompilerAdapter
      [echo] UPDATE ecj.jar
 
 BUILD SUCCESSFUL
 Total time: 10 seconds
      [echo] Deleting jars to recompile...
      [echo] Compiling...
      [echo] UPDATE jarprocessor.jar
      [echo] UPDATE jarprocessorsrc.zip
      [exec] javadoc: warning - Multiple sources of package comments found for
 package "org.eclipse.core.runtime"
      [exec] javadoc: warning - Multiple sources of package comments found for
 package "org.eclipse.jface.text"
      [exec] javadoc: warning - Multiple sources of package comments found for
 package "org.eclipse.jface.text.link"
      [exec] javadoc: warning - Multiple sources of package comments found for
 package "org.eclipse.jface.text.source"
      [exec] javadoc: warning - Multiple sources of package comments found for
 package "org.eclipse.jface.text.templates"
      [exec] javadoc: warning - Multiple sources of package comments found for
 package "org.eclipse.ui.texteditor"
      [exec]
 /usr/local/tmp/usr/ports/java/eclipse/work/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse
 SWT/win32/org/eclipse/swt/widgets/IME.java:351: warning - @return tag cannot be
 used in method with void return type.
      [echo] Extract .class file and properties for the batch compiler
      [echo] Extract .class file and properties for the ant adapter
      [echo] UPDATE ecj-global.jar
      [echo] UPDATE ecjsrc-global.zip
      [echo] UPDATE ecj-global.jar
      [echo] UPDATE ecjsrc-global.zip
      [echo] UPDATE ecj-global.jar
      [echo] UPDATE ecjsrc-global.zip
      [exec] gnome-config: not found
      [exec] gnome-config: not found
      [exec] gnome-config: not found
      [exec] callback.c: In function
 'Java_org_eclipse_swt_internal_Callback_bind':
      [exec] callback.c:493: warning: unused variable 'pad'
      [exec] ../eclipseCommon.c: In function 'filter':
      [exec] ../eclipseCommon.c:356: warning: initialization discards
 qualifiers from
 pointer target type
      [exec] ../eclipse.c: In function 'findStartupJar':
      [exec] ../eclipse.c:1106: warning: comparison with string literal
 results in
 unspecified behaviour
      [exec] ../eclipseJNI.c: In function 'newJavaString':
      [exec] ../eclipseJNI.c:236: warning: pointer targets in passing
 argument 5 of
 '(*env)->SetByteArrayRegion' differ in signedness
      [exec] ../eclipseMozilla.c: In function 'fixEnvForMozilla':
      [exec] ../eclipseMozilla.c:166: warning: passing argument 3 of
 'scandir' from
 incompatible pointer type
      [exec] ../getproxygnome.c:16:31: warning: gconf/gconf-value.h: No
 such file or
 directory
      [exec] ../getproxygnome.c:17:32: warning: gconf/gconf-client.h:
 No such file or
 directory
      [exec] ../getproxygnome.c:25: error: expected '=', ',', ';', 'asm' or
 '__attribute__' before '*' token
      [exec] ../getproxygnome.c: In function 'gconfInit':
      [exec] ../getproxygnome.c:40: error: 'client' undeclared (first use in this
 function)
      [exec] ../getproxygnome.c:40: error: (Each undeclared identifier
 is reported
 only once
      [exec] ../getproxygnome.c:40: error: for each function it appears in.)
      [exec] ../getproxygnome.c:40: warning: implicit declaration of function
 'gconf_client_get_default'
      [exec] ../getproxygnome.c: In function
 'Java_org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider_getGConfProxyInfo':
      [exec] ../getproxygnome.c:75: error: 'client' undeclared (first use in this
 function)
      [exec] ../getproxygnome.c:88: warning: implicit declaration of function
 'gconf_client_get_bool'
      [exec] ../getproxygnome.c:99: warning: implicit declaration of function
 'gconf_client_get_string'
      [exec] ../getproxygnome.c:100: warning: initialization makes pointer from
 integer without a cast
      [exec] ../getproxygnome.c:104: warning: implicit declaration of function
 'gconf_client_get_int'
      [exec] ../getproxygnome.c:113: warning: initialization makes pointer from
 integer without a cast
      [exec] ../getproxygnome.c:118: warning: initialization makes pointer from
 integer without a cast
      [exec] ../getproxygnome.c:127: warning: initialization makes pointer from
 integer without a cast
      [exec] ../getproxygnome.c:150: warning: initialization makes pointer from
 integer without a cast
      [exec] ../getproxygnome.c: In function
 'Java_org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider_getGConfNonProxyHosts':
      [exec] ../getproxygnome.c:185: error: 'client' undeclared (first
 use in this
 function)
      [exec] ../getproxygnome.c:192: warning: implicit declaration of function
 'gconf_client_get_list'
      [exec] ../getproxygnome.c:193: error: 'GCONF_VALUE_STRING'
 undeclared (first
 use in this function)
      [exec] ../getproxygnome.c:193: warning: assignment makes pointer
 from integer
 without a cast
      [exec] ../getproxygnome.c:200: warning: assignment makes pointer
 from integer
 without a cast
      [exec] gmake: *** [getproxygnome.o] Error 1
 
 BUILD FAILED
 /usr/local/tmp/usr/ports/java/eclipse/work/build.xml:101: exec returned: 2
 
 Total time: 5 minutes 55 seconds
 *** Error code 1
 
 Stop in /usr/ports/java/eclipse.


More information about the freebsd-eclipse mailing list