First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 60769
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mark Palmer <bikerx1969@yahoo.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
README cyrus-sasl-2.1.19/java/README text/plain Tuan Van (RETIRED) 2004-08-25 22:12 0000 880 bytes Details
cyrus-sasl-java.patch cyrus-sasl-java.patch" patch Thomas Matthijs (RETIRED) 2004-08-27 04:00 0000 1.11 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 60769 depends on: Show dependency tree
Bug 60769 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-18 06:23 0000
I hade a working setup of OpenOffice

after I emerged postfix with SASL support which emerged Cyrus-sasl, open office failed to work:

this is the error that I got:

You are starting this version of OpenOffice.org for the first time
As the user install has changed again you will have to redo your settings
Gnome session manager detected - session management disabled
running openoffice.org setup...
/usr/bin/ooffice: line 170: 3717 Segmentation fault /opt/OpenOffice.org/program/setup ${UPDATEFLAG} -R:/etc/openoffice/autoresponse-1.1.1.conf 1>&/dev/null
setup failed.. abort

I tracked the problem down to the creation of 

/usr/lib/java and files in that directory by cyrus-sasl.

After I removed this directory I was able to continue using OpenOffice.

I think the existence of /usr/lib/java it fooling openoffice into thinking that this is where java is installled

Reproducible: Always
Steps to Reproduce:
1. emerge cyrus-sasl
2. launce openoffice
3. it just hanges

Actual Results:  
I looked at the error message and did a strace /opt/OpenOffice/program/setup

where I saw the reference to /usr/lib/java/ which only cyrus-sasl files in it.

------- Comment #1 From Tuan Van (RETIRED) 2004-08-18 11:09:45 0000 -------
This is not cyrus-sasl bug. Reassign to OpenOffice team.
BTW, you can do `echo "dev-libs/cyrus-sasl -java" >> /etc/portage/package.use` to disable java support and emerge cyrus-sasl again.

------- Comment #2 From Paul de Vrieze 2004-08-19 02:15:15 0000 -------
Well, the way those java classes are installed is certainly far from clean. The
problem is that it is quite hard to change openoffice to do anything different.

------- Comment #3 From Tuan Van (RETIRED) 2004-08-25 22:12:33 0000 -------
Created an attachment (id=38224) [edit]
cyrus-sasl-2.1.19/java/README

Paul, I don't know thw good place to put these files. I you  (or someone) could
tell me where is the good home for them, I'll be happy to take back the bug.
Attached is the cyrus-sasl's java README.

------- Comment #4 From Paul de Vrieze 2004-08-27 02:35:08 0000 -------
The first thing that would help is just a .jar archive. That archive can just
live in for example /usr/lib/cyrus-sasl.jar. Also a file for java-config needs
to be created so java-config can find the package. For that a small file needs
to be created in /usr/share/cyrus-sasl.env with for example the following
contents:
DESCRIPTION=The java bindings for cyrus-sasl version ${PV}
CLASSPATH=:/usr/lib/cyrus-sasl.jar

------- Comment #5 From Thomas Matthijs (RETIRED) 2004-08-27 03:24:15 0000 -------
you can use the java-pkg eclass for this
just call java-pkg_dojar thejar.jar in src_install

------- Comment #6 From Thomas Matthijs (RETIRED) 2004-08-27 04:00:45 0000 -------
Created an attachment (id=38288) [edit]
cyrus-sasl-java.patch"

patch to install the java files correctly
everything java using cyrus-sasl should then include
`java-config -p cyrus-sasl-2` in it's classpath

------- Comment #7 From Thomas Matthijs (RETIRED) 2004-08-27 13:59:57 0000 -------
better change that jar line to
jar -cvf ${PN}.jar -C java $(find java -name "*.class")
or cd into it and keep it simple ;-)

------- Comment #8 From Tuan Van (RETIRED) 2004-08-29 21:48:00 0000 -------
taking the bug back.

------- Comment #9 From Tuan Van (RETIRED) 2004-08-29 21:48:34 0000 -------
fixed in cyrus-sasl-2.1.19-r1. Please test.

First Last Prev Next    No search results available      Search page      Enter new bug