Ok, for now I have disabled "/usr/lib/rpm/check-buildroot" (appended
"exit 0" on the top of script code) and rpms of sogo was builded
completely... but its dirty workaround.
And yes, sogo is working. I am testing 1.3.3.
On 16. 10. 2010 21:09, Michal Bruncko wrote:
Hello list,
I am happy user of this groupware solution. I am using it on fedora
server through packages provided from
http://oeufdure.free.fr/download/sogo/fc13/SRPMS/
But on that repo is only version 1.2.2, so I have tried to rebuild new
version by myself using original sogo.spec file (from latest sogo
source). I have successfully built gnustep-make, gnustep-base, sope
(SOPE-1.3.2), but I have stopped on last step in building sogo.
Build process of sogo have successfuly compiled from source, but in
process of building package stops on "/usr/lib/rpm/check-buildroot":
Binary file
/root/rpmbuild/BUILDROOT/sogo-1.3.2-fc13.fc13.i386/usr/GNUstep/System/Library/SOGo/SOGo.framework/Versions/1/libSOGo.so.1.3
matches
Found '/root/rpmbuild/BUILDROOT/sogo-1.3.2-fc13.fc13.i386' in installed
files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.vuDV0b (%install)
I have located this string from libSOGo.so.1.3:
"/root/rpmbuild/BUILDROOT/sogo-1.3.2-fc13.fc13.i386//usr/GNUstep/System/Library/SOGo"
...yes, building process cannot be finished because it found a used
building path in some files that need to be packed in sogo rpm. But I do
no how resolve this trouble, why is
"/root/rpmbuild/BUILDROOT/sogo-1.3.2-fc13.fc13.i386/" added to existing
path.
By my opinion, problem is here (from sope.spec):
make DESTDIR=${RPM_BUILD_ROOT} \
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
CC="$cc" LDFLAGS="$ldflags" \
install
where the DESTDIR represents
"/root/rpmbuild/BUILDROOT/sogo-1.3.2-fc13.fc13.i386/" and this value is
appended in SOGo lib... but... its correct? Is there any way to tell
make do not append DESTIR as prefix of existing path?
If I try to compile SOGo by manually executing above make command with
defined DESTDIR, the result is the same... DESTDIR is appended to the path.
used system is fedora 13 i686, gcc-4.4.4-10.fc13.i686
thanks for any help.
michal bruncko
--
Ing. Michal Bruncko, CCNP
Linux systems and network administrator
Coupled school of business and services Ruzomberok
Slovak Republic
--
[email protected]
https://inverse.ca/sogo/lists