Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2009 18:39:43 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        freebsd-gnome@FreeBSD.org
Subject:   [solved] [marcuscom mc_ports] devel/gobject-introspection: does not build
Message-ID:  <97702144@bb.ipt.ru>
In-Reply-To: <08472482@bb.ipt.ru> (Boris Samorodov's message of "Sat\, 10 Oct 2009 16\:27\:09 %2B0400")
References:  <08472482@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 Oct 2009 16:27:09 +0400 Boris Samorodov wrote:

> I try to use mc_ports form www.marcuscom.com and get the following
> error:
> -----
> gmake[2]: Entering directory `/m/ports/devel/gobject-introspection/work/gobject-introspection-0.6.5/gir'
>   CC     libgirepository_everything_1_0_la-everything.lo
>   CCLD   libgirepository-everything-1.0.la
>   GEN    GLib-2.0.gir
> /usr/include/machine/endian.h:107: syntax error, unexpected '{'
> /usr/include/machine/endian.h:107: syntax error, unexpected ';'
>   GEN    GLib-2.0.gir
> Traceback (most recent call last):
>   File "../tools/g-ir-scanner", line 38, in <module>
>     sys.exit(scanner_main(sys.argv))
>   File "/m/ports/devel/gobject-introspection/work/gobject-introspection-0.6.5/giscanner/scannermain.py", line 239, in scanner_main
>     return validate(options.xpath_assertions, args[1])
>   File "/m/ports/devel/gobject-introspection/work/gobject-introspection-0.6.5/giscanner/scannermain.py", line 182, in validate
>     xpath_assert(root, assertion)
>   File "/m/ports/devel/gobject-introspection/work/gobject-introspection-0.6.5/giscanner/minixpath.py", line 77, in xpath_assert
>     raise AssertionError("Failed to find %r" % (path, ))
> AssertionError: Failed to find "/namespace/alias[@name='Quark']"
> gmake[2]: *** [GLib-2.0.gir] Error 1
> gmake[2]: Leaving directory `/m/ports/devel/gobject-introspection/work/gobject-introspection-0.6.5/gir'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/m/ports/devel/gobject-introspection/work/gobject-introspection-0.6.5'
> gmake: *** [all] Error 2
> *** Error code 1
> Stop in /m/ports/devel/gobject-introspection.
> -----

> Full log from the system:
> -----
> % uname -a
> FreeBSD bb.bsam.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Sat Oct 10 13:59:55 MSD 2009     root@bb.bsam.ru:/usr/obj/usr/src/sys/BB  i386
> -----
> ...is here: ftp://ftp.ipt.ru/pub/tmp/gnome/gobject-introspection.log.txt

The problem was solved by:
-----
1. сsup src,
2. build/install world/kernel,
3. csup ports + new mc_ports + marcusmerge,
4. move /usr/local + /var/db/pkg,
5. rebuild ports
-----

Seems that 1-3 were not vital but 4 was. I still have /usr/local.old
and /var/db/pkg.old for those curious.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97702144>