Re: [gnome-love] Gnome build problem



Andre Klapper schreef:
Hi,

Am Donnerstag, den 18.02.2010, 19:43 +0100 schrieb Joost van der Hoff:
Dear Gnome-lovers,

I am having a problem with JHbuild. It fails when building tracker.

tracker-evolution-plugin.c:211: error: expected ‘)’ before ‘*’ token
tracker-evolution-plugin.c:2161: error: expected ‘)’ before ‘*’ token

What are your settings for os.environ['CFLAGS'] in ~/.jhbuildrc?

andre
I haven't got specific settings for os.environ in ~/.jhbuildrc, if I leave out the comments it only contains the following:

# -*- mode: python -*-
moduleset = 'gnome-2.30'
modules = [ 'meta-gnome-desktop' ]
checkoutroot = os.path.expanduser('/src/gnome2')
prefix = '/opt/gnome2'

My /usr/share/jhbuild/jhbuild/defaults.jhbuildrc may contain more interesting stuff, it contains the following: (again with comments and whitespace left out)

# -*- mode: python -*-
import os, sys
if 'GTK_PATH' in os.environ.keys():
   del os.environ['GTK_PATH']
modulesets_dir = os.path.join(SRCDIR, 'modulesets')
moduleset = 'gnome-2.30'
modules = [ 'meta-gnome-desktop' ]
build_policy = 'all'
min_time = None
skip = []
tags = []
prefix = '/opt/gnome2'
checkoutroot = os.path.join(os.environ['HOME'], 'cvs', 'gnome2')
tarballdir = None    # will default to checkoutroot
buildroot = None     # if set, packages will be build with srcdir!=builddir
builddir_pattern = '%s'
autogenargs = '--disable-static --disable-gtk-doc'
makeargs = ''
cflags = ''
installprog = os.path.join(os.environ['HOME'], '.local/bin', 'install-check')
if not os.path.exists(installprog):
   installprog = '/usr/bin/install-check'
if not os.path.exists(installprog):
   installprog = None
repos = {}
cvsroots = {}
svnroots = {}
branches = {}
module_autogenargs = {}
module_makeargs = {}
module_extra_env = {}
module_makecheck = {}
module_nopoison = {}
nonetwork     = False  # never touch the network
alwaysautogen = False  # call autogen.sh even if a makefile is found
nobuild       = False  # don't actually build the packages
makeclean     = False  # run make clean before building
makecheck     = False  # run make check after building
makedist      = False  # run make dist after building
makedistcheck = False  # run make distcheck after building
trycheckout   = False  # try to force checkout and autogen on failure
nopoison      = False  # don't poison modules on failure
forcecheck    = False  # run make check even when not building
build_targets = ['install']
makecheck_advisory = False # whether to pass over 'make check' failures
interact      = True   # whether to interact with the user.
quiet_mode    = False  # whether to display running commands output
progress_bar = True # whether to display a progress bar when running in quiet mode
checkout_mode = 'update'
module_checkout_mode = {}
copy_dir = None
try:
   uname = os.uname()
   use_lib64 = (uname[0], uname[4]) in [ ('Linux', 'x86_64'),
                                         ('Linux', 'ppc64'),
                                         ('Linux', 's390x') ]
   del uname
except AttributeError:
   use_lib64 = False
buildscript = 'terminal'
tinderbox_outputdir = None
sticky_date = None
pretty_print = True
svn_program = 'svn'
cvs_program = 'cvs'
mirror_policy = ""
module_mirror_policy = {}
if sys.platform.startswith('win'):
   notrayicon = True
   nonotify = True
else:
   notrayicon = False
   nonotify = False
noxvfb = False
xvfbargs = ''
jhbuildbot_master = 'build.gnome.org:9070'
jhbuildbot_slavename = None
jhbuildbot_password = None
jhbuildbot_svn_commits_box = None
try:
   jhbuildbot_slaves_dir = os.path.abspath(".")
except OSError:
   jhbuildbot_slaves_dir = '.'
jhbuildbot_dir = None
jhbuildbot_mastercfg = "master.cfg"
use_local_modulesets = False
ignore_suggests = False
dvcs_mirror_dir = None

Hope it's of any use to you, and thanks for your effort.

Joost.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]