Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Mar 2010 20:21:50 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Mikhail T." <mi+thun@aldan.algebra.com>
Cc:        gnome@freebsd.org, kde@freebsd.org, python@freebsd.org
Subject:   Re: narrowed down troubles with devel/gobject-introspection
Message-ID:  <1268011310.96436.25.camel@shumai.marcuscom.com>
In-Reply-To: <4B8C8BE3.3060806@aldan.algebra.com>
References:  <4B8C874F.5020502@aldan.algebra.com> <4B8C8BE3.3060806@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-YKaHoBwAfYdaL2sVt4Nk
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, 2010-03-01 at 22:54 -0500, Mikhail T. wrote:
> Ok, some Python script somewhere is trying to do chflags on a file under
> ~/.cache. On this system, my home directory is NFS-mounted and the
> chflags fails. This should not be a fatal error, but it is... CC-ing
> Python-maintainers... Yours,

The recommended workaround for gobject-introspection is to symlink
~/.cache/g-ir-scanner to /dev/null, or some locally mounted directory.

Joe

>=20
>     -mi
>=20
> Mikhail T. =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2(=D0=BB=D0=B0):
> > Building devel/gobject-introspection -- a requirement for various
> > things, including gstreamer and thus KDE4 -- fails here:
> >
> >     /bin/sh /opt/bin/libtool --tag=3DCC   --mode=3Dlink cc=20
> >     -I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include   -D_REENTRANT
> >     -I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include   -Wsign-compar=
e
> >     -Wcast-align -Wpointer-arith -Wnested-externs -Wmissing-prototypes
> >     -Wmissing-declarations -Wchar-subscripts -Wall -O2 -pipe
> >     -march=3Dpentium4 -fno-strict-aliasing -avoid-version  -L/opt/lib -=
o
> >     libannotation.la -rpath /opt/unused annotation.lo  -L/opt/lib
> >     -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -pthread
> >     -L/opt/lib -lgthread-2.0 -lglib-2.0=20
> >     libtool: link: cc -shared  .libs/annotation.o   -Wl,-rpath
> >     -Wl,/opt/lib -Wl,-rpath -Wl,/opt/lib -L/opt/lib
> >     /opt/lib/libgio-2.0.so /opt/lib/libgobject-2.0.so
> >     /opt/lib/libgmodule-2.0.so /opt/lib/libgthread-2.0.so -pthread
> >     /opt/lib/libglib-2.0.so -licui18n /opt/lib/libintl.so
> >     /opt/lib/libiconv.so /opt/lib/libpcre.so  -march=3Dpentium4 -pthrea=
d
> >     -pthread -pthread   -pthread -Wl,-soname -Wl,libannotation.so -o
> >     .libs/libannotation.so
> >     libtool: link: ar cru .libs/libannotation.a  annotation.o
> >     libtool: link: ranlib .libs/libannotation.a
> >     libtool: link: ( cd ".libs" && rm -f "libannotation.la" && ln -s
> >     "../libannotation.la" "libannotation.la" )
> >     env LPATH=3D.libs  env PYTHONPATH=3D../..:../..:YTHONPATH
> >     UNINSTALLED_INTROSPECTION_SRCDIR=3D../..
> >     UNINSTALLED_INTROSPECTION_BUILDDIR=3D../.. ../../tools/g-ir-scanner=
 -v
> >     --add-include-path=3D../../gir --add-include-path=3D. -v
> >     --add-include-path=3D../../gir --add-include-path=3D.
> >     --namespace=3Dannotation --nsversion=3D1.0 --libtool=3D"/bin/sh
> >     /opt/bin/libtool"  --library=3Dlibannotation.la --pkg=3Dgobject-2.0
> >     --include=3DGObject-2.0 --include=3Dutility-1.0   ./annotation.c
> >     ./annotation.h --output annotation-1.0.gir
> >     Traceback (most recent call last):
> >       File "../../tools/g-ir-scanner", line 38, in <module>
> >         sys.exit(scanner_main(sys.argv))
> >       File
> >     "/home/usr/ports/devel/gobject-introspection/work/gobject-introspec=
tion-0.6.7/giscanner/scannermain.py",
> >     line 277, in scanner_main
> >         transformer.register_include(include_obj)
> >       File
> >     "/home/usr/ports/devel/gobject-introspection/work/gobject-introspec=
tion-0.6.7/giscanner/transformer.py",
> >     line 112, in register_include
> >         self._parse_include(filename)
> >       File
> >     "/home/usr/ports/devel/gobject-introspection/work/gobject-introspec=
tion-0.6.7/giscanner/transformer.py",
> >     line 137, in _parse_include
> >         self._cachestore.store(filename, parser)
> >       File
> >     "/home/usr/ports/devel/gobject-introspection/work/gobject-introspec=
tion-0.6.7/giscanner/cachestore.py",
> >     line 112, in store
> >         shutil.move(tmp_filename, store_filename)
> >       File "/opt/lib/python2.6/shutil.py", line 264, in move
> >         copy2(src, real_dst)
> >       File "/opt/lib/python2.6/shutil.py", line 100, in copy2
> >         copystat(src, dst)
> >       File "/opt/lib/python2.6/shutil.py", line 77, in copystat
> >         os.chflags(dst, st.st_flags)
> >     OSError: [Errno 45] Operation not supported:
> >     '/home/mi/.cache/g-ir-scanner/fc59b7fa095cd6403cb3917129208269cb202=
f6b'
> >     gmake[3]: *** [annotation-1.0.gir] Error 1
> >     gmake[3]: Leaving directory
> >     `/home/usr/ports/devel/gobject-introspection/work/gobject-introspec=
tion-0.6.7/tests/scanner'
> >     gmake[2]: *** [all-recursive] Error 1
> >     gmake[2]: Leaving directory
> >     `/home/usr/ports/devel/gobject-introspection/work/gobject-introspec=
tion-0.6.7/tests'
> >     gmake[1]: *** [all-recursive] Error 1
> >     gmake[1]: Leaving directory
> >     `/home/usr/ports/devel/gobject-introspection/work/gobject-introspec=
tion-0.6.7'
> >     gmake: *** [all] Error 2
> >     *** Error code 1
> >
> >     Stop in /usr/ports/devel/gobject-introspection.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/multimedia/gstreamer.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/multimedia/gstreamer-plugins.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/multimedia/qt4-phonon-gst.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/www/qt4-webkit.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/devel/qt4-assistant.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/x11/kdelibs4.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/x11/kdebase4.
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>=20

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-YKaHoBwAfYdaL2sVt4Nk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEABECAAYFAkuUUSwACgkQb2iPiv4Uz4fLMwCeOIKNadRvYf4gKfFdjg+OBlcr
rF8An0O5KbksqQxjo5t8opu8nK7uLWIQ
=kC2G
-----END PGP SIGNATURE-----

--=-YKaHoBwAfYdaL2sVt4Nk--




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