From owner-freebsd-gnome@FreeBSD.ORG Tue Jan 26 15:32:04 2010 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E363E106566B for ; Tue, 26 Jan 2010 15:32:03 +0000 (UTC) (envelope-from O.Seibert@cs.ru.nl) Received: from rustug.science.ru.nl (rustug.science.ru.nl [131.174.16.158]) by mx1.freebsd.org (Postfix) with ESMTP id 95BBE8FC0C for ; Tue, 26 Jan 2010 15:32:03 +0000 (UTC) Received: from kookpunt.science.ru.nl (kookpunt.science.ru.nl [131.174.30.61]) by rustug.science.ru.nl (8.13.7/5.31) with ESMTP id o0QFEI5P007825 for ; Tue, 26 Jan 2010 16:14:18 +0100 (MET) Received: from fourquid.cs.ru.nl (fourquid.cs.ru.nl [131.174.31.43]) by kookpunt.science.ru.nl (8.13.7/5.31) with ESMTP id o0QFEB6r023646; Tue, 26 Jan 2010 16:14:11 +0100 (MET) Received: by fourquid.cs.ru.nl (Postfix, from userid 4100) id 73475D4C2A; Tue, 26 Jan 2010 16:14:11 +0100 (CET) To: FreeBSD-gnats-submit@freebsd.org From: Olaf Seibert X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20100126151411.73475D4C2A@fourquid.cs.ru.nl> Date: Tue, 26 Jan 2010 16:14:11 +0100 (CET) X-Spam-Score: -1.799 () ALL_TRUSTED,BAYES_50 X-Scanned-By: MIMEDefang 2.63 on 131.174.30.61 Cc: gnome@FreeBSD.org, olafs@cs.ru.nl Subject: devel/gobject-introspection writes files in $HOME X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olaf Seibert List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2010 15:32:04 -0000 >Submitter-Id: current-users >Originator: Olaf Seibert >Organization: >Confidential: no >Synopsis: devel/gobject-introspection writes files in $HOME >Severity: serious >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 8.0-RELEASE-p2 amd64 >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 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. --