[OGo-Users] amd64 debian build issues.

Adam Tauno Williams users@opengroupware.org
Thu, 01 Nov 2007 16:51:28 -0400


--=-UDbju4SkcSBv6NwOlGhH
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

> I am trying to install opengroupware on an amd64 debian install
> wget=20
> http://download.opengroupware.org/releases/stable/opengroupware-1.0.0-fin=
ally/source/opengroupware.org-1.0.0-finally-r1862.tar.gz
> tar -xzf opengroupware.org-1.0.0-finally-r1862.tar.gz
> cd opengroupware.org
> dpkg-buildpackage -b=20
> produces the following error:
> gcc PPSyncContext.m -c \
>               -MMD -MP -Wall
> -I/usr/System/Library/Headers/libFoundation/x86_64/linux-gnu/GNU
> -DGNUSTEP=3D1 -DWITH_GSTEP_MAKE=3D1 -DLIB_FOUNDATION_LIBRARY=3D1
> -DFD_WITH_GSMAKE=3D1 -DGNUSTEP=3D1 -DGNU_RUNTIME=3D1 -D_REENTRANT -fPIC -=
g
> -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import
> -O0 -fno-strict-aliasing -fexceptions -fobjc-exceptions
> -D_NATIVE_OBJC_EXCEPTIONS -fgnu-runtime -I/usr/include/libpisock -I..
> -I../libpisock -I. -I/usr/local/include -I/usr/include
> -I/root/opengroupware.org/Library/Headers/libFoundation
> -I/usr/local/include/libFoundation -I/usr/local/include/libFoundation
> -I/usr/include/libFoundation
> -I/root/opengroupware.org/Library/Headers/libFoundation/./GNU
> -I/usr/local/include/libFoundation/./GNU
> -I/usr/local/include/libFoundation/./GNU
> -I/usr/include/libFoundation/./GNU \
>                -o obj/PPSyncContext.o
> PPSyncContext.m:221:16: warning: multi-character character constant
> PPSyncContext.m:223:12: warning: multi-character character constant
> PPSyncContext.m:224:12: warning: multi-character character constant
> PPSyncContext.m:225:12: warning: multi-character character constant
> PPSyncContext.m:226:12: warning: multi-character character constant
> PPSyncContext.m: In function '-[PPSyncContext readAppBlockOfDatabase:]':
> PPSyncContext.m:529: warning: passing argument 4 of 'dlp_ReadAppBlock'
> makes integer from pointer without a cast
> PPSyncContext.m:529: warning: passing argument 5 of 'dlp_ReadAppBlock'
> makes pointer from integer without a cast
> PPSyncContext.m: In function '-[PPSyncContext
> readSortBlockOfDatabase:]':
> PPSyncContext.m:557: warning: passing argument 4 of 'dlp_ReadSortBlock'
> makes integer from pointer without a cast
> PPSyncContext.m:557: warning: passing argument 5 of 'dlp_ReadSortBlock'
> makes pointer from integer without a cast
> PPSyncContext.m: In function '-[PPSyncContext databaseNamed:]':
> PPSyncContext.m:631: warning: passing argument 5 of 'dlp_ReadDBList'
> from incompatible pointer type
> PPSyncContext.m: In function '-[PPSyncContext
> readRecordIDsOfDatabase:]':
> PPSyncContext.m:898: warning: conflicting types for '-(NSArray
> *)readRecordIDsOfDatabase:(PPDatabase *)_db'
> PPSyncContext.h:133: warning: previous declaration of '-(NSArray
> *)readRecordIDsOfDatabase:(PPRecordDatabase *)_db'
> PPSyncContext.m: In function '-[PPSyncContext
> fetchRecordByID:fromDatabase:attributes:category:]':
> PPSyncContext.m:974: warning: passing argument 4 of 'dlp_ReadRecordById'
> from incompatible pointer type
> PPSyncContext.m:974: error: too many arguments to function
> 'dlp_ReadRecordById'
> make[4]: *** [obj/PPSyncContext.o] Error 1
> make[3]: *** [libPPSync.all.library.variables] Error 2
> make[3]: Leaving directory
> `/usr/src/opengroupware/opengroupware.org/PDA/PPSync'
> make[2]: *** [internal-all] Error 2
> make[2]: Leaving directory
> `/usr/src/opengroupware/opengroupware.org/PDA'
> make[1]: *** [internal-all] Error 2
> make[1]: Leaving directory `/usr/src/opengroupware/opengroupware.org'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
> Any idea of what I need to do to patch it so that it will build?

My advise is to "./configure --without-pisock" which will then not
attempt to compile the Pilot components.  pilot-link vs. current Palms,
and the various versions of pilot-link is kind of a mess.
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=3D1638
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=3D1811

> opengroupware 1.1 is not an option until libfoundation1.1 is available
> for amd64. (I have built it a couple times, but I have never been able
> to get the dependencies correct, so it will not install. (parts are
> dependent on libfoundation1.0 and libfoundation1.0 conflicts with
> libfoundation1.1.)

Eh, parts of libFoundation 1.1 are dependent on libFoundation 1.0?  I'm
certain this is not true.

--=-UDbju4SkcSBv6NwOlGhH
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQBHKjxQLRePpNle04MRAoQyAJ0VhKD42s+ifwcRvdk69GS7DsmFkgCfVAvw
0XO5DoB7GBFuF9c4Mhnri9Q=
=X5bb
-----END PGP SIGNATURE-----

--=-UDbju4SkcSBv6NwOlGhH--