Bug 177802 - Could not update openfire because of problem in java/openjdk6
Summary: Could not update openfire because of problem in java/openjdk6
Status: Closed Overcome By Events
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: 2013-04-12 11:00 UTC by Torsten Zühlsdorff
Modified: 2014-09-15 11:22 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Zühlsdorff 2013-04-12 11:00:01 UTC
When trying to update openfire from 3.7.1 to 3.8.1, the following error occurs:

=== start ===
c++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 -I/usr/ports/java/openjdk6/work/hotspot/src/share/vm -I/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims -I/usr/ports/java/openjdk6/work/hotspot/src/cpu/x86/vm -I/usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm -I/usr/ports/java/openjdk6/work/hotspot/src/os_cpu/bsd_x86/vm -I/usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc -I../generated -DASSERT -O2 -pipe -fno-strict-aliasing -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1  -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1  -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe -w -g -c -o ../generated/adfiles/output_h.o /usr/ports/java/openjdk6/work/hotspot/src/share/vm/
 adlc/output_h.cpp 
Making adlc
c++ -m64 -Xlinker -O1 -m64 -export-dynamic -o ../generated/adfiles/adlc ../generated/adfiles/adlparse.o ../generated/adfiles/archDesc.o ../generated/adfiles/arena.o ../generated/adfiles/dfa.o ../generated/adfiles/dict2.o ../generated/adfiles/filebuff.o ../generated/adfiles/forms.o ../generated/adfiles/formsopt.o ../generated/adfiles/formssel.o ../generated/adfiles/main.o ../generated/adfiles/adlc-opcodes.o ../generated/adfiles/output_c.o ../generated/adfiles/output_h.o
gmake[6]: *** No rule to make target `/usr/ports/java/openjdk6/work/hotspot/src/cpu/amd64/vm/x86_64.ad', needed by `../generated/adfiles/bsd_x86_64.ad'.  Stop.
gmake[6]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[5]: *** [ad_stuff] Error 2
gmake[5]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[4]: *** [product] Error 2
gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir'
gmake[3]: *** [generic_build2] Error 2
gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make'
gmake[2]: *** [product] Error 2
gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make'
gmake[1]: *** [hotspot-build] Error 2
gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work'
gmake: *** [build_product_image] Error 2
*** Error code 1

Stop in /usr/ports/java/openjdk6.
*** Error code 1

Stop in /usr/ports/java/openjdk6.
*** Error code 1

Stop in /usr/ports/net-im/openfire.
*** Error code 1

Stop in /usr/ports/net-im/openfire.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20130412-48671-544mmz-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=openfire-3.7.1_1,1 UPGRADE_PORT_VER=3.7.1_1,1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! net-im/openfire (openfire-3.7.1_1,1)  (unknown build error)

=== end ===

How-To-Repeat: # cd /usr/ports/net-im/openfire
# make install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-12 14:51:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-java

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Torsten Zühlsdorff 2013-04-30 13:36:50 UTC
After fiddling around, i get the compilation of java/openjdk6 done.

As descriped here 
http://lists.freebsd.org/pipermail/freebsd-java/2011-April/009201.html i 
manipulated the Makefile and compiled openjdk6. All of its dependencies 
are compilied with their default configuration.

Some dependencies seems to cause problems with none default 
configuration, because i could just compile it, after deleting all 
stored port-configurations and using the default ones.

After compiling openjdk6 the update of openfire works as expected.

Here is a diff of the Makefill changes:

=== Start ===
diff openjdk6.orig/Makefile openjdk6/Makefile
35c35,36
< 
${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-client
---
 > 
${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-client \
 > 
${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu
=== End ===

Greetings,
Torsten
Comment 3 Carlo Strub freebsd_committer freebsd_triage 2014-09-14 10:23:30 UTC
Is this PR still relevant?
Comment 4 Torsten Zühlsdorff 2014-09-15 10:47:51 UTC
I'm sorry - its to long ago for me to answer. I'm currently not using this software anymore and at the moment i have no possibility to test it.