Hi,
just for helping someone I post my experience dealing with PKGBUILD.
1. I need java32-runtime to make a "makepgk -s" on gwclient.
2. For java 32-runtime I had to install java32-common and bin32-jre.
3. Sometimes "makepkg -s" didn't work, I had to use "pacman -U <packagename.xz> instead to make it work. (got java32-runtme dependency error from gwclient, the bin32-jre was theoretically installed though -makepkg -s -).
TIP: after bin32-jre installed with "pacman -U "said that my default environment Java is 32-bit JRE.
Only AFTER that, I could make a "makepkg -s" on gwclient.
Search Criteria
Package Details: gwclient 8.0.2.90840-8
Package Actions
| Package Base: | gwclient |
|---|---|
| Description: | Novell Groupwise 8 Client for Linux |
| Upstream URL: | http://gwclient.provo.novell.com/ |
| Category: | office |
| Licenses: | |
| Submitter: | Vryali |
| Maintainer: | josephgbr |
| Last Packager: | josephgbr |
| Votes: | 6 |
| First Submitted: | 2010-11-08 14:35 |
| Last Updated: | 2015-01-23 18:30 |
Dependencies (16)
- desktop-file-utils
- hicolor-icon-theme
- libgnome
- glibc (i686)
- java-runtime (i686)
- libgnome (i686)
- libstdc++5 (i686)
- libxrender (i686)
- libxt (i686)
- java32-runtime (x86_64)
- lib32-glibc (x86_64)
- lib32-libstdc++5 (x86_64)
- lib32-libxrender (x86_64)
- lib32-libxt (x86_64)
- prelink (make)
- rpmextract (make)
Required by (0)
Sources
Latest Comments
Comment by x34678
Comment by debugrr
Success!
Change --enable-lock-elision to --disable-lock-elision in the lib32-glibc PKGBUILD.
Fixed My gwclient crashing issue.
Comment by debugrr
Guessing I need to do this:
Comment by TBrix
2014-12-05 10:36
If you have problems with groupwise crashing when starting then you need to recompile lib32-glibc. Change --enable-lock-elision to --disable-lock-elision in the lib32-glibc PKGBUILD.
Comment by debugrr
Still crashing on login for me.
as long as I don't login, it stays up.
logging in causes crash.
Comment by josephgbr
I don't know about the Novell Client, but the Novell Messenger is provided by package "nmclient" and the NetWare Core Protocol Filesystem (mount novell shares) is provided by "ncpfs".
Comment by x34678
It worked! amazing! really really thanks. I'll vote!
Next step.... Novell client install.(OMG)
Comment by josephgbr
Btw, please do not flag out-of-date if there is no new version available in the upstream (Novell, in this case).
Comment by josephgbr
I suggest reading the following wikis for more information, as well as I recommend checking up the Related Articles in the top-right menu in each page:
https://wiki.archlinux.org/index.php/Arch_User_Repository
https://wiki.archlinux.org/index.php/makepkg
https://wiki.archlinux.org/index.php/PKGBUILD
But make sure you're building the right way:
$ wget https://aur.archlinux.org/packages/gw/gwclient/gwclient.tar.gz
$ tar xvf gwclient.tar.gz
$ cd gwclient
$ makepkg -s
(or with "yaourt", just: yaourt -S gwclient)
Comment by x34678
Yes, you are right, but I tried with the new PKGBUILD and get "Failed to source" error.
I'm newer in ArchLinux and don't quite undersand how to use PKGBUILD. Little help?
Thanks,
Comment by josephgbr
My shell script groupwise.sh.in has a flag to disable the use of libwebrenderer. This should avoid that crash.
But is there a reason for not use PKGBUILD?
Comment by x34678
@ josephgbr: false alarm... I've got libwebrenderer.so crash issue. I'm at the beginning again.
Comment by josephgbr
Wait. Be careful, as my PKGBUILD was changed after January 2014. What misaddressing you found? And what is the problem with the current PKGBUILD ?
Comment by josephgbr
new PKGBUILD, adapted to the NEW PKGBUILd of bin32-jre and bin32-jre7, which supports archlinux-java32.
Comment by josephgbr
New PKGBUILD, now with arch-dependent arrays. Din't bump pkgrel.
Comment by TBrix
If you have problems with groupwise crashing when starting then you need to recompile lib32-glibc. Change --enable-lock-elision to --disable-lock-elision in the lib32-glibc PKGBUILD.
There also exists a newer version of the groupwise client (8.0.2 2013), but I don't know where to get it online.
Comment by josephgbr
For what is worth, groupwise is oftenly (but not always) crashing for me, complaining:
"*** Error in `/opt/novell/groupwise/bin/groupwise-bin': double free or corruption (!prev): 0xe01c5af8 ***"
Full log output: http://pastie.org/9716974
Comment by josephgbr
@debugrr: any update on the crash you're getting?
Comment by josephgbr
Updated to 8.0.2.90840-7 with a lot of changes:
- new source file for the same version, now with file size 200MB ! WTH :(
- installed all files as possible in /usr/bin and /usr/lib{,32}
- added a executable script in /usr/bin to call Groupwise
ps.: java-runtime-32 is 'bin32-jre7' or 'bin32-jre' packages from AUR
Comment by lykwydchykyn
Source is giving a 404.
Comment by vizes_nyolcas
Update:
gwclient crashed when try to open a mail, unless it has started from console.
If gwclient started from console, works well
Comment by vizes_nyolcas
I've managed to start the gwclient, and it is stable!
here, what I modified:
- download jdk1.7.0_51 for 32 bit (jdk7u51-linux-i586-tar.gz) from here :http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u51-oth-JPR
- extract and put it into your $HOME
- modify export LD_LIBRARY_PATH changing to 'export LD_LIBRARY_PATH=/$HOME/jdk1.7.0_51/jre/lib/i386/client/:/$HOME/jdk1.7.0_51/jre/lib/i386/'
thats it!
Comment by debugrr
└> groupwise
Exception in thread "Build Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1.run(ItemListViewPanel.java:417)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1307)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1282)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1.run(ItemListViewPanel.java:393)
Caused by: java.lang.IllegalStateException: This function should be called while holding treeLock
at java.awt.Component.checkTreeLock(Component.java:1203)
at java.awt.Container.validateTree(Container.java:1687)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel.showItemListComponent(ItemListViewPanel.java:320)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel.initItemListComponent(ItemListViewPanel.java:296)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1$1.run(ItemListViewPanel.java:399)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf69ce768, pid=28563, tid=3460844352
#
# JRE version: Java(TM) SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)
# Java VM: Java HotSpot(TM) Client VM (25.20-b23 mixed mode linux-x86 )
# Problematic frame:
# C [libpthread.so.0+0x10768] __lll_unlock_elision+0x18
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/jgarrett/hs_err_pid28563.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
/usr/bin/groupwise: line 6: 28563 Aborted (core dumped) /opt/novell/groupwise/client/bin/groupwise-bin "$@"
Pastie for the file it references:
http://pastie.org/private/o9is4ki6rv61gcvktlne9w
Comment by debugrr
changed first line of /usr/bin/groupwise to:
from !#/bin/sh to #!/bin/sh
changed permissions on /usr/bin/groupwise to make it executeable.
still crashing after 3 seconds.
Checking to see if it is because i'm using a tiling wm.
Comment by debugrr
Same as before:
/opt/novell/groupwise/client/bin/groupwise-bin: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
Also /usr/bin/groupwise has these permissions:
└> ls -al /usr/bin/groupwise
-rw-r--r-- 1 root root 196 Aug 27 16:02 /usr/bin/groupwise
So it has to be ran from:
/opt/novell/groupwise/client/bin/groupwise
permissions where not an issue with the previous pkgbuild.
Comment by josephgbr
@debugrr you might need to resintall 32-bit JRE. Please let me know.
Comment by josephgbr
Re-uploaded, issue should be solved now.
@debugrr, please try again.
Comment by debugrr
On -6
Had to add a slash to this line:
-e 's/Icon=.*/Icon=gwclient.png'
Making it look like this.
-e 's/Icon=.*/Icon=gwclient.png/'
After the package is installed I get when trying to start the client:
└> groupwise
/opt/novell/groupwise/client/bin/groupwise-bin: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
Comment by maybegeek
Hi there and thanks for adopting the package (@josephgbr).
for me the mailbox is working, but i cannot use the calendar. Clicking on calendar gets me to "loading ..." but nothing else happens (even after waiting a really long time.)
here the output for $groupwise when clicking on calendar:
Exception in thread "Build Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1.run(ItemListViewPanel.java:417)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1.run(ItemListViewPanel.java:393)
Caused by: java.lang.IllegalStateException: This function should be called while holding treeLock
at java.awt.Component.checkTreeLock(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at com.novell.gw.jclient.application.controls.gwcalendar.GWCalendar.adjustView(GWCalendar.java:342)
at com.novell.gw.jclient.application.controls.gwcalendar.GWCalendar.<init>(GWCalendar.java:226)
at com.novell.gw.jclient.application.controls.gwcalendar.GWCalendar.<init>(GWCalendar.java:181)
at com.novell.gw.jclient.application.controls.gwcalendar.GWCalendar.<init>(GWCalendar.java:170)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel.createCalendar(ItemListViewPanel.java:697)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel.getCalendar(ItemListViewPanel.java:735)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel.initItemListComponent(ItemListViewPanel.java:266)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1$1.run(ItemListViewPanel.java:399)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
does the calendar just not work for me?
best
Christoph
Comment by debugrr
It was installed, but I just reinstalled it just now.
Same issue, but I got a whole 3 seconds this time :)
Comment by josephgbr
can you please install lib32-libxt (case not installed) and see if something changes?
Comment by debugrr
Sorry, this is the latest one.
http://pastie.org/8989064
Comment by josephgbr
Can you please provide the dump file (/home/jgarrett/hs_err_pid2802.log) in a paste site, like http://pastie.org ?
Comment by debugrr
Deleted ~/.novell
removed package
repackaged with new depends/fixes etc.
run groupwise from bash
main window and login box pops up.
put in server info/ and login.
see my mailbox for about 2 seconds then crashes.
most of it looks like the exception you noted already.
Exception in thread "Build Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1.run(ItemListViewPanel.java:417)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1.run(ItemListViewPanel.java:393)
Caused by: java.lang.IllegalStateException: This function should be called while holding treeLock
at java.awt.Component.checkTreeLock(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel.showItemListComponent(ItemListViewPanel.java:320)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel.initItemListComponent(ItemListViewPanel.java:296)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1$1.run(ItemListViewPanel.java:399)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf6ac3988, pid=2802, tid=3412065088
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode linux-x86 )
# Problematic frame:
# C [libpthread.so.0+0x10988] __lll_unlock_elision+0x18
#
# Core dump written. Default location: /home/jgarrett/core or core.2802
#
# An error report file with more information is saved as:
# /home/jgarrett/hs_err_pid2802.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
/opt/novell/groupwise/client/bin/groupwise: line 31: 2802 Aborted (core dumped) /opt/novell/groupwise/client/bin/groupwise-bin "$@"
Comment by josephgbr
Added libgnome to depends, as required to open attachments (in GNOME, at least).
Comment by josephgbr
Well, there is a folder ~/.novell . You could try removing it
Comment by debugrr
Would you happen to know all the locations it stores configs?
I'm still getting a crash, but I want to make sure it is not because of anything I'm doing/did.
Once I sort it out, I'll post more information.
Comment by debugrr
Testing as soon as I have a chance.
Comment by josephgbr
Updated the package (to 8.0.2-5).
Fixed the crash by disabling the use of external HTML viewer (if more crash is found, please let me know)
Solved the stack guard issue (wasn't crashing, just a warning)
However, Groupwise still shows some exception, which apparently are harmless. Since GW is not open source and nothing seems to crash, I won't touch this for now. More information related to this exception can be read in http://stackoverflow.com/questions/9758069/validatetree-in-java-7-x-doesnt-work-in-java-6-x-was-fine/12849959#12849959
Comment by debugrr
You are awesome, Thank you again.
Comment by josephgbr
Downgraded JavaRE to 7u21, but it didn't work.
Started a thread hoping to get some help from community: https://bbs.archlinux.org/viewtopic.php?pid=1399352
Comment by debugrr
Let me know if there is anything I can help with.
Comment by josephgbr
Now I notice it is crashing.
I fixed LD_LIBRARY_PATH "bin32-jre/jre", but nothing changed (I also improved readability of the sed command the changes LD_LIBRARY_PATH)
I tried to run 'execstack -c /opt/novell/groupwise/client/lib/libgwapijni.so.1' (executable from 'prelink' package) but it didn't solve the issue.
The crashes in Groupwise generate a debug log. I'm trying to find something in it that can give me a clue what is going on.
When possible I'm going to try to downgrade JRE and see how it goes.
Comment by debugrr
Also, the LD_LIBRARY_PATH in /opt/novell/groupwise/client/bin still reads:
export LD_LIBRARY_PATH=/opt/novell/groupwise/client/lib:/opt/bin32-jre/jre/lib/i386:/opt/bin32-jre/lib/i386/client
Comment by debugrr
Downloaded new PKGBUILD.
Removed Old gwclient packaging area
Removed previously installed package
Repackaged with New PKGBUILD
Reinstalled new package
Packaged successfully, opened, crashed when I logged in.
(Sorry PasteBin is blocked at my current location.)
---------------------------------------------------------------
Java HotSpot(TM) Client VM warning: You have loaded library /opt/novell/groupwise/client/lib/libgwapijni.so.1 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Exception in thread "Build Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1.run(ItemListViewPanel.java:417)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1.run(ItemListViewPanel.java:393)
Caused by: java.lang.IllegalStateException: This function should be called while holding treeLock
at java.awt.Component.checkTreeLock(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel.showItemListComponent(ItemListViewPanel.java:320)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel.initItemListComponent(ItemListViewPanel.java:296)
at com.novell.gw.jclient.application.controls.itemlistview.ItemListViewPanel$1$1.run(ItemListViewPanel.java:399)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf6a42988, pid=23630, tid=3412065088
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode linux-x86 )
# Problematic frame:
# C [libpthread.so.0+0x10988] __lll_unlock_elision+0x18
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/jgarrett/gwclient/hs_err_pid23630.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
/opt/novell/groupwise/client/bin/groupwise: line 31: 23630 Aborted (core dumped) /opt/novell/groupwise/client/bin/groupwise-bin "$@"
Comment by josephgbr
I uploaded a new package version. Please try and let me know the result.
Comment by debugrr
changed the path to match below.
Same crash.
Comment by josephgbr
Right, that's why if you look closely in the sed command, I replaced...
/opt/bin32-jre/jre/lib/i386
with...
/opt/bin32-jre/lib/i386
... to reflect the current package bin32-jre
(sorry if this is not very easy to see. This wouldn't happen if I had updated the package)
Comment by debugrr
P.S. Thank You!! for picking up this package! :)
Comment by debugrr
That 'release' file is the one in: (/opt/bin32-jre)
the OS_VERSION, OS_ARCH do not accurately describe my system.
I'm running up-to-date 64bit w/ multilib. Just did a pacman -Syu today actually
Comment by debugrr
└> cat release
JAVA_VERSION="1.7.0"
OS_NAME="Linux"
OS_VERSION="2.6"
OS_ARCH="i586"
SOURCE=" .:6c778574d873 corba:e2f0036f712a deploy:ff2d46573ceb hotspot:6c6a2299029a hotspot/make/closed:80b9d510a421 hotspot/src/closed:634748630fb2 hotspot/test/closed:c481bad2398f install:0c651f8a91c5 jaxp:114654a331e2 jaxws:81a1b110f70c jdk:d19a89fdfb9b jdk/make/closed:b5692ae0a608 jdk/src/closed:191255f238f8 jdk/test/closed:436a6034af75 langtools:4d0807934c30 pubs:d1669b0287b0 sponsors:b93d7ce5ce71"
BUILD_TYPE=commercial
└> pacman -Qs |grep "bin32-jre\|gcc\|glibc\|libstdc++5\|rpmextract\|unzip"
local/bin32-jre 7u51-1
local/gcc-libs-multilib 4.8.2-8
local/gcc-multilib 4.8.2-8 (multilib-devel)
local/glibc 2.19-3 (base)
local/lib32-gcc-libs 4.8.2-8
local/lib32-glibc 2.19-3
local/lib32-libstdc++5 3.3.6-6
local/libstdc++5 3.3.6-4
local/rpmextract 1.0-5
local/unzip 6.0-6
LD_LIBRARY_PATH
/opt/bin32-jre/jre/lib/i386 (Doesn't exist)
all other paths exist.
Comment by josephgbr
p.s.: Adopted and will update the PKGBUILD soon
Comment by josephgbr
It requires package 'bin32-jre', which currently installs Oracle JRE 7 update 51... Can you please be sure you have this package installed and that the 'groupwise' script is pointing to correct java path?
Comment by debugrr
Compiles great (after combining lines 46 and 47)
Still get the error below when trying to login.
Maybe it requires the Oracle 32bit jre?
Maybe even an older version? 6 maybe?
Java HotSpot(TM) Client VM warning: You have loaded library /opt/novell/groupwise/client/lib/libgwapijni.so.1 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xcad743ff, pid=17443, tid=3402193728
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode linux-x86 )
# Problematic frame:
# C [libwebrenderer.so+0xde3ff] WRSwingBrowser::WRInit()+0x13f
#
# Core dump written. Default location: /home/jgarrett/gwclient/core or core.17443
#
# An error report file with more information is saved as:
# /home/jgarrett/gwclient/hs_err_pid17443.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/opt/novell/groupwise/client/bin/groupwise: line 31: 17443 Aborted (core dumped) /opt/novell/groupwise/client/bin/groupwise-bin "$@"
└>
Comment by debugrr
Line 46 needs a \ or join 46 and 47
ln -rs "$pkgdir"/opt/novell/groupwise/client/bin/groupwise.sh
"$pkgdir"/usr/bin/groupwise
Comment by debugrr
Grabbed the pkgbuild,
Will let you know as soon as I get it connected.
Thank you!
Comment by josephgbr
Here is an updated and improved PKGBUILD http://pastie.org/8957062 - it works for me.
- Updated for 8.0.2 HP4 build 102299
- Using multilingual (so it comes in other languages as well)
- symlinked script to /usr/bin (groupwise in the PATH!)
- symlinked desktop file and its icon, so can be seen in GNOME's Activities Overview
- Added (lib32-)libxrender to 'depends', as it is a run-time dependency.
- Moved dependencies for packaging only to 'makedepends'
- Renamed function 'build' to 'package', as no build (compilation) is done.
Comment by Vryali
Had a request to disown this so someone else could pick it up, disowning.
Comment by debugrr
hacked it to shreds.... but got it to compile and run....
however i get the attached when trying to login....
Java HotSpot(TM) Client VM warning: You have loaded library /opt/novell/groupwise/client/lib/libgwapijni.so.1 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf6a3d988, pid=23907, tid=3412585280
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode linux-x86 )
# Problematic frame:
# C [libpthread.so.0+0x10988] __lll_unlock_elision+0x18
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid23907.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
/usr/bin/groupwise: line 31: 23907 Aborted (core dumped) /opt/novell/groupwise/client/bin/groupwise-bin "$@"
Even tired reinstalling lib32-glibc -- incase libpthread.so was messed up...
any suggestions?
Comment by debugrr
hacked together a PKGBUILD using yours as a guide, and 8.0.2-4 (Final for linux)
got it to compile, but having issues loading rt.jar... specifically:
java/lang/classnotfoundexception error in opening jar file
May have messed up the sed's or hosed something else.
link to 8.0.2 hp 4
https://gwclient.innerweb.novell.com/client/gw802hp4linuxclient.zip
https://gwclient.innerweb.novell.com/client/gw802hp4linuxclientm.zip
the 'm' version is the multilingual version.
Comment by debugrr
I would be able to test it. (Have access to a Groupwise server)
Just need help getting it compiled at the moment.
Comment by transmutated
Thanks a bunch Vryali. I'll be looking forward to anything that may come of it.
Comment by Vryali
I've had no real way to test this for years... I can test the installation aspect when I have some time maybe this weekend, but I have no way to test anything beyond trying to open it.
Comment by transmutated
Looks like Novell has modified the package. There is no longer a jre folder but a java folder. It's also no longer a zip file any more, at least from where I found it...which required a log in. But this PKGBUILD is broken on many levels right now. I've tried everything within my ability to make this work but failed miserably. I'd love to see this work again.
Comment by Vryali
Can't test it, but looked fine when I built it. Updated.
Comment by ImNtReal
The hp3 version is up on the download site you're pulling hp2 from.
Comment by blixawillbargeld
my fault, sorry!
Comment by Vryali
Either provide a link or stop bloody flagging the package out of date. Everytime I check I see the 2012 version, but there is not a link for the Linux client.
Comment by blixawillbargeld
groupwise 2012 is out!
Comment by Vryali
Was flagged out of date for no apparent reason... Checked and I still have the latest Linux version here. If you want to flag something out of date, kindly state why so I can look into it (Alternatively, investigate it yourself and tell me or request I disown the package so you can adopt and update it). Unflagged the package.
Comment by Vryali
I don't have the ability to actually test groupwise as far as connecting goes, but I did go ahead and build the package on x86_64 with the libstdc++5 package (NOT the lib32 version) and didn't have any problems.
$ uname -m && pacman -Qs|grep libstd
x86_64
local/libstdc++5 3.3.6-4
Anonymous comment
64-bit dependencies should contain lib32-libstdc++5 instead of libstdc++5
Comment by twouters
Sorry, I don't really use it either so I'd be an even worse maintainer.
A customer at work had lost some emails and I just wanted to have a look at it using the groupwise client.
Comment by Vryali
If you'd like I can disown the package so you can adopt it. I don't use groupwise anymore, but I hate seeing disowned packages, so I just keep it up-to-date as people let me know about issues or newer versions. Happy to just apply your change after you verify it though, as well. Just tossing that out there :)
Comment by twouters
It works for me on i686, but I'll test this evening on x86_64.
I had to make some extra changes to make it work (LD_LIBRARY_PATH). I'll send you a patch after I've verified x86_64.
Comment by Vryali
If you can verify openjdk works, sure; Let me know and I'll change the PKGBUILD.
Comment by twouters
Would it be possible to change bin32-jre to java-environment?
Comment by blixawillbargeld
Lucky that you don't have to use gw anymore!
PKGBUILD is working for me! Thanks!
Comment by Vryali
I went ahead and updated the PKGBUILD - I don't use groupwise anymore, so let me know if it doesn't work. Thanks for the ping =]
Comment by blixawillbargeld
please update srcname to:
gw802hp2linuxclient.zip
Comment by Vryali
Created a single package for both architectures, do not use this package.
Comment by Vryali
Created a single package for both architectures, do not use this package.
Comment by Vryali
Additionally, needs rpmextract.
Comment by Vryali
If someone wants to tell me how to make the groupwise client packages build properly variant with architecture I'd love to hear it, otherwise there's one package for each architecture up atm :)
Comment by Vryali
I should have a PKGBUILD that works for gwclient 32 bit architecture, but I can't actually build that until I install a 32bit VM to makepkg on. That aside, if someone is able to tell how to change the PKGBUILD here so that it supports either architecture, I'd appreciate it. A simple if statement would do it, but it doesn't seem I can put a variable into the dependancies line, so I'm not sure where to go from there and posting on the forums for assistance has yielded no help. Feel free to email me if you have a 32 bit architecture and would like to make this work for you / can't figure it out yourself; I'd be more than happy to give you a hand and ensure it works on both architectures :)