Date: Tue, 26 Jan 2010 16:14:11 +0100 (CET) From: Olaf Seibert <O.Seibert@cs.ru.nl> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gnome@FreeBSD.org, olafs@cs.ru.nl Subject: ports/143260: devel/gobject-introspection writes files in $HOME Message-ID: <20100126151411.73475D4C2A@fourquid.cs.ru.nl> Resent-Message-ID: <201001261520.o0QFK6o6056227@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143260 >Category: ports >Synopsis: devel/gobject-introspection writes files in $HOME >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 26 15:20:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Olaf Seibert >Release: FreeBSD 8.0-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD fourquid.cs.ru.nl 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Thu Jan 7 15:59:54 CET 2010 root@fourquid.cs.ru.nl:/usr/src/sys/amd64/compile/FOURQUID amd64 >Description: devel/gobject-introspection writes files in $HOME while building. This does not work if you compile a package as root and the home directory is on NFS. In any case it is bad form. >How-To-Repeat: sudo portinstall devel/gobject-introspection (I actually discovered it while building the GIMP). Result: on one machine I got "permission denied" errors. After throwing my hands in the air and doing a chmod 777 $HOME/.cache, it worked on one FreeBSD-6.0 host. On another, with 8.0, I got libtool: link: ranlib .libs/libgirepository-everything-1.0.a libtool: link: ( cd ".libs" && rm -f "libgirepository-everything-1.0.la" && ln -s "../libgirepository-everything-1.0.la" "libgirepository-everything-1.0.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=GIRepository --nsversion=2.0 --libtool="/bin/sh /usr/local/bin/libtool" --library=girepository-1.0 --pkg=gobject-2.0 --include=GObject-2.0 --no closure --strip-prefix=g --c-include="girepository.h" --pkg-export gobject-introspection-1.0 -I./girepository ../girepository/girepository.c ../girepository/girepository.h --output GIRepository-2.0.gir Traceback (most recent call last): File "../tools/g-ir-scanner", line 38, in <module> sys.exit(scanner_main(sys.argv)) File "/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 "/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.7/giscanner/transformer.py", line 112, in register_include self._parse_include(filename) File "/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 "/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 "/usr/local/lib/python2.6/shutil.py", line 264, in move copy2(src, real_dst) File "/usr/local/lib/python2.6/shutil.py", line 100, in copy2 copystat(src, dst) File "/usr/local/lib/python2.6/shutil.py", line 77, in copystat os.chflags(dst, st.st_flags) OSError: [Errno 45] Operation not supported: '/home/vb/olafs/.cache/g-ir-scanner/e3b1e4a32a6f9b450523f126aea3ddb7a1e19c90' gmake[2]: *** [GIRepository-2.0.gir] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.7/gir' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/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. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20100126-91846-6rfiap-0 env make DEPENDS_TARGET=package ** Fix the problem and try again. ---> Skipping 'sysutils/polkit' because a requisite port 'devel/gobject-introspection' failed (specify -k to force) ---> Skipping 'multimedia/gstreamer' because a requisite port 'devel/gobject-introspection' failed (specify -k to force) ---> Skipping 'multimedia/gstreamer-plugins' because a requisite port 'multimedia/gstreamer' failed (specify -k to force) ---> Skipping 'sysutils/policykit-gnome' because a requisite port 'sysutils/polkit' failed (specify -k to force) ... more of those ... The directory $HOME/.cache/g-ir-scanner was not there before building. Note that I have no control over the NFS server serving $HOME. >Fix: I don't know. Avoid bad Linux software? -Olaf. -- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100126151411.73475D4C2A>