Bug 37881 - x11-toolkits/qt30 headers stop java/jdk13 plugin from building
Summary: x11-toolkits/qt30 headers stop java/jdk13 plugin from building
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-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-09 10:20 UTC by Chris Knight
Modified: 2002-05-10 14:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Knight 2002-05-09 10:20:06 UTC
java/jdk13 will fail to build if WITHOUT_PLUGIN is not specified and you have
x11-toolkits/qt30 installed.
qt30 installs the following useless header files:

  /usr/X11R6/include/npapi.h
  /usr/X11R6/include/npupp.h
  /usr/X11R6/include/jri.h
  /usr/X11R6/include/jritypes.h
  /usr/X11R6/include/jri_md.h

symlinking these to their counterparts in the mozilla subdirectory helps, but
java/jdk13 then fails in:

gmake[1]: Entering directory `/common/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris'
gcc -Wall  -c -I/usr/local/include -O -D_GNU_SOURCE -DXP_UNIX  -DVERSION="\"1.3.1-p6-root-020509-18:39\"" -DDATE="\"May-09-2002\"" -DARCH="\"i386\"" -DRAPTOR_API -DNEW_STREAMING_API -I../../oji-plugin/include/solaris/navig4/nspr -I../../oji-plugin/include/solaris/navig4/xpcom -I../../oji-plugin/include/solaris/navig4/caps -I../../oji-plugin/include/solaris/navig4/js -I../../oji-plugin/include/solaris/navig4/raptor -I../../tmp/bsd/i386/CClassHeaders -I../../oji-plugin/include/solaris/navig4/oji -I../../oji-plugin/include/solaris/navig4/plugin -I../../oji-plugin/src/motif/common -I../../oji-plugin/src/motif/navig4 -I/usr/X11R6/include -I../../oji-plugin/src/motif/badapter -I../../../../src/share/javavm/export -I../../../../src/solaris/javavm/export -I/usr/X11R6/include  -I../../oji-plugin/src/share -o ../../tmp/bsd/i386/stubs.o ../../oji-plugin/src/motif/common/stubs.c
In file included from ../../../../src/share/javavm/export/jni.h:30,
                 from /usr/X11R6/include/jritypes.h:46,
                 from /usr/X11R6/include/jri.h:45,
                 from /usr/X11R6/include/npapi.h:79,
                 from ../../oji-plugin/src/motif/common/stubs.c:29:
../../../../src/solaris/javavm/export/jni_md.h:21: redefinition of `jint'
/usr/X11R6/include/jri_md.h:197: `jint' previously declared here
../../../../src/solaris/javavm/export/jni_md.h:23: redefinition of `jlong'
/usr/X11R6/include/jri_md.h:231: `jlong' previously declared here
../../../../src/solaris/javavm/export/jni_md.h:24: conflicting types for `jbyte'
/usr/X11R6/include/jri_md.h:191: previous declaration of `jbyte'
gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1
gmake[1]: Leaving directory `/common/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris'
gmake: *** [plugin-all] Error 1
*** Error code 2

At this point, I realised trying to take on the source trees for Mozilla, QT3
and JDK13 would be a mostly futile effort. Hopefully, those more acquainted
with these sources might be able to determine cause and a resolution.
I'd like to fix this, but I need some guidance as to the correct course of
action.

Fix: 

Specify WITHOUT_PLUGIN=yes when building java/jdk13.
Get QT3 to DTRT with respect to the installation of header files, maybe?
Again, I'm happy to help fix this, but I need some guidance.
How-To-Repeat: 
cd /usr/ports/www/mozilla ; make install
cd /usr/ports/x11-toolkits/qt30 ; make install
cd /usr/ports/java/jdk13 ; make install
Comment 1 Ernst de Haan freebsd_committer freebsd_triage 2002-05-09 10:21:51 UTC
Responsible Changed
From-To: freebsd-ports->glewis

Over to the java/jdk13 maintainer.
Comment 2 Will Andrews freebsd_committer freebsd_triage 2002-05-10 14:02:05 UTC
State Changed
From-To: open->closed

This problem has been fixed in qt30 as those headers should never have 
been installed in the first place.  Sorry for the issues you saw. 


Comment 3 Will Andrews freebsd_committer freebsd_triage 2002-05-10 14:02:05 UTC
Responsible Changed
From-To: glewis->kde

This problem has been fixed in qt30 as those headers should never have 
been installed in the first place.  Sorry for the issues you saw.