Hello!

I'm trying to rebuild the SOGo RPM for ensuring the sanity of my build 
environment (for building the v3 tree later).

Some basic information:

OS:             CentOS release 6.6 (Final)
Uname:  Linux srvtmp-tst-01 2.6.32-504.1.3.el6.x86_64 #1 SMP
                Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Repos:          SOGo            Inverse SOGo Repository                         
     1,256+29
                base            CentOS-6 - Base                                 
    6,176+342
                epel            Extra Packages for Enterprise Linux 6 - x86_64  
  9,838+1,315
                extras          CentOS-6 - Extras                               
         33+4
                rpmforge        RHEL 6 - RPMforge.net - dag                     
        4,718
                rpmforge-extras    RHEL 6 - RPMforge.net - extras               
             711
                updates CentOS-6 - Updates                                     
681+67

SOGo-Package: sogo-2.2.15-1.centos6.src

Build-deps:

Getting requirements for sogo-2.2.15-1.centos6.src
 --> Already installed : gcc-objc-4.4.7-11.el6.x86_64
 --> Already installed : gnustep-base-1.23.0-1.x86_64
 --> Already installed : gnustep-make-2.6.2-1.el6.x86_64
 --> Already installed : sope49-appserver-devel-4.9-20150130_1664.el6.1.x86_64
 --> Already installed : sope49-core-devel-4.9-20150130_1664.el6.1.x86_64
 --> Already installed : sope49-ldap-devel-4.9-20150130_1664.el6.1.x86_64
 --> Already installed : sope49-mime-devel-4.9-20150130_1664.el6.1.x86_64
 --> Already installed : sope49-xml-devel-4.9-20150130_1664.el6.1.x86_64
 --> Already installed : sope49-gdl1-devel-4.9-20150130_1664.el6.1.x86_64
 --> Already installed : sope49-sbjson-devel-2.3.1-20150130_1664.el6.1.x86_64
 --> Already installed : libmemcached-devel-0.49-1.x86_64
 --> Already installed : sed-4.2.1-10.el6.x86_64
 --> Already installed : samba-4.1.11-2.centos6.x86_64
 --> Already installed : openchange-2.2.r4816.sogo-1.centos6.x86_64
 --> Already installed : libcurl-devel-7.19.7-40.el6_6.4.x86_64
 --> Already installed : lasso-devel-2.4.0-5.el6.x86_64
 --> Already installed : libwbxml-devel-0.11.2-4.centos6.x86_64
No uninstalled build requires



First error:

# rpmbuild -bp ~/rpmbuild/SPECS/sogo.spec
error: File /root/rpmbuild/SOURCES/SOGo-%{sogo_version}.tar.gz: No such file or 
directory

As far as I can tell, sogo_version is not defined anywhere, so I added 
following entries to my .rpmmacros

%sope_major_version 4
%sope_minor_version 9
%sope_version 4.9
%sogo_version 2.2.15

After this the prep stage runs fine.

# rpmbuild -bp ~/rpmbuild/SPECS/sogo.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WtRiHq
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -fr '/root/rpmbuild/BUILDROOT/sogo-2.2.15-%{dist_suffix}.el6.x86_64'
+ cd /root/rpmbuild/BUILD
+ rm -rf SOGo-2.2.15
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/SOGo-2.2.15.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd SOGo-2.2.15
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0



Next error occurs in the build phase:

+ . /usr/share/GNUstep/Makefiles/GNUstep.sh
/var/tmp/rpm-tmp.5ghWEI: line 32: /usr/share/GNUstep/Makefiles/GNUstep.sh: No 
such file or directory

Default location unter CentOS 6 is /usr/lib64/GNUstep/Makefiles/GNUstep.sh

sogo.spec:177:  %if 0%{?el7}

Guess this should read el6 then.

Fixing this leads to a compile error (for full output see attached file):

gcc NSCalendarDate+NGCards.m -c \
              -MMD -MP -DSAML2_CONFIG=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 
-DSOPE_MAJOR_VERSION=4 -DSOPE_MINOR_VERSION=9 -DSOPE_SUBMINOR_VERSION=0 
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions 
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG 
-fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fgnu-runtime -I. -I.. 
-I../../sope-core/NGExtensions/ -I../../sope-core -I../../sope-xml -I. 
-I/root/GNUstep/Library/Headers -I/usr/local/include -I/usr/include \
               -o obj/libNGCards.obj/NSCalendarDate+NGCards.m.o
CalendarDate+NGCards.m: In function '-[NSCalendarDate(NGCardsExtensions) 
iCalFormattedDateTimeString]':
NSCalendarDate+NGCards.m:34: error: cannot find interface declaration for 
'NXConstantString'
make[4]: *** [obj/libNGCards.obj/NSCalendarDate+NGCards.m.o] Error 1
make[3]: *** [internal-library-all_] Error 2
make[2]: *** [libNGCards.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/SOGo-2.2.15/SOPE/NGCards'
make: *** [internal-all] Error 2

As far as I can tell now there are several problems:

- -I../../sope-core does not exist (and references to a directory outside the 
build-tree of the current package)
- -I/root/GNUstep/Library/Headers does neither exist
- Interface declaration for NXConstantString seems to be missing. A quick 
thrown in #warning shows that /usr/include/Foundation/NSString.h is included 
properly and the line reading "@interface NXConstantString : NSString" is 
reached

Well.. I don't give up easily - so Dr. Google showed at least one result making 
(sort of) sense suggesting small redefinition by adding 
"-fconstant-string-class=NSConstantString" 
(https://wavicle.wordpress.com/2012/03/17/solving-the-nxconstantstring-problem-in-objective-c-in-gnustep/)
 to the sogo.spec file in the build section: " make CC="$cc" LDFLAGS="$ldflags" 
messages=yes CPPFLAGS+="-fconstant-string-class=NSConstantString""

Finally a lot of stuff gets built - until..... 

gcc NSString+Utilities.m -c \
              -MMD -MP -fconstant-string-class=NSConstantString 
-DSAML2_CONFIG=1 -DSOGO_BUILD_DATE="@\"root@srvtmp-tst-01 201502111130\"" 
-DSOGO_LIBDIR="\"/usr/local/lib64/GNUstep/SOGo\"" -DSOGO_MAJOR_VERSION="@\"2\"" 
-DSOGO_MINOR_VERSION="@\"2\"" -DSOGO_SUBMINOR_VERSION="@\"15\"" 
-DHAVE_OPENSSL=1 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 
-D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 
-DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -pthread -I/usr/include/libxml2 
-I/usr/include/xmlsec1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions 
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG 
-fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fgnu-runtime -I../../SOPE/ -I.. 
-I../../UI -I./derived_src -I. -I/root/GNUstep/Library/Headers 
-I/usr/local/include -I/usr/include \
               -o obj/SOGo.obj/NSString+Utilities.m.o
In file included from /usr/include/SBJson/SBJsonParser.h:31,
                 from NSString+Utilities.m:34:
/usr/include/SBJson/SBJsonBase.h:81: error: stray '@' in program
/usr/include/SBJson/SBJsonBase.h:81: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'NSArray'
NSString+Utilities.m:483:2: warning: #warning "encoding" parameter is not useful
NSString+Utilities.m:554:2: warning: #warning this method is a quick and dirty 
way of detecting the file-format
make[4]: *** [obj/SOGo.obj/NSString+Utilities.m.o] Error 1
make[3]: *** [internal-framework-run-compile-submake] Error 2
make[2]: *** [SOGo.all.framework.variables] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/SOGo-2.2.15/SoObjects/SOGo'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/SOGo-2.2.15/SoObjects'
make: *** [internal-all] Error 2


Now that's the point where I have to give up - I've no idea what that error 
means :)

Please help me getting SOGo to compile.

Thanks & BR
Jens

-- 
[email protected]
https://inverse.ca/sogo/lists
# rpmbuild -bc SPECS/sogo.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CQGpzZ
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -fr '/root/rpmbuild/BUILDROOT/sogo-2.2.15-%{dist_suffix}.el6.x86_64'
+ cd /root/rpmbuild/BUILD
+ rm -rf SOGo-2.2.15
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/SOGo-2.2.15.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd SOGo-2.2.15
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nSGnpV
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd SOGo-2.2.15
+ LANG=C
+ export LANG
+ unset DISPLAY
+ . /usr/lib64/GNUstep/Makefiles/GNUstep.sh
++ '[' -n '' ']'
++ GNUSTEP_MAKE_STRICT_V2_MODE=no
++ '[' -z '' ']'
++ GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf
++ '[' -z '' ']'
++ GNUSTEP_USER_CONFIG_FILE=.GNUstep.conf
++ '[' -f /etc/GNUstep/GNUstep.conf ']'
++ . /etc/GNUstep/GNUstep.conf
+++ GNUSTEP_SYSTEM_ROOT=/usr/System
+++ GNUSTEP_LOCAL_ROOT=/usr/Local
+++ GNUSTEP_NETWORK_ROOT=/usr/Network
+++ GNUSTEP_USER_CONFIG_FILE=.GNUstep.conf
+++ GNUSTEP_USER_DIR=GNUstep
+++ GNUSTEP_USER_DEFAULTS_DIR=GNUstep/Defaults
+++ GNUSTEP_MAKEFILES=/usr/lib64/GNUstep/Makefiles
+++ GNUSTEP_SYSTEM_USERS_DIR=/home
+++ GNUSTEP_NETWORK_USERS_DIR=/home
+++ GNUSTEP_LOCAL_USERS_DIR=/home
+++ GNUSTEP_SYSTEM_APPS=/usr/lib64/GNUstep/Applications
+++ GNUSTEP_SYSTEM_ADMIN_APPS=/usr/lib64/GNUstep/Applications
+++ GNUSTEP_SYSTEM_WEB_APPS=/usr/lib64/GNUstep/WebApplications
+++ GNUSTEP_SYSTEM_TOOLS=/usr/bin
+++ GNUSTEP_SYSTEM_ADMIN_TOOLS=/usr/sbin
+++ GNUSTEP_SYSTEM_LIBRARY=/usr/lib64/GNUstep
+++ GNUSTEP_SYSTEM_HEADERS=/usr/include
+++ GNUSTEP_SYSTEM_LIBRARIES=/usr/lib64
+++ GNUSTEP_SYSTEM_DOC=/usr/share/GNUstep/Documentation
+++ GNUSTEP_SYSTEM_DOC_MAN=/usr/share/man
+++ GNUSTEP_SYSTEM_DOC_INFO=/usr/share/info
+++ GNUSTEP_NETWORK_APPS=/usr/local/lib64/GNUstep/Applications
+++ GNUSTEP_NETWORK_ADMIN_APPS=/usr/local/lib64/GNUstep/Applications
+++ GNUSTEP_NETWORK_WEB_APPS=/usr/lib64/GNUstep/WebApplications
+++ GNUSTEP_NETWORK_TOOLS=/usr/local/bin
+++ GNUSTEP_NETWORK_ADMIN_TOOLS=/usr/local/sbin
+++ GNUSTEP_NETWORK_LIBRARY=/usr/local/lib64/GNUstep
+++ GNUSTEP_NETWORK_HEADERS=/usr/local/include
+++ GNUSTEP_NETWORK_LIBRARIES=/usr/local/lib64
+++ GNUSTEP_NETWORK_DOC=/usr/local/share/GNUstep/Documentation
+++ GNUSTEP_NETWORK_DOC_MAN=/usr/local/share/man
+++ GNUSTEP_NETWORK_DOC_INFO=/usr/local/share/info
+++ GNUSTEP_LOCAL_APPS=/usr/local/lib64/GNUstep/Applications
+++ GNUSTEP_LOCAL_ADMIN_APPS=/usr/local/lib64/GNUstep/Applications
+++ GNUSTEP_LOCAL_WEB_APPS=/usr/local/lib64/GNUstep/WebApplications
+++ GNUSTEP_LOCAL_TOOLS=/usr/local/bin
+++ GNUSTEP_LOCAL_ADMIN_TOOLS=/usr/local/sbin
+++ GNUSTEP_LOCAL_LIBRARY=/usr/local/lib64/GNUstep
+++ GNUSTEP_LOCAL_HEADERS=/usr/local/include
+++ GNUSTEP_LOCAL_LIBRARIES=/usr/local/lib64
+++ GNUSTEP_LOCAL_DOC=/usr/local/share/GNUstep/Documentation
+++ GNUSTEP_LOCAL_DOC_MAN=/usr/local/share/man
+++ GNUSTEP_LOCAL_DOC_INFO=/usr/local/share/info
+++ GNUSTEP_USER_DIR_APPS=GNUstep/Applications
+++ GNUSTEP_USER_DIR_ADMIN_APPS=GNUstep/Applications/Admin
+++ GNUSTEP_USER_DIR_WEB_APPS=GNUstep/WebApplications
+++ GNUSTEP_USER_DIR_TOOLS=GNUstep/Tools
+++ GNUSTEP_USER_DIR_ADMIN_TOOLS=GNUstep/Tools/Admin
+++ GNUSTEP_USER_DIR_LIBRARY=GNUstep/Library
+++ GNUSTEP_USER_DIR_HEADERS=GNUstep/Library/Headers
+++ GNUSTEP_USER_DIR_LIBRARIES=GNUstep/Library/Libraries
+++ GNUSTEP_USER_DIR_DOC=GNUstep/Library/Documentation
+++ GNUSTEP_USER_DIR_DOC_MAN=GNUstep/Library/Documentation/man
+++ GNUSTEP_USER_DIR_DOC_INFO=GNUstep/Library/Documentation/info
++ GNUSTEP_HOME=/root
++ '[' -n .GNUstep.conf ']'
++ case "$GNUSTEP_USER_CONFIG_FILE" in
++ '[' -f /root/.GNUstep.conf ']'
++ '[' no = yes ']'
++ '[' -z /usr/System ']'
++ '[' -z /usr/Local ']'
++ '[' -z /usr/Network ']'
++ export GNUSTEP_SYSTEM_ROOT GNUSTEP_LOCAL_ROOT GNUSTEP_NETWORK_ROOT
++ '[' no = yes ']'
++ GNUSTEP_FLATTENED=yes
++ export GNUSTEP_FLATTENED
++ GNUSTEP_IS_FLATTENED=yes
++ '[' -z gnu-gnu-gnu ']'
++ '[' '!' no = yes ']'
++ export GNUSTEP_IS_FLATTENED LIBRARY_COMBO
++ '[' -z /usr/lib64/GNUstep/Makefiles ']'
++ export GNUSTEP_MAKEFILES
++ '[' no = yes ']'
++ '[' -z GNUstep ']'
++ case "$GNUSTEP_USER_DIR" in
++ GNUSTEP_USER_ROOT=/root/GNUstep
++ unset GNUSTEP_USER_DIR
++ export GNUSTEP_USER_ROOT
++ '[' -z '' ']'
++ GNUSTEP_HOST=x86_64-redhat-linux-gnu
++ GNUSTEP_HOST_CPU=x86_64
++ GNUSTEP_HOST_VENDOR=redhat
++ GNUSTEP_HOST_OS=linux-gnu
++ '[' -z x86_64-redhat-linux-gnu ']'
++ '[' -z x86_64 ']'
++ '[' -z redhat ']'
++ '[' -z linux-gnu ']'
++ '[' '!' no = yes ']'
++ export GNUSTEP_HOST GNUSTEP_HOST_CPU GNUSTEP_HOST_VENDOR GNUSTEP_HOST_OS
++ . /usr/lib64/GNUstep/Makefiles/filesystem.sh
+++ '[' -z /home ']'
+++ '[' -z /home ']'
+++ '[' -z /home ']'
+++ '[' -z /usr/lib64/GNUstep/Applications ']'
+++ '[' -z /usr/lib64/GNUstep/Applications ']'
+++ '[' -z /usr/lib64/GNUstep/WebApplications ']'
+++ '[' -z /usr/bin ']'
+++ '[' -z /usr/sbin ']'
+++ '[' -z /usr/lib64/GNUstep ']'
+++ '[' -z /usr/include ']'
+++ '[' -z /usr/lib64 ']'
+++ '[' -z /usr/share/GNUstep/Documentation ']'
+++ '[' -z /usr/share/man ']'
+++ '[' -z /usr/share/info ']'
+++ '[' -z /usr/local/lib64/GNUstep/Applications ']'
+++ '[' -z /usr/local/lib64/GNUstep/Applications ']'
+++ '[' -z /usr/lib64/GNUstep/WebApplications ']'
+++ '[' -z /usr/local/bin ']'
+++ '[' -z /usr/local/sbin ']'
+++ '[' -z /usr/local/lib64/GNUstep ']'
+++ '[' -z /usr/local/include ']'
+++ '[' -z /usr/local/lib64 ']'
+++ '[' -z /usr/local/share/GNUstep/Documentation ']'
+++ '[' -z /usr/local/share/man ']'
+++ '[' -z /usr/local/share/info ']'
+++ '[' -z /usr/local/lib64/GNUstep/Applications ']'
+++ '[' -z /usr/local/lib64/GNUstep/Applications ']'
+++ '[' -z /usr/local/lib64/GNUstep/WebApplications ']'
+++ '[' -z /usr/local/bin ']'
+++ '[' -z /usr/local/sbin ']'
+++ '[' -z /usr/local/lib64/GNUstep ']'
+++ '[' -z /usr/local/include ']'
+++ '[' -z /usr/local/lib64 ']'
+++ '[' -z /usr/local/share/GNUstep/Documentation ']'
+++ '[' -z /usr/local/share/man ']'
+++ '[' -z /usr/local/share/info ']'
+++ '[' -z GNUstep/Applications ']'
+++ '[' -z GNUstep/Applications/Admin ']'
+++ '[' -z GNUstep/WebApplications ']'
+++ '[' -z GNUstep/Tools ']'
+++ '[' -z GNUstep/Tools/Admin ']'
+++ '[' -z GNUstep/Library ']'
+++ '[' -z GNUstep/Library/Headers ']'
+++ '[' -z GNUstep/Library/Libraries ']'
+++ '[' -z GNUstep/Library/Documentation ']'
+++ '[' -z GNUstep/Library/Documentation/man ']'
+++ '[' -z GNUstep/Library/Documentation/info ']'
+++ case "${GNUSTEP_USER_DIR_APPS} ${GNUSTEP_USER_DIR_ADMIN_APPS} 
${GNUSTEP_USER_DIR_WEB_APPS} ${GNUSTEP_USER_DIR_TOOLS} 
${GNUSTEP_USER_DIR_ADMIN_TOOLS} ${GNUSTEP_USER_DIR_LIBRARY} 
${GNUSTEP_USER_DIR_HEADERS} ${GNUSTEP_USER_DIR_LIBRARIES} 
${GNUSTEP_USER_DIR_DOC} ${GNUSTEP_USER_DIR_DOC_MAN} 
${GNUSTEP_USER_DIR_DOC_INFO}" in
+++ case "${GNUSTEP_USER_DIR_APPS} ${GNUSTEP_USER_DIR_ADMIN_APPS} 
${GNUSTEP_USER_DIR_WEB_APPS} ${GNUSTEP_USER_DIR_TOOLS} 
${GNUSTEP_USER_DIR_ADMIN_TOOLS} ${GNUSTEP_USER_DIR_LIBRARY} 
${GNUSTEP_USER_DIR_HEADERS} ${GNUSTEP_USER_DIR_LIBRARIES} 
${GNUSTEP_USER_DIR_DOC} ${GNUSTEP_USER_DIR_DOC_MAN} 
${GNUSTEP_USER_DIR_DOC_INFO}" in
+++ case "${GNUSTEP_USER_DIR_APPS} ${GNUSTEP_USER_DIR_ADMIN_APPS} 
${GNUSTEP_USER_DIR_WEB_APPS} ${GNUSTEP_USER_DIR_TOOLS} 
${GNUSTEP_USER_DIR_ADMIN_TOOLS} ${GNUSTEP_USER_DIR_LIBRARY} 
${GNUSTEP_USER_DIR_HEADERS} ${GNUSTEP_USER_DIR_LIBRARIES} 
${GNUSTEP_USER_DIR_DOC} ${GNUSTEP_USER_DIR_DOC_MAN} 
${GNUSTEP_USER_DIR_DOC_INFO}" in
+++ case "$GNUSTEP_USER_DIR_APPS" in
+++ GNUSTEP_USER_APPS=/root/GNUstep/Applications
+++ unset GNUSTEP_USER_DIR_APPS
+++ case "$GNUSTEP_USER_DIR_ADMIN_APPS" in
+++ GNUSTEP_USER_ADMIN_APPS=/root/GNUstep/Applications/Admin
+++ unset GNUSTEP_USER_DIR_ADMIN_APPS
+++ case "$GNUSTEP_USER_DIR_WEB_APPS" in
+++ GNUSTEP_USER_WEB_APPS=/root/GNUstep/WebApplications
+++ unset GNUSTEP_USER_DIR_WEB_APPS
+++ case "$GNUSTEP_USER_DIR_TOOLS" in
+++ GNUSTEP_USER_TOOLS=/root/GNUstep/Tools
+++ unset GNUSTEP_USER_DIR_TOOLS
+++ case "$GNUSTEP_USER_DIR_ADMIN_TOOLS" in
+++ GNUSTEP_USER_ADMIN_TOOLS=/root/GNUstep/Tools/Admin
+++ unset GNUSTEP_USER_DIR_ADMIN_TOOLS
+++ case "$GNUSTEP_USER_DIR_LIBRARY" in
+++ GNUSTEP_USER_LIBRARY=/root/GNUstep/Library
+++ unset GNUSTEP_USER_DIR_LIBRARY
+++ case "$GNUSTEP_USER_DIR_HEADERS" in
+++ GNUSTEP_USER_HEADERS=/root/GNUstep/Library/Headers
+++ unset GNUSTEP_USER_DIR_HEADERS
+++ case "$GNUSTEP_USER_DIR_LIBRARIES" in
+++ GNUSTEP_USER_LIBRARIES=/root/GNUstep/Library/Libraries
+++ unset GNUSTEP_USER_DIR_LIBRARIES
+++ case "$GNUSTEP_USER_DIR_DOC" in
+++ GNUSTEP_USER_DOC=/root/GNUstep/Library/Documentation
+++ unset GNUSTEP_USER_DIR_DOC
+++ case "$GNUSTEP_USER_DIR_DOC_MAN" in
+++ GNUSTEP_USER_DOC_MAN=/root/GNUstep/Library/Documentation/man
+++ unset GNUSTEP_USER_DIR_DOC_MAN
+++ case "$GNUSTEP_USER_DIR_DOC_INFO" in
+++ GNUSTEP_USER_DOC_INFO=/root/GNUstep/Library/Documentation/info
+++ unset GNUSTEP_USER_DIR_DOC_INFO
++ unset GNUSTEP_HOME
++ fixup_paths=no
+++ echo /usr/lib64/GNUstep/Makefiles
+++ sed 's|^[a-zA-Z]:/.*$||'
++ path_check=/usr/lib64/GNUstep/Makefiles
++ '[' -z /usr/lib64/GNUstep/Makefiles ']'
++ unset path_check
++ '[' no = yes ']'
++ '[' -z /usr/System:/usr/Network:/usr/Local:/root/GNUstep ']'
+++ /usr/lib64/GNUstep/Makefiles/print_unique_pathlist.sh /root/GNUstep/Tools 
/usr/local/bin /usr/local/bin /usr/bin no
++ GNUSTEP_TOOLS_PATHLIST=/usr/bin:/usr/local/bin:/root/GNUstep/Tools
++ for dir in '"$GNUSTEP_SYSTEM_ADMIN_TOOLS"' '"$GNUSTEP_NETWORK_ADMIN_TOOLS"' 
'"$GNUSTEP_LOCAL_ADMIN_TOOLS"' '"$GNUSTEP_USER_ADMIN_TOOLS"'
++ '[' -d /usr/sbin -a -w /usr/sbin ']'
++ echo :/usr/bin:/usr/local/bin:/root/GNUstep/Tools:
++ grep -v :/usr/sbin:
++ GNUSTEP_TOOLS_PATHLIST=/usr/sbin:/usr/bin:/usr/local/bin:/root/GNUstep/Tools
++ for dir in '"$GNUSTEP_SYSTEM_ADMIN_TOOLS"' '"$GNUSTEP_NETWORK_ADMIN_TOOLS"' 
'"$GNUSTEP_LOCAL_ADMIN_TOOLS"' '"$GNUSTEP_USER_ADMIN_TOOLS"'
++ '[' -d /usr/local/sbin -a -w /usr/local/sbin ']'
++ echo :/usr/sbin:/usr/bin:/usr/local/bin:/root/GNUstep/Tools:
++ grep -v :/usr/local/sbin:
++ 
GNUSTEP_TOOLS_PATHLIST=/usr/local/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/root/GNUstep/Tools
++ for dir in '"$GNUSTEP_SYSTEM_ADMIN_TOOLS"' '"$GNUSTEP_NETWORK_ADMIN_TOOLS"' 
'"$GNUSTEP_LOCAL_ADMIN_TOOLS"' '"$GNUSTEP_USER_ADMIN_TOOLS"'
++ '[' -d /usr/local/sbin -a -w /usr/local/sbin ']'
++ echo :/usr/local/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/root/GNUstep/Tools:
++ grep -v :/usr/local/sbin:
++ for dir in '"$GNUSTEP_SYSTEM_ADMIN_TOOLS"' '"$GNUSTEP_NETWORK_ADMIN_TOOLS"' 
'"$GNUSTEP_LOCAL_ADMIN_TOOLS"' '"$GNUSTEP_USER_ADMIN_TOOLS"'
++ '[' -d /root/GNUstep/Tools/Admin -a -w /root/GNUstep/Tools/Admin ']'
++ old_IFS='
'
++ IFS=:
++ for dir in '$GNUSTEP_TOOLS_PATHLIST'
++ '[' yes = no ']'
++ path_fragment=/usr/local/sbin
++ '[' -z 
/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
 ']'
++ echo 
:/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:
++ grep -v :/usr/local/sbin:
++ for dir in '$GNUSTEP_TOOLS_PATHLIST'
++ '[' yes = no ']'
++ path_fragment=/usr/sbin
++ '[' -z 
/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
 ']'
++ echo 
:/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:
++ grep -v :/usr/sbin:
++ for dir in '$GNUSTEP_TOOLS_PATHLIST'
++ '[' yes = no ']'
++ path_fragment=/usr/bin
++ '[' -z 
/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
 ']'
++ echo 
:/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:
++ grep -v :/usr/bin:
++ for dir in '$GNUSTEP_TOOLS_PATHLIST'
++ '[' yes = no ']'
++ path_fragment=/usr/local/bin
++ '[' -z 
/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
 ']'
++ echo 
:/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:
++ grep -v :/usr/local/bin:
++ for dir in '$GNUSTEP_TOOLS_PATHLIST'
++ '[' yes = no ']'
++ path_fragment=/root/GNUstep/Tools
++ '[' -z 
/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
 ']'
++ echo 
:/root/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:
++ grep -v :/root/GNUstep/Tools:
++ IFS='
'
++ unset old_IFS
++ unset dir
++ unset path_fragment
++ unset GNUSTEP_TOOLS_PATHLIST
++ export PATH
+++ /usr/lib64/GNUstep/Makefiles/print_unique_pathlist.sh 
/root/GNUstep/Library/Libraries /usr/local/lib64 /usr/local/lib64 /usr/lib64 no
++ 
GNUSTEP_LIBRARIES_PATHLIST=/usr/lib64:/usr/local/lib64:/root/GNUstep/Library/Libraries
++ old_IFS='
'
++ IFS=:
++ for dir in '$GNUSTEP_LIBRARIES_PATHLIST'
++ '[' yes = yes ']'
++ path_fragment=/usr/lib64
++ case "$GNUSTEP_HOST_OS" in
++ '[' -z /root/GNUstep/Library/Libraries:/usr/local/lib64:/usr/lib64 ']'
++ echo :/root/GNUstep/Library/Libraries:/usr/local/lib64:/usr/lib64:
++ grep -v :/usr/lib64:
++ export LD_LIBRARY_PATH
++ for dir in '$GNUSTEP_LIBRARIES_PATHLIST'
++ '[' yes = yes ']'
++ path_fragment=/usr/local/lib64
++ case "$GNUSTEP_HOST_OS" in
++ '[' -z /root/GNUstep/Library/Libraries:/usr/local/lib64:/usr/lib64 ']'
++ echo :/root/GNUstep/Library/Libraries:/usr/local/lib64:/usr/lib64:
++ grep -v :/usr/local/lib64:
++ export LD_LIBRARY_PATH
++ for dir in '$GNUSTEP_LIBRARIES_PATHLIST'
++ '[' yes = yes ']'
++ path_fragment=/root/GNUstep/Library/Libraries
++ case "$GNUSTEP_HOST_OS" in
++ '[' -z /root/GNUstep/Library/Libraries:/usr/local/lib64:/usr/lib64 ']'
++ echo :/root/GNUstep/Library/Libraries:/usr/local/lib64:/usr/lib64:
++ grep -v :/root/GNUstep/Library/Libraries:
++ export LD_LIBRARY_PATH
++ IFS='
'
++ unset old_IFS
++ unset dir
++ unset path_fragment
++ unset GNUSTEP_LIBRARIES_PATHLIST
++ case "$GNUSTEP_HOST_OS" in
+++ /usr/lib64/GNUstep/Makefiles/print_unique_pathlist.sh /root/GNUstep/Library 
/usr/local/lib64/GNUstep /usr/local/lib64/GNUstep /usr/lib64/GNUstep no
++ 
GNUSTEP_LIBRARY_PATHLIST=/usr/lib64/GNUstep:/usr/local/lib64/GNUstep:/root/GNUstep/Library
++ old_IFS='
'
++ IFS=:
++ for dir in '$GNUSTEP_LIBRARY_PATHLIST'
++ path_fragment=/usr/lib64/GNUstep/Libraries/Java
++ '[' -z 
/root/GNUstep/Library/Libraries/Java:/usr/local/lib64/GNUstep/Libraries/Java:/usr/lib64/GNUstep/Libraries/Java
 ']'
++ echo 
:/root/GNUstep/Library/Libraries/Java:/usr/local/lib64/GNUstep/Libraries/Java:/usr/lib64/GNUstep/Libraries/Java:
++ grep -v :/usr/lib64/GNUstep/Libraries/Java:
++ path_fragment=/usr/lib64/GNUstep/Libraries/Guile
++ '[' -z 
/root/GNUstep/Library/Libraries/Guile:/usr/local/lib64/GNUstep/Libraries/Guile:/usr/lib64/GNUstep/Libraries/Guile
 ']'
++ echo 
:/root/GNUstep/Library/Libraries/Guile:/usr/local/lib64/GNUstep/Libraries/Guile:/usr/lib64/GNUstep/Libraries/Guile:
++ grep -v :/usr/lib64/GNUstep/Libraries/Guile:
++ for dir in '$GNUSTEP_LIBRARY_PATHLIST'
++ path_fragment=/usr/local/lib64/GNUstep/Libraries/Java
++ '[' -z 
/root/GNUstep/Library/Libraries/Java:/usr/local/lib64/GNUstep/Libraries/Java:/usr/lib64/GNUstep/Libraries/Java
 ']'
++ echo 
:/root/GNUstep/Library/Libraries/Java:/usr/local/lib64/GNUstep/Libraries/Java:/usr/lib64/GNUstep/Libraries/Java:
++ grep -v :/usr/local/lib64/GNUstep/Libraries/Java:
++ path_fragment=/usr/local/lib64/GNUstep/Libraries/Guile
++ '[' -z 
/root/GNUstep/Library/Libraries/Guile:/usr/local/lib64/GNUstep/Libraries/Guile:/usr/lib64/GNUstep/Libraries/Guile
 ']'
++ echo 
:/root/GNUstep/Library/Libraries/Guile:/usr/local/lib64/GNUstep/Libraries/Guile:/usr/lib64/GNUstep/Libraries/Guile:
++ grep -v :/usr/local/lib64/GNUstep/Libraries/Guile:
++ for dir in '$GNUSTEP_LIBRARY_PATHLIST'
++ path_fragment=/root/GNUstep/Library/Libraries/Java
++ '[' -z 
/root/GNUstep/Library/Libraries/Java:/usr/local/lib64/GNUstep/Libraries/Java:/usr/lib64/GNUstep/Libraries/Java
 ']'
++ echo 
:/root/GNUstep/Library/Libraries/Java:/usr/local/lib64/GNUstep/Libraries/Java:/usr/lib64/GNUstep/Libraries/Java:
++ grep -v :/root/GNUstep/Library/Libraries/Java:
++ path_fragment=/root/GNUstep/Library/Libraries/Guile
++ '[' -z 
/root/GNUstep/Library/Libraries/Guile:/usr/local/lib64/GNUstep/Libraries/Guile:/usr/lib64/GNUstep/Libraries/Guile
 ']'
++ echo 
:/root/GNUstep/Library/Libraries/Guile:/usr/local/lib64/GNUstep/Libraries/Guile:/usr/lib64/GNUstep/Libraries/Guile:
++ grep -v :/root/GNUstep/Library/Libraries/Guile:
++ IFS='
'
++ unset old_IFS
++ unset dir
++ unset path_fragment
++ unset GNUSTEP_LIBRARY_PATHLIST
++ export CLASSPATH
++ export GUILE_LOAD_PATH
+++ /usr/lib64/GNUstep/Makefiles/print_unique_pathlist.sh 
/root/GNUstep/Library/Documentation/info /usr/local/share/info 
/usr/local/share/info /usr/share/info no
++ 
GNUSTEP_INFO_PATHLIST=/usr/share/info:/usr/local/share/info:/root/GNUstep/Library/Documentation/info
++ old_IFS='
'
++ IFS=:
++ for dir in '$GNUSTEP_INFO_PATHLIST'
++ '[' -z 
/usr/share/info::/usr/local/share/info::/root/GNUstep/Library/Documentation/info:
 ']'
++ echo 
:/usr/share/info::/usr/local/share/info::/root/GNUstep/Library/Documentation/info::
++ grep -v :/usr/share/info:
++ for dir in '$GNUSTEP_INFO_PATHLIST'
++ '[' -z 
/usr/share/info::/usr/local/share/info::/root/GNUstep/Library/Documentation/info:
 ']'
++ echo 
:/usr/share/info::/usr/local/share/info::/root/GNUstep/Library/Documentation/info::
++ grep -v :/usr/local/share/info:
++ for dir in '$GNUSTEP_INFO_PATHLIST'
++ '[' -z 
/usr/share/info::/usr/local/share/info::/root/GNUstep/Library/Documentation/info:
 ']'
++ echo 
:/usr/share/info::/usr/local/share/info::/root/GNUstep/Library/Documentation/info::
++ grep -v :/root/GNUstep/Library/Documentation/info:
++ IFS='
'
++ unset old_IFS
++ unset dir
++ unset GNUSTEP_INFO_PATHLIST
++ export INFOPATH
++ '[' -n '' ']'
++ '[' no = yes ']'
++ unset GNUSTEP_MAKE_STRICT_V2_MODE
++ '[' -z '' ']'
++ unset GNUSTEP_CONFIG_FILE
++ unset GNUSTEP_KEEP_CONFIG_FILE
++ '[' -z '' ']'
++ unset GNUSTEP_USER_CONFIG_FILE
++ unset GNUSTEP_KEEP_USER_CONFIG_FILE
++ unset GNUSTEP_USER_DEFAULTS_DIR
++ unset GNUSTEP_SYSTEM_APPS
++ unset GNUSTEP_SYSTEM_ADMIN_APPS
++ unset GNUSTEP_SYSTEM_WEB_APPS
++ unset GNUSTEP_SYSTEM_TOOLS
++ unset GNUSTEP_SYSTEM_ADMIN_TOOLS
++ unset GNUSTEP_SYSTEM_LIBRARY
++ unset GNUSTEP_SYSTEM_HEADERS
++ unset GNUSTEP_SYSTEM_LIBRARIES
++ unset GNUSTEP_SYSTEM_DOC
++ unset GNUSTEP_SYSTEM_DOC_MAN
++ unset GNUSTEP_SYSTEM_DOC_INFO
++ unset GNUSTEP_NETWORK_APPS
++ unset GNUSTEP_NETWORK_ADMIN_APPS
++ unset GNUSTEP_NETWORK_WEB_APPS
++ unset GNUSTEP_NETWORK_TOOLS
++ unset GNUSTEP_NETWORK_ADMIN_TOOLS
++ unset GNUSTEP_NETWORK_LIBRARY
++ unset GNUSTEP_NETWORK_HEADERS
++ unset GNUSTEP_NETWORK_LIBRARIES
++ unset GNUSTEP_NETWORK_DOC
++ unset GNUSTEP_NETWORK_DOC_MAN
++ unset GNUSTEP_NETWORK_DOC_INFO
++ unset GNUSTEP_LOCAL_APPS
++ unset GNUSTEP_LOCAL_ADMIN_APPS
++ unset GNUSTEP_LOCAL_WEB_APPS
++ unset GNUSTEP_LOCAL_TOOLS
++ unset GNUSTEP_LOCAL_ADMIN_TOOLS
++ unset GNUSTEP_LOCAL_LIBRARY
++ unset GNUSTEP_LOCAL_HEADERS
++ unset GNUSTEP_LOCAL_LIBRARIES
++ unset GNUSTEP_LOCAL_DOC
++ unset GNUSTEP_LOCAL_DOC_MAN
++ unset GNUSTEP_LOCAL_DOC_INFO
++ unset GNUSTEP_USER_APPS
++ unset GNUSTEP_USER_ADMIN_APPS
++ unset GNUSTEP_USER_WEB_APPS
++ unset GNUSTEP_USER_TOOLS
++ unset GNUSTEP_USER_ADMIN_TOOLS
++ unset GNUSTEP_USER_LIBRARY
++ unset GNUSTEP_USER_HEADERS
++ unset GNUSTEP_USER_LIBRARIES
++ unset GNUSTEP_USER_DOC
++ unset GNUSTEP_USER_DOC_MAN
++ unset GNUSTEP_USER_DOC_INFO
++ unset GNUSTEP_SYSTEM_USERS_DIR
++ unset GNUSTEP_LOCAL_USERS_DIR
++ unset GNUSTEP_NETWORK_USERS_DIR
++ '[' -n '' ']'
+ ./configure --enable-saml2
GNUstep environment:
  system: /usr/System
  local:  /usr/Local
  user:   /root/GNUstep
  path:   /usr/System:/usr/Network:/usr/Local:/root/GNUstep
  flat:   yes
  arch:   x86_64-redhat-linux-gnu
  combo:  gnu-gnu-gnu

Note: will install in GNUSTEP_LOCAL_ROOT: /usr/Local

Configuration:
  debug:  yes
  strip:  no
  saml2 support:  yes
  ldap-based configuration:  no
  prefix: /usr/Local
  gstep:  /usr/lib64/GNUstep/Makefiles
  config: /root/rpmbuild/BUILD/SOGo-2.2.15/config.make
  script: /usr/lib64/GNUstep/Makefiles/GNUstep.sh

creating: /root/rpmbuild/BUILD/SOGo-2.2.15/config.make
required library found: lasso
optional library found: ssl
+ case x86_64-redhat-linux-gnu in
+ cc=gcc
+ ldflags=
+ make CC=gcc LDFLAGS= messages=yes
This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for help.
Making all in SOPE/NGCards ...
make[1]: Entering directory `/root/rpmbuild/BUILD/SOGo-2.2.15/SOPE/NGCards'
cd .; \
        /usr/lib64/GNUstep/Makefiles/mkinstalldirs ./obj
Making all for library libNGCards...
cd .; \
        /usr/lib64/GNUstep/Makefiles/mkinstalldirs ./obj/libNGCards.obj/
gcc NSArray+NGCards.m -c \
              -MMD -MP -DSAML2_CONFIG=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 
-DSOPE_MAJOR_VERSION=4 -DSOPE_MINOR_VERSION=9 -DSOPE_SUBMINOR_VERSION=0 
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions 
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG 
-fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fgnu-runtime -I. -I.. 
-I../../sope-core/NGExtensions/ -I../../sope-core -I../../sope-xml -I. 
-I/root/GNUstep/Library/Headers -I/usr/local/include -I/usr/include \
               -o obj/libNGCards.obj/NSArray+NGCards.m.o
gcc NSCalendarDate+NGCards.m -c \
              -MMD -MP -DSAML2_CONFIG=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 
-DSOPE_MAJOR_VERSION=4 -DSOPE_MINOR_VERSION=9 -DSOPE_SUBMINOR_VERSION=0 
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions 
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG 
-fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fgnu-runtime -I. -I.. 
-I../../sope-core/NGExtensions/ -I../../sope-core -I../../sope-xml -I. 
-I/root/GNUstep/Library/Headers -I/usr/local/include -I/usr/include \
               -o obj/libNGCards.obj/NSCalendarDate+NGCards.m.o
NSCalendarDate+NGCards.m: In function '-[NSCalendarDate(NGCardsExtensions) 
iCalFormattedDateTimeString]':
NSCalendarDate+NGCards.m:34: error: cannot find interface declaration for 
'NXConstantString'
make[4]: *** [obj/libNGCards.obj/NSCalendarDate+NGCards.m.o] Error 1
make[3]: *** [internal-library-all_] Error 2
make[2]: *** [libNGCards.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/SOGo-2.2.15/SOPE/NGCards'
make: *** [internal-all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.nSGnpV (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.nSGnpV (%build)

Reply via email to