[kde-freebsd] narrowed down troubles with devel/gobject-introspection

Mikhail T. mi+thun at aldan.algebra.com
Tue Mar 2 04:54:11 CET 2010


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,

    -mi

Mikhail T. написав(ла):
> Building devel/gobject-introspection -- a requirement for various
> things, including gstreamer and thus KDE4 -- fails here:
>
>     /bin/sh /opt/bin/libtool --tag=CC   --mode=link cc 
>     -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-compare
>     -Wcast-align -Wpointer-arith -Wnested-externs -Wmissing-prototypes
>     -Wmissing-declarations -Wchar-subscripts -Wall -O2 -pipe
>     -march=pentium4 -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 
>     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=pentium4 -pthread
>     -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=.libs  env PYTHONPATH=../..:../..:YTHONPATH
>     UNINSTALLED_INTROSPECTION_SRCDIR=../..
>     UNINSTALLED_INTROSPECTION_BUILDDIR=../.. ../../tools/g-ir-scanner -v
>     --add-include-path=../../gir --add-include-path=. -v
>     --add-include-path=../../gir --add-include-path=.
>     --namespace=annotation --nsversion=1.0 --libtool="/bin/sh
>     /opt/bin/libtool"  --library=libannotation.la --pkg=gobject-2.0
>     --include=GObject-2.0 --include=utility-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-introspection-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-introspection-0.6.7/giscanner/transformer.py",
>     line 112, in register_include
>         self._parse_include(filename)
>       File
>     "/home/usr/ports/devel/gobject-introspection/work/gobject-introspection-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-introspection-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/fc59b7fa095cd6403cb3917129208269cb202f6b'
>     gmake[3]: *** [annotation-1.0.gir] Error 1
>     gmake[3]: Leaving directory
>     `/home/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.7/tests/scanner'
>     gmake[2]: *** [all-recursive] Error 1
>     gmake[2]: Leaving directory
>     `/home/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.7/tests'
>     gmake[1]: *** [all-recursive] Error 1
>     gmake[1]: Leaving directory
>     `/home/usr/ports/devel/gobject-introspection/work/gobject-introspection-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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-freebsd/attachments/20100301/6a5ae3bc/attachment-0001.htm 


More information about the kde-freebsd mailing list