[Pkg-giraffe-maintainers] Building giraffe / zarafa git on PowerPC

Frans van Berckel fberckel at xs4all.nl
Wed Jan 4 13:04:33 UTC 2012


On Tue, 2011-12-27 at 16:35 +0100, Frans van Berckel wrote: 
> Creating a orig.tar.gz tarball with git-buildpackage did the job so far.
> Using a clean sources tarball is always the better way. No build error
> left. But true still a lot of warnings, building with Ubuntu Oneiric.
> 
> Next I gonna test build the upstream 7.0.3-final & 7.0.4-final with the
> debian directory from giraffe.git. I am keeping fingers crosses.

Okay I am some steps a head now! I did try the zarafa upstream 7.0 git
tree, but while building I got some build errors.

# git clone git://git.zarafa.com/zcp/zcp.git
# mv zcp giraffe-7.0.4~git1
# cd giraffe-7.0.4~git1
# git branch -a
# git checkout -b 7.0 remotes/origin/7.0
# git checkout 7.0
# cp -a ../debian .
# git-buildpackage --git-ignore-new --git-upstream-tag=066a66c

All goes well until ... I can send you a full log if needed.

Thanks,

Frans van Berckel

# remove compiled python files
find /usr/src/zarafa/git/giraffe/giraffe-7.0.4~git1/debian/tmp -name
\*.pyc -exec rm {} \;
echo php:Depends=phpapi-20090626+lfs > debian/php5-mapi.substvars
dh_testdir
dh_testroot
cp -p 
/usr/src/zarafa/git/giraffe/giraffe-7.0.4~git1/installer/licenseagreement/AGPL-3 
/usr/src/zarafa/git/giraffe/giraffe-7.0.4~git1/debian/copyright
# install empty paths not present in 'make install' from
<packagename>.dirs file, in actual package directory, not in tmp.
dh_installdirs
dh_install --sourcedir=debian/tmp
dh_installchangelogs
dh_installdocs
dh_installinit --name zarafa-server
dh_installinit --name zarafa-spooler
dh_installinit --name zarafa-dagent
dh_installinit --name zarafa-gateway
dh_installinit --name zarafa-monitor
dh_installinit --name zarafa-ical
dh_installinit --name zarafa-indexer
dh_link
dh_strip --dbg-package=zarafa-dbg
dh_compress -X.py -X.pl
dh_fixperms
dh_pysupport
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning:
debian/zarafa-server/usr/lib/zarafa/ldapplugin.so contains an
unresolvable reference to symbol pthread_mutexattr_init: it's probably a
plugin.
dpkg-shlibdeps: warning: 26 other similar warnings have been skipped
(use -v to see them all).
dpkg-shlibdeps: warning:
debian/zarafa-server/usr/lib/zarafa/unixplugin.so contains an
unresolvable reference to symbol
_ZN15objectdetails_t13SetPropStringERK14property_key_tRKSs: it's
probably a plugin.
dpkg-shlibdeps: warning: 21 other similar warnings have been skipped
(use -v to see them all).
dpkg-shlibdeps: warning: debian/zarafa-server/usr/lib/zarafa/dbplugin.so
contains an unresolvable reference to symbol
_ZN15objectdetails_t13SetPropStringERK14property_key_tRKSs: it's
probably a plugin.
dpkg-shlibdeps: warning: 19 other similar warnings have been skipped
(use -v to see them all).
dpkg-shlibdeps: warning: symbol pthread_join used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol pthread_rwlock_destroy used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol pthread_mutexattr_init used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol pthread_rwlock_wrlock used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol pthread_rwlock_init used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol pthread_rwlock_unlock used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol pthread_mutexattr_settype used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol pthread_create used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol pthread_rwlock_rdlock used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol pthread_mutexattr_destroy used by
debian/zarafa-client/usr/lib/libmapi.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: 1 similar warning has been skipped (use -v to
see it).
dpkg-shlibdeps: error: couldn't find library libzarafasync.so.0 needed
by debian/zarafa-client/usr/lib/libzarafaclient.so (ELF format:
'elf32-powerpc'; RPATH: '').
dpkg-shlibdeps: error: Cannot continue due to the error above.
Note: libraries are not searched in other binary packages that do not
have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set
LD_LIBRARY_PATH.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/zarafa-client.substvars
debian/zarafa-client/usr/lib/libmapi.so.0.0.0
debian/zarafa-client/usr/lib/libzarafaclient.so returned exit code 2
make[1]: *** [binary-arch-real] Error 2
make[1]: Leaving directory
`/usr/src/zarafa/git/giraffe/giraffe-7.0.4~git1'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2

Next I did a locate libzarafasync.so, so it's available.

/usr/src/zarafa/git/giraffe/giraffe-7.0.4~git1/zarafa-libsync/.libs/libzarafasync.so
/usr/src/zarafa/git/giraffe/giraffe-7.0.4~git1/zarafa-libsync/.libs/libzarafasync.so.0
/usr/src/zarafa/git/giraffe/giraffe-7.0.4~git1/zarafa-libsync/.libs/libzarafasync.so.0.0.0




More information about the Pkg-giraffe-maintainers mailing list