Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24247 - Req: Opengroupware ebuild
Summary: Req: Opengroupware ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.opengroupware.org
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 24441
  Show dependency tree
 
Reported: 2003-07-10 14:37 UTC by Patrik Kullman
Modified: 2008-07-06 14:31 UTC (History)
42 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libical - dependancy of OGo (libical-0.23.ebuild,722 bytes, text/plain)
2003-07-25 16:44 UTC, Patrik Kullman
Details
libFoundation - dep of OGo (libFoundation-0.9.0.ebuild,612 bytes, text/plain)
2003-07-25 16:46 UTC, Patrik Kullman
Details
libical-0.24_rc4.ebuild - dep of OGo (libical-0.24_rc4.ebuild,791 bytes, text/plain)
2003-07-31 15:58 UTC, Patrik Kullman
Details
ogo-gnustep-make (ogo-gnustep-make-20030803.ebuild,924 bytes, text/plain)
2003-08-04 02:56 UTC, Patrik Kullman
Details
ogo-gnustep-objc (ogo-gnustep-objc-20030803.ebuild,773 bytes, text/plain)
2003-08-04 02:56 UTC, Patrik Kullman
Details
ogo-js (ogo-js-20030804.ebuild,814 bytes, text/plain)
2003-08-04 02:59 UTC, Patrik Kullman
Details
ogo-libxml2 (ogo-libxml2-20030802.ebuild,847 bytes, text/plain)
2003-08-04 03:00 UTC, Patrik Kullman
Details
ogo-libical (ogo-libical-20030802.ebuild,898 bytes, text/plain)
2003-08-04 03:02 UTC, Patrik Kullman
Details
ogo-libfoundation (ogo-libfoundation-20030803.ebuild,912 bytes, text/plain)
2003-08-04 03:07 UTC, Patrik Kullman
Details
ogo-libical (ogo-libical-20030806.ebuild,1.03 KB, text/plain)
2003-08-06 07:01 UTC, Patrik Kullman
Details
autodoc-2.0_beta5.ebuild (autodoc-2.0_beta5.ebuild,651 bytes, text/plain)
2003-08-08 03:14 UTC, Patrik Kullman
Details
Alpha OGo Ebuild (OGo-0.0.1.tar.bz2,3.36 KB, application/octet-stream)
2004-04-01 08:01 UTC, Haldir
Details
Beta OpenGroupware EBuild (opengroupware-0.1.0.tar.bz2,3.50 KB, application/octet-stream)
2004-04-01 13:54 UTC, Haldir
Details
2nd Beta Ebuild (opengroupware-0.1.5.tar.bz2,3.69 KB, application/octet-stream)
2004-04-04 07:13 UTC, Haldir
Details
Fixed userid/groupid stuff and some ChangeLogs (opengroupware-0.2.0.tar.bz2,3.72 KB, application/octet-stream)
2004-04-23 10:42 UTC, Haldir
Details
Next Ebuild, fixed the stuff I know how to fix (opengroupware-0.2.1.tar.bz2,3.95 KB, application/octet-stream)
2004-04-24 08:01 UTC, Haldir
Details
CVS EBuild (opengroupware-cvs-0.2.5.tar.bz2,3.96 KB, application/octet-stream)
2004-04-26 11:35 UTC, Haldir
Details
Fixed source download bug (i hope) (opengroupware.tar.bz2,4.02 KB, application/octet-stream)
2004-04-29 08:28 UTC, Haldir
Details
Added some more dependencies (opengroupware-0.2.1-r2.ebuild,5.61 KB, text/plain)
2004-04-30 06:19 UTC, Haldir
Details
Fixed the ZideStore compilation crashing bug (at least for me) (opengroupware-0.2.1-r3.ebuild,5.95 KB, text/plain)
2004-05-13 17:50 UTC, Joe McNamee
Details
Fixed the configuration problem (for my machine at least) (opengroupware-0.2.1-r4.ebuild.txt,6.29 KB, text/plain)
2004-05-14 10:54 UTC, Joe McNamee
Details
Added some more stuff + PDA support (opengroupware-0.2.1-r3.ebuild,6.35 KB, text/plain)
2004-08-26 13:55 UTC, Haldir
Details
opengroupware-0.2.1-r4 - [eBuild] (opengroupware-0.2.1-r4.ebuild,6.37 KB, text/plain)
2004-09-09 08:19 UTC, MT
Details
Preview Ebuild for the upcoming OpenGroupware 1.0 release (opengroupware.tar.bz2,4.21 KB, application/octet-stream)
2004-10-05 07:58 UTC, Haldir
Details
Next version of the preview ebuild (opengroupware.tar.bz2,4.39 KB, application/octet-stream)
2004-10-19 11:19 UTC, Haldir
Details
Third version of the OGo-1.0a ebuild (opengroupware.tar.bz2,4.39 KB, application/octet-stream)
2004-11-03 08:22 UTC, Haldir
Details
4th Version of the ebuild (opengroupware.tar.bz2,4.41 KB, application/octet-stream)
2004-12-22 13:57 UTC, Haldir
Details
Output of qpkg -l opengroupware (qpkg-l-opengroupware.txt,431.63 KB, text/plain)
2005-02-07 11:24 UTC, Julian Pietron
Details
svn: PROPFIND request failed on '/ThirdParty/trunk' (ogo_error.txt,3.32 KB, text/plain)
2005-05-25 01:44 UTC, Alessandro Surace
Details
Patch for ebuild v4 (for opengroupware 1.1) (opengroupware.patch,3.98 KB, patch)
2005-07-22 02:13 UTC, Chan Min Wai
Details | Diff
opengroupware-1.0 beta1 subversion ebuild (opengroupware-1.0_beta1.tgz,4.39 KB, application/x-compressed-tar)
2005-09-15 05:23 UTC, Javier Piñeiro
Details
Working SVN Ebuild with patched Apache Connector Makefile (opengroupware.tar.bz2,5.23 KB, application/octet-stream)
2005-09-16 05:19 UTC, Haldir
Details
Spelling Correction - Full Package (opengroupware.tar.bz2,5.21 KB, application/x-bzip)
2005-10-07 08:28 UTC, Josiah Ritchie (flickerfly)
Details
Updated SVN Ebuild (opengroupware.tar.bz2,4.38 KB, application/octet-stream)
2005-10-15 18:03 UTC, Haldir
Details
opengroupware-1.1.3 ebuild (opengroupware-1.1.3.ebuild,12.94 KB, text/plain)
2006-05-30 10:01 UTC, Alexandre Ghisoli
Details
50_opengroupware.conf (50_opengroupware.conf,563 bytes, text/plain)
2006-05-30 10:03 UTC, Alexandre Ghisoli
Details
opengroupware.conf.d (opengroupware.conf.d,460 bytes, text/plain)
2006-05-30 10:03 UTC, Alexandre Ghisoli
Details
opengroupware-1.1.6.ebuild (opengroupware-1.1.6.ebuild,13.41 KB, text/plain)
2006-08-30 12:30 UTC, Alexandre Ghisoli
Details
js2m.patch (js2m.patch,677 bytes, patch)
2006-08-31 05:17 UTC, Alexandre Ghisoli
Details | Diff
opengroupware-1.1.6.ebuild (opengroupware-1.1.6.ebuild,13.43 KB, text/plain)
2006-08-31 05:23 UTC, Alexandre Ghisoli
Details
Startup script (opengroupware.startscript,896 bytes, text/plain)
2006-09-27 04:38 UTC, Alexandre Ghisoli
Details
A patch to fix the folder mismatch in opengroupware.conf.d (opengroupware.conf.d.patch,76 bytes, patch)
2006-10-17 23:31 UTC, Jose San Leandro
Details | Diff
The fixed opengroupware.conf.d (opengroupware.conf.d,456 bytes, text/plain)
2006-10-17 23:32 UTC, Jose San Leandro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrik Kullman 2003-07-10 14:37:58 UTC
Apparently, Skyrix has been made open source, and looks very promising.
I didn't even figure out how to build the source manually, but within days they
will probably have a guide or re-package the source.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kurt 2003-07-10 16:20:48 UTC
Yes, this product looks extremely promising and I can't wait to give it a try.  
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-11 15:51:58 UTC
so where's the ebuild ?
Comment 3 Patrik Kullman 2003-07-13 03:03:03 UTC
As I wrote in the first comment, I couldn't figure out how to install the source manually, so I didn't give ebuilding a try. I will keep my eyes open for an installation guide on their site and try to make an ebuild after that. I just wanted an ebuild request to exist on bugs.gentoo.org, if anyone is faster than me.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-07-13 04:25:49 UTC
so you have to write what you want ;)
Comment 5 Patrik Kullman 2003-07-13 15:17:08 UTC
Damn do I feel like a total n00b. ;)
My bad, don't know what I thought.. ;)
Comment 6 Thierry Carrez (RETIRED) gentoo-dev 2003-07-15 03:16:08 UTC
Build instructions have been posted at :
http://www.opengroupware.org/en/devs/build/index.html
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-07-16 05:05:21 UTC
raker: wann try this ? gnustep is yours too ;)
Comment 8 Charles Goodwin 2003-07-19 07:30:22 UTC
It might be worth waiting a week or two before creating an ebuild as the impression I get from the mailing list is that there is more to come (simplification of the build process, addition of other important components) after a rather bumpy transition from closed to open source.
Comment 9 David Grant 2003-07-22 00:43:14 UTC
Too bad there's no voting system on Gentoo's bugzilla.  This bug would receive all of my votes.  ;-)
Comment 10 Charles Goodwin 2003-07-25 15:57:55 UTC
There's a perl install script under heavy development.  I know perl != python, but I'm sure it's a starting point.

From the OGo dev list:

From:     Kelley G <ogo@toasterz.com>
Reply-To: developer@opengroupware.org
To:       developer@opengroupware.org
Subject:  [OGo-Developer] simple install script fully featured
Date:     Fri, 25 Jul 2003 14:24:26 -0700

hello all:

the simple install script has been updated.
i consider this an alpha version.
it does all the basics.

http://www.exchangekiller.com/add_remove_ogo.pl
or
http://www.toasterz.com/ogo

flexible command line options
makes working dirs.
gets latest packages
installs postgresql
compiles and installs mod_ngobjweb
configures apache
sets defaults
starts ogo
removes Ogo.

it does not get and run the init script, yet.
the instructions page is not updated just yet. within a few hours.

kg
Comment 11 Patrik Kullman 2003-07-25 16:44:36 UTC
Created attachment 15019 [details]
libical - dependancy of OGo

This ebuild doesn't compile for me..
Comment 12 Patrik Kullman 2003-07-25 16:46:21 UTC
Created attachment 15020 [details]
libFoundation - dep of OGo

This would probably work if I knew how to use gnustep-make..
Comment 13 Charles Goodwin 2003-07-28 08:53:32 UTC
Just being picky, but can't libFoundation be called libfoundation?
Comment 14 Patrik Kullman 2003-07-28 14:05:15 UTC
Yeah, probably it can, but if you review the ebuild, most variables would have to be parsed if it would be called "libfoundation".

In the end, it's not up to me, I just named it "libFoundation" for the ease of ebuilding.
Comment 15 Patrik Kullman 2003-07-31 15:58:31 UTC
Created attachment 15302 [details]
libical-0.24_rc4.ebuild - dep of OGo

Version bump, now compiles and installs ok.
Comment 16 Patrik Kullman 2003-07-31 16:18:34 UTC
Maybe I've been on the wrong path here.. should everything be installed into, for example, /opt/OGo, including these ThirdParty apps?

If so, probably this would be done according to OGo's installation instructions, with OGo's own ThirdParty sources.

I need some input on this.
I'll gladly help, but I want to be sure I'm going the right direction..
Comment 17 Patrik Kullman 2003-08-04 02:56:13 UTC
Created attachment 15460 [details]
ogo-gnustep-make

Installs ok.
Comment 18 Patrik Kullman 2003-08-04 02:56:41 UTC
Created attachment 15461 [details]
ogo-gnustep-objc

Installs ok.
Comment 19 Patrik Kullman 2003-08-04 02:59:40 UTC
Created attachment 15462 [details]
ogo-js

I fail to give it the right installation dir.
It tries to install directly to /opt/OGo. DESTDIR/GNUSTEP_INSTALLATION_DIR
doesn't affect. I can't even sort out the GNUmakefile.* to find the proposed
prefix/root.
Comment 20 Patrik Kullman 2003-08-04 03:00:53 UTC
Created attachment 15463 [details]
ogo-libxml2

Installs ok.
Comment 21 Patrik Kullman 2003-08-04 03:02:38 UTC
Created attachment 15464 [details]
ogo-libical

Fails to compile.. don't think it has anything with the ebuild to do.
Comment 22 Patrik Kullman 2003-08-04 03:07:01 UTC
Created attachment 15465 [details]
ogo-libfoundation

Fails to compile.. might have something to do with the ebuild.
Comment 23 Patrik Kullman 2003-08-04 03:20:23 UTC
I've decided to go about installing everything into /opt/OGo, including already ebuilded and installed things (libxml2, scriptmonkey, gnustep-make). Still some of these doesn't work, I would appreciate input/help on these ebuilds..

In the end I see opengroupware as a meta build, containing ogo-* builds.
Comment 24 Patrik Kullman 2003-08-06 07:01:11 UTC
Created attachment 15615 [details]
ogo-libical

Now compiles and installs ok thanks to information from:
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=18

Thanks to patrick.ogenstad@netsafe.se for supplying the URL.
Comment 25 Patrik Kullman 2003-08-08 03:14:29 UTC
Created attachment 15737 [details]
autodoc-2.0_beta5.ebuild

This is an app that is supposed to be optional, but fails my ogo-core, ogo-xml,
and so on.
Comment 26 Nick Hadaway 2003-10-30 16:22:52 UTC
okay... i am FINALLY going to take a look at this.
:)
Comment 27 Jodok Batlogg (RETIRED) gentoo-dev 2003-10-31 00:01:03 UTC
great! building ogo manually sucks ;-)
Comment 28 Rob Burcham 2003-11-03 18:48:51 UTC
Okay, how do I use these ebuilds?  I must be doing something wrong.  I saved
all the attachments (the ones not struck-through) to /usr/local/portage,
and when I try to emerge them, I get:

emerge -p ogo-gnustep-make.ebuild

These are the packages that I would merge, in order:

Calculating dependencies \Traceback (most recent call last):
  File "/usr/bin/emerge", line 2114, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 787, in select_files
    if not self.create(["ebuild",portage.root,mykey],None,"--onlydeps" not
in myopts):
  File "/usr/bin/emerge", line 738, in create
    edepend[x]=string.join(portage.portdb.aux_get(mykey,[x]), " ")
  File "/usr/lib/python2.2/site-packages/portage.py", line 3748, in aux_get
    myebuild,in_overlay=self.findname2(mycpv)
ValueError: need more than 0 values to unpack
Comment 29 Patrik Kullman 2003-11-04 01:19:41 UTC
Those ebuilds are just me, trying to get it to work.
But I don't know if those correspond to the GentooWay(TM) of installing these
kind of apps.
If you want to try them out, you must give them a version number like ogo-gnustep-make-20031104.ebuild.
Comment 30 Nick Hadaway 2003-12-15 12:19:03 UTC
This is quite the process... 

I can get all the ThirdParty libraries built... but Defaults doesn't run properly... so I am attempting to go with gnustep-base instead of libFoundation and see how far I get.
Comment 31 Stefan Lesicnik 2004-01-03 23:09:45 UTC
Is this ebuild still being worked on?
Comment 32 Jodok Batlogg (RETIRED) gentoo-dev 2004-01-04 14:35:08 UTC
or to ask in a different way :) is someone successfully using this ebuild?
Comment 33 Nick Hadaway 2004-01-04 15:29:31 UTC
I got about 50% of the way through.  It does not work using purely OGo packages... nor can I get it to work via gnustep and the new gdl2.

In order to get this to work I may need to go back to the July codebase as that is the time that other distributions have builds from.  I was trying to avoid the "let's use what redhat is using right now"

Needless to say... no complete system yet.

-nick
Comment 34 Corey Shields 2004-02-20 10:48:06 UTC
So does anyone know if the Toasterz install script works under Gentoo?   The infrastructure team is interested in testing OGo, but ultimately we want to wait on an ebuild.,

Cheers!
Comment 35 Rene Androsch 2004-03-18 11:10:05 UTC
Are there any chances, that we will ever get OpenGroupware in portage?
Comment 36 Haldir 2004-03-30 04:59:55 UTC
Maybe http://darkcity.homeip.net/index.php?id=howto&type=ogo might help (It's german though, but should be fairly straightforward to understand anyway)
Comment 37 Haldir 2004-04-01 08:01:57 UTC
Created attachment 28510 [details]
Alpha OGo Ebuild
Comment 38 Haldir 2004-04-01 08:04:12 UTC
I uploaded my alpha OGo Ebuild, it compiles well on my systems (OGo + ZideStore)
The Config files are really crude and raw and someone with more Ebuild Knowledge should fix my hardcoded paths (i couldn't get sed with $variables working)
Installs itself into /opt/opengroupware.org.
Includes startscript, apache2 conf and some additional scripts
Comment 39 Haldir 2004-04-01 13:54:47 UTC
Created attachment 28527 [details]
Beta OpenGroupware EBuild

Probably the last OpenGroupware Ebuild i will do
Comment 40 Haldir 2004-04-04 07:13:03 UTC
Created attachment 28689 [details]
2nd Beta Ebuild

Fixed some naming issues and scripts
Comment 41 Patrik Kullman 2004-04-20 07:17:52 UTC
Everything went well with the build, except that it wanted to create uid/gid 1000 for opengroupware/skyrix, which was busy.
Comment 42 Haldir 2004-04-23 10:42:24 UTC
Created attachment 29904 [details]
Fixed userid/groupid stuff and some ChangeLogs
Comment 43 Haldir 2004-04-24 05:00:41 UTC
The current Bugs in the Ebuild are more or less:
1. No proper Start/Stop script, Opengroupware does not support a daemonized form and I couldn't get start-stop-daemon to work with it
2. DBase Setup might return errors if you already have installed the SQL scheme, no harm is done, just error output.
3. No support for the update sql scheme script 

You still need to add -D OGo to the APACHE2_OPTS, actually it's not mentioned anywhere at the moment.

Basically the script installs OpenGroupware and ZideStore, but no PDA daemons etc.
Comment 44 Haldir 2004-04-24 08:01:21 UTC
Created attachment 29962 [details]
Next Ebuild, fixed the stuff I know how to fix

Still missing proper way to get sources-all-latest.tar.bz2
Comment 45 Rene Androsch 2004-04-24 13:20:11 UTC
You're great! Thanks for all your work on OGo!
I will be very busy the next two weeks, but then I should have at least the weekends to do some checking on OGo and maybe I can contribute a bit to your work!
Comment 46 Patrik Kullman 2004-04-26 00:34:42 UTC
There will be no "proper way" to md5sum the source or include in portage until OGo comes with a proper release, AFAIK.
Comment 47 Haldir 2004-04-26 11:35:47 UTC
Created attachment 30102 [details]
CVS EBuild

CVS Ebuild, builds opengroupware.org from cvs checkout
Comment 48 Haldir 2004-04-29 08:28:46 UTC
Created attachment 30316 [details]
Fixed source download bug (i hope)

weird source download bug in the old one.
Now it does not contain digest files, so run
ebuild opengroupware-0.2.1-r1.ebuild digest
Comment 49 Chris McClement 2004-04-29 22:16:18 UTC
I have downloaded the "Fixed source download bug" ebuild, created the digests, but still no go.  Here is the result:

--------------- begin ------------------------

b0x opengroupware # ACCEPT_KEYWORDS="~x86" emerge opengroupware
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/opengroupware-0.2.1-r1 to /
>>> md5 src_uri ;-) sources-all-latest.tar.bz2
groupadd: group skyrix exists
useradd: user opengroupware exists
/usr/sbin/ebuild.sh: line 1291: /usr/local/portage/net-misc/opengroupware/opengroupware-0.2.1-r1.ebuild: Permission denied
 
!!! ERROR: net-misc/opengroupware-0.2.1-r1 failed.
!!! Function , Line 1291, Exitcode 1
!!! error sourcing ebuild

---------------------- end ----------------------------

I have tried this with skyrix and opengroupware group/user removed too.
Comment 50 Haldir 2004-04-30 06:17:48 UTC
Hmm, the user add/group add shouldn't be the reason for the error:
the next lines should be unpacking of the source:
>>> Unpacking source...
>>> Unpacking sources-all-latest.tar.bz2 to /var/tmp/portage/opengroupware-0.2.1-r1/work

Make sure you're running it as root and that /var/tmp/portage exists, otherwise I don't know. Make sure you have latest portage and stuff, just for the case, most of the ebuild testing was done on "complete" unstable ~x86 machines, but I have also reports of people testing the ebuild on stable machines.
Comment 51 Haldir 2004-04-30 06:19:57 UTC
Created attachment 30391 [details]
Added some more dependencies

Even though I don't think anybody is running Gentoo without Zlib, flex and
bison installed, I've added them anyway as dependencies
Comment 52 Chris McClement 2004-05-01 02:28:03 UTC
I am definitely root; /var/tmp/portage exists and I can write to it; there were a bunch of /var/tmp/portage/opengroupware-* dirs that I deleted and tried again; I have plenty of disk space; still no joy.  I get the same error -- permission denied, as above.
Comment 53 christoph wegener 2004-05-11 04:32:08 UTC
@chris: check that the path to the ogo.ebuild is accessible. (permissions) the ebuild.sh script wants to "source" the ebuild file and gets permission denied.
Comment 54 Joe McNamee 2004-05-12 18:26:39 UTC
I keep getting this very odd error when running the ebuild:

make -lZideStoreBackend cannot be found.

I have no idea what that means since everything is there in the /var/tmp/.../ZideStore/ directory.
Comment 55 Joe McNamee 2004-05-13 10:31:23 UTC
Here is the full text of the error message I get when emerging opengroupware (the 2.1.0-r1 version):

mkdir -p /var/tmp/portage/opengroupware-0.2.1-r2/work/opengroupware-0.2.1/opt/opengroupware.org/WOApps
mkdir -p ./shared_obj
mkdir -p ./shared_obj/ix86
mkdir -p ./shared_obj/ix86/linux-gnu
mkdir -p ./shared_obj/ix86/linux-gnu/gnu-fd-nil
mkdir -p ZideStore.woa
mkdir -p ZideStore.woa/ix86
mkdir -p ZideStore.woa/ix86/linux-gnu
mkdir -p ZideStore.woa/ix86/linux-gnu/gnu-fd-nil
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/../../../../i386-pc-linux-gnu/bin/ld: cannot find -lZideStoreBackend
collect2: ld returned 1 exit status
make[1]: *** [ZideStore.woa/ix86/linux-gnu/gnu-fd-nil/ZideStore] Error 1
make: *** [ZideStore.all.woapp.variables] Error 2
 
!!! ERROR: net-misc/opengroupware-0.2.1-r2 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! make ZideStore failed
Comment 56 Alex Masidlover 2004-05-13 13:17:21 UTC
I had the same problem, I manually solved it by unpacking the ebuild and doing 'make -s install' in the ZideStore/Backend and ZideStore/Frontend directories. Then compiling, installing, qmerging and config-ing the ebuild. I don't know whether this is a temporary aberation or whether the ebuild needs changing.
Comment 57 Joe McNamee 2004-05-13 17:50:05 UTC
Created attachment 31381 [details]
Fixed the ZideStore compilation crashing bug (at least for me)

ZideStore kept dying with "ZideStore Backend not found" so I tried the commands
as suggested by Alex Masidlover, worked fine.
Comment 58 Joe McNamee 2004-05-14 10:54:34 UTC
Created attachment 31433 [details]
Fixed the configuration problem (for my machine at least)

The database location (/var/lib/postgresql/data) wasn't being created or
initialized during the ebuild, so running the config after merging would just
crash and not do anything.  Added the following to create the data directories,
change permissions and ownership, and intialize the database.

	mkdir /var/lib/postgresql
	mkdir -p ${D}/var/lib/postgresql/data
	chmod 700 ${D}/var/lib/postgresql
	chmod 700 ${D}/var/lib/postgresql/data
	chown postgres ${D}/var/lib/postgresql
	chown postgres ${D}/var/lib/postgresql/data
	sudo -u postgres initdb ${D}/var/lib/postgresql/data

Hope this helps out a bit.
Comment 59 Haldir 2004-05-15 15:04:07 UTC
Looks like they broke something in the ZideStore makefile, since it shouldn't be necessary to build the Frontend and Backend independently.
Anyway no real surprise, considering the OGo source code.

As for PostgreSQL you should always run the config lines for the dependencies before you run the OGo ebuild...
Comment 60 Chris McClement 2004-05-16 04:16:27 UTC
Hi.  Thanks to [Additional Comment #53 From] christoph wegener: I checked the permissions to the opengroupware folder that was created by tar xvjf of the ebuild tarball.  They were drwxrwx---.  I applied chmod 777 to the directory and the ebuild executes now!  Thanks :-)
Comment 61 Hans Kruse 2004-05-26 12:11:30 UTC
Hi, somehow the latest ebuils i checked does not seem to work for me. What am i doing wrong?

samos root # emerge opengroupware --pretend

These are the packages that I would merge, in order:

: command not found: line 4: 
: command not found: line 8: 
/usr/sbin/ebuild.sh: /usr/local/portage/net-mail/opengroupware/opengroupware-0.2
'1-r4.ebuild: line 20: syntax error near unexpected token `{
/usr/sbin/ebuild.sh: /usr/local/portage/net-mail/opengroupware/opengroupware-0.2
'1-r4.ebuild: line 20: `pkg_setup() {

!!! ERROR: net-mail/opengroupware-0.2.1-r4 failed.
!!! Function , Line 1291, Exitcode 1
!!! error sourcing ebuild


aux_get(): (0) Error in net-mail/opengroupware-0.2.1-r4 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)

Calculating dependencies   
!!! all ebuilds that could satisfy "opengroupware" have been masked.
!!! possible candidates are:
: command not found: line 4: 
: command not found: line 8: 
/usr/sbin/ebuild.sh: /usr/local/portage/net-mail/opengroupware/opengroupware-0.2
'1-r4.ebuild: line 20: syntax error near unexpected token `{
/usr/sbin/ebuild.sh: /usr/local/portage/net-mail/opengroupware/opengroupware-0.2
'1-r4.ebuild: line 20: `pkg_setup() {

!!! ERROR: net-mail/opengroupware-0.2.1-r4 failed.
!!! Function , Line 1291, Exitcode 1
!!! error sourcing ebuild


aux_get(): (0) Error in net-mail/opengroupware-0.2.1-r4 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)


!!! Error calculating dependencies. Please correct.
samos root # 
Comment 62 Joe McNamee 2004-05-26 12:56:19 UTC
I've seen this too.  The thing that fixed it in my case is to open it in nano (nano opengroupware-0.2.1-r4.ebuild) and save it (control-o) without modifing it.  That'll do it.  Please reply if it worked.
Comment 63 Braden Compton 2004-06-27 14:53:21 UTC
I'm getting this with the latest ebuild:  

------------------------------ BEGIN ------------------------------

Making install in NGMime...
Making install in subprojects of library libNGMime...
Making install for subproject NGMail...
mkdir -p /var/tmp/portage/opengroupware-0.2.1-r4/work/opengroupware-0.2.1/opt/opengroupware.org/Headers//NGMail
Making install for subproject NGImap4...
mkdir -p /var/tmp/portage/opengroupware-0.2.1-r4/work/opengroupware-0.2.1/opt/opengroupware.org/Headers//NGImap4
Making install for library libNGMime...
mkdir -p /var/tmp/portage/opengroupware-0.2.1-r4/work/opengroupware-0.2.1/opt/opengroupware.org/Headers//NGMime
Making install in NGLdap...
Making install for library libNGLdap...
mkdir -p /var/tmp/portage/opengroupware-0.2.1-r4/work/opengroupware-0.2.1/opt/opengroupware.org/Headers//NGLdap
Making install in NGiCal...
Making install for library libNGiCal...
mkdir -p /var/tmp/portage/opengroupware-0.2.1-r4/work/opengroupware-0.2.1/opt/opengroupware.org/Headers//NGiCal
mkdir -p /var/tmp/portage/opengroupware-0.2.1-r4/work/opengroupware-0.2.1/opt/opengroupware.org/Library/SaxMappings
Making all for tool mime2xml...
mkdir -p ./shared_obj
mkdir -p ./shared_obj/ix86
mkdir -p ./shared_obj/ix86/linux-gnu
mkdir -p ./shared_obj/ix86/linux-gnu/gnu-fd-nil
cc1: warning: "-fgnu-runtime" is valid for ObjC but not for C/C++
cc1: warning: "-fgnu-runtime" is valid for ObjC but not for C/C++
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lNGMime
collect2: ld returned 1 exit status
make[1]: *** [shared_obj/ix86/linux-gnu/gnu-fd-nil/mime2xml] Error 1
make: *** [mime2xml.all.tool.variables] Error 2

!!! ERROR: net-misc/opengroupware-0.2.1-r4 failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! make skyrix-core/samples failed

------------------------------ END ------------------------------

Thought it might have been something broken in the opengroupware CVS code, but I've tried random checkouts over the last two weeks.  Nothing in their bugzilla either.  Suggestions?  Anything you can offer would be appreciated (although you will have to be fairly specific - I'm a portage/ebuild n00b).
Comment 64 Ralf Kraemer 2004-06-29 04:48:12 UTC
edit the file SOPE/skyrix-core/samples/GNUmakefile.preamble and delete the 
spaces and \CR in the last line to
ADDITIONAL_TOOL_LIBS += -lNGMime -lNGStreams -lNGExtensions -lEOControl -lDOM 
-lSaxObjC

this fixed it for me
gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
Comment 65 Braden Compton 2004-06-30 15:50:37 UTC
Thanks Ralf!  I had to do it to the whole file, not just the last line, but it worked in the end!

Here is what the file ends up looking like:

------------------------------ BEGIN ------------------------------
# $Id: GNUmakefile.preamble,v 1.2 2004/06/16 23:01:56 helge Exp $

ADDITIONAL_INCLUDE_DIRS += -I.. -I../NGMime -I../NGStreams -I../NGExtensions
ADDITIONAL_LIB_DIRS += -L../EOControl/$(GNUSTEP_OBJ_DIR) -L../NGExtensions/$(GNUSTEP_OBJ_DIR) -L../NGStreams/$(GNUSTEP_OBJ_DIR) -L../NGMime/$(GNUSTEP_OBJ_DIR) -L../NGLdap/$(GNUSTEP_OBJ_DIR) -L../NGiCal/$(GNUSTEP_OBJ_DIR)
ADDITIONAL_TOOL_LIBS += -lNGMime -lNGStreams -lNGExtensions -lEOControl -lDOM -lSaxObjC
------------------------------ END ------------------------------
Comment 66 Wagner Sartori Junior 2004-07-08 07:14:20 UTC
i've found a bug in the opengroupware.conf in the modules.d directory of apache2. I have a /images in my site, and the alias /images don't let I found the images of my site.

tkz...
Comment 67 Rene Androsch 2004-07-08 12:26:18 UTC
I'm posting this comment on these two gentoo bugs:

Opengroupware (http://bugs.gentoo.org/show_bug.cgi?id=24247)
Kolab (http://bugs.gentoo.org/show_bug.cgi?id=25485)

And I hope, that I don't get killed for doing so :)

Since gentoo now has Opengroupware and Kolab Ebuilds, I'm dreaming of the perfect world, of having both of them combined as mentioned in this link:

Ogo with Kolab server-HOWTO:
http://mail.opengroupware.org/pipermail/users/2003-July/001248.html


I think it would be 
Comment 68 Rene Androsch 2004-07-08 12:26:18 UTC
I'm posting this comment on these two gentoo bugs:

Opengroupware (http://bugs.gentoo.org/show_bug.cgi?id=24247)
Kolab (http://bugs.gentoo.org/show_bug.cgi?id=25485)

And I hope, that I don't get killed for doing so :)

Since gentoo now has Opengroupware and Kolab Ebuilds, I'm dreaming of the perfect world, of having both of them combined as mentioned in this link:

Ogo with Kolab server-HOWTO:
http://mail.opengroupware.org/pipermail/users/2003-July/001248.html


I think it would be über-superb to have (for example) an use flag in the Ogo that could also install and setup Kolab in one go :)
I now is difficult and maybe impossible, but if not, this would be very cool!

Extra information:
Opengroupware and Kolab (in general)::
http://www.opengroupware.org/en/related/kolab/
Comment 69 Haldir 2004-07-12 14:53:01 UTC
zidestore afaik needs the /images alias, if you don't need zidestore kill it, if you need zidestore setup a virtual server
Comment 70 Haldir 2004-08-26 13:55:59 UTC
Created attachment 38259 [details]
Added some more stuff + PDA support

This is a rather untested Ebuild which checks for objc compiler.
I also added sudo as a dependency and some crude PDA daemon support
Comment 71 MT 2004-09-08 15:05:19 UTC
using the ebuild of the 2004-08-26 return this error:

!!! Couldn't download sources-all-latest.tar.bz2. Aborting.

i think these happen because the Development Team of OpenGroupWare moved the source code from CVS to Subversion. Now the link:

- http://opengroupware.org/sources/sources-all-latest.tar.bz2
- ftp://ftp.opengroupware.org/sources/sources-all-latest.tar.bz2

aren't working so the ebuild can wget the needed tar.bz2
only CVS download work correctly.
Comment 72 MT 2004-09-09 08:19:34 UTC
Created attachment 39255 [details]
opengroupware-0.2.1-r4 - [eBuild]

the url for sources-all-latest.tar.bz2 was changed by OpenGroupWare Team.
Fixed
Comment 73 Jason Short 2004-09-09 12:27:34 UTC
Please attach the contents of the FILESDIR, including env.d, conf.d, init.d, and apache2/modules.d files
Comment 74 Jose Gonzalez Gomez 2004-09-11 12:14:48 UTC
Is this minimally stable? I'm trying to test this package, but I get buggy behavior. Should I wait until they release at least a beta in the opengroupware site?

Furthermore, why is this ebuild using sources under http://opengroupware.org/sources/old-cvs-sources/ when it seems to be a directory with official source releases? (http://opengroupware.org/sources/releases/) Maybe I'm missing anything?
Comment 75 Haldir 2004-09-11 17:20:32 UTC
Yes you're missing the dates on both ebuild and opengroupware.org
The ebuild was written some 5 months ago and only updated with some minor fixed paths etc.
As they state on the opengroupware.org website, they moved to subversion instead of cvs, not doing sources-all anymore and are preparing for OGo-1.0 final.
Basically you can just as well forgot Opengroupware until 1.0 final is out

Currently and until further notice I do not recommend anyone using this Ebuild, it will probably compile just fine, but especially configuration and initial settings are wrong for the current builds of opengroupware.
Comment 76 Jose Gonzalez Gomez 2004-09-12 05:03:42 UTC
Haldir:
Sorry, as I saw that the date of the latest ebuild was 2004/09/09 I assumed it would be a working one with the latest "stable" version from OpenGroupware.org. I'm *very* interested in this product so should you need any help with the ebuild please,feel free to contact me.
Comment 77 Alvaro Parres 2004-09-23 00:59:21 UTC
Some one can tell me where are de initi script for opengroupware
Comment 78 Haldir 2004-10-05 07:58:59 UTC
Created attachment 41148 [details]
Preview Ebuild for the upcoming OpenGroupware 1.0 release

This can be considered a preview Ebuild for the Opengroupware 1.0 release.
It fetches the latest sources via subversion and compiles them.
Basically this ebuild does not install everything anymore into
/opt/opengroupware, but to FHS approved directories (/usr/local/* currently).
Fixed init scripts for both opengroupware and zidestore are provided. ZideStore
is not really tested though
As for the subversion dependency, I recommend emerging it with USE="apache2
-berkdb" (like echo "dev-util/subversion -berkdb apache2" >>
/etc/portage/package.use)
There are still bugs (most visible is the crash if you click on
Display-Preferences)
I recommend a clean opengroupware installation (incl. rm -r /opt/opengroupware)

Several changes are in the sql scheme, so the old dbase is incompatible mostly,
the new one uses a different name anyway.
Comment 79 Haldir 2004-10-19 11:19:34 UTC
Created attachment 42211 [details]
Next version of the preview ebuild

Next Version, a few changes to for conformity with the debian/rpm builds.
opengroupware user is now names ogo
Comment 80 Oliver Gross 2004-10-21 21:52:05 UTC
Hi all,

been following this since the 0.2.1-r4 ebuild. i still have 2 main issues.

1) whenever somebody clicks on 'email' the application dies only leaving this in the log: ### child 6378 (#1) was terminated by signal 11 (uptime=23063s).
the only thing i can find in the logs that might be related is "WARNING: duplicate key 'LSWObjectMailPage' found in dictionary !"
sending email works fine, just the imap access won't work. tried with courier and cyrus, both the same result.

2) Display Preferences same thing

by the way, i'm still using the old postgresql database without problems, using the new one did not make a difference.

best regards,

Oliver
Comment 81 Haldir 2004-10-22 02:31:21 UTC
Display Preferences should be fixed in the latest ebuild
make sure you run ebuild opengroupware-1.0.ebuild config
Comment 82 Oliver Gross 2004-10-23 17:22:41 UTC
nice work, Haldir. that fixed Display Prefs. thanks!

now looking froward to see the mail page foer the first time. hopefully soon.......

cheers,

Oliver
Comment 83 Haldir 2004-10-26 08:56:57 UTC
Yah me too, currently I don't have the slightest Idea why it breaks ;)
Comment 84 Armando Di Cianno (RETIRED) gentoo-dev 2004-10-30 23:59:58 UTC
I'm giving this bug back to bug-wranglers, away from the gnustep herd.

There is 1 major reason for this: except for gnustep-make, as far as I can tell, OGW does not use any of the official GNUstep packages.  Of those that it does use, they are antiquated releases that have been directly included in the OGW sources.  Their "libFoundation" is so old, it's frightening, and isn't really related to GNUstep's Foundation libraries in code (i.e. it's a completely different version of the library, and _OLD_).

The only truly negative thing I will say is this: I feel this scenario is a security and maintenance nightmare waiting to happen.  For examples beyond even the scope of gnustep, checkout the version of libical they have in the OGW sources.

While OpenGroupware is quite awesome in its capabilities, and I personally _love_ Objective-C, this bug has nothing to do with the gnustep herd, so that is why I'm making the change.  Sorry if this bothers anyone, but I'm not supporting the ebuild, and I'm the only member of the gnustep herd, so I hope my decision seems sensible to most.  I suggest interested parties create a "groupware" herd, or something like that.

As a side note, I've got OGW to mostly compile against the "real" GNUstep libraries (but definitely not run yet) ... hopefully with some more work, I'll be able to submit what I've done to the OGW team.

So, my summary (as to avoid flames):
- I like OpenGroupware
- OpenGroupware cannot be maintained by the gnustep herd in it's current incarnation
Comment 85 Haldir 2004-11-03 05:02:54 UTC
The targets for opengroupware 1.0 final are: The GNUstep environment is not used further after compilation, it should/will compile against the systems libobjc.
Currently you don't need to source the GNUstep environment for running OGo

Actually I wonder which newer libFoundation lib you mean, considering that the 0.90 library which is the latest non-OGo version I know, is like 5 years old.
Basically the OGo developers are saying that their version is way more recent than the "official" libFoundation.
According to filedates, I tend to believe them, even though their library has not much to do with the "old" libFoundation 0.9 library.
I know of gdl2, which contains parts of libFoundation (?), but we can't consider it here.

So let's skip the libFoundation is "OLD" stuff and let's see the libical stuff:
Hmm last ver on sf.net is 0.24rc4, CVS ver is a bit more recent (bugfixes?), but about as old as the OGo version.
So let's skip that one too ;)

Last one is libobjc: Let's hope they fulfill their promise to get it working with the system one in the final ver.

Summary:
- I don't like OpenGroupware, I hated Skyrix, a customer once asked to write an ebuild for him, that's why I did the original cvs ebuild.
- Where are the newer versions of all those libraries ?
- OGo has not much to do with GNUstep, so I do understand why Armando does not want to have anything to do with it.

So the main problem remains:
Who wants to maintain this bloated OGo project, basically someone with objective-c should be part of it, that excludes me.

So two guys left the game:
- Armando, who likes OGo and knows obj-c
- Haldir, who hates OGo does not know obj-c and still wrote the ebuild
Comment 86 Haldir 2004-11-03 08:22:45 UTC
Created attachment 43221 [details]
Third version of the OGo-1.0a ebuild

Added inherit flag-o-matic and filtering a few cflags,
(O3,O2,fomit-frame-pointer), both Display-Preferences and E-Mail works here
now.
If it still crashes your cflags might be too hard/optimized
Comment 87 Haldir 2004-12-22 13:57:20 UTC
Created attachment 46661 [details]
4th Version of the ebuild

Just a minor bugfix to get around a few changes in the Install Instructions in
OGo (namely some softlinks to non existing files)
Comment 88 Shevek 2005-01-11 07:38:07 UTC
If , in ThirdParty/*/config, appropriate symlinks are made from ix86 or i386 to x86_64, the -r4 ebuild will compile on amd64.

However, it segfaults somewhere in libFoundation. I suppose this shouldn't be a huge surprise.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 25252)]
0x0000000000510f69 in ?? ()
(gdb) bt
#0  0x0000000000510f69 in ?? ()
#1  0x0000000000544610 in ?? ()
#2  0xfe00000000000000 in ?? ()
#3  0x0000007fbffff540 in ?? ()
#4  0x0000002a9571012f in _lfDefaultZone ()
   from /usr/local/lib/libFoundation.so.1.0
#5  0x0000002a957100d2 in _lfDefaultZone ()
   from /usr/local/lib/libFoundation.so.1.0
#6  0x0000002a9570f6f1 in _lfDefaultZone ()
   from /usr/local/lib/libFoundation.so.1.0
#7  0x0000002a95b071cd in objc_msg_lookup () from /usr/local/lib/libobjc.so.lf2
#8  0x0000002a95701a0b in objc_load_module ()
   from /usr/local/lib/libFoundation.so.1.0
#9  0x0000002a95b06fdc in __objc_install_premature_dtable ()
   from /usr/local/lib/libobjc.so.lf2
#10 0x0000002a95b071cd in objc_msg_lookup () from /usr/local/lib/libobjc.so.lf2
#11 0x000000000040231c in main ()

Looking into it briefly. Perhaps it can be compiled under a linux32 profile?

S.
Comment 89 Shevek 2005-01-11 13:25:31 UTC
This ebuild installs obsolete objc headers into /usr/local/include which override (and break) system objc. Manifested as the inability to install pukka gnustep-base after installing opengroupware.
Comment 90 Haldir 2005-01-13 15:52:49 UTC
You can delete those, not necessary anymore.
I won't do major changes in that ebuild, since we all hope that it will sooner or later run properly with system wide objc and gnustep-base.

Currently it just compiles with a systemwide objc and gnustep-base
but crashes real nice ;)
Comment 91 Alister Burrell 2005-01-31 10:06:23 UTC
4th Version of the ebuild fails :( (damn you portage ;) )

megrez opengroupware # emerge opengroupware-1.0.ebuild
emerging by path implies --oneshot... adding --oneshot to options.
 
*** emerging by path is broken and may not always work!!!
 
Calculating dependencies
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2969, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 1025, in select_files
    if os.path.realpath(portage.db["/"]["porttree"].dbapi.findname(mykey)) != x:  File "/usr/lib/python2.3/posixpath.py", line 406, in realpath
    filename = abspath(filename)
  File "/usr/lib/python2.3/posixpath.py", line 395, in abspath
    if not isabs(path):
  File "/usr/lib/python2.3/posixpath.py", line 49, in isabs
    return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
Comment 92 Haldir 2005-02-04 17:08:05 UTC
As the error message says, Emerging by path is broken, go put it into a proper portage_overlay directory and try again
Comment 93 Julian Pietron 2005-02-07 11:24:44 UTC
Created attachment 50642 [details]
Output of qpkg -l opengroupware

The ebuild doesn't install any files under /etc/init.d or
/etc/apache2/modules.d, so I cannot use OpenGroupware althoug emerged without
problems.

This is emerge --info

Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5,
glibc-2.3.3.20040420-r0, 2.6.10-gentoo-r1 i686)
=================================================================
System uname: 2.6.10-gentoo-r1 i686 Pentium III (Coppermine)
Python: 	     dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jun 16 2004,
01:23:49)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.3.3-r1
sys-devel/autoconf:  2.59-r4
sys-devel/automake:  1.8.3
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.4.3-r4
virtual/os-headers:  2.4.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl apache apache2 apm avi berkdb bitmap-fonts crypt encode f77 fam
font-server foomaticdb fortran gd gdbm gif gpm imagemagick imap imlib ipv6 java
jpeg lcms ldap libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses
nls odbc oggvorbis oss pam pdflib perl png python readline samba sasl slang
spell sqlite ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode xml
xml2 xmms xsl xv zlib"
Unset:	ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 94 Haldir 2005-02-14 19:13:14 UTC
Hmm funny error, make sure you had the Portage overlay directory setup correctly, including the files subdir for opengroupware (including proper rights).
The init.d/ conf.d/ etc. scripts are all located in the files subdirectory 
Comment 95 Joe Daily 2005-05-22 20:10:21 UTC
Need updated digest/ebuild

Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/opengroupware-1.0 to /

!!! Digest verification Failed:
!!!    /usr/local/portage/net-misc/opengroupware/opengroupware-1.0.ebuild
!!! Reason: Filesize does not match recorded size

Also when can we expect to see opengroupware in portage?
Comment 96 Alessandro Surace 2005-05-25 01:40:00 UTC
Hi dear,
I'v tried to install opengroupware but al the last point it fail!
Se attach for detail.
Comment 97 Alessandro Surace 2005-05-25 01:44:17 UTC
Created attachment 59770 [details]
svn: PROPFIND request failed on '/ThirdParty/trunk'
Comment 98 Pedro Algarvio 2005-06-10 13:52:34 UTC
I've seen ppl here saying they like or dislike OGo, it breaks some stuff, etc...

What I'd like to know is, is it safe to use this ebuild? Won't it break my server?
Comment 99 Javier Piñeiro 2005-07-06 13:20:15 UTC
I can't emerge opengroupware. There are problems in svn commit :

Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/opengroupware-1.0 to /
>>> md5 files   ;-) opengroupware-1.0.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/50_opengroupware.conf
>>> md5 files   ;-) files/opengroupware.startscript
>>> md5 files   ;-) files/opengroupware.conf.d
>>> md5 files   ;-) files/digest-opengroupware-1.0
>>> md5 src_uri ;-) gnustep-make-1.10.0.tar.gz
>>> Unpacking source...
>>> Unpacking gnustep-make-1.10.0.tar.gz to /var/tmp/portage/opengroupware-1.0/w ork
 * subversion update start -->
 *    update from: http://svn.opengroupware.org/ThirdParty/trunk
svn: requerimiento REPORT fall\uffff en '/ThirdParty/!svn/vcc/default'
svn: REPORT de '/ThirdParty/!svn/vcc/default': 400 Bad Request (http://svn.openg
roupware.org)

!!! ERROR: net-misc/opengroupware-1.0 failed.
!!! Function subversion_svn_fetch, Line 162, Exitcode 1
!!! subversion.eclass: can't update from http://svn.opengroupware.org/ThirdParty
/trunk.
!!! If you need support, post the topmost build error, NOT this status message.

Thanks for yours time ;-)
Comment 100 gOA-pSY 2005-07-18 03:24:36 UTC
If you have problems compiling sope-xml (TableCallbacks.m:53:50: macro 
"__release" passed 2 arguments, but takes just 1) then 

If you are using sys-kernel/linux-headers-2.6.* then you may get errors 
compiling sope-xml:

TableCallbacks.m:53:50: macro "__release" passed 2 arguments, but takes just 1

This macro is defined in /usr/include/linux/compiler.h

To "fix" this you can comment/remove the "__release" macros:

# define __release(x)   __context__(-1)
# define __release(x) (void)0

After successfully building sope-xml you should restore the compiler.h ;-) If 
somebody knows a cleaner solution please post it here!
Comment 101 Chan Min Wai 2005-07-21 21:37:41 UTC
Having problem like the above...

Jul 22 03:15:09 ogo-webui-1.1 [13681]: |ogo-webui-1.1| root has no password, you
need to assign one!
Jul 22 03:15:09 ogo-webui-1.1 [13681]: |ogo-webui-1.1| OpenGroupware.org
instance initialized.
Jul 22 03:15:09 ogo-webui-1.1 [13681]: |ogo-webui-1.1| WOHttpAdaptor listening
on address *:20000
wJul 22 03:24:37 ogo-webui-1.1 [13681]: <0x086F64CC[OGoHelpManager]> Note: no
OGo documentation installed!
Jul 22 03:24:37 ogo-webui-1.1 [13681]: <0x086F64CC[OGoHelpManager]> SP:
Jul 22 03:24:37 ogo-webui-1.1 [13681]: |ogo-webui-1.1|
<OpenGroupware[0x0812A21C]: name=ogo-webui-1.1>: created session:
<OGoSession[0x086FED84]: id=357135710142E066F5>
Jul 22 03:24:37 ogo-webui-1.1 [13681]: ccaps: <WEClientCapabilities[0x087023D4]:
type=Mozilla v5.0> os=Linux cpu=ix86 fast-tbl css2 xul js>
Jul 22 03:24:38 ogo-webui-1.1 [13681]: Note: PostgreSQL72 adaptor using timezone
'GMT' as default
Jul 22 03:24:39 ogo-webui-1.1 [13681]: (357135710142E066F5) user root logged in.
Jul 22 03:24:39 ogo-webui-1.1 [13681]: Note: located no additional themes.
Jul 22 03:24:39 ogo-webui-1.1 [13681]: [ogo-rm] Note: did not find
components.cfg(ogo-webui-1.1) for theme: default-theme
Jul 22 03:24:39 ogo-webui-1.1 [13681]: [ogo-rm] Note: did not find
components.cfg: ogo-webui-1.1/English
Jul 22 03:24:39 ogo-webui-1.1 [13681]: (357135710142E066F5) ERROR: did not find
components.cfg for languages: English
192.168.0.20 - - [22/Jul/2005:03:24:39 GMT] "GET /OpenGroupware/ HTTP/1.1" 200 0
3.269 - - 3M

Seem to be there is a missing link for this. 
according to this link
http://mail.opengroupware.org/pipermail/macosx/2004-November.txt

ERROR: did not find components.cfg for languages: English
Anyone can help on this problem?
Comment 102 Chan Min Wai 2005-07-22 02:13:11 UTC
Created attachment 64041 [details, diff]
Patch for ebuild v4 (for opengroupware 1.1)

This is the patch for the last ebuild.
Seem to be it have solved the problem my problem of component not found.
Some correct of patch and version.

But still the compile.h have to be make comment before build
Comment 103 Markus Flaig 2005-08-01 15:03:13 UTC
hey there,

i just tried to install the 4th version of the ebuild.
for some reason i needed to comment out the objc checks in the ebuild, as it
didnt recognize i really compiled gcc with USE="objc". well, more serious is the
compile error i get:


--
handler.c:673: error: `headers' undeclared (first use in this function)
handler.c:676: error: dereferencing pointer to incomplete type
handler.c:678: error: dereferencing pointer to incomplete type
handler.c:679: error: dereferencing pointer to incomplete type
handler.c:691: error: dereferencing pointer to incomplete type
handler.c:695: warning: implicit declaration of function `apr_pcalloc'
handler.c:695: error: dereferencing pointer to incomplete type
handler.c:695: warning: assignment makes pointer from integer without a cast
handler.c:696: error: dereferencing pointer to incomplete type
handler.c:712: error: dereferencing pointer to incomplete type
handler.c:736: error: dereferencing pointer to incomplete type
make: *** [handler.o] Error 1

!!! ERROR: www-apps/opengroupware-1.0 failed.
!!! Function src_compile, Line 121, Exitcode 2
!!! make Apache Connector failed
!!! If you need support, post the topmost build error, NOT this status message.
--

my emerge --info says:

--
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo i686)
=================================================================
System uname: 2.6.12-gentoo i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LC_ALL="de_DE@euro"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/gentoo-de
/usr/local/overlays/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts cdr cjk crypt
cups curl dvd emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome
gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jikes jpeg kde kdeenablefinal
ldap libg++ libwww mad mikmod mmx motif moznocompose moznoirc moznomail mp3 mpeg
mysql ncurses nls objc ogg oggvorbis opengl oss pam pdflib perl png postgres
ppds python qt quicktime readline samba sdl slp spell sse sse2 ssl svga tcpd
tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis wifi xine xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
--

hope the error tells you guys more than me :)

cheerios,
toskala
Comment 104 Michael Duncan 2005-08-16 10:28:28 UTC
Failed top compile...
I will take a looka t it and if I get anywhere I may be interested in being a
maintainer if one is still needed.

 Linking library libWOExtensions ...
Making all for bundle WOExtensions...
 Creating WOExtensions.wox/....
 Compiling file WOExtensionsBuilderModule.m ...
 Linking bundle WOExtensions ...
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lWOExtensions
collect2: ld returned 1 exit status
make[3]: *** [WOExtensions.wox/./WOExtensions] Error 1
make[2]: *** [WOExtensions.all.bundle.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

!!! ERROR: net-misc/opengroupware-1.0 failed.
!!! Function src_compile, Line 110, Exitcode 2
!!! make SOPE failed
!!! If you need support, post the topmost build error, NOT this status message.

Comment 105 Oliver Gross 2005-08-24 07:52:36 UTC
failed to compile now too. not nice. can anybody help?

 Compiling file OGoContextManager.m ...
 Compiling file OGoContextManager+LDAP.m ...
OGoContextManager+LDAP.m:27:37: warning: NGLdap/NGLdapConnection.h: No such file or directory
OGoContextManager+LDAP.m: In function `+[LSCommandContext(LDAPSupport) 
isLDAPLoginAuthorized:password:]':
OGoContextManager+LDAP.m:86: error: `NGLdapConnection' undeclared (first use in this function)
OGoContextManager+LDAP.m:86: error: (Each undeclared identifier is reported only once
OGoContextManager+LDAP.m:86: error: for each function it appears in.)
make[3]: *** [shared_obj/OGoContextManager+LDAP.o] Error 1
make[2]: *** [libLSFoundation.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

!!! ERROR: net-misc/opengroupware-1.0 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! make Opengroupware-Main failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 106 Eric Ireland 2005-08-26 12:26:06 UTC
Compile error.  Anyone know how to fix this?

OGoContextManager+LDAP.m:27:37: warning: NGLdap/NGLdapConnection.h: No such file
or directory
OGoContextManager+LDAP.m: In function `+[LSCommandContext(LDAPSupport)
isLDAPLoginAuthorized:password:]':
OGoContextManager+LDAP.m:86: error: `NGLdapConnection' undeclared (first use in
this function)
OGoContextManager+LDAP.m:86: error: (Each undeclared identifier is reported only
once
OGoContextManager+LDAP.m:86: error: for each function it appears in.)
distcc[783] ERROR: compile OGoContextManager+LDAP.m on 129.89.73.113 failed
make[3]: *** [shared_obj/OGoContextManager+LDAP.o] Error 1
make[2]: *** [libLSFoundation.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

!!! ERROR: www-misc/opengroupware-1.0 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! make Opengroupware-Main failed
!!! If you need support, post the topmost build error, NOT this status message.

localhost ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.13-rc6-mm1 i686)
=================================================================
System uname: 2.6.13-rc6-mm1 i686 AMD Athlon(tm) XP  2200+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts avi bcmath berkdb bitmap-fonts bz2 calendar
cpdflib crypt ctype cups eds emboss encode exif flash foomaticdb fortran ftp gd
gdbm gif gpm gstreamer iconv imagemagick imlib innodb iodbc ipv6 jpeg ldap
libg++ libwww mad mcal mikmod mime ming motif mp3 mpeg mysql mysqli ncurses nls
objc ogg oggvorbis opengl oss pam pdflib perl php png posgres postgres python
quicktime readline samba sdl session sharedext sharedmem simplexml sockets spell
ssh ssl symlink sysvipc tcpd tiff truetype truetype-fonts type1-fonts unicode
vorbis wddx x86 xml xml2 xmlrpc xmms xsl xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 107 Vieri 2005-08-26 15:17:54 UTC
(In reply to comment #105)
> Compile error.  Anyone know how to fix this?
> OGoContextManager+LDAP.m:27:37: warning: NGLdap/NGLdapConnection.h: No such 
file
> or directory

Apparently the ebuild is unable to copy the NGLdap directory 
from /var/tmp/portage/opengroupware-1.0/work/opengroupware-1.0/SOPE/sope-
ldap/NGLdap to /var/tmp/portage/opengroupware-1.0/work/opengroupware-
1.0/usr/local/include/

The ebuild should be reviewed.
Comment 108 Vieri 2005-08-26 15:41:49 UTC
(In reply to comment #106)
> Apparently the ebuild is unable to copy the NGLdap directory 
> from /var/tmp/portage/opengroupware-1.0/work/opengroupware-1.0/SOPE/sope-
> ldap/NGLdap to /var/tmp/portage/opengroupware-1.0/work/opengroupware-
> 1.0/usr/local/include/
> The ebuild should be reviewed.

It seems that SOPE/NGLdap isn't compiled at all (no libNGLdap).
Comment 109 Oliver Gross 2005-08-29 07:51:26 UTC
today's subversion update seems to have solved my previous issue. however, now i get stuck here:

Making all for subproject NGMail...
 Compiling file NGMail.m ...
cc1obj: error: unrecognized option `-Winvalid-pch'
make[3]: *** [shared_obj/NGMail.o] Error 1
make[2]: *** [NGMail.all.subproject.variables] Error 2
make[1]: *** [libNGMime.all.library.variables] Error 2
make: *** [internal-all] Error 2

!!! ERROR: net-misc/opengroupware-1.0 failed.
!!! Function src_compile, Line 110, Exitcode 2
!!! make SOPE failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 110 Vieri 2005-08-31 00:18:16 UTC
(In reply to comment #108)
> today's subversion update seems to have solved my previous issue. however, 
now i get stuck here:
> Making all for subproject NGMail...
>  Compiling file NGMail.m ...
> cc1obj: error: unrecognized option `-Winvalid-pch'
> make[3]: *** [shared_obj/NGMail.o] Error 1
> make[2]: *** [NGMail.all.subproject.variables] Error 2
> make[1]: *** [libNGMime.all.library.variables] Error 2
> make: *** [internal-all] Error 2

I might be wrong but this MAY be a gcc version issue. Gentoo's GCC latest 
stable version is 3.3.5.20050130-r1 but I *believe* PCH *might* not be 
supported. It might be if you use at least v.3.4 but it's marked unstable.
This is just a thought. Please correct me if I'm wrong.
Comment 111 Oliver Gross 2005-08-31 03:18:20 UTC
thanks for your help Vieri, that did it. gcc 3.4.4 rocks!

now back to the old problem.......

 Compiling file OGoContextManager+LDAP.m ...
OGoContextManager+LDAP.m:27:37: NGLdap/NGLdapConnection.h: No such file or directory
OGoContextManager+LDAP.m: In function `+[LSCommandContext(LDAPSupport) 
isLDAPLoginAuthorized:password:]':
OGoContextManager+LDAP.m:86: error: `NGLdapConnection' undeclared (first use in this function)
OGoContextManager+LDAP.m:86: error: (Each undeclared identifier is reported only once
OGoContextManager+LDAP.m:86: error: for each function it appears in.)
make[3]: *** [shared_obj/OGoContextManager+LDAP.o] Error 1
make[2]: *** [libLSFoundation.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

!!! ERROR: net-misc/opengroupware-1.0 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! make Opengroupware-Main failed

any idea anybody?

cheers,

Oliver
Comment 112 Haldir 2005-09-02 19:49:09 UTC
Fixing NGLdap is no real problem, just a missing ./configure for it
There are several other problems with the current trunk builds of OGo:
1. The included gnustep-make is somehow broken, using vanilla gnustep-make
2. Apache Plugin is not compiling due to missing header information (OGo's 
script is outdated)

I won't post any updated Ebuild until 2.) is fixed
Comment 113 Javier Piñeiro 2005-09-13 09:49:46 UTC
and a binary ebuild ? opengroupware-bin :-P it
Comment 114 Javier Piñeiro 2005-09-13 09:49:46 UTC
and a binary ebuild ? opengroupware-bin :-P it´s no possible?
Comment 115 Javier Piñeiro 2005-09-15 05:23:32 UTC
Created attachment 68501 [details]
opengroupware-1.0 beta1 subversion ebuild

Updated ebuild with 1.0beta.1-rock repositories.
Comment 116 Haldir 2005-09-16 05:19:59 UTC
Created attachment 68575 [details]
Working SVN Ebuild with patched Apache Connector Makefile

Works with the current trunk build of opengroupware
Comment 117 Klaus Kranz 2005-09-23 16:36:59 UTC
hi,

when i emerge opengroupware i get the following error

Linking components into the bundle wrapper...
Linking localized components into the bundle wrapper...
Linking resources into the bundle wrapper...
Making all in Scheduler...
Making all in LSWScheduler...
Making all for wobundle LSWScheduler...
 Compiling file LSWSchedulerModule.m ...
cc1: warning: "-fgnu-runtime" is valid for ObjC but not for C/C++
In file included from LSWSchedulerModule.m:22:
../../OGoFoundation/OGoModuleManager.h:25:2: warning: #import is obsolete, use
an #ifndef wrapper in the header file
 Compiling file LSWSchedulerDateTitle.m ...
cc1: warning: "-fgnu-runtime" is valid for ObjC but not for C/C++
In file included from
/var/tmp/portage/opengroupware-1.0/work/opengroupware-1.0/usr/local/include/NGObjWeb/WODynamicElement.h:25,
                 from LSWSchedulerDateTitle.m:22:
/var/tmp/portage/opengroupware-1.0/work/opengroupware-1.0/usr/local/include/NGObjWeb/WOElement.h:25:2:
warning: #import is obsolete, use an #ifndef wrapper in the header file
 Compiling file LSWAppointmentEditor.m ...
cc1: warning: "-fgnu-runtime" is valid for ObjC but not for C/C++
In file included from ../../OGoFoundation/OGoContentPage.h:25,
                 from ../../OGoFoundation/LSWContentPage.h:27,
                 from ../../OGoFoundation/OGoEditorPage.h:25,
                 from ../../OGoFoundation/LSWEditorPage.h:25,
                 from LSWAppointmentEditor.h:25,
                 from LSWAppointmentEditor.m:22:
../../OGoFoundation/OGoComponent.h:25:2: warning: #import is obsolete, use an
#ifndef wrapper in the header file
LSWAppointmentEditor.m:36:54: warning:
OGoSchedulerTools/OGoCycleDateCalculator.h: No such file or directory
LSWAppointmentEditor.m: In function `-[LSWAppointmentEditor checkConstraints]':
LSWAppointmentEditor.m:1466: error: `OGoCycleDateCalculator' undeclared (first
use in this function)
LSWAppointmentEditor.m:1466: error: (Each undeclared identifier is reported only
once
LSWAppointmentEditor.m:1466: error: for each function it appears in.)
make[4]: *** [shared_obj/LSWAppointmentEditor.o] Error 1
make[3]: *** [LSWScheduler.all.wobundle.variables] Error 2
make[2]: *** [internal-all] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

!!! ERROR: www-apps/opengroupware-1.0 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! make Opengroupware-Main failed
!!! If you need support, post the topmost build error, NOT this status message.


here's my "emerge info"

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 AMD Duron(tm)
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 acl acpi apache2 apm avi bash-completion berkdb bitmap-fonts bzip2
bzlib crypt cups dvd eds emboss encode fastcgi fbcon foomaticdb fortran ftp gd
gdbm gif gpm gstreamer gtk2 imagemagick imlib innodb ipv6 java javascript jpeg
ldap lesstif libg++ libwww lm_sensors logrotate mad mikmod mime ming mmx mng
motif mp3 mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls
objc ogg pam pam-mysql pdflib perl php png posix postgres prelude procmail
python quicktime readline reiserfs rrdtool samba sasl session sharedmem
simplexml slang sockets spell sse sse2 ssl tcpd tiff truetype truetype-fonts
unicode ups vhosts virtual-users vorbis xinetd xml xml2 xmlrpc xpm xsl zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


i tried to emerge it without the "-O3 -fomit-frame-pointer" CFLAGs

some hints ?

thx
Comment 118 Klaus Kranz 2005-09-27 09:37:32 UTC
hi,

the problem was a bug in the sources of ogo.

helge hess from opengroupware fixed it
http://mail.opengroupware.org/pipermail/users/2005-September/014636.html

now it works!

thx
klaus
Comment 119 Josiah Ritchie (flickerfly) 2005-10-06 07:15:13 UTC
I tossed together an install Howto. Most interested parties probably don't need
it, but I thought I may toss it towards the Ogo site since they are asking for
Gentoo install documentation. I'm working on step #6 atm (remerge gcc w/ obgc)
so it is a work in progress. Your input welcome.

http://josiah.ritchietribe.net/pmwiki/index.php?n=CMSNotes.OpenGroupWareGentooInstall
Comment 120 Josiah Ritchie (flickerfly) 2005-10-07 07:36:27 UTC
emerge installed well, I had a quick problem with the first restart of
opengroupware service, but that seems to have resovled itself. Apache doesn't
want to start though.

$ sudo /etc/init.d/apache2 restart
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 3 of /etc/apache2/modules.d/50_opengroupware.conf:
Cannot load /var/lib/opengroupware.org/OGo-WebServer/mod_ngobjweb.so into
server: /var/lib/opengroupware.org/OGo-WebServer/mod_ngobjweb.so: cannot open
shared object file: No such file or directory

The file mod_ngobjweb.so is in /var/lib/opengroupware.org/OGo-WebServer/. Also,
the .conf file seems to be syntactically correct on line 3. Here are lines 1-4
for your own evaluation:

<IfDefine OGo>

LoadModule ngobjweb_module /var/lib/opengroupware.org/OGo-WebServer/mod_ngobjweb.so
 <LocationMatch "^/OpenGroupware/*">

Comment 121 Klaus Kranz 2005-10-07 07:47:40 UTC
hi josiah,

you have to edit the link
/var/lib/opengroupware.org/OGo-WebServer/mod_ngobjweb.so
to
/var/lib/opengroupware.org/OGo-WebServer/mod_nobjweb.so
in
/etc/apache2/modules.d/50_opengroupware.conf

because the module has a wrong filename (without "g")  :-(
that was the problem in my installation!

i seached inside the ebuild for it, but i did't find the problem!

maybe any body can fix this!

cheers
klaus   
Comment 122 Josiah Ritchie (flickerfly) 2005-10-07 08:28:31 UTC
Created attachment 70091 [details]
Spelling Correction - Full Package

This corrects a simple spelling issue on line 3 in the file
50_opengroupware.conf
Comment 123 Drlik Zbynek 2005-10-11 07:35:03 UTC
I have still problem width latest ebuild. It emerged perfectli, then i run
config, no errors, ad -D OGo to apache, and run apache, postgresql, Ogo, the
config file to /etc/apache2/modules.d/50_opengroupware.conf hadn't been copied.
I copied it manualy. Now when I try to connect localhost/Opengroupware, the
blank pake is loaded. What's the problem?
Comment 124 Josiah Ritchie (flickerfly) 2005-10-11 07:50:42 UTC
I've been messing around with a problem in this ebuild where the www (and
probably other) directory doesn't get installed. Does the www directory referred
to in the 50_opengroupware.conf exist? I think this is related to a problem with
the ebuild's path to the area, but I'm getting really confused in my attempts to
fix it.

Also, I noticed that my spelling correction was incorrect. The mod_ngobjweb.so
file gets renamed in the ebuild when it is moved to mod_nobjweb.so. I
incorrectly fixed this in 50_opengroupware.conf. This needs to be changed back
and fixed on or around line 107 in the ebuild.
Comment 125 Drlik Zbynek 2005-10-12 00:17:53 UTC
(In reply to comment #122)
> Does the www directory referred to in the 50_opengroupware.conf exist?

In my installation it doesn't exist, what is good solution?
Comment 126 Haldir 2005-10-15 18:03:09 UTC
Created attachment 70773 [details]
Updated SVN Ebuild

Updated SVN Ebuild
Mainly path bugfixes for 1.1
should copy the apache config file to the proper directory
and create the proper www ressource directories
Comment 127 Gabi Shaar 2005-10-21 03:22:26 UTC
both usermin and ogo by default try to use port 20000
the init script report ogo starting ok, but running manually reports failure to
bind to port 20000
Comment 128 Simon Matthews 2005-12-07 13:18:46 UTC
The ebuild should also depend on "app-arch/zip"
Comment 129 Robert Collazo 2005-12-29 11:51:41 UTC
I'm trying the ebuild on attachment #70773 [details] and I'm not having any luck with it.  I keep getting the following error:

 *     updated in: /usr/portage/distfiles/svn-src/OGo-SOPE/trunk
svn: Destination directory exists, and will not be overwritten unless forced
svn: Can't create directory '/var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/SOPE': File exists

!!! ERROR: net-misc/opengroupware-1.1 failed.
!!! Function subversion_svn_fetch, Line 184, Exitcode 1
!!! subversion.eclass: can't exportto /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/SOPE.
!!! If you need support, post the topmost build error, NOT this status message.

I tried adding ESVN_OPTIONS="--force" to ebuild but svn update doesn't take the "--force" option.  Any thoughts?
Comment 130 ra 2006-01-04 05:29:35 UTC
(In reply to comment #127)
> I'm trying the ebuild on attachment #70773 [details] [edit] and I'm not having any luck with it.
>  I keep getting the following error:
> 
>  *     updated in: /usr/portage/distfiles/svn-src/OGo-SOPE/trunk
> svn: Destination directory exists, and will not be overwritten unless forced
> svn: Can't create directory
> '/var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/SOPE': File exists
> 
> !!! ERROR: net-misc/opengroupware-1.1 failed.
> !!! Function subversion_svn_fetch, Line 184, Exitcode 1
> !!! subversion.eclass: can't exportto
> /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/SOPE.
> !!! If you need support, post the topmost build error, NOT this status message.
> 
> I tried adding ESVN_OPTIONS="--force" to ebuild but svn update doesn't take the
> "--force" option.  Any thoughts?
> 

this PATCH solves it

--- opengroupware-1.1.ebuild    2005-10-16 02:33:18.000000000 +0200
+++ /usr/local/portage/www-apps/opengroupware/opengroupware-1.1.ebuild  2006-01-04 14:10:36.000000000 +0100
@@ -44,5 +44,6 @@
    ESVN_PROJECT="OGo-SOPE"
    S=${WORKDIR}/${P}/SOPE
-   mkdir -p ${S}
+   rm -rf ${S}
+   mkdir -p ${WORKDIR}/${P}
    subversion_src_unpack
    mv ${S}/trunk/* ${S}
@@ -51,5 +52,6 @@
    ESVN_PROJECT="OGo-OpenGroupware.org"
    S=${WORKDIR}/${P}/OpenGroupware.org
-   mkdir -p ${S}
+   rm -rf ${S}
+   mkdir -p ${WORKDIR}/${P}
    subversion_src_unpack
    mv ${S}/trunk/* ${S}
Comment 131 Jesse Throwe 2006-01-09 06:01:40 UTC
Recent releases of gcc in portage moved the libraries from /usr/lib/gcc-lib to /usr/lib/gcc.  The ObjC check needs to be updated to reflect this.  Here is a patch to get it to work with the 3.4.x versions of gcc (tested on 3.4.5).  As I am not sure if this applies only to 3.4.x or if it is a general cleanup move including other maintained gcc versions, I can unable to recommend if the patch should be applied globally for new systems or not.

----

--- opengroupware-1.1.ebuild    2005-10-15 20:33:18.000000000 -0400
+++ /usr/local/portage/net-misc/opengroupware/opengroupware-1.1.ebuild  2006-01-09 09:02:10.000000000 -0500


@@ -33,7 +33,7 @@
        enewgroup skyrix
        enewuser ogo -1 /bin/bash ${OGOHOMEDIR} skyrix
        ### Crude way to see if objc support is compiled into  gcc ###
-       if [ `find /usr/lib/gcc-lib/ -name 'libobjc.so' | grep -c 'libobjc.so'` -eq 0 ]; then
+       if [ `find /usr/lib/gcc/ -name 'libobjc.so' | grep -c 'libobjc.so'` -eq 0 ]; then
        einfo 'ObjC Compiler is missing. Please re-emerge gcc with USE="objc"'
        die
        fi
Comment 132 Pascal Hahn 2006-02-20 00:41:37 UTC
I tried to install the opengroupware which worked quite nice. the only problem now is that it somehow wont strat. i just get a cancelled when i try to start the webui by hand.

Any ideas?
Comment 133 Arvid Picciani 2006-02-26 03:53:15 UTC
wont work for me


>>> emerge (1 of 1) www-apps/opengroupware-1.0_beta1 to /
>>> md5 files   ;-) opengroupware-1.0_beta1.ebuild
>>> md5 files   ;-) files/50_opengroupware.conf
>>> md5 files   ;-) files/opengroupware.startscript
>>> md5 files   ;-) files/digest-opengroupware-1.0_beta1
>>> md5 files   ;-) files/opengroupware.conf.d
>>> md5 src_uri ;-) gnustep-make-1.10.0.tar.gz
>>> Unpacking source...
>>> Unpacking gnustep-make-1.10.0.tar.gz to /var/tmp/portage/opengroupware-1.0_beta1/work
 * subversion check out start -->
 *    checkout from: http://svn.opengroupware.org
svn: PROPFIND request failed on '/'
svn: PROPFIND of '/': 405 Method Not Allowed (http://svn.opengroupware.org)

!!! ERROR: www-apps/opengroupware-1.0_beta1 failed.
Comment 134 Fabian Groffen gentoo-dev 2006-03-26 05:52:48 UTC
seeing some GNUstep stuff... going for CC.
Comment 135 Alexander Look 2006-04-30 11:52:52 UTC
The SVN Ebuild doesn't seem to work for me. I'm running gentoo on amd64. I had to modify the ebuild adding

KEYWORDS="~x86 ~amd64".

I also had to change a path in src_compile() , because SOPE couldn't be found:

## cd ${WORKDIR}/gnustep-make-1.10.0 # <- directory not found error
cd /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/SOPE/gnustep-make

It still doesn't work. Now I get this error:

Making all in Foundation...
/var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/usr/local/OGo-GNUstep/Library/Makefiles/mkinstalldirs shared_obj/./GNU/exceptions
Making all for library libFoundation...
 Compiling file cvtutf.c ...
 Compiling file behavior.m ...
In Datei, eingef
Comment 136 Alexander Look 2006-04-30 11:52:52 UTC
The SVN Ebuild doesn't seem to work for me. I'm running gentoo on amd64. I had to modify the ebuild adding

KEYWORDS="~x86 ~amd64".

I also had to change a path in src_compile() , because SOPE couldn't be found:

## cd ${WORKDIR}/gnustep-make-1.10.0 # <- directory not found error
cd /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/SOPE/gnustep-make

It still doesn't work. Now I get this error:

Making all in Foundation...
/var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/usr/local/OGo-GNUstep/Library/Makefiles/mkinstalldirs shared_obj/./GNU/exceptions
Making all for library libFoundation...
 Compiling file cvtutf.c ...
 Compiling file behavior.m ...
In Datei, eingefügt von behavior.m:29:
../Foundation/common.h:31:20: Warnung: config.h: Datei oder Verzeichnis nicht gefunden
In Datei, eingefügt von ../Foundation/NSString.h:30,
                    von ../Foundation/common.h:32,
                    von behavior.m:29:
../Foundation/NSObject.h:245:22: Warnung: lfmemory.h: Datei oder Verzeichnis nicht gefunden
In file included from behavior.m:29:
../Foundation/common.h:60: Warnung: »int« ist Standardtyp in Deklaration von »atoi«
../Foundation/common.h:61: Warnung: »int« ist Standardtyp in Deklaration von »atol«
In file included from behavior.m:29:
../Foundation/common.h: In function `Strlen':
../Foundation/common.h:331: Warnung: implizite Deklaration der Funktion »strlen«
../Foundation/common.h: In function `Strdup':
../Foundation/common.h:336: Warnung: implizite Deklaration der Funktion »strcpy«
../Foundation/common.h: In function `Strncpy':
../Foundation/common.h:346: Warnung: implizite Deklaration der Funktion »strncpy«
../Foundation/common.h: In function `Strcat':
../Foundation/common.h:351: Warnung: implizite Deklaration der Funktion »strcat«
../Foundation/common.h: In function `Strncat':
../Foundation/common.h:356: Warnung: implizite Deklaration der Funktion »strncat«
../Foundation/common.h: In function `Strcmp':
../Foundation/common.h:369: Warnung: implizite Deklaration der Funktion »strcmp«
../Foundation/common.h: In function `Strncmp':
../Foundation/common.h:383: Warnung: implizite Deklaration der Funktion »strncmp«
In file included from /usr/include/stdlib.h:8,
                 from /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/usr/local/include/objc/hash.h:32,
                 from /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/usr/local/include/objc/objc-api.h:32,
                 from ../extensions/objc-runtime.h:29,
                 from behavior.m:30:
/usr/include/gentoo-multilib/amd64/stdlib.h: At top level:
/usr/include/gentoo-multilib/amd64/stdlib.h:152: Fehler: in Konflikt stehende Typen für »atol«
../Foundation/common.h:61: Fehler: vorherige Deklaration von »atol« war hier
/usr/include/gentoo-multilib/amd64/stdlib.h:152: Fehler: in Konflikt stehende Typen für »atol«
../Foundation/common.h:61: Fehler: vorherige Deklaration von »atol« war hier
In Datei, eingefügt von ../extensions/NSException.h:25,
                    von behavior.m:31:
../Foundation/NSException.h:1:33: Warnung: real_exception_file.h: Datei oder Verzeichnis nicht gefunden
In file included from ../extensions/exceptions/FoundationException.h:25,
                 from ../Foundation/exceptions/GeneralExceptions.h:29,
                 from ../extensions/exceptions/GeneralExceptions.h:25,
                 from behavior.m:32:
../Foundation/exceptions/FoundationException.h:34: Fehler: Schnittstellendeklaration für »NSException«, Superklasse von »FoundationException«, kann nicht gefunden werden
make[2]: *** [shared_obj/./GNU/behavior.o] Fehler 1
make[1]: *** [libFoundation.all.library.variables] Fehler 2
make: *** [internal-all] Fehler 2

!!! ERROR: www-apps/opengroupware-1.1 failed.
!!! Function src_compile, Line 91, Exitcode 2
!!! make libFoundation failed
!!! If you need support, post the topmost build error, NOT this status message.

Any ideas?

My emerge --info:
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/gunnarwrobel-de /usr/local/overlays/gentoo-de /usr/local/overlays/local"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="..."
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS
Comment 137 Jean-Christian 2006-05-08 04:52:16 UTC
(In reply to comment #133)
> The SVN Ebuild doesn't seem to work for me. I'm running gentoo on amd64. I had
> to modify the ebuild adding
> 
> KEYWORDS="~x86 ~amd64".
> 
> I also had to change a path in src_compile() , because SOPE couldn't be found:
> 
> ## cd ${WORKDIR}/gnustep-make-1.10.0 # <- directory not found error
> cd /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/SOPE/gnustep-make
> 
> It still doesn't work. Now I get this error:
> 
> Making all in Foundation...
> /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/usr/local/OGo-GNUstep/Library/Makefiles/mkinstalldirs
> shared_obj/./GNU/exceptions
> Making all for library libFoundation...
>  Compiling file cvtutf.c ...
>  Compiling file behavior.m ...
> In Datei, eingef
Comment 138 Jean-Christian 2006-05-08 04:52:16 UTC
(In reply to comment #133)
> The SVN Ebuild doesn't seem to work for me. I'm running gentoo on amd64. I had
> to modify the ebuild adding
> 
> KEYWORDS="~x86 ~amd64".
> 
> I also had to change a path in src_compile() , because SOPE couldn't be found:
> 
> ## cd ${WORKDIR}/gnustep-make-1.10.0 # <- directory not found error
> cd /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/SOPE/gnustep-make
> 
> It still doesn't work. Now I get this error:
> 
> Making all in Foundation...
> /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/usr/local/OGo-GNUstep/Library/Makefiles/mkinstalldirs
> shared_obj/./GNU/exceptions
> Making all for library libFoundation...
>  Compiling file cvtutf.c ...
>  Compiling file behavior.m ...
> In Datei, eingefügt von behavior.m:29:
> ../Foundation/common.h:31:20: Warnung: config.h: Datei oder Verzeichnis nicht
> gefunden
> In Datei, eingefügt von ../Foundation/NSString.h:30,
>                     von ../Foundation/common.h:32,
>                     von behavior.m:29:
> ../Foundation/NSObject.h:245:22: Warnung: lfmemory.h: Datei oder Verzeichnis
> nicht gefunden
> In file included from behavior.m:29:
> ../Foundation/common.h:60: Warnung: »int« ist Standardtyp in Deklaration von
> »atoi«
> ../Foundation/common.h:61: Warnung: »int« ist Standardtyp in Deklaration von
> »atol«
> In file included from behavior.m:29:
> ../Foundation/common.h: In function `Strlen':
> ../Foundation/common.h:331: Warnung: implizite Deklaration der Funktion
> »strlen«
> ../Foundation/common.h: In function `Strdup':
> ../Foundation/common.h:336: Warnung: implizite Deklaration der Funktion
> »strcpy«
> ../Foundation/common.h: In function `Strncpy':
> ../Foundation/common.h:346: Warnung: implizite Deklaration der Funktion
> »strncpy«
> ../Foundation/common.h: In function `Strcat':
> ../Foundation/common.h:351: Warnung: implizite Deklaration der Funktion
> »strcat«
> ../Foundation/common.h: In function `Strncat':
> ../Foundation/common.h:356: Warnung: implizite Deklaration der Funktion
> »strncat«
> ../Foundation/common.h: In function `Strcmp':
> ../Foundation/common.h:369: Warnung: implizite Deklaration der Funktion
> »strcmp«
> ../Foundation/common.h: In function `Strncmp':
> ../Foundation/common.h:383: Warnung: implizite Deklaration der Funktion
> »strncmp«
> In file included from /usr/include/stdlib.h:8,
>                  from
> /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/usr/local/include/objc/hash.h:32,
>                  from
> /var/tmp/portage/opengroupware-1.1/work/opengroupware-1.1/usr/local/include/objc/objc-api.h:32,
>                  from ../extensions/objc-runtime.h:29,
>                  from behavior.m:30:
> /usr/include/gentoo-multilib/amd64/stdlib.h: At top level:
> /usr/include/gentoo-multilib/amd64/stdlib.h:152: Fehler: in Konflikt stehende
> Typen für »atol«
> ../Foundation/common.h:61: Fehler: vorherige Deklaration von »atol« war hier
> /usr/include/gentoo-multilib/amd64/stdlib.h:152: Fehler: in Konflikt stehende
> Typen für »atol«
> ../Foundation/common.h:61: Fehler: vorherige Deklaration von »atol« war hier
> In Datei, eingefügt von ../extensions/NSException.h:25,
>                     von behavior.m:31:
> ../Foundation/NSException.h:1:33: Warnung: real_exception_file.h: Datei oder
> Verzeichnis nicht gefunden
> In file included from ../extensions/exceptions/FoundationException.h:25,
>                  from ../Foundation/exceptions/GeneralExceptions.h:29,
>                  from ../extensions/exceptions/GeneralExceptions.h:25,
>                  from behavior.m:32:
> ../Foundation/exceptions/FoundationException.h:34: Fehler:
> Schnittstellendeklaration für »NSException«, Superklasse von
> »FoundationException«, kann nicht gefunden werden
> make[2]: *** [shared_obj/./GNU/behavior.o] Fehler 1
> make[1]: *** [libFoundation.all.library.variables] Fehler 2
> make: *** [internal-all] Fehler 2
> 
> !!! ERROR: www-apps/opengroupware-1.1 failed.
> !!! Function src_compile, Line 91, Exitcode 2
> !!! make libFoundation failed
> !!! If you need support, post the topmost build error, NOT this status message.
> 
> Any ideas?
> 
> My emerge --info:
> Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r2,
> 2.6.14-gentoo-r2 x86_64)
> =================================================================
> System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
> Gentoo Base System version 1.6.13
> dev-lang/python:     2.3.5-r2, 2.4.1-r1
> sys-apps/sandbox:    1.2.11
> sys-devel/autoconf:  2.13, 2.59-r6
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
> sys-devel/binutils:  2.15.92.0.2-r10
> sys-devel/libtool:   1.5.22
> virtual/os-headers:  2.6.11-r2
> ACCEPT_KEYWORDS="amd64"
> AUTOCLEAN="yes"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=k8 -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
> /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
> /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
> /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
> /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
> /usr/share/texmf/xdvi/ /var/qmail/control"
> CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
> CXXFLAGS="-march=k8 -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distlocks sandbox sfperms strict"
> GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
> LANG="de_DE@euro"
> LC_ALL="de_DE@euro"
> LINGUAS="de en"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/overlays/gunnarwrobel-de
> /usr/local/overlays/gentoo-de /usr/local/overlays/local"
> SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
> USE="..."
> Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS
> 



Hi,
I have the solution for your problem.
The problem concerne libFoundation, in the directory /var/tmp/portage/opengroupware-1.1/work/.../libFoundation/ make a "grep clean_cpu.sh" you will see bad information. The script search clean_cpu.sh in .../Makefiles/clean_cpu.sh but it's .../Library/Makefiles/clean_cpu.sh the right way.
I correct opengroupware.ebuild like that:
        cd ${S}/SOPE/libFoundation
        echo "Correction erreur compilation behavior.m"
        sed -i "s#/Makefiles/clean_cpu.sh #/Library/Makefiles/clean_cpu.sh #" ${S}/SOPE/libFoundation/configure
        sed -i "s#/Makefiles/clean_cpu.sh #/Library/Makefiles/clean_cpu.sh #" ${S}/SOPE/libFoundation/configure.in
        econf --with-gnustep
        sed -i "s#/Makefiles/clean_cpu.sh #/Library/Makefiles/clean_cpu.sh #" ${S}/SOPE/libFoundation/configure
        sed -i "s#/Makefiles/clean_cpu.sh #/Library/Makefiles/clean_cpu.sh #" ${S}/SOPE/libFoundation/configure.in

And after do: ebuild opengroupware.ebuild digest and re try

After that, you will compile Behavior.m whitout problem but you may have crash for Defaults.m.
This probleme is caused by gnstep-make Version 1.11.0, you must use the gnustep-version 1.10.0 (which is download by the script) to compile all and have the pleasure to use Ogo.
For me, after the crash on Defaults.m, I replace  /usr/portage/distfiles/svn-src/OGo-SOPE/trunk/gnustep-make Version 1.11.0 to Vesion 1.10.0 (copy all the file in gnustep-make, do not a delete of the directory and a mv because the script will erase this during the update, do cp -rf ..../gnustep-make.1.10.0/* ..../gnustep-make/).

Good Luke!
Comment 139 Alexander Look 2006-05-08 17:20:25 UTC
(In reply to comment #134)
> Good Luke!
:-)

Merci! Now I get a little bit further! ..but... there is a new error ;-)

 Compiling file exceptions/NSFileHandleExceptions.m ...
 Linking library libFoundation ...
Making all in Resources...
Making all in examples...
Making all for tool Defaults...
 Compiling file Defaults.m ...
Defaults.m: In function `read_command':
Defaults.m:77: Warnung: mehrere methods namens 
Comment 140 Alexander Look 2006-05-08 17:20:25 UTC
(In reply to comment #134)
> Good Luke!
:-)

Merci! Now I get a little bit further! ..but... there is a new error ;-)

 Compiling file exceptions/NSFileHandleExceptions.m ...
 Linking library libFoundation ...
Making all in Resources...
Making all in examples...
Making all for tool Defaults...
 Compiling file Defaults.m ...
Defaults.m: In function `read_command':
Defaults.m:77: Warnung: mehrere methods namens »-setObject:forKey:« gef
unden
../Foundation/NSDictionary.h:123: Warnung: using »-(void)setObject:(id)
anObject forKey:(id)aKey«
../Foundation/NSUserDefaults.h:68: Warnung: also found »-(void)setObjec
t:(id)value forKey:(NSString *)defaultName«
Defaults.m:93: Warnung: mehrere methods namens »-objectForKey:« gefunde
n
../Foundation/NSDictionary.h:70: Warnung: using »-(id)objectForKey:(id)
aKey«
../Foundation/NSUserDefaults.h:62: Warnung: also found »-(id)objectForK
ey:(NSString *)defaultName«
Defaults.m: In function `write_command':
Defaults.m:179: Warnung: generating trampoline in object (requires exec
utable stack)
Defaults.m:179: Warnung: generating trampoline in object (requires exec
utable stack)
 Linking tool Defaults ...
shared_obj/./GNU/Defaults.o(.text+0x115): In function `read_command':
: undefined reference to `objc_get_class'
shared_obj/./GNU/Defaults.o(.text+0x133): In function `read_command':
: undefined reference to `objc_msg_lookup'
shared_obj/./GNU/Defaults.o(.text+0x159): In function `read_command':
: undefined reference to `objc_get_class'
shared_obj/./GNU/Defaults.o(.text+0x177): In function `read_command':
: undefined reference to `objc_msg_lookup'

[..and lots more of there "undefined reference to..." messages]

../Foundation/shared_obj/./GNU/libFoundation.so: undefined reference to                                                                  `objc_msg_lookup_super'
../Foundation/shared_obj/./GNU/libFoundation.so: undefined reference to                                                                  `sel_get_name'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [shared_obj/./GNU/Defaults] Fehler 1
make[1]: *** [Defaults.all.tool.variables] Fehler 2
make: *** [internal-all] Fehler 2

!!! ERROR: www-apps/opengroupware-1.1 failed.
!!! Function src_compile, Line 97, Exitcode 2
!!! make libFoundation failed
!!! If you need support, post the topmost build error, NOT this status                                                                  message. 

Can someone help me with this one?

cheers!
Comment 141 Jean-Christian 2006-05-10 23:07:09 UTC
(In reply to comment #135)
> (In reply to comment #134)
> > Good Luke!
> :-)
> 
> Merci! Now I get a little bit further! ..but... there is a new error ;-)
> 
>  Compiling file exceptions/NSFileHandleExceptions.m ...
>  Linking library libFoundation ...
> Making all in Resources...
> Making all in examples...
> Making all for tool Defaults...
>  Compiling file Defaults.m ...
> Defaults.m: In function `read_command':
> Defaults.m:77: Warnung: mehrere methods namens 
Comment 142 Jean-Christian 2006-05-10 23:07:09 UTC
(In reply to comment #135)
> (In reply to comment #134)
> > Good Luke!
> :-)
> 
> Merci! Now I get a little bit further! ..but... there is a new error ;-)
> 
>  Compiling file exceptions/NSFileHandleExceptions.m ...
>  Linking library libFoundation ...
> Making all in Resources...
> Making all in examples...
> Making all for tool Defaults...
>  Compiling file Defaults.m ...
> Defaults.m: In function `read_command':
> Defaults.m:77: Warnung: mehrere methods namens »-setObject:forKey:« gef
> unden
> ../Foundation/NSDictionary.h:123: Warnung: using »-(void)setObject:(id)
> anObject forKey:(id)aKey«
> ../Foundation/NSUserDefaults.h:68: Warnung: also found »-(void)setObjec
> t:(id)value forKey:(NSString *)defaultName«
> Defaults.m:93: Warnung: mehrere methods namens »-objectForKey:« gefunde
> n
> ../Foundation/NSDictionary.h:70: Warnung: using »-(id)objectForKey:(id)
> aKey«
> ../Foundation/NSUserDefaults.h:62: Warnung: also found »-(id)objectForK
> ey:(NSString *)defaultName«
> Defaults.m: In function `write_command':
> Defaults.m:179: Warnung: generating trampoline in object (requires exec
> utable stack)
> Defaults.m:179: Warnung: generating trampoline in object (requires exec
> utable stack)
>  Linking tool Defaults ...
> shared_obj/./GNU/Defaults.o(.text+0x115): In function `read_command':
> : undefined reference to `objc_get_class'
> shared_obj/./GNU/Defaults.o(.text+0x133): In function `read_command':
> : undefined reference to `objc_msg_lookup'
> shared_obj/./GNU/Defaults.o(.text+0x159): In function `read_command':
> : undefined reference to `objc_get_class'
> shared_obj/./GNU/Defaults.o(.text+0x177): In function `read_command':
> : undefined reference to `objc_msg_lookup'
> 
> [..and lots more of there "undefined reference to..." messages]
> 
> ../Foundation/shared_obj/./GNU/libFoundation.so: undefined reference to        
>                                                         
> `objc_msg_lookup_super'
> ../Foundation/shared_obj/./GNU/libFoundation.so: undefined reference to        
>                                                          `sel_get_name'
> collect2: ld gab 1 als Ende-Status zurück
> make[2]: *** [shared_obj/./GNU/Defaults] Fehler 1
> make[1]: *** [Defaults.all.tool.variables] Fehler 2
> make: *** [internal-all] Fehler 2
> 
> !!! ERROR: www-apps/opengroupware-1.1 failed.
> !!! Function src_compile, Line 97, Exitcode 2
> !!! make libFoundation failed
> !!! If you need support, post the topmost build error, NOT this status         
>                                                         message. 
> 
> Can someone help me with this one?
> 
> cheers!
> 


Yes, I can help you, I know this problem, it because the opengroupware.ebuild donwload gnustep-make Version 1.11.0 but you must use the version 1.10.0. The script download it too but it doesn't use it, search it on the /usr/portgae/distfiles/... you should found it.
This is the second problem I describe in the preview reply.

Good Luck, this is the last effort, after that Ogo run!!!!
Comment 143 Alexandre Ghisoli 2006-05-30 10:01:36 UTC
Created attachment 87880 [details]
opengroupware-1.1.3 ebuild

New ebuild !!!

Changes : 
o More Gentoo like ebuild, use of eclass functions
o Real objc extention detection (based on GNUstep eclass ideas)
o Use of gnustep-make-1.12.0, since 1.10 is no more available on GNU ftp site
o Added a lot comments, making more easy to maintain
o Added USE flags (ssl debug ffcall gcc-libffi reentrant sasl strip verbose)
o Install only need files (no more any GNUstep make related files)
o Use versions ! (build on top of 1.1.3-moveon)
o Install docs !! GPL needs specific files to be installed
o a toons of small update making this ebuild much more Gentoo complient (still need cleanup / work  / maybe split ...)

ATM, the sasl use is not working. I'll release a patch as soon I can fix it. Please also download separate files (50_opengroupware.conf opengroupware.conf.d) as they was modified to match new ebuild system.
Comment 144 Alexandre Ghisoli 2006-05-30 10:03:10 UTC
Created attachment 87881 [details]
50_opengroupware.conf

Configuration file for 1.1.3 ebuild
Comment 145 Alexandre Ghisoli 2006-05-30 10:03:59 UTC
Created attachment 87882 [details]
opengroupware.conf.d

/etc/conf.d init configuration file
Comment 146 Alexander Look 2006-05-31 17:06:15 UTC
Hi!

The new ebuild worked perfect for me! thanks! Everything compiled without errors. I managed to create the postgres database as explained by the ebuild.

But now, when I try to run

/usr/local/bin/Defaults write NSGlobalDomain TimeZoneName GMT

I get a segfault:

01.06.2006 02:04:03	zion	Defaults[18194]	segfault at 00002aaaab05da0f rip 00002aaaab05d800 rsp 00007fffff876fa8 error 7

Now that i'm so close, can someone help me with this?

Thanks!
Comment 147 Alexandre Ghisoli 2006-06-01 00:00:03 UTC
(In reply to comment #140)
> Hi!
> 
> The new ebuild worked perfect for me! thanks! Everything compiled without
> errors. I managed to create the postgres database as explained by the ebuild.
> 
> But now, when I try to run
> 
> /usr/local/bin/Defaults write NSGlobalDomain TimeZoneName GMT
> 
> I get a segfault:
> 
> 01.06.2006 02:04:03     zion    Defaults[18194] segfault at 00002aaaab05da0f
> rip 00002aaaab05d800 rsp 00007fffff876fa8 error 7

This is probably because libraries linker problem. Could you give more info :
* Make sure your ldap kit is ok
* Maybe a revdep-rebuild to check lib consistency
* What compiler you use (gcc-config -l)
* Output of ldd /usr/local/bin/Defaults

And at last ressort, if there is no usefull information from below, use debugger :
http://www.gentoo.org/proj/en/qa/backtraces.xml


Comment 148 Alexander Look 2006-06-01 08:17:21 UTC
Ok, thanks. Here is some more information:

- My LDAP is up & running (I'm using Kolab right now), so I guess everything is OK.

- revdep-rebuild rebuilded firefox and dbus, but nothing concerning OGo

- gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.5 *
 [2] x86_64-pc-linux-gnu-3.4.5-hardened
 [3] x86_64-pc-linux-gnu-3.4.5-hardenednopie
 [4] x86_64-pc-linux-gnu-3.4.5-hardenednopiessp
 [5] x86_64-pc-linux-gnu-3.4.5-hardenednossp

- ldd /usr/local/bin/Defaults
        libFoundation.so.1.0 => /usr/local/lib/libFoundation.so.1.0 (0x00002aaaaabc2000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaaaeba000)
        libobjc.so.lf2 => /usr/local/lib/libobjc.so.lf2 (0x00002aaaab050000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaab168000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaab2ee000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaab515000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)

- Output of gdb:

(gdb) set args write NSGlobalDomain TimeZoneName GMT
(gdb) run
Starting program: /usr/local/bin/Defaults write NSGlobalDomain TimeZoneName GMT
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 23038)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 23038)]
0x00002aaaab05d800 in __objc_exec_module (module=0x2aaaaae3a8a0) at init.c:527
527     init.c: Datei oder Verzeichnis nicht gefunden.
        in init.c
Current language:  auto; currently c

"Datei oder Verzeichniss nicht gefunden" is the german "File not found"

If you need more information just let me know!
Comment 149 Alexandre Ghisoli 2006-06-01 08:56:00 UTC
(In reply to comment #142)
> Ok, thanks. Here is some more information:
> 
> - My LDAP is up & running (I'm using Kolab right now), so I guess everything is
> OK.
> 
> - revdep-rebuild rebuilded firefox and dbus, but nothing concerning OGo
> 
> - gcc-config -l
>  [1] x86_64-pc-linux-gnu-3.4.5 *
>  [2] x86_64-pc-linux-gnu-3.4.5-hardened
>  [3] x86_64-pc-linux-gnu-3.4.5-hardenednopie
>  [4] x86_64-pc-linux-gnu-3.4.5-hardenednopiessp
>  [5] x86_64-pc-linux-gnu-3.4.5-hardenednossp

Oh, amd64 here :) 
I've tried OGo on an Opteron and just work fine. I'm running gcc 4.1.0 and NPTL glibc.
Really dont know if this can help.

> - ldd /usr/local/bin/Defaults
>         libFoundation.so.1.0 => /usr/local/lib/libFoundation.so.1.0
> (0x00002aaaaabc2000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaaaeba000)
>         libobjc.so.lf2 => /usr/local/lib/libobjc.so.lf2 (0x00002aaaab050000)
>         libm.so.6 => /lib/libm.so.6 (0x00002aaaab168000)
>         libc.so.6 => /lib/libc.so.6 (0x00002aaaab2ee000)
>         libdl.so.2 => /lib/libdl.so.2 (0x00002aaaab515000)
>         /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)

Mean  that kit is okay. I've pretty much the same here.

> - Output of gdb:
> 
> (gdb) set args write NSGlobalDomain TimeZoneName GMT
> (gdb) run
> Starting program: /usr/local/bin/Defaults write NSGlobalDomain TimeZoneName GMT
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 23038)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 23038)]
> 0x00002aaaab05d800 in __objc_exec_module (module=0x2aaaaae3a8a0) at init.c:527
> 527     init.c: Datei oder Verzeichnis nicht gefunden.
>         in init.c
> Current language:  auto; currently c
> 
> "Datei oder Verzeichniss nicht gefunden" is the german "File not found"
> 
> If you need more information just let me know!

Maybe a backtrace could help too.

Does 
Defaults read 

gives you something ?

I dont see what going wrong on your system. I suggest you ask on OGo mailing lists.

Comment 150 Haldir 2006-06-05 13:31:59 UTC
I see that finally someone took over to write an ebuild with all current fixes :)
I especially like the objc checks and the cleanup for the installation code :)
Kinda funny that the original ebuild that I wrote some two years ago still is working partially.
I kinda hoped OGo would develop to something without that heavily patched libFoundation.
Comment 151 Alexandre Ghisoli 2006-06-06 00:06:38 UTC
(In reply to comment #144)
> I see that finally someone took over to write an ebuild with all current fixes
> :)
> I especially like the objc checks and the cleanup for the installation code :)
> Kinda funny that the original ebuild that I wrote some two years ago still is
> working partially.

Yes, thank you for your work. I spend a lot of time to understand how thinks works, and this is why I dropped some comments in ebuild, making esaier (I hope) to understand for people want to contribute.

I've also some pending patches to this ebuild, making smoothier to install.

> I kinda hoped OGo would develop to something without that heavily patched
> libFoundation.

They will move avay this libFoundation to stick with gstep-base.
Helge Hess, the main dev from OGo said :
"Well, and when we finally move to gstep-base to get Unicode, 
gstep-base properly checks Unicode sequences (I recently discussed 
that with a gstep-base maintainer in exactly this context (pgsql utf-8))."

So, no timeframe, but this could be a long term move.
Comment 152 Gerald 2006-06-21 02:11:39 UTC
Hi!
I installed opengroupware using the new ebuild. it is up and running, but whenever I go to "Email" or Preferences->Display, I end up with 

### child 19350 (#1) was terminated by signal 11 (uptime=20s).

I haven't made any special setup changes, the error came with a plain install from the very beginning.

Any Ideas?
Thanks!
(Gerald)
Comment 153 Alexandre Ghisoli 2006-06-21 23:56:42 UTC
(In reply to comment #146)
> Hi!
> I installed opengroupware using the new ebuild. it is up and running, but
> whenever I go to "Email" or Preferences->Display, I end up with 
> 
> ### child 19350 (#1) was terminated by signal 11 (uptime=20s).
> 
> I haven't made any special setup changes, the error came with a plain install
> from the very beginning.

Somes reported that aggressive CFLAGS could produce a broken binaries.
Try to remove any -O2 -fomit-frame-pointer ... from your CFLAGS.

Probably it's a good idea to post on OpenGroupware mailing list, since I'm not a OGo dev :)

Then, provide a full backtrace debug, this helps a lot to track down the problem. Probably enable debug in ebuild will also make your crash dump more usefull (http://www.gentoo.org/proj/en/qa/backtraces.xml).



Comment 154 Fabian Groffen gentoo-dev 2006-06-22 01:01:19 UTC
what I'm wondering about is... why doesn't this ebuild just depend on "=gnustep-make-1.12.*" instead of doing it all itself inline as a dirty trick?  We have gnustep-make-1.12.0 in the tree out of package.mask now, so if this ebuild needs it, it should certainly use it.  It would probably clean up the ebuild a bit, which is an absolute necessity if this is supposed to ever get into the official tree.
Technically, you just *have* to use it IMHO, because if there are bugs fixed, they will be fixed in the gnustep-make package, not in the one inline in the ebuild.

2 cents from gnustep here.
Comment 155 Alexandre Ghisoli 2006-06-22 02:16:56 UTC
(In reply to comment #148)
> what I'm wondering about is... why doesn't this ebuild just depend on
> "=gnustep-make-1.12.*" instead of doing it all itself inline as a dirty trick? 
> We have gnustep-make-1.12.0 in the tree out of package.mask now, so if this
> ebuild needs it, it should certainly use it.  It would probably clean up the
> ebuild a bit, which is an absolute necessity if this is supposed to ever get
> into the official tree.
> Technically, you just *have* to use it IMHO, because if there are bugs fixed,
> they will be fixed in the gnustep-make package, not in the one inline in the
> ebuild.

I'm not a GNUstep guru, but I've tried to make this ebuild with the use of gnustep-make-1.12 ebuild. No success ;

1/ OGo uses a heavy patched libFoudation, that doenst fit very well with the original GNUstep env. To avoid "regular" GNUstep installation, I've choose to use my own toolkit.

2/ I dont install OGo inside GNUstep toolkit, too much libraries problem (OGo seems to use hardcoded library links, making hard to maintain.

I agree, this is somewhat uggly, but after many hours spent to make OGo compile on Gentoo (with several separate packages), this monolitic one is probably the much stable ebuild we can make.

So, this is why, until OGo team move on gnustep-base toolkit, I've used a _private_ building kit, and doesnt not use any system GNUstep dependencies.

As final words, the OGo team *recomend to not* use system GNUstep make :)
http://sope.opengroupware.org/en/build/thirdparty.html
Comment 156 Warren Howard 2006-07-05 07:02:26 UTC
Hi,

I'm trying this ebuild out.  And have faced two issues to date.

i) I was facing a minor problem with the subversion download and the squid http proxy.  I added proxy settings to ~/.subversion/server, but was still unable to download, then I created /etc/subversion/server and added the proxy settings.  This worked, but then I discovered I also needed to add "extension_methods REPORT MERGE MKACTIVITY CHECKOUT" to squid.conf.  With the above conditions met, "emerge opengroupware" was then able to download the required source from svn.

ii) The emerge stopped with the following error.  I've got no idea why and I've not looked into it further.  I thought at least I'd post it here while the error were still on screen.

 Linking library libNGLdap ...
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsasl
collect2: ld returned 1 exit status
make[2]: Leaving directory `/var/tmp/portage/opengroupware-1.1.3/work/opengroupware-1.1.3/SOPE/sope-ldap/NGLdap'
Making all in samples...
make[2]: Entering directory `/var/tmp/portage/opengroupware-1.1.3/work/opengroupware-1.1.3/SOPE/sope-ldap/samples'
Making all for tool ldapls...
 Compiling file ldapls.m ...
 Linking tool ldapls ...
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lNGLdap
collect2: ld returned 1 exit status
make[3]: *** [shared_debug_obj/ldapls] Error 1
make[2]: *** [ldapls.all.tool.variables] Error 2
make[2]: Leaving directory `/var/tmp/portage/opengroupware-1.1.3/work/opengroupware-1.1.3/SOPE/sope-ldap/samples'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/var/tmp/portage/opengroupware-1.1.3/work/opengroupware-1.1.3/SOPE/sope-ldap'
make: *** [internal-all] Error 2

!!! ERROR: net-misc/opengroupware-1.1.3 failed.
!!! Function src_compile, Line 273, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 157 Alexandre Ghisoli 2006-07-05 11:44:38 UTC
(In reply to comment #150)
> i) I was facing a minor problem with the subversion download and the squid http
> proxy.  I added proxy settings to ~/.subversion/server, but was still unable to
> download, then I created /etc/subversion/server and added the proxy settings. 
> This worked, but then I discovered I also needed to add "extension_methods
> REPORT MERGE MKACTIVITY CHECKOUT" to squid.conf.  With the above conditions
> met, "emerge opengroupware" was then able to download the required source from
> svn.

Like decribed in http://subversion.tigris.org/faq.html#proxy

> ii) The emerge stopped with the following error.  I've got no idea why and I've
> not looked into it further.  I thought at least I'd post it here while the
> error were still on screen.
> 
>  Linking library libNGLdap ...
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -lsasl
> collect2: ld returned 1 exit status
> make[2]: Leaving directory


Did you enable the sasl USE ? If so, don't. 
This is a bugged flag right now, and I'll probably remove it in my next ebuild. As far as I know, this is a workaround for very old LDAP libs, and no sense since OpenLDAP 2.0
Comment 158 Warren Howard 2006-07-06 07:36:07 UTC
Yes, sasl use flag was enabled.  I've used sasl in other packages.

My next attempt started like so.
USE="-sasl" emerge --ask --verbose opengroupware
and finished like so.

 * Finished Compiling
>>> Test phase [not enabled]: net-misc/opengroupware-1.1.3

>>> Install opengroupware-1.1.3 into /var/tmp/portage/opengroupware-1.1.3/image/ category net-misc
 * Prepare installation
chown: cannot access `/var/log/opengroupware': No such file or directory
ACCESS DENIED  lchown:    /var/lib/opengroupware
chown: changing ownership of `/var/lib/opengroupware': Permission denied
cp: cannot stat `/usr/local/portage/net-misc/opengroupware/files/opengroupware.startscript': No such file or directory
install: cannot stat `/var/tmp/portage/opengroupware-1.1.3/temp/opengroupware': No such file or directory

!!! ERROR: net-misc/opengroupware-1.1.3 failed.
!!! Function src_install, Line 372, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-misc_-_opengroupware-1.1.3-25494.log"

lchown:    /var/lib/opengroupware
--------------------------------------------------------------------------------


I guess finished compiling is a good thing!
After reviewing the above output I next did
mkdir /var/log/opengroupware
checkd the permissions of /var/lib/opengroupware (looks ok)
ls -ld /var/lib/opengroupware
drwxr-xr-x 2 ogo root 48 Jul  5 14:01 /var/lib/opengroupware
and
realised that I must not have downloaded all of the required files from this Bugzilla bug.  I didn't download the "Updated SVN Ebuild" attachment - kind of important.

My next emerge attempt, after downloading and incorporating the "Updated SVN Ebuild" with the "opengroupware-1.1.3 ebuild" and supplementary files finished like so.

>>> Completed installing opengroupware-1.1.3 into /var/tmp/portage/opengroupware-1.1.3/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-misc_-_opengroupware-1.1.3-2800.log"

lchown:    /var/log/opengroupware
lchown:    /var/lib/opengroupware
--------------------------------------------------------------------------------

Next I deleted /var/log/opengroupware and /var/lib/opengroupware and tried again.

This time the result was successful.

* OpenGoupware is now installed on your computer !
 *
 * Make sure that you enable PostgreSQL TCP/IP Sockets and Port
 * To finish your installation, you need to setup your database :
 * psql -h YourDBHost -U postgres -d template1
 *   template1=# CREATE USER ogoadmin WITH PASSWORD 'test';
 *   template1=# CREATE DATABASE ogodb;
 *   template1=# GRANT ALL ON DATABASE ogodb TO ogoadmin;
 *
 * Then load default database (the next command should be one line);
 *   psql -h YourDBHost -U ogoadmin -d ogodb -f \n *    /usr/local/share/opengroupware.org-1.1/database/pg-build-schema.psql
 *
 * Now, as ogo user, setup defaults to point out the correct database :
 * su ogo
 *   /usr/local/bin/Defaults write NSGlobalDomain TimeZoneName GMT
 *   /usr/local/bin/Defaults write NSGlobalDomain LSAdaptor PostgreSQL
 *   /usr/local/bin/Defaults write NSGlobalDomain Defaults write NSGlobalDomain \n *    LSConnectionDictionary '{databaseName = ogodb; hostName = YourDBHost; \n *    password = "test"; port = 5432; userName = ogoadmin}' # on one line
 *
 * Apache Setup :
 *   Add '-D OGo' in the APACHE2_OPTS
 *   Restart Apache, start OGo and connect to http://localhost/OpenGroupware
>>> Regenerating /etc/ld.so.cache...
>>> net-misc/opengroupware-1.1.3 merged.
>>> Recording net-misc/opengroupware in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * Regenerating GNU info directory index...
 * Processed 6 info files.

So if I knew what I was doing with SVN and proxies (esp setup /etc/subversion/..) and knew how to prepare the ebuild correctly and didn't use sasl use flag, then it should work fine!

Now I just need to go and muddle my way through the remainder of the setup!!

With thanks,

Warren.
Comment 159 Juergen Schinker 2006-07-16 09:01:52 UTC
install libFoundation.make /root/GNUstep/Library/Makefiles/Additional
ACCESS DENIED  open_wr:   /root/GNUstep/Library/Makefiles/Additional/libFoundation.make
install: cannot create regular file `/root/GNUstep/Library/Makefiles/Additional/libFoundation.make': Permission denied
make[1]: *** [after-install-patchit] Error 1
make[1]: Leaving directory `/var/tmp/portage/opengroupware-1.1.3/work/opengroupware-1.1.3/SOPE/libFoundation/Foundation'
make: *** [internal-install] Error 2

i tried everything changing rights deletin whole directory emerge gnustep-make
Comment 160 Warren Howard 2006-07-29 03:45:42 UTC
Hi,

Any chance of a 1.1.5 update?  The 1.1.3 ebuild is working well for me although I've found it is necessary to compile without the "-O2 -fomit-frame-pointer" CFLAGS.


Thanks,


Warren.
Comment 161 Alexandre Ghisoli 2006-08-03 10:14:24 UTC
(In reply to comment #153)
> install libFoundation.make /root/GNUstep/Library/Makefiles/Additional
> ACCESS DENIED  open_wr:  
> /root/GNUstep/Library/Makefiles/Additional/libFoundation.make
> install: cannot create regular file
> `/root/GNUstep/Library/Makefiles/Additional/libFoundation.make': Permission
> denied
> make[1]: *** [after-install-patchit] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/opengroupware-1.1.3/work/opengroupware-1.1.3/SOPE/libFoundation/Foundation'
> make: *** [internal-install] Error 2
> 
> i tried everything changing rights deletin whole directory emerge gnustep-make


just emerge -C gnustep-make.

OpenGroupware doesnt support (at least until 1.1.5) system installation gnustep-make. This is a known limitation, and I will adapt my ebuild to mark gnustep-make as blocking.

--Alexandre
Comment 162 Alexandre Ghisoli 2006-08-03 10:23:24 UTC
Dear OpenGroupware fans, 

The new 1.1.5 as some very good news; OGo will now work with GCC shipped ObjC, and libFoundation 1.1.3 is now based on non-modified GNU ObjC.

From http://sope.opengroupware.org/en/ :
SOPE 4.5.8 is the 8th official trunk snapshot (alpha) of the upcoming SOPE 4.6.
This release adds support for 64bit platforms and fixes all gcc 4.1 related compilation warnings. Support for the WebDrive WebDAV client was improved. Finally gnustep-objc got removed and libFoundation was bumbed to 1.1.3 which removes the requirement for a SOPE/lF specific libobjc.

So, I'll adapt the ebuild to compile 1.1.5, but still old fashion.

Then, I'll try to split the whole ebuild into GNUStep smaller packages, this will be a much cleaner approach.



Comment 163 Alexandre Ghisoli 2006-08-28 12:13:24 UTC
I still working on a GNUstep running tree. Version 1.1.6 is out now
Comment 164 Juergen Schinker 2006-08-29 03:20:07 UTC
(In reply to comment #157)
> I still working on a GNUstep running tree. Version 1.1.6 is out now
> 
yeah bring it on ....
do you need help or a tester?
Comment 165 Alexandre Ghisoli 2006-08-29 09:55:20 UTC
(In reply to comment #158)
> (In reply to comment #157)
> > I still working on a GNUstep running tree. Version 1.1.6 is out now
> > 
> yeah bring it on ....
> do you need help or a tester?
> 

Help is more than welcome !!
You can check my current status and files here :
http://www.ghisoli.ch/run/node/33

Thanks !

Comment 166 Alexandre Ghisoli 2006-08-30 12:30:22 UTC
Created attachment 95506 [details]
opengroupware-1.1.6.ebuild

This is my new 1.1.6 version.

Changelog :
o use gcc objc ! 
o better environnement checks to remove any system GNUstep env vars
o better debug use flag logic

Todo : seems not working on AMD64. I'm working on it.
Comment 167 Alexandre Ghisoli 2006-08-31 05:17:14 UTC
Created attachment 95551 [details, diff]
js2m.patch

This patch is usefull on amd64.
Comment 168 Alexandre Ghisoli 2006-08-31 05:23:28 UTC
Created attachment 95552 [details]
opengroupware-1.1.6.ebuild

This new ebuild support now amd64 arch.
Changes are .

o Doesnt use hard link for xxx/lib, but $(get_libdir), making xxx/lib64
o added a patch for js2m.sh shell script (dont forget to put it in your $FILEDIR
Comment 169 Mark 2006-09-10 22:09:12 UTC
When trying to emerge opengroupware I get this error.

 * checking miscfile checksums ;-) ...                                    [ ok ] * checking gnustep-make-1.12.0.tar.gz ;-) ...                            [ ok ]>>> Unpacking source...
>>> Unpacking gnustep-make-1.12.0.tar.gz to /var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6

!!! ERROR: www-apps/opengroupware-1.1.6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  opengroupware-1.1.6.ebuild, line 126:   Called subversion_src_unpack
  subversion.eclass, line 282:   Called subversion_fetch
  subversion.eclass, line 192:   Called die

!!! subversion.eclass: ESVN_REPO_URI and working copy's URL are not matched.
!!! If you need support, post the topmost build error, and the call stack if relevant.


I done I search on the forums and bugzilla but it looks like I have the fixed subversion.eclass. Any ideas?

thanks
Comment 170 Alexandre Ghisoli 2006-09-11 04:49:46 UTC
(In reply to comment #163)
> When trying to emerge opengroupware I get this error.
> 
>  * checking miscfile checksums ;-) ...                                    [ ok
> ] * checking gnustep-make-1.12.0.tar.gz ;-) ...                            [ ok
> ]>>> Unpacking source...
> >>> Unpacking gnustep-make-1.12.0.tar.gz to /var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6
> 
> !!! ERROR: www-apps/opengroupware-1.1.6 failed.
> Call stack:
>   ebuild.sh, line 1546:   Called dyn_unpack
>   ebuild.sh, line 708:   Called src_unpack
>   opengroupware-1.1.6.ebuild, line 126:   Called subversion_src_unpack
>   subversion.eclass, line 282:   Called subversion_fetch
>   subversion.eclass, line 192:   Called die
> 
> !!! subversion.eclass: ESVN_REPO_URI and working copy's URL are not matched.
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.
> 
> 
> I done I search on the forums and bugzilla but it looks like I have the fixed
> subversion.eclass. Any ideas?

I cannot reproduce the exact error message, but I've found that something has changed arround SVN eclass or portage itself, I havent searched more (lack of time), but as workaround :
FEATURES="-sandbox" emerge opengroupware

This is related to the security feature and the way how svn put files in /usr/portage/distfiles/svn-src/$ESVN_PROJECT

A portage dev check will be the best.
Comment 171 Mark 2006-09-11 11:44:01 UTC
What do I need to emerge for the deve subversion.eclass? I tried the FEATURES="-sandbox" but it didnt work :(
Comment 172 Marek Krolikowski 2006-09-25 02:00:53 UTC
After emerge opengroupware i have got a error :
make[1]: Leaving directory `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/libFoundation/examples'
install Foundation/libFoundation.make /var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep/Library/Makefiles/Additional/
 * SOPE

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/net-misc/opengroupware/files/js2m.patch
 *   ( js2m.patch )


!!! ERROR: net-misc/opengroupware-1.1.6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  opengroupware-1.1.6.ebuild, line 248:   Called epatch '/usr/portage/net-misc/opengroupware/files/js2m.patch'
  eutils.eclass, line 198:   Called die

!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, and the call stack if relevant.

wizja ~ # emerge --info
Portage 2.1.1 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) III CPU family      1133MHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 12:00:09 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/ http://gentoo.zie.pg.gda.pl/ http://gentoo.po.opole.pl/"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acpi acpi4linux alsa apache2 autofs berkdb bidi bitmap-fonts cli crypt devfs dlloader doc dri dvd eds elibc_glibc emboss encode expat foomaticdb fortran gdbm gif gpm gstreamer gtk2 hardened hardenedphp input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux ldap libg++ linguas_pl mad md5sum mikmod motif mp3 multiuser mysql ncurses nls no-htdocs objc odbc ogg pam pcre perl perlsuid php png pppd python qt3 qt4 readline reflection ruby samba sasl scenarios session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xml2 xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 173 Marek Krolikowski 2006-09-25 02:18:06 UTC
(In reply to comment #165)
> What do I need to emerge for the deve subversion.eclass? I tried the
> FEATURES="-sandbox" but it didnt work :(
> 

I have got it this same error like you ;)
Try: rm -rf /usr/portage/distfiles/* and give 
emerge opengroupware
working for me :))
Comment 174 Alexandre Ghisoli 2006-09-25 06:39:30 UTC
(In reply to comment #166)
> After emerge opengroupware i have got a error :
> make[1]: Leaving directory
> `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/libFoundation/examples'
> install Foundation/libFoundation.make
> /var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep/Library/Makefiles/Additional/
>  * SOPE
> 
>  * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
>  *
>  *   /usr/portage/net-misc/opengroupware/files/js2m.patch
>  *   ( js2m.patch )

You forgot to download this file from the bug's attachement filelist :
js2m.patch   	 patch   	2006-08-31 05:17 PST  	677 bytes
Comment 175 Marek Krolikowski 2006-09-25 23:29:37 UTC
Ok i compile everythink and working :)
But when i Add '-D OGo' in the APACHE2_OPTS i have got error:
wizja ~ # /etc/init.d/apache2 restart
 * Caching service dependencies ...                                                                                                                     [ ok ]
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 4 of /etc/apache2/modules.d/50_opengroupware.conf:
Cannot load /opt/opengroupware.org/WebServer/ngobjweb_2.0.49.so into server: /opt/opengroupware.org/WebServer/ngobjweb_2.0.49.so: cannot open shared object file: No such file or directory

I check and i do not have this file :(
Comment 176 Alexandre Ghisoli 2006-09-26 05:35:04 UTC
(In reply to comment #169)
> Ok i compile everythink and working :)
> But when i Add '-D OGo' in the APACHE2_OPTS i have got error:
> wizja ~ # /etc/init.d/apache2 restart
>  * Caching service dependencies ...                                            
>                                                                         [ ok ]
>  * Apache2 has detected a syntax error in your configuration files:
> Syntax error on line 4 of /etc/apache2/modules.d/50_opengroupware.conf:
> Cannot load /opt/opengroupware.org/WebServer/ngobjweb_2.0.49.so into server:
> /opt/opengroupware.org/WebServer/ngobjweb_2.0.49.so: cannot open shared object
> file: No such file or directory
> 
> I check and i do not have this file :(

Please update your opengroupeware/files with 
50_opengroupware.conf   text/plain  2006-05-30 10:03 PST  563 bytes  	 

Apache conenctor should be modules/mod_ngobjweb.so in your default apache's module location.

All OGo tree lives now in /usr/local, no more /opt stuff.
Comment 177 Marek Krolikowski 2006-09-26 22:51:09 UTC
OK i compile again and everything is all right :)
I restart apache but when i try start start opengroupware i have got it error:
/etc/init.d/opengroupware: line 22: /usr/local/Makefiles/GNUstep.sh: no such file or diretory

I try find GNUstep.sh file but i do not have got it!!
The next problem is with /etc/conf.d/opengroupware file anybody can paste me here that file?
Greet`s
Comment 178 Alexandre Ghisoli 2006-09-27 04:38:34 UTC
Created attachment 98216 [details]
Startup script

 /etc/init.d/opengroupware

This is the default startup script.
Comment 179 Alexandre Ghisoli 2006-09-27 04:46:18 UTC
(In reply to comment #171)
> OK i compile again and everything is all right :)
> I restart apache but when i try start start opengroupware i have got it error:
> /etc/init.d/opengroupware: line 22: /usr/local/Makefiles/GNUstep.sh: no such
> file or diretory

please update this file  :
opengroupware.conf.d text/plain  2006-05-30 10:03 PST  	460 bytes

and this one :
Startup script   text/plain  2006-09-27 04:38 PST  896 bytes

You have to install them in your /files subdirectory where OGo ebuild is.

> I try find GNUstep.sh file but i do not have got it!!
> The next problem is with /etc/conf.d/opengroupware file anybody can paste me
> here that file?

Ebuild in bug system are for developpers and brave only; maybe you have to debug them ourself ;)
Comment 180 Marek Krolikowski 2006-09-27 05:04:13 UTC
Ok!
I have got it now this files:
in: /usr/local/portage/net-misc/opegroupware
-rwx------ 1 root root 13749 wrz 27 13:56 opengroupware-1.1.6.ebuild
in: /usr/local/portage/net-misc/opegroupware/files
-rwx------ 1 root root 563 wrz 27 13:58 50_opengroupware.conf
-rwx------ 1 root root 677 wrz 27 13:57 js2m.patch
-rwx------ 1 root root 460 wrz 27 13:58 opengroupware.conf.d
-rwx------ 1 root root 896 wrz 27 13:57 opengroupware.startscript


Now is OK??
Greet`s
Comment 181 Marek Krolikowski 2006-09-28 03:16:51 UTC
After:
wizja ~ # psql -h localhost -U postgres -d template1
             template1=# CREATE USER ogoadmin WITH PASSWORD 'test';
             template1=# CREATE DATABASE ogodb;
             template1=# GRANT ALL ON DATABASE ogodb TO ogoadmin;
wizja ~ # psql -h localhost -U ogoadmin -d ogodb -f /usr/local/share/opengroupware.org-1.1/database/pg-build-schema.psql
wizja ~ # su ogo
ogo@wizja ~ $ /usr/local/bin/Defaults write NSGlobalDomain TimeZoneName GMT
ogo@wizja ~ $ /usr/local/bin/Defaults write NSGlobalDomain LSAdaptor PostgreSQL
ogo@wizja ~ $ /usr/local/bin/Defaults write NSGlobalDomain LSConnectionDictionary '{databaseName = ogodb; hostName = localhost; password = "test"; port = 5432; userName = ogoadmin}'

And i add '-D OGo' in the APACHE2_OPTS in /etc/conf.d/apache2
I restart Apache, start opengroupware and connect to http://localhost/OpenGroupware and i have got it error:

 The SKYRIX application server could not connect to the database server !

Please ensure that your database server is running and that the LSConnectionDictionary default is correctly set.

Current database configuration:
database: 	ogodb
server: 	localhost
user: 	ogoadmin

Greets
Comment 182 Alexandre Ghisoli 2006-09-28 05:30:40 UTC
(In reply to comment #175)
> After:
> wizja ~ # psql -h localhost -U postgres -d template1
>              template1=# CREATE USER ogoadmin WITH PASSWORD 'test';
>              template1=# CREATE DATABASE ogodb;
>              template1=# GRANT ALL ON DATABASE ogodb TO ogoadmin;
> wizja ~ # psql -h localhost -U ogoadmin -d ogodb -f
> /usr/local/share/opengroupware.org-1.1/database/pg-build-schema.psql
> wizja ~ # su ogo
> ogo@wizja ~ $ /usr/local/bin/Defaults write NSGlobalDomain TimeZoneName GMT
> ogo@wizja ~ $ /usr/local/bin/Defaults write NSGlobalDomain LSAdaptor PostgreSQL
> ogo@wizja ~ $ /usr/local/bin/Defaults write NSGlobalDomain
> LSConnectionDictionary '{databaseName = ogodb; hostName = localhost; password =
> "test"; port = 5432; userName = ogoadmin}'
> 
> And i add '-D OGo' in the APACHE2_OPTS in /etc/conf.d/apache2
> I restart Apache, start opengroupware and connect to
> http://localhost/OpenGroupware and i have got it error:
> 
>  The SKYRIX application server could not connect to the database server !
> 
> Please ensure that your database server is running and that the
> LSConnectionDictionary default is correctly set.
> 
> Current database configuration:
> database:       ogodb
> server:         localhost
> user:   ogoadmin
> 

Be sure to have your posgreSQL server configured with that username / password, database created and loaded with initial data look for that file :
/usr/local/lib/opengroupware.org-1.1/commands/OGo.model/Resources/pg-build-schema.psql

make sure you can connect to PostgreSQL server with psql command line. You should open TCP/IP connection for Pg in /etc/conf.d/postgresql :
PGOPTS="-i"

Also, check documentation :
/usr/share/doc/opengroupware-1.1.6/INSTALL.gz
Comment 183 Ladislav Laska 2006-10-06 07:19:49 UTC
Hello, 

I've just installed opengroupware, and I've found a very small, mini-bug. The ebuild creates /var/lib/opengroupware directory, but the default conf.d script containts /var/lib/opengroupware.org path. It can be easily changen when nex update.
Comment 184 Marek Krolikowski 2006-10-17 03:56:51 UTC
> Be sure to have your posgreSQL server configured with that username / password,
> database created and loaded with initial data look for that file :
> /usr/local/lib/opengroupware.org-1.1/commands/OGo.model/Resources/pg-build-schema.psql
> 
> make sure you can connect to PostgreSQL server with psql command line. You
> should open TCP/IP connection for Pg in /etc/conf.d/postgresql :
> PGOPTS="-i"
> 
> Also, check documentation :
> /usr/share/doc/opengroupware-1.1.6/INSTALL.gz
> 

Not working. I have got it -i option.
i have got it error in log when i try: http://domain/OpenGroupware:

172.23.1.146 - - [17/Oct/2006:10:42:40 GMT] "GET /OpenGroupware HTTP/1.1" 200 1276/0 0.005 4237 69% 0
Oct 17 10:45:09 ogo-webui-1.1 [24351]: OGoContextManager: could not open adaptor channel
172.23.1.50 - - [17/Oct/2006:10:45:09 GMT] "GET /OpenGroupware HTTP/1.1" 200 1276/0 0.006 4237 69% 0
Oct 17 10:51:19 ogo-webui-1.1 [24351]: OGoContextManager: could not open adaptor channel
Comment 185 Jose San Leandro 2006-10-17 23:31:23 UTC
Created attachment 99917 [details, diff]
A patch to fix the folder mismatch in opengroupware.conf.d

It's not a patch over the opengroupware code, but to the attachment.
Comment 186 Jose San Leandro 2006-10-17 23:32:33 UTC
Created attachment 99918 [details]
The fixed opengroupware.conf.d

The original opengroupware.conf.d with the fixed folder location.
Comment 187 Jose San Leandro 2006-10-17 23:50:03 UTC
(In reply to comment #178)
> > Be sure to have your posgreSQL server configured with that username / password,
> > database created and loaded with initial data look for that file :
> > /usr/local/lib/opengroupware.org-1.1/commands/OGo.model/Resources/pg-build-schema.psql
> > 
> > make sure you can connect to PostgreSQL server with psql command line. You
> > should open TCP/IP connection for Pg in /etc/conf.d/postgresql :
> > PGOPTS="-i"
> > 
> > Also, check documentation :
> > /usr/share/doc/opengroupware-1.1.6/INSTALL.gz
> > 
> 
> Not working. I have got it -i option.
> i have got it error in log when i try: http://domain/OpenGroupware:
> 
> 172.23.1.146 - - [17/Oct/2006:10:42:40 GMT] "GET /OpenGroupware HTTP/1.1" 200
> 1276/0 0.005 4237 69% 0
> Oct 17 10:45:09 ogo-webui-1.1 [24351]: OGoContextManager: could not open
> adaptor channel
> 172.23.1.50 - - [17/Oct/2006:10:45:09 GMT] "GET /OpenGroupware HTTP/1.1" 200
> 1276/0 0.006 4237 69% 0
> Oct 17 10:51:19 ogo-webui-1.1 [24351]: OGoContextManager: could not open
> adaptor channel
> 

The same happened to me. It seems there're two NSGlobalDomain.plist, one in
/usr/local/share/libFoundation/Defaults and the other in /var/lib/opengroupware/.libFoundation/Defaults.

I executed:
rm -f /usr/local/share/libFoundation/Defaults/NSGlobalDomain.plist
ln -s /var/lib/opengroupware/.libFoundation/Defaults/NSGlobalDomain.plist /usr/local/share/libFoundation/Defaults/

Now I still get the "Cannot open adaptor" message, but at least it's trying to connect to the server I specified.
Comment 188 Jose San Leandro 2006-10-17 23:52:49 UTC
(In reply to comment #181)
> (In reply to comment #178)
> > > Be sure to have your posgreSQL server configured with that username / password,
> > > database created and loaded with initial data look for that file :
> > > /usr/local/lib/opengroupware.org-1.1/commands/OGo.model/Resources/pg-build-schema.psql
> > > 
> > > make sure you can connect to PostgreSQL server with psql command line. You
> > > should open TCP/IP connection for Pg in /etc/conf.d/postgresql :
> > > PGOPTS="-i"
> > > 
> > > Also, check documentation :
> > > /usr/share/doc/opengroupware-1.1.6/INSTALL.gz
> > > 
> > 
> > Not working. I have got it -i option.
> > i have got it error in log when i try: http://domain/OpenGroupware:
> > 
> > 172.23.1.146 - - [17/Oct/2006:10:42:40 GMT] "GET /OpenGroupware HTTP/1.1" 200
> > 1276/0 0.005 4237 69% 0
> > Oct 17 10:45:09 ogo-webui-1.1 [24351]: OGoContextManager: could not open
> > adaptor channel
> > 172.23.1.50 - - [17/Oct/2006:10:45:09 GMT] "GET /OpenGroupware HTTP/1.1" 200
> > 1276/0 0.006 4237 69% 0
> > Oct 17 10:51:19 ogo-webui-1.1 [24351]: OGoContextManager: could not open
> > adaptor channel
> > 
> 
> The same happened to me. It seems there're two NSGlobalDomain.plist, one in
> /usr/local/share/libFoundation/Defaults and the other in
> /var/lib/opengroupware/.libFoundation/Defaults.
> 
> I executed:
> rm -f /usr/local/share/libFoundation/Defaults/NSGlobalDomain.plist
> ln -s /var/lib/opengroupware/.libFoundation/Defaults/NSGlobalDomain.plist
> /usr/local/share/libFoundation/Defaults/
> 
> Now I still get the "Cannot open adaptor" message, but at least it's trying to
> connect to the server I specified.
> 

After removing the single quotes from the hostName entry in LSConnectionDictionary it's finally connecting to the database.
Comment 189 Marek Krolikowski 2006-10-18 02:03:57 UTC
Now is working!
I must change coding LATIN2 to LATIN1 :)
After i logging in and click: News opengroupware crash!
Application Server caught exception:

  session: 1AF51AF5014535ED14
  element: 
  context: <0x0x88e6cfc[WOContext]: 0044535ed19088e6cfc app=ogo-webui-1.1 sn=1AF51AF5014535ED14 eid= rqeid=>
  request: <WORequest[0x0x88b497c]: method=GET uri=/OpenGroupware.woa/x/dock?woinst=6901&page=SkyNews&cid=0034535ed140888e84c&wosid=1AF51AF5014535ED14 app=OpenGroupware rqKey=x rqPath=dock>

  class:   LSDBObjectCommandException
  name:    LSDBObjectCommandException
  reason:  userdefaults::write failed: LSAttachmentPath is not properly configured!
  info:
    {
    callStack = (
        "userdefaults::write (class=LSWriteUserDefaultsCommand, self=0x0x8a58074)"
    );
}


Greet`s
Comment 190 Jose San Leandro 2006-10-18 22:02:50 UTC
(In reply to comment #183)
> Now is working!
> I must change coding LATIN2 to LATIN1 :)
> After i logging in and click: News opengroupware crash!
> Application Server caught exception:
> 
>   session: 1AF51AF5014535ED14
>   element: 
>   context: <0x0x88e6cfc[WOContext]: 0044535ed19088e6cfc app=ogo-webui-1.1
> sn=1AF51AF5014535ED14 eid= rqeid=>
>   request: <WORequest[0x0x88b497c]: method=GET
> uri=/OpenGroupware.woa/x/dock?woinst=6901&page=SkyNews&cid=0034535ed140888e84c&wosid=1AF51AF5014535ED14
> app=OpenGroupware rqKey=x rqPath=dock>
> 
>   class:   LSDBObjectCommandException
>   name:    LSDBObjectCommandException
>   reason:  userdefaults::write failed: LSAttachmentPath is not properly
> configured!
>   info:
>     {
>     callStack = (
>         "userdefaults::write (class=LSWriteUserDefaultsCommand,
> self=0x0x8a58074)"
>     );
> }
> 
> 
> Greet`s
> 

I fixed this creating the "documents" folder (see og faq (http://www.opengroupware.org/en/users/faq/index.html):

su - ogo
mkdir documents
Comment 191 Jose San Leandro 2006-10-18 22:10:25 UTC
(In reply to comment #184)
> (In reply to comment #183)
> > Now is working!
> > I must change coding LATIN2 to LATIN1 :)
> > After i logging in and click: News opengroupware crash!
> > Application Server caught exception:
> > 
> >   session: 1AF51AF5014535ED14
> >   element: 
> >   context: <0x0x88e6cfc[WOContext]: 0044535ed19088e6cfc app=ogo-webui-1.1
> > sn=1AF51AF5014535ED14 eid= rqeid=>
> >   request: <WORequest[0x0x88b497c]: method=GET
> > uri=/OpenGroupware.woa/x/dock?woinst=6901&page=SkyNews&cid=0034535ed140888e84c&wosid=1AF51AF5014535ED14
> > app=OpenGroupware rqKey=x rqPath=dock>
> > 
> >   class:   LSDBObjectCommandException
> >   name:    LSDBObjectCommandException
> >   reason:  userdefaults::write failed: LSAttachmentPath is not properly
> > configured!
> >   info:
> >     {
> >     callStack = (
> >         "userdefaults::write (class=LSWriteUserDefaultsCommand,
> > self=0x0x8a58074)"
> >     );
> > }
> > 
> > 
> > Greet`s
> > 
> 
> I fixed this creating the "documents" folder (see og faq
> (http://www.opengroupware.org/en/users/faq/index.html):
> 
> su - ogo
> mkdir documents
> 

I still got the error when creating a new project. For some reason, in some parts it was still thinking its home folder was /var/lib/opengroupware.org.
I added the LSAttachmentPath setting to NSGlobalDomain.plist:

LSAttachmentPath = /var/lib/opengroupware/documents;

I'm not sure whether it'll be enough, though.
Comment 192 Simon Matthews 2006-11-30 23:22:44 UTC
An upgrade from 1.1 to 1.1.6 results in a non-usable opengroupware install. If Opengroupware is uninstalled (and /usr/local/lib is cleaned out), then the ebuild of 1.1.6 will work. 

The problem is that when upgrading some files (/usr/loca/lib/libobjc.so.lf2   and /usr/local/lib/libobjc.so.lf2.95.3) remain as shared libraries in the resulting build, then these files are removed when the 1.1 build is unmerged and are not replaced.
Comment 193 Sascha Schulte 2007-01-03 01:49:53 UTC
I tried to install OGo 1.1.6 on a Vserver (Host: Gentoo as well as the vserver). Even though I had the objc, objc++ and objc-gc USE-flags set up before (re-)emerging gcc and libc on the vserver, I got this error each time I tried to compile OGo: 
i686-pc-linux-gnu-gcc: /var/tmp/portage/opengroupware-1.1.6/temp/objc_test.m: Objective-C compiler not installed on this system
 * ObjC Compiler is missing. Please re-emerge gcc with USE="objc"

I am using gcc-4.1.1. Is it possible that the installation of OGo on a Vserver is not supported (yet)?
Comment 194 Alexandre Ghisoli 2007-01-03 02:05:00 UTC
(In reply to comment #187)
> I tried to install OGo 1.1.6 on a Vserver (Host: Gentoo as well as the
> vserver). Even though I had the objc, objc++ and objc-gc USE-flags set up
> before (re-)emerging gcc and libc on the vserver, I got this error each time I
> tried to compile OGo: 
> i686-pc-linux-gnu-gcc: /var/tmp/portage/opengroupware-1.1.6/temp/objc_test.m:
> Objective-C compiler not installed on this system
>  * ObjC Compiler is missing. Please re-emerge gcc with USE="objc"
> 
> I am using gcc-4.1.1. Is it possible that the installation of OGo on a Vserver
> is not supported (yet)?
> 

Very unlikely, since there is no direct call to hardware.
I suspect something related with your gcc installation.
Be sure you selected the correct compiler (gcc-config -l and select the new one).
Also, check your CFLAGS, maybe there are some args that the compiler didnt understand.


Comment 195 Doug Smith 2007-01-11 23:34:57 UTC
(In reply to comment #194)
> (In reply to comment #187)
> > I tried to install OGo 1.1.6 on a Vserver (Host: Gentoo as well as the
> > vserver). Even though I had the objc, objc++ and objc-gc USE-flags set up
> > before (re-)emerging gcc and libc on the vserver, I got this error each time I
> > tried to compile OGo: 
> > i686-pc-linux-gnu-gcc: /var/tmp/portage/opengroupware-1.1.6/temp/objc_test.m:
> > Objective-C compiler not installed on this system
> >  * ObjC Compiler is missing. Please re-emerge gcc with USE="objc"
> > 
> > I am using gcc-4.1.1. Is it possible that the installation of OGo on a Vserver
> > is not supported (yet)?
> > 
> 
> Very unlikely, since there is no direct call to hardware.
> I suspect something related with your gcc installation.
> Be sure you selected the correct compiler (gcc-config -l and select the new
> one).
> Also, check your CFLAGS, maybe there are some args that the compiler didnt
> understand.
> 

I had this problem so I put "objc" into my USE statement and recompiled GCC and the problem was solved.
Comment 196 Doug Smith 2007-01-11 23:36:56 UTC
It seems like the SVN code is missing or moved.  When I emerge the 1.1.6 ebuild I get...

At revision 1397.
 *    working copy: /usr/portage/distfiles/svn-src/OGo-SOPE/4.5.9-maple

 * subversion check out start -->
 *      repository: http://svn.opengroupware.org/OpenGroupware.org/releases/1.1.6
svn: PROPFIND request failed on '/OpenGroupware.org/releases/1.1.6'
svn: Could not open the requested SVN filesystem

Can someone tell me the new path or what is wrong with the OpenGroupware.org tree?
Comment 197 Doug Smith 2007-01-12 16:38:07 UTC
(In reply to comment #196)7
> It seems like the SVN code is missing or moved.  When I emerge the 1.1.6 ebuild
> I get...
> 
> At revision 1397.
>  *    working copy: /usr/portage/distfiles/svn-src/OGo-SOPE/4.5.9-maple
> 
>  * subversion check out start -->
>  *      repository:
> http://svn.opengroupware.org/OpenGroupware.org/releases/1.1.6
> svn: PROPFIND request failed on '/OpenGroupware.org/releases/1.1.6'
> svn: Could not open the requested SVN filesystem
> 
> Can someone tell me the new path or what is wrong with the OpenGroupware.org
> tree?
> 
Here is the correct location.  Just replace the above in your ebuild with this to fix.

 http://svn.opengroupware.org/OpenGroupware.org/releases/1.1.6-yummy
Comment 198 Pedrom Adeli 2007-03-20 22:01:10 UTC
Anyone mind giving me a hand? I get this on install....

 Installing library libFoundation...
 Installing headers...
install ix86/linux-gnu/GNU/real_exception_file.h /var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep/Library/Headers/libFoundation/ix86/linux-gnu/GNU
install ix86/linux-gnu/GNU/lfmemory.h /var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep/Library/Headers/libFoundation/ix86/linux-gnu/GNU
install libFoundation.make /usr/GNUstep/System/Library/Makefiles/Additional
ACCESS DENIED  unlink:    /usr/GNUstep/System/Library/Makefiles/Additional/libFoundation.make
install: cannot remove `/usr/GNUstep/System/Library/Makefiles/Additional/libFoundation.make': Permission denied
make[1]: *** [after-install-patchit] Error 1
make[1]: Leaving directory `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/libFoundation/Foundation'
make: *** [internal-install] Error 2

!!! ERROR: net-misc/opengroupware-1.1.6 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  opengroupware-1.1.6.ebuild, line 240:   Called die

!!! make install failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-misc_-_opengroupware-1.1.6-9726.log"

unlink:    /usr/GNUstep/System/Library/Makefiles/Additional/libFoundation.make
--------------------------------------------------------------------------------

Thanks a bunch!
Comment 199 Alexandre Ghisoli 2007-03-20 23:39:42 UTC
(In reply to comment #198)
> Anyone mind giving me a hand? I get this on install....
> 
>  Installing library libFoundation...
>  Installing headers...
> install ix86/linux-gnu/GNU/real_exception_file.h
> /var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep/Library/Headers/libFoundation/ix86/linux-gnu/GNU
> install ix86/linux-gnu/GNU/lfmemory.h
> /var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep/Library/Headers/libFoundation/ix86/linux-gnu/GNU
> install libFoundation.make /usr/GNUstep/System/Library/Makefiles/Additional
> ACCESS DENIED  unlink:   
> /usr/GNUstep/System/Library/Makefiles/Additional/libFoundation.make
> install: cannot remove
> `/usr/GNUstep/System/Library/Makefiles/Additional/libFoundation.make':
> Permission denied
> make[1]: *** [after-install-patchit] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/libFoundation/Foundation'
> make: *** [internal-install] Error 2
> 
> !!! ERROR: net-misc/opengroupware-1.1.6 failed.
> Call stack:
>   ebuild.sh, line 1539:   Called dyn_compile
>   ebuild.sh, line 939:   Called src_compile
>   opengroupware-1.1.6.ebuild, line 240:   Called die
> 
> !!! make install failed
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.
> 
> --------------------------- ACCESS VIOLATION SUMMARY
> ---------------------------
> LOG FILE = "/var/log/sandbox/sandbox-net-misc_-_opengroupware-1.1.6-9726.log"
> 
> unlink:    /usr/GNUstep/System/Library/Makefiles/Additional/libFoundation.make
> --------------------------------------------------------------------------------
> 
> Thanks a bunch!

You probably running a machine with GNUstep stuff on it, and I dont know how to make a ebuild that will *not* install stuff in GNUstep tree, even if I specify a FHS clean install.

At this time OpenGroupware.org doesnt install in a GNUstep environement.
Comment 200 Pedrom Adeli 2007-03-21 23:31:06 UTC
I was able to get past the previous error by means of this:
GNUSTEP_CONFIG_FILE="";GNUSTEP_HOST_OS="";GNUSTEP_NETWORK_ROOT="";GNUSTEP_USER_DEFAULTS_DIR="";GNUSTEP_FLATTENED="";GNUSTEP_HOST_VENDOR="";GNUSTEP_PATHLIST="";GNUSTEP_USER_DIR="";GNUSTEP_HOST="";GNUSTEP_LOCAL_ROOT="";GNUSTEP_SYSTEM_ROOT="";GNUSTEP_USER_ROOT="";GNUSTEP_HOST_CPU="";GNUSTEP_MAKEFILES="";GNUSTEP_USER_CONFIG_FILE=""

however I am now getting this error:

collect2: ld returned 1 exit status
make[3]: *** [shared_debug_obj/saxxml] Error 1
make[2]: *** [saxxml.all.tool.variables] Error 2
make[2]: Leaving directory `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml/samples'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml'
make: *** [internal-all] Error 2

!!! ERROR: net-misc/opengroupware-1.1.6 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  opengroupware-1.1.6.ebuild, line 272:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

any ideas?
Thanks! 
Comment 201 Alexandre Ghisoli 2007-03-22 13:07:26 UTC
(In reply to comment #200)
> I was able to get past the previous error by means of this:
> GNUSTEP_CONFIG_FILE=...

Oh, thanks for this !
I can now unset thoses in the ebuild to bypass gnustep autodetection.

> however I am now getting this error:
> 
> collect2: ld returned 1 exit status
> make[3]: *** [shared_debug_obj/saxxml] Error 1
> make[2]: *** [saxxml.all.tool.variables] Error 2
> make[2]: Leaving directory
> `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml/samples'
> make[1]: *** [internal-all] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml'
> make: *** [internal-all] Error 2

Hum, you stripped too much error messages and I cannot see what fail in SOPE.

Comment 202 Pedrom Adeli 2007-03-22 20:42:24 UTC
ah, sorry about that


./shared_debug_obj/saxxml.o:(.data.rel+0x4): undefined reference to `__objc_class_name_NSAutoreleasePool'
./shared_debug_obj/saxxml.o:(.data.rel+0x8): undefined reference to `__objc_class_name_NSProcessInfo'
./shared_debug_obj/saxxml.o:(.data.rel+0xc): undefined reference to `__objc_class_name_NSFileManager'
./shared_debug_obj/saxxml.o:(.data.rel+0x1c): undefined reference to `__objc_class_name_NSString'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSCreateMapTable'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSSearchPathForDirectoriesInDomains'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSArray'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSStringFromClass'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSSelectorFromString'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSException'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSResetMapTable'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSMutableString'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSMapInsert'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSMapGet'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSClassFromString'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSStringFromSelector'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSAssertionHandler'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSBundle'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSObjectMapKeyCallBacks'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSUserDefaults'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSNonOwnedPointerMapValueCallBacks'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSFreeMapTable'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSMutableArray'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSObject'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `NSStandardLibraryPaths'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSMutableDictionary'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSDictionary'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to `__objc_class_name_NSNull'
collect2: ld returned 1 exit status
make[3]: *** [shared_debug_obj/saxxml] Error 1
make[2]: *** [saxxml.all.tool.variables] Error 2
make[2]: Leaving directory `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml/samples'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/var/tmp/portage/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml'
make: *** [internal-all] Error 2

!!! ERROR: net-misc/opengroupware-1.1.6 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  opengroupware-1.1.6.ebuild, line 272:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 203 Alexandre Ghisoli 2007-03-22 21:09:31 UTC
(In reply to comment #202)
...
> ./shared_debug_obj/saxxml.o:(.data.rel+0x4): undefined reference to
> `__objc_class_name_NSAutoreleasePool'


Hum, this is a library mix between libFoundation and the patched one from OpenOffice.org.

You have to check libFoundation lib, and find a way to tell OGo to use the source distributed, and not the system one.
Comment 204 Pedrom Adeli 2007-03-28 22:29:18 UTC
so I was able to install OGo... now I can't log on. I thought the password was null or the current root password?

General type of error I get from trying to use the ogo apps
hermes ~ # ogo-check-permission  -login root -password
Missing value for command line default 'password'.
Mar 28 21:50:16 ogo-check-permission [10212]: Note: storing cached vCards files in: '/var/lib/opengroupware.org/documents'
Mar 28 21:50:16 ogo-check-permission [10212]: account::change-password: using password field: 'userPassword'
Mar 28 21:50:16 ogo-check-permission [10212]: Note: members of role team 'team creators' are allowed to create teams.
Mar 28 21:50:16 ogo-check-permission [10212]: could not open channel to OGo@10.0.2.15
Mar 28 21:50:16 ogo-check-permission [10212]: OGoContextManager: could not open adaptor channel
<0x0x80a1724[CheckPermission]> could not login user 'root'


any ideas?
Comment 205 Alexandre Ghisoli 2007-03-29 07:47:06 UTC
(In reply to comment #204)
> so I was able to install OGo... now I can't log on. I thought the password was
> null or the current root password?
>

You should use the apache connector then connect via your browser to get in.
Log as admin or root, you should get in.


Maybe address your queries to OGo mailling lists, you probably get much more help.
Comment 206 Jason 2007-04-01 15:12:21 UTC
I cant get it to emerge right.. I have opengroupware-1.1.6 ebuild 
and the js2m.patch, but during the emerge, it pails to apply the patch.

 * SOPE
 * Applying js2m.patch ...

 * Failed Patch: js2m.patch !
 *  ( /usr/local/portage/net-misc/opengroupware/files/js2m.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-misc/opengroupware-1.1.6/temp/js2m.patch-6552.out


!!! ERROR: net-misc/opengroupware-1.1.6 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3526:   Called src_compile
  opengroupware-1.1.6.ebuild, line 248:   Called epatch '/usr/local/portage/net-misc/opengroupware/files/js2m.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: js2m.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-misc/opengroupware-1.1.6/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'


beast opengroupware # cat /var/tmp/portage/net-misc/opengroupware-1.1.6/temp/js2m.patch-6552.out
***** js2m.patch *****

======================

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/local/portage/net-misc/opengroupware/files/js2m.patch

======================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur 4.5.9-maple/sope-appserver/WEPrototype/js2m.sh alex-4.5.9-maple/sope-appserver/WEPrototype/js2m.sh
|--- 4.5.9-maple/sope-appserver/WEPrototype/js2m.sh     2006-08-29 17:50:21.000000000 +0200
|+++ alex-4.5.9-maple/sope-appserver/WEPrototype/js2m.sh        2006-08-30 23:49:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
patch: **** malformed patch at line 5: BACKPAT="s|\\\\|\\\\\\\\|g"

======================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/local/portage/net-misc/opengroupware/files/js2m.patch

======================
patching file sope-appserver/WEPrototype/js2m.sh
patch: **** malformed patch at line 5: BACKPAT="s|\\\\|\\\\\\\\|g"

======================

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /usr/local/portage/net-misc/opengroupware/files/js2m.patch

======================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur 4.5.9-maple/sope-appserver/WEPrototype/js2m.sh alex-4.5.9-maple/sope-appserver/WEPrototype/js2m.sh
|--- 4.5.9-maple/sope-appserver/WEPrototype/js2m.sh     2006-08-29 17:50:21.000000000 +0200
|+++ alex-4.5.9-maple/sope-appserver/WEPrototype/js2m.sh        2006-08-30 23:49:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
patch: **** malformed patch at line 5: BACKPAT="s|\\\\|\\\\\\\\|g"

======================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/local/portage/net-misc/opengroupware/files/js2m.patch

======================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur 4.5.9-maple/sope-appserver/WEPrototype/js2m.sh alex-4.5.9-maple/sope-appserver/WEPrototype/js2m.sh
|--- 4.5.9-maple/sope-appserver/WEPrototype/js2m.sh     2006-08-29 17:50:21.000000000 +0200
|+++ alex-4.5.9-maple/sope-appserver/WEPrototype/js2m.sh        2006-08-30 23:49:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
patch: **** malformed patch at line 5: BACKPAT="s|\\\\|\\\\\\\\|g"

======================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch < /usr/local/portage/net-misc/opengroupware/files/js2m.patch

======================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur 4.5.9-maple/sope-appserver/WEPrototype/js2m.sh alex-4.5.9-maple/sope-appserver/WEPrototype/js2m.sh
|--- 4.5.9-maple/sope-appserver/WEPrototype/js2m.sh     2006-08-29 17:50:21.000000000 +0200
|+++ alex-4.5.9-maple/sope-appserver/WEPrototype/js2m.sh        2006-08-30 23:49:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
patch: **** malformed patch at line 5: BACKPAT="s|\\\\|\\\\\\\\|g"

any ideas?
Comment 207 Alexandre Ghisoli 2007-04-02 12:44:30 UTC
(In reply to comment #206)
> I cant get it to emerge right.. I have opengroupware-1.1.6 ebuild 
> and the js2m.patch, but during the emerge, it pails to apply the patch.
...

> patch: **** malformed patch at line 5: BACKPAT="s|\\\\|\\\\\\\\|g"

Huh ? Could be a limitiation from your patch command ?
Mine is : 
patch --version
patch 2.5.9

From : sys-devel/patch-2.5.9-r1

And the patch just apply correctly now.
Check also your downloaded patch files to be sure it hasn't be modified by browser or any other component.
Comment 208 Xavier CHARLES 2007-05-02 17:59:35 UTC
hi alexandre

I have the same issue as jason when I try to compile opengroupware. It's failed when I emerge try to apply js2m.patch patch

my patch version

 sys-devel/patch
      Latest version available: 2.5.9-r1
      Latest version installed: 2.5.9-r1
      Size of downloaded files: [no/bad digest]
      Homepage:    http://www.gnu.org/software/patch/patch.html
      Description: Utility to apply diffs to files
      License:     GPL-2


charlesx@pyro ~ $ patch -version
patch 2.5.9
Copyright (C) 1988 Larry Wall
Copyright (C) 2003 Free Software Foundation, Inc.

thks for your help

Xavier
Comment 209 Alexandre Ghisoli 2007-05-02 19:01:22 UTC
(In reply to comment #208)
> hi alexandre
> 
> I have the same issue as jason when I try to compile opengroupware. It's failed
> when I emerge try to apply js2m.patch patch
> 
> my patch version
> 
>  sys-devel/patch
>       Latest version available: 2.5.9-r1
>       Latest version installed: 2.5.9-r1
>       Size of downloaded files: [no/bad digest]
>       Homepage:    http://www.gnu.org/software/patch/patch.html
>       Description: Utility to apply diffs to files
>       License:     GPL-2
> 
> 
> charlesx@pyro ~ $ patch -version
> patch 2.5.9
> Copyright (C) 1988 Larry Wall
> Copyright (C) 2003 Free Software Foundation, Inc.
> 
> thks for your help
> 
> Xavier
> 

I cannot reproduce your bug. Could be related to the way you get that file ?

I suggest you get the full tarball from here : 
http://www.ghisoli.ch/run/node/39

Hope this helps.
Comment 210 Stephen 2007-05-14 21:06:10 UTC
I attempted to set up Opengroupware on my Gentoo server and the build process broke, so have set up a brand new 2007.0 image on another machine and the same error occurred... (new machine pretty well just has apache, postgresql, and ldap on). Here is a build portion with the error:

creating: /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/config.make
optional library found: xml2
optional library found: ldap
required library found: ssl
optional library found: pq
failed to link optional library: sqlite3
failed to link optional library: mysqlclient
configuring NGStreams library .... done (log in config-NGStreams.log).
Making all in sope-xml...
make[1]: Entering directory `/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml'
Making all in SaxObjC...
make[2]: Entering directory `/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml/SaxObjC'
Making all for library libSaxObjC...
 Compiling file SaxAttributeList.m ...
In file included from SaxAttributeList.m:22:
SaxAttributeList.h:25:32: warning: Foundation/NSObject.h: No such file or directory
In file included from SaxAttributeList.m:22:
SaxAttributeList.h:43: error: cannot find interface declaration for 'NSObject', superclass of 'SaxAttributeList'
SaxAttributeList.h:43: error: cannot find protocol declaration for 'NSCopying'
In file included from SaxAttributeList.h:64,
                 from SaxAttributeList.m:22:
../SaxObjC/SaxAttributes.h:63: error: cannot find interface declaration for 'NSObject', superclass of 'SaxAttributes'
../SaxObjC/SaxAttributes.h:63: error: cannot find protocol declaration for 'NSCopying'
In file included from SaxAttributeList.m:24:
common.h:25:34: warning: Foundation/Foundation.h: No such file or directory
.
... (multiple lines of errors and warnings) ...
make[3]: *** [shared_debug_obj/SaxAttributeList.o] Error 1
make[2]: *** [libSaxObjC.all.library.variables] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml/SaxObjC'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml'
make: *** [internal-all] Error 2


So I checked if NSObject is there and it is;
sg opengroupware-1.1.6 # cd /var/tmp/portage/net-misc/opengroupware-1.1.6/
sg opengroupware-1.1.6 # find ./ -name NSObject.h
./work/opengroupware-1.1.6/SOPE/libFoundation/Foundation/NSObject.h
./work/opengroupware-1.1.6/usr/local/include/Foundation/NSObject.h

From emerge --info
Portage 2.1.2.2 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r3 i686)
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"

From /etc/make.conf
USE="acl apache2 crypt curl -cups -gnome -gtk imap ipv6 -kde kerberos ldap logrotate maildir -nls objc pam postgres readline ruby ssl usb -X "

The install pulled in these ebuilds
=dev-libs/libxml2-2.6.27
=dev-libs/apr-0.9.12
=app-misc/mime-types-7
=dev-libs/libgpg-error-1.5
=dev-db/libpq-8.0.13
=dev-python/egenix-mx-base-2.0.5
=dev-ruby/ruby-config-0.3.1
=media-libs/libpng-1.2.16
=app-admin/sudo-1.6.8_p12-r1
=dev-libs/apr-util-0.9.12
=dev-libs/libgcrypt-1.2.2-r1
=dev-lang/ruby-1.8.5_p2
=net-misc/neon-0.26.1-r1
=app-pda/pilot-link-0.11.8
=net-www/apache-2.0.58-r2
=dev-libs/libxslt-1.1.20
=dev-db/postgresql-8.0.13
=dev-util/subversion-1.3.2-r3
=net-misc/opengroupware-1.1.6

Thank you.
Comment 211 Alexandre Ghisoli 2007-05-21 08:58:21 UTC
(In reply to comment #210)
> I attempted to set up Opengroupware on my Gentoo server and the build process
> broke, so have set up a brand new 2007.0 image on another machine and the same
> error occurred... (new machine pretty well just has apache, postgresql, and
> ldap on). Here is a build portion with the error:
> 
> creating:
> /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/config.make
> optional library found: xml2
> optional library found: ldap
> required library found: ssl
> optional library found: pq
> failed to link optional library: sqlite3
> failed to link optional library: mysqlclient
> configuring NGStreams library .... done (log in config-NGStreams.log).
> Making all in sope-xml...
> make[1]: Entering directory
> `/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml'
> Making all in SaxObjC...
> make[2]: Entering directory
> `/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/sope-xml/SaxObjC'
> Making all for library libSaxObjC...
>  Compiling file SaxAttributeList.m ...
> In file included from SaxAttributeList.m:22:
> SaxAttributeList.h:25:32: warning: Foundation/NSObject.h: No such file or
> directory

Probably something with GNUstep installed on your system. Did you install gnustep-make or something from gnustep ? It could break the system, as SOPE use it's own libFoundation for now (shoud be changed soon).

You striped your logs a litle too soon; you shoud have something like that :

GNUstep environment:
  system: /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep
  local:  /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep
  user:   /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep
  path:   /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep
  flat:   yes
  arch:   i686-pc-linux-gnu
  combo:  gnu-fd-nil

Note: will install in default location: /usr/local/

Configuration:
  FHS:    install in FHS root
  debug:  yes
  strip:  no
  prefix:     /usr/local/
  frameworks:
  gstep:      /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep/Library/Makefiles
  config:     /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/config.make
  script:     /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep/Library/Makefiles/GNUstep.sh

This is _really_ important that OGo see only the provided GNUstep env, aka all path prefix should be /var/tmp/portage/net-misc/opengroupware*/work

Please check your environements vars to be sure to *not* include GNUSTEP* var (I've unset some of them, but could have forgot some)

Hope this helps

(BTW, i just compiled a fresh one, and it's working well)
Comment 212 Stephen 2007-05-24 21:30:08 UTC
(In reply to comment #211)
> (In reply to comment #210)
Fixed: Downloaded the ebuild from Alexandre's website and the compile succeeded. http://www.ghisoli.ch/run/node/39
Comment 213 Juergen Schinker 2007-05-25 17:18:11 UTC
(In reply to comment #212)
> (In reply to comment #211)
> > (In reply to comment #210)
> Fixed: Downloaded the ebuild from Alexandre's website and the compile
> succeeded. http://www.ghisoli.ch/run/node/39

i created a new 32bit Xenguest and tried to install this ebuild and

moving libs to /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6//usr/local/lib64/ ..
mv "/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/usr/local/GNUstep/Library/Libraries/./"/"libFoundation.so"* /var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6//usr/local/lib64//
mv: angegebenes Ziel „/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6//usr/local/lib64//“ ist kein Verzeichnis
make[1]: *** [move-libs-to-fhs] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/SOPE/libFoundation/Foundation'
make: *** [internal-install] Fehler 2

there seam to be a missing Folder but i created it manually it doesn't help

what is the trick
Comment 214 Jakub Moc (RETIRED) gentoo-dev 2007-09-14 14:51:05 UTC
Either find a maintainer, or if you want to maintain it yourself, feel free to reopen and join project sunrise, details here:

http://www.gentoo.org/proj/en/sunrise

Continuing this in bugzilla is totally not an option, this bug has become a huge mess.

Thanks. Marking WONTFIX meanwhile.
Comment 215 Fabian Groffen gentoo-dev 2008-07-06 14:31:39 UTC
please check the gnustep overlay[1], maybe it is of any help to you


[1] http://overlays.gentoo.org/proj/gnustep/browser/overlay/gnustep-apps/sogo