Hi, when trying to build the last checkout of xiphos SVN on Fedora 15, I
had to apply some patches even to get waf configure working (see
attached patch), but even then the build failed (see also attached log).
Anybody has any idea what to do?
Thanks,
Matěj
diff -up xiphos/wscript.gtkhtml3 xiphos/wscript
--- xiphos/wscript.gtkhtml3 2011-05-18 16:48:10.000000000 +0200
+++ xiphos/wscript 2011-06-14 12:01:24.215293983 +0200
@@ -1,7 +1,7 @@
#! /usr/bin/env python
# encoding: utf-8
-import os, os.path
+import os, os.path, sys
import intltool
import string
import Utils
@@ -310,12 +310,12 @@ def configure(conf):
define('PACKAGE_SOURCE_DIR', conf.escpath(os.path.abspath(srcdir))) #
foder where was wscript executed
- if conf.check_cfg(modversion='gtkhtml-editor-3.14',
+ if conf.check_cfg(modversion='gtkhtml-editor-4.0',
msg='Checking for GNOME3 gtkhtml-editor',
okmsg='Deffinatly',
errmsg='Probably, not'
):
- editor='"gtkhtml-editor-3.14"'
+ editor='"gtkhtml-editor-4.0"'
else:
editor='"gtkhtml-editor"'
@@ -327,7 +327,7 @@ def configure(conf):
"glib-2.0"
"libgsf-1 >= 1.14"
"libxml-2.0"
- "libgtkhtml-3.14 >= 3.23"
+ "libgtkhtml-4.0 >= 3.91.6"
--cflags --libs'''
.split()," ")
@@ -381,7 +381,7 @@ def configure(conf):
args='--modversion',
okmsg=waffles.misc.myokmsg,
msg="Checking for Gecko
GREVersion").strip())
- if not env['GECKO_VER'][3].isalpha():
+ if not env['GECKO_VER'][-1].isalpha():
conf.define('GECKO_MIN', env['GECKO_VER'][0:5]+'.0')
conf.define('GECKO_MAX', env['GECKO_VER'][0:5]+'.99')
else:
ProvádÄnÃ(%prep): /bin/sh -e /var/tmp/rpm-tmp.NU4ZI5
+ umask 022
+ cd /home/matej/build/Extras/xiphos
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/matej/build/Extras/xiphos
+ rm -rf xiphos
+ /usr/bin/bzip2 -dc
/home/matej/build/Extras/xiphos/xiphos-20110614svn4172.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xiphos
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (xiphos-rawhide-gtkhtml3.patch):'
Patch #0 (xiphos-rawhide-gtkhtml3.patch):
+ /usr/bin/patch -s -p1 -b --suffix .gtkhtml3 --fuzz=0
+ /bin/cat /home/matej/build/Extras/xiphos/xiphos-rawhide-gtkhtml3.patch
+ exit 0
ProvádÄnÃ(%build): /bin/sh -e /var/tmp/rpm-tmp.IAPXao
+ umask 022
+ cd /home/matej/build/Extras/xiphos
+ cd xiphos
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ ./waf configure --prefix /usr --debug-level optimized --enable-delint
Linux detected
Check for program g++ or c++ : /usr/bin/g++
Check for program cpp : /usr/bin/cpp
Check for program ar : /usr/bin/ar
Check for program ranlib : /usr/bin/ranlib
Check for program gcc or cc : /usr/bin/gcc
Check for program msgfmt : /usr/bin/msgfmt
Check for program intltool-merge : /usr/bin/intltool-merge
Checking for header locale.h : ok
Check for program glib-genmarshal : /usr/bin/glib-genmarshal
Check for program glib-mkenums : /usr/bin/glib-mkenums
Check for program dbus-binding-tool : /usr/bin/dbus-binding-tool
Check for program docbook2man : /usr/bin/docbook2man
Check for program xml2po : /usr/bin/xml2po
Check for program xsltproc : /usr/bin/xsltproc
Check for program strip : /usr/bin/strip
Checking for dbus-glib-1 >= 0.60 : ok
Checking for GNOME3 gtkhtml-editor : Deffinatly
Checking for pkg-config version >= 0.9.0 : ok
Checking for GNOME related libs : ok
Checking for gtk+-unix-print-2.0 : ok
Checking for sword : ok
Checking for gtk+-2.0 >= 2.16 : ok
Checking for gtk+-2.0 >= 2.18 : ok
Checking for gtk+-2.0 >= 2.20 : ok
Checking for nspr : ok
checking for libxul-embedding : ok
Checking for libxul sdkdir : ok /usr/lib64/xulrunner-sdk-2
Checking for Gecko GREVersion : ok 2
Checking for Gecko GREVersionMin : ok 2.0
Checking for Gecko GREVersionMax : ok 2.99
Checking for header dlfcn.h : ok
Checking for header inttypes.h : ok
Checking for header locale.h : ok
Checking for header memory.h : ok
Checking for header stdint.h : ok
Checking for header stdlib.h : ok
Checking for header strings.h : ok
Checking for header string.h : ok
Checking for header sys/stat.h : ok
Checking for header sys/types.h : ok
Checking for header unistd.h : ok
Checking for header sys/select.h : ok
Checking for header sys/socket.h : ok
Checking for header winsock.h : not found
Checking for function strcasestr : ok
'configure' finished successfully (1.777s)
+ ./waf build -v
Waf: Entering directory `/home/matej/build/Extras/xiphos/xiphos/build'
[ 1/129] glib_genmarshal: src/gnome2/marshal.list ->
build/default/src/gnome2/marshal.h build/default/src/gnome2/marshal.c
12:02:24 runner system command -> /usr/bin/glib-genmarshal
../src/gnome2/marshal.list --prefix=ipc_marshal --header >
/home/matej/build/Extras/xiphos/xiphos/build/default/src/gnome2/marshal.h
[ 2/129] glib_genmarshal: src/examples/marshal.list ->
build/default/src/examples/marshal.h build/default/src/examples/marshal.c
12:02:24 runner system command -> /usr/bin/glib-genmarshal
../src/examples/marshal.list --prefix=ipc_marshal --header >
/home/matej/build/Extras/xiphos/xiphos/build/default/src/examples/marshal.h
[ 3/129] xml2po: help/fr/fr.po help/C/xiphos.xml ->
build/default/help/fr/xiphos.xml
12:02:24 runner system command -> /usr/bin/xml2po -e -p ../help/fr/fr.po
../help/C/xiphos.xml > default/help/fr/xiphos.xml
[ 4/129] xml2po: help/fa/fa.po help/C/xiphos.xml ->
build/default/help/fa/xiphos.xml
12:02:24 runner system command -> /usr/bin/xml2po -e -p ../help/fa/fa.po
../help/C/xiphos.xml > default/help/fa/xiphos.xml
[ 5/129] locale_set.c: src/gnome2/make-locale-set.sh po/LINGUAS ->
build/default/src/gnome2/locale_set.c
12:02:26 runner system command -> sh
/home/matej/build/Extras/xiphos/xiphos/src/gnome2/make-locale-set.sh
/home/matej/build/Extras/xiphos/xiphos/po/LINGUAS >
default/src/gnome2/locale_set.c
[ 6/129] copy: xiphos.desktop.in.in -> build/default/xiphos.desktop.in
[ 7/129] dbus_binding_tool: src/gnome2/ipc-interface.xml ->
build/default/src/gnome2/ipc-interface.h
12:02:26 runner system command -> /usr/bin/dbus-binding-tool
--prefix=ipc_object --mode=glib-server
--output=default/src/gnome2/ipc-interface.h ../src/gnome2/ipc-interface.xml
[ 8/129] dbus_binding_tool: src/examples/ipc-interface.xml ->
build/default/src/examples/ipc-interface.h
12:02:26 runner system command -> /usr/bin/dbus-binding-tool
--prefix=ipc_object --mode=glib-client
--output=default/src/examples/ipc-interface.h ../src/examples/ipc-interface.xml
[ 9/129] po: po/ar.po -> build/default/po/ar.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/ar.mo',
'../po/ar.po']
[ 10/129] po: po/cs.po -> build/default/po/cs.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/cs.mo',
'../po/cs.po']
[ 11/129] po: po/cy.po -> build/default/po/cy.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/cy.mo',
'../po/cy.po']
[ 12/129] po: po/da.po -> build/default/po/da.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/da.mo',
'../po/da.po']
[ 13/129] po: po/de.po -> build/default/po/de.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/de.mo',
'../po/de.po']
[ 14/129] po: po/en_GB.po -> build/default/po/en_GB.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o',
'default/po/en_GB.mo', '../po/en_GB.po']
[ 15/129] po: po/es.po -> build/default/po/es.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/es.mo',
'../po/es.po']
[ 16/129] po: po/fa.po -> build/default/po/fa.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/fa.mo',
'../po/fa.po']
[ 17/129] po: po/fi.po -> build/default/po/fi.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/fi.mo',
'../po/fi.po']
[ 18/129] po: po/fr.po -> build/default/po/fr.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/fr.mo',
'../po/fr.po']
[ 19/129] po: po/he.po -> build/default/po/he.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/he.mo',
'../po/he.po']
[ 20/129] po: po/hu.po -> build/default/po/hu.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/hu.mo',
'../po/hu.po']
[ 21/129] po: po/ja.po -> build/default/po/ja.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/ja.mo',
'../po/ja.po']
[ 22/129] po: po/lv.po -> build/default/po/lv.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/lv.mo',
'../po/lv.po']
[ 23/129] po: po/nb.po -> build/default/po/nb.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/nb.mo',
'../po/nb.po']
[ 24/129] po: po/nl.po -> build/default/po/nl.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/nl.mo',
'../po/nl.po']
[ 25/129] po: po/pl.po -> build/default/po/pl.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/pl.mo',
'../po/pl.po']
[ 26/129] po: po/pt.po -> build/default/po/pt.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/pt.mo',
'../po/pt.po']
[ 27/129] po: po/pt_BR.po -> build/default/po/pt_BR.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o',
'default/po/pt_BR.mo', '../po/pt_BR.po']
[ 28/129] po: po/ro.po -> build/default/po/ro.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/ro.mo',
'../po/ro.po']
[ 29/129] po: po/ru.po -> build/default/po/ru.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/ru.mo',
'../po/ru.po']
[ 30/129] po: po/sk.po -> build/default/po/sk.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/sk.mo',
'../po/sk.po']
[ 31/129] po: po/sl.po -> build/default/po/sl.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/sl.mo',
'../po/sl.po']
[ 32/129] po: po/sv.po -> build/default/po/sv.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/sv.mo',
'../po/sv.po']
[ 33/129] po: po/tr.po -> build/default/po/tr.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o', 'default/po/tr.mo',
'../po/tr.po']
[ 34/129] po: po/zh_CN.po -> build/default/po/zh_CN.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o',
'default/po/zh_CN.mo', '../po/zh_CN.po']
[ 35/129] po: po/zh_TW.po -> build/default/po/zh_TW.mo
12:02:26 runner system command -> ['/usr/bin/msgfmt', '-o',
'default/po/zh_TW.mo', '../po/zh_TW.po']
[ 36/129] xsltproc2po: help/xiphos.omf.in help/C/xiphos.xml ->
build/default/help/C/xiphos-C.omf
12:02:26 runner system command -> /usr/bin/xsltproc -o
/home/matej/build/Extras/xiphos/xiphos/build/default/help/C/xiphos-C.omf
--stringparam db2omf.basename xiphos --stringparam db2omf.format docbook
--stringparam db2omf.lang C --stringparam db2omf.dtd '-//OASIS//DTD DocBook XML
V4.1.2//EN' --stringparam db2omf.omf_dir /usr/share/omf --stringparam
db2omf.help_dir /usr/share/gnome/help --stringparam db2omf.omf_in
/home/matej/build/Extras/xiphos/xiphos/help/xiphos.omf.in --stringparam
db2omf.scrollkeeper_cl /usr/share/librarian/Templates/C/scrollkeeper_cl.xml
/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl
/home/matej/build/Extras/xiphos/xiphos/help/C/xiphos.xml
[ 37/129] xsltproc2po: help/xiphos.omf.in build/default/help/fa/xiphos.xml ->
build/default/help/fa/xiphos-fa.omf
12:02:26 runner system command -> /usr/bin/xsltproc -o
/home/matej/build/Extras/xiphos/xiphos/build/default/help/fa/xiphos-fa.omf
--stringparam db2omf.basename xiphos --stringparam db2omf.format docbook
--stringparam db2omf.lang fa --stringparam db2omf.dtd '-//OASIS//DTD DocBook
XML V4.1.2//EN' --stringparam db2omf.omf_dir /usr/share/omf --stringparam
db2omf.help_dir /usr/share/gnome/help --stringparam db2omf.omf_in
/home/matej/build/Extras/xiphos/xiphos/help/xiphos.omf.in --stringparam
db2omf.scrollkeeper_cl /usr/share/librarian/Templates/C/scrollkeeper_cl.xml
/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl
/home/matej/build/Extras/xiphos/xiphos/build/default/help/fa/xiphos.xml
[ 38/129] xsltproc2po: help/xiphos.omf.in build/default/help/fr/xiphos.xml ->
build/default/help/fr/xiphos-fr.omf
12:02:26 runner system command -> /usr/bin/xsltproc -o
/home/matej/build/Extras/xiphos/xiphos/build/default/help/fr/xiphos-fr.omf
--stringparam db2omf.basename xiphos --stringparam db2omf.format docbook
--stringparam db2omf.lang fr --stringparam db2omf.dtd '-//OASIS//DTD DocBook
XML V4.1.2//EN' --stringparam db2omf.omf_dir /usr/share/omf --stringparam
db2omf.help_dir /usr/share/gnome/help --stringparam db2omf.omf_in
/home/matej/build/Extras/xiphos/xiphos/help/xiphos.omf.in --stringparam
db2omf.scrollkeeper_cl /usr/share/librarian/Templates/C/scrollkeeper_cl.xml
/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl
/home/matej/build/Extras/xiphos/xiphos/build/default/help/fr/xiphos.xml
[ 39/129] cxx: src/backend/gs_stringmgr.cpp ->
build/default/src/backend/gs_stringmgr_1.o
12:02:26 runner system command -> ['/usr/bin/g++', '-O2', '-Werror', '-Wall',
'-DHAVE_CONFIG_H', '-O2', '-g', '-pipe', '-Wall', '-Wp,-D_FORTIFY_SOURCE=2',
'-fexceptions', '-fstack-protector', '--param=ssp-buffer-size=4', '-m64',
'-mtune=generic', '-pthread', '-pthread', '-fshort-wchar',
'-Idefault/src/backend', '-I../src/backend', '-Idefault', '-I..',
'-Idefault/src', '-I../src', '-I/usr/include/dbus-1.0',
'-I/usr/lib64/dbus-1.0/include', '-I/usr/include/glib-2.0',
'-I/usr/lib64/glib-2.0/include', '-I/usr/include/libgtkhtml-4.0/editor',
'-I/usr/include/libgtkhtml-4.0', '-I/usr/include/gtk-3.0',
'-I/usr/include/enchant', '-I/usr/include/gconf/2', '-I/usr/include/cairo',
'-I/usr/include/atk-1.0', '-I/usr/include/gdk-pixbuf-2.0',
'-I/usr/include/pango-1.0', '-I/usr/include/pixman-1',
'-I/usr/include/freetype2', '-I/usr/include/libpng12',
'-I/usr/include/orbit-2.0', '-I/usr/include/gtk-2.0',
'-I/usr/lib64/gtk-2.0/include', '-I/usr/include/libglade-2.0',
'-I/usr/include/libxml2', '-I/usr/include/libgsf-1', '-I/usr/include/sword',
'-I/usr/include/xulrunner-sdk-2', '-I/usr/include/nspr4', '-DGSEAL_ENABLE',
'-DORBIT2=1', '-DXPCOM_GLUE', '-DGSEAL_ENABLE', '-DORBIT2=1', '-DXPCOM_GLUE',
'../src/backend/gs_stringmgr.cpp', '-c', '-o',
'default/src/backend/gs_stringmgr_1.o']
[ 40/129] cxx: src/backend/module_manager.cc ->
build/default/src/backend/module_manager_1.o
12:02:26 runner system command -> ['/usr/bin/g++', '-O2', '-Werror', '-Wall',
'-DHAVE_CONFIG_H', '-O2', '-g', '-pipe', '-Wall', '-Wp,-D_FORTIFY_SOURCE=2',
'-fexceptions', '-fstack-protector', '--param=ssp-buffer-size=4', '-m64',
'-mtune=generic', '-pthread', '-pthread', '-fshort-wchar',
'-Idefault/src/backend', '-I../src/backend', '-Idefault', '-I..',
'-Idefault/src', '-I../src', '-I/usr/include/dbus-1.0',
'-I/usr/lib64/dbus-1.0/include', '-I/usr/include/glib-2.0',
'-I/usr/lib64/glib-2.0/include', '-I/usr/include/libgtkhtml-4.0/editor',
'-I/usr/include/libgtkhtml-4.0', '-I/usr/include/gtk-3.0',
'-I/usr/include/enchant', '-I/usr/include/gconf/2', '-I/usr/include/cairo',
'-I/usr/include/atk-1.0', '-I/usr/include/gdk-pixbuf-2.0',
'-I/usr/include/pango-1.0', '-I/usr/include/pixman-1',
'-I/usr/include/freetype2', '-I/usr/include/libpng12',
'-I/usr/include/orbit-2.0', '-I/usr/include/gtk-2.0',
'-I/usr/lib64/gtk-2.0/include', '-I/usr/include/libglade-2.0',
'-I/usr/include/libxml2', '-I/usr/include/libgsf-1', '-I/usr/include/sword',
'-I/usr/include/xulrunner-sdk-2', '-I/usr/include/nspr4', '-DGSEAL_ENABLE',
'-DORBIT2=1', '-DXPCOM_GLUE', '-DGSEAL_ENABLE', '-DORBIT2=1', '-DXPCOM_GLUE',
'../src/backend/module_manager.cc', '-c', '-o',
'default/src/backend/module_manager_1.o']
[ 41/129] cxx: src/backend/sword_main.cc ->
build/default/src/backend/sword_main_1.o
12:02:26 runner system command -> ['/usr/bin/g++', '-O2', '-Werror', '-Wall',
'-DHAVE_CONFIG_H', '-O2', '-g', '-pipe', '-Wall', '-Wp,-D_FORTIFY_SOURCE=2',
'-fexceptions', '-fstack-protector', '--param=ssp-buffer-size=4', '-m64',
'-mtune=generic', '-pthread', '-pthread', '-fshort-wchar',
'-Idefault/src/backend', '-I../src/backend', '-Idefault', '-I..',
'-Idefault/src', '-I../src', '-I/usr/include/dbus-1.0',
'-I/usr/lib64/dbus-1.0/include', '-I/usr/include/glib-2.0',
'-I/usr/lib64/glib-2.0/include', '-I/usr/include/libgtkhtml-4.0/editor',
'-I/usr/include/libgtkhtml-4.0', '-I/usr/include/gtk-3.0',
'-I/usr/include/enchant', '-I/usr/include/gconf/2', '-I/usr/include/cairo',
'-I/usr/include/atk-1.0', '-I/usr/include/gdk-pixbuf-2.0',
'-I/usr/include/pango-1.0', '-I/usr/include/pixman-1',
'-I/usr/include/freetype2', '-I/usr/include/libpng12',
'-I/usr/include/orbit-2.0', '-I/usr/include/gtk-2.0',
'-I/usr/lib64/gtk-2.0/include', '-I/usr/include/libglade-2.0',
'-I/usr/include/libxml2', '-I/usr/include/libgsf-1', '-I/usr/include/sword',
'-I/usr/include/xulrunner-sdk-2', '-I/usr/include/nspr4', '-DGSEAL_ENABLE',
'-DORBIT2=1', '-DXPCOM_GLUE', '-DGSEAL_ENABLE', '-DORBIT2=1', '-DXPCOM_GLUE',
'../src/backend/sword_main.cc', '-c', '-o',
'default/src/backend/sword_main_1.o']
../src/backend/sword_main.cc: In constructor 'BackEnd::BackEnd()':
../src/backend/sword_main.cc:68:9: error: variable 'd' set but not used
[-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
../src/backend/module_manager.cc: In function 'void
backend_init_module_mgr(const char*, gboolean, gboolean)':
../src/backend/module_manager.cc:724:9: error: variable 'd' set but not used
[-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
Waf: Leaving directory `/home/matej/build/Extras/xiphos/xiphos/build'
Build failed:
-> task failed (err #1):
{task: cxx sword_main.cc -> sword_main_1.o}
-> task failed (err #1):
{task: cxx module_manager.cc -> module_manager_1.o}
chyba: Špatný návratový kód z /var/tmp/rpm-tmp.IAPXao (%build)
chyby sestavenà RPM:
Špatný návratový kód z /var/tmp/rpm-tmp.IAPXao (%build)
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page