Date: Sat, 18 Aug 2007 19:52:33 +0300 From: "V.Chukharev" <chukharev@mail.ru> To: gnome@freebsd.org Subject: devel/py-dbus upgrade problem Message-ID: <op.tw9k5vs20g54sc@localhost>
next in thread | raw e-mail | index | archive | help
Hi, For few last versions of devel/py-dbus I face the same problem. If I run= portupgrade I get the following. chu@chu:~ 15:08:42 $ NOCLEANDEPENDS=3Dy TMPDIR=3D~/tmp LC_ALL=3DC BATCH=3D= yes sudo nice portupgrade -ku devel/py-dbus Password: ** Detected a package name change: py24-dbus (devel/py-dbus) -> 'py25-db= us' (devel/py-dbus) ---> Upgrading 'py24-dbus-0.82.1' to 'py25-dbus-0.82.2' (devel/py-dbus)= ---> Building '/usr/ports/devel/py-dbus' =3D=3D=3D> Cleaning for py25-dbus-0.82.2 =3D> dbus-python-0.82.2.tar.gz doesn't seem to exist in /usr/ports/distf= iles/. =3D> Attempting to fetch from http://dbus.freedesktop.org/releases/dbus-= python/. dbus-python-0.82.2.tar.gz 100% of 477 kB 90 kBps =3D=3D=3D> Extracting for py25-dbus-0.82.2 =3D> MD5 Checksum OK for dbus-python-0.82.2.tar.gz. =3D> SHA256 Checksum OK for dbus-python-0.82.2.tar.gz. =3D=3D=3D> Patching for py25-dbus-0.82.2 =3D=3D=3D> py25-dbus-0.82.2 depends on file: /usr/local/bin/python2.5 = - found =3D=3D=3D> py25-dbus-0.82.2 depends on executable: gmake - found =3D=3D=3D> py25-dbus-0.82.2 depends on file: /usr/local/bin/libtool - = found =3D=3D=3D> py25-dbus-0.82.2 depends on shared library: dbus-glib-1.2 -= found =3D=3D=3D> Configuring for py25-dbus-0.82.2 checking for a BSD-compatible install... /usr/bin/install -c -o root -g = wheel checking whether build environment is sane... yes checking for gawk... gawk [DELETED most of usual build output] install -o root -g wheel -m 444 'NEWS.html' '/usr/local/share/doc/dbu= s-python/NEWS.html' install -o root -g wheel -m 444 'TODO.html' '/usr/local/share/doc/dbu= s-python/TODO.html' test -z "/usr/local/libdata/pkgconfig" || /usr/ports/devel/py-dbus/work/= dbus-python-0.82.2/install-sh -d "/usr/local/libdata/pkgconfig" install -o root -g wheel -m 444 'dbus-python.pc' '/usr/local/libdata/= pkgconfig/dbus-python.pc' test -z "/usr/local/lib/python2.5/site-packages" || /usr/ports/devel/py-= dbus/work/dbus-python-0.82.2/install-sh -d "/usr/local/lib/python2.5/sit= e-packages" install -o root -g wheel -m 444 'dbus_bindings.py' '/usr/local/lib/py= thon2.5/site-packages/dbus_bindings.py' Byte-compiling python modules... dbus_bindings.py Byte-compiling python modules (optimized versions) ... dbus_bindings.py gmake[2]: Leaving directory `/usr/ports/devel/py-dbus/work/dbus-python-0= .82.2' gmake[1]: Leaving directory `/usr/ports/devel/py-dbus/work/dbus-python-0= .82.2' mv: rename /usr/local/share/doc/dbus-python to /usr/local/share/doc/py-d= bus/dbus-python: Directory not empty *** Error code 1 Stop in /usr/ports/devel/py-dbus. *** Error code 1 Stop in /usr/ports/devel/py-dbus. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.50= 247.0 env UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dpy24-dbus-0.82.1 UPG= RADE_PORT_VER=3D0.82.1 make reinstall ---> Restoring the old version tar: share/doc/py-dbus/API_CHANGES.txt: Cannot stat: No such file or dir= ectory tar: share/doc/py-dbus/HACKING.txt: Cannot stat: No such file or directo= ry tar: share/doc/py-dbus/NEWS: Cannot stat: No such file or directory tar: share/doc/py-dbus/README: Cannot stat: No such file or directory tar: share/doc/py-dbus/TODO: Cannot stat: No such file or directory tar: share/doc/py-dbus/tutorial.txt: Cannot stat: No such file or direct= ory tar: Error exit delayed from previous errors. ** Fix the installation problem and try again. [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1331 package= s found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! devel/py-dbus (py24-dbus-0.82.1) (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ** Could not clean up temporary directory: Directory not empty - /var/tm= p/portupgradeHRi6bSSQ chu@chu:~ 17:14:24 $ If I delete the old package, I get some warnings, and the mentioned directories are still not empty. chu@chu:~ 17:29:15 $ sudo pkg_delete -f py24-dbus-0.82.1 pkg_delete: package 'py24-dbus-0.82.1' is required by these other packag= es and may not be deinstalled (but I'll delete it anyway): deskbar-applet-2.18.1_2 gnome2-2.18.3 scribes-0.3.2.8 straw-0.27 pkg_delete: file '/usr/local/share/doc/py-dbus/API_CHANGES.txt' doesn't = exist pkg_delete: file '/usr/local/share/doc/py-dbus/HACKING.txt' doesn't exis= t pkg_delete: file '/usr/local/share/doc/py-dbus/NEWS' doesn't exist pkg_delete: file '/usr/local/share/doc/py-dbus/README' doesn't exist pkg_delete: file '/usr/local/share/doc/py-dbus/TODO' doesn't exist pkg_delete: file '/usr/local/share/doc/py-dbus/tutorial.txt' doesn't exi= st pkg_delete: unable to completely remove directory '/usr/local/share/doc/= py-dbus' pkg_delete: couldn't entirely delete package (perhaps the packing list i= s incorrectly specified?) chu@chu:~ 17:29:47 $ ll /usr/local/share/doc/dbus-python /usr/local/sha= re/doc/py-dbus/dbus-python /usr/local/share/doc/dbus-python: total 176 1154203 drwxr-xr-x 2 root wheel 512 18 Aug 17:09 ./ 753684 drwxr-xr-x 285 root wheel 5632 18 Aug 06:15 ../ 1155212 -r--r--r-- 1 root wheel 13032 18 Aug 17:09 API_CHANGES.html= 1154792 -r--r--r-- 1 root wheel 4544 18 Aug 17:09 API_CHANGES.txt 1155219 -r--r--r-- 1 root wheel 10594 18 Aug 17:09 HACKING.html 1154793 -r--r--r-- 1 root wheel 2224 18 Aug 17:09 HACKING.txt 1154898 -r--r--r-- 1 root wheel 11796 18 Aug 17:09 NEWS 1155221 -r--r--r-- 1 root wheel 20624 18 Aug 17:09 NEWS.html 1154794 -r--r--r-- 1 root wheel 1076 18 Aug 17:09 README 1155220 -r--r--r-- 1 root wheel 7815 18 Aug 17:09 README.html 1154909 -r--r--r-- 1 root wheel 0 18 Aug 17:09 TODO 1155222 -r--r--r-- 1 root wheel 6329 18 Aug 17:09 TODO.html 1155211 -r--r--r-- 1 root wheel 53272 18 Aug 17:09 tutorial.html 1154791 -r--r--r-- 1 root wheel 26618 18 Aug 17:09 tutorial.txt /usr/local/share/doc/py-dbus/dbus-python: total 170 942317 drwxr-xr-x 2 root wheel 512 16 Jul 20:49 ./ 802795 drwxr-xr-x 3 root wheel 512 16 Jul 20:49 ../ 945164 -r--r--r-- 1 root wheel 13032 16 Jul 20:49 API_CHANGES.html 945157 -r--r--r-- 1 root wheel 4544 16 Jul 20:49 API_CHANGES.txt 945166 -r--r--r-- 1 root wheel 10594 16 Jul 20:49 HACKING.html 945158 -r--r--r-- 1 root wheel 2224 16 Jul 20:49 HACKING.txt 945160 -r--r--r-- 1 root wheel 10199 16 Jul 20:49 NEWS 945168 -r--r--r-- 1 root wheel 18805 16 Jul 20:49 NEWS.html 945159 -r--r--r-- 1 root wheel 1372 16 Jul 20:49 README 945167 -r--r--r-- 1 root wheel 8385 16 Jul 20:49 README.html 945162 -r--r--r-- 1 root wheel 0 16 Jul 20:49 TODO 945169 -r--r--r-- 1 root wheel 6329 16 Jul 20:49 TODO.html 945163 -r--r--r-- 1 root wheel 53272 16 Jul 20:49 tutorial.html 942382 -r--r--r-- 1 root wheel 26618 16 Jul 20:49 tutorial.txt chu@chu:~ 17:31:57 $ But now I can simply remove those directories and install the new port. chu@chu:~ 17:31:57 $ sudo rm -rf /usr/local/share/doc/dbus-python /usr/l= ocal/share/doc/py-dbus/dbus-python [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1330 package= s found (-1 +0) (...) done] chu@chu:~ 17:33:31 $ NOCLEANDEPENDS=3Dy TMPDIR=3D~/tmp LC_ALL=3DC BATCH=3D= yes sudo nice portupgrade -ku -N devel/py-dbus [Gathering depends for devel/py-dbus ...................................= ........................................................................= ........................................................................= ........................................................................= ............................................................ done] ---> Installing 'py25-dbus-0.82.2' from a port (devel/py-dbus) ---> Building '/usr/ports/devel/py-dbus' =3D=3D=3D> Cleaning for py25-dbus-0.82.2 =3D=3D=3D> Extracting for py25-dbus-0.82.2 =3D> MD5 Checksum OK for dbus-python-0.82.2.tar.gz. =3D> SHA256 Checksum OK for dbus-python-0.82.2.tar.gz. =3D=3D=3D> Patching for py25-dbus-0.82.2 =3D=3D=3D> py25-dbus-0.82.2 depends on file: /usr/local/bin/python2.5 = - found =3D=3D=3D> py25-dbus-0.82.2 depends on executable: gmake - found =3D=3D=3D> py25-dbus-0.82.2 depends on file: /usr/local/bin/libtool - = found =3D=3D=3D> py25-dbus-0.82.2 depends on shared library: dbus-glib-1.2 -= found =3D=3D=3D> Configuring for py25-dbus-0.82.2 checking for a BSD-compatible install... /usr/bin/install -c -o root -g = wheel checking whether build environment is sane... yes checking for gawk... gawk [DELETED most of usual build output] install -o root -g wheel -m 444 'dbus_bindings.py' '/usr/local/lib/py= thon2.5/site-packages/dbus_bindings.py' Byte-compiling python modules... dbus_bindings.py Byte-compiling python modules (optimized versions) ... dbus_bindings.py gmake[2]: Leaving directory `/usr/ports/devel/py-dbus/work/dbus-python-0= .82.2' gmake[1]: Leaving directory `/usr/ports/devel/py-dbus/work/dbus-python-0= .82.2' =3D=3D=3D> Registering installation for py25-dbus-0.82.2 =3D=3D=3D> Cleaning for py25-dbus-0.82.2 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1331 package= s found (-0 +1) . done] chu@chu:~ 17:48:10 $ Hope somebody can find and fix the cause of the problem... Best regards, Vladimir Chukharev
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tw9k5vs20g54sc>