devel/py-dbus upgrade problem

Joe Marcus Clarke marcus at marcuscom.com
Sat Aug 18 11:45:51 PDT 2007


On Sat, 2007-08-18 at 19:52 +0300, V.Chukharev wrote:
> Hi,
> 
> For few last versions of devel/py-dbus I face the same problem. If I run
> portupgrade I get the following.

This should be fixed now.

Joe

> 
> 
> chu at chu:~ 15:08:42 $ NOCLEANDEPENDS=y TMPDIR=~/tmp LC_ALL=C BATCH=yes sudo nice portupgrade -ku devel/py-dbus
> Password:
> ** Detected a package name change: py24-dbus (devel/py-dbus) -> 'py25-dbus' (devel/py-dbus)
> --->  Upgrading 'py24-dbus-0.82.1' to 'py25-dbus-0.82.2' (devel/py-dbus)
> --->  Building '/usr/ports/devel/py-dbus'
> ===>  Cleaning for py25-dbus-0.82.2
> => dbus-python-0.82.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch from http://dbus.freedesktop.org/releases/dbus-python/.
> dbus-python-0.82.2.tar.gz                     100% of  477 kB   90 kBps
> ===>  Extracting for py25-dbus-0.82.2
> => MD5 Checksum OK for dbus-python-0.82.2.tar.gz.
> => SHA256 Checksum OK for dbus-python-0.82.2.tar.gz.
> ===>  Patching for py25-dbus-0.82.2
> ===>   py25-dbus-0.82.2 depends on file: /usr/local/bin/python2.5 - found
> ===>   py25-dbus-0.82.2 depends on executable: gmake - found
> ===>   py25-dbus-0.82.2 depends on file: /usr/local/bin/libtool - found
> ===>   py25-dbus-0.82.2 depends on shared library: dbus-glib-1.2 - found
> ===>  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/dbus-python/NEWS.html'
>   install  -o root -g wheel -m 444 'TODO.html' '/usr/local/share/doc/dbus-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/site-packages"
>   install  -o root -g wheel -m 444 'dbus_bindings.py' '/usr/local/lib/python2.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-dbus/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.50247.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py24-dbus-0.82.1 UPGRADE_PORT_VER=0.82.1 make reinstall
> --->  Restoring the old version
> tar: share/doc/py-dbus/API_CHANGES.txt: Cannot stat: No such file or directory
> tar: share/doc/py-dbus/HACKING.txt: Cannot stat: No such file or directory
> 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 directory
> 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 packages 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/tmp/portupgradeHRi6bSSQ
> chu at chu:~ 17:14:24 $
> 
> 
> If I delete the old package, I get some warnings, and the mentioned
> directories are still not empty.
> 
> 
> chu at 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 packages
> 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 exist
> 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 exist
> pkg_delete: unable to completely remove directory '/usr/local/share/doc/py-dbus'
> pkg_delete: couldn't entirely delete package (perhaps the packing list is
> incorrectly specified?)
> chu at chu:~ 17:29:47 $  ll /usr/local/share/doc/dbus-python /usr/local/share/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 at chu:~ 17:31:57 $
> 
> 
> But now I can simply remove those directories and install the new port.
> 
> 
> chu at chu:~ 17:31:57 $ sudo rm -rf /usr/local/share/doc/dbus-python /usr/local/share/doc/py-dbus/dbus-python
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1330 packages found (-1 +0) (...) done]
> chu at chu:~ 17:33:31 $ NOCLEANDEPENDS=y TMPDIR=~/tmp LC_ALL=C BATCH=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'
> ===>  Cleaning for py25-dbus-0.82.2
> ===>  Extracting for py25-dbus-0.82.2
> => MD5 Checksum OK for dbus-python-0.82.2.tar.gz.
> => SHA256 Checksum OK for dbus-python-0.82.2.tar.gz.
> ===>  Patching for py25-dbus-0.82.2
> ===>   py25-dbus-0.82.2 depends on file: /usr/local/bin/python2.5 - found
> ===>   py25-dbus-0.82.2 depends on executable: gmake - found
> ===>   py25-dbus-0.82.2 depends on file: /usr/local/bin/libtool - found
> ===>   py25-dbus-0.82.2 depends on shared library: dbus-glib-1.2 - found
> ===>  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/python2.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'
> ===>   Registering installation for py25-dbus-0.82.2
> ===>  Cleaning for py25-dbus-0.82.2
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1331 packages found (-0 +1) . done]
> chu at chu:~ 17:48:10 $
> 
> 
> Hope somebody can find and fix the cause of the problem...
> 
> Best regards,
> 
> Vladimir Chukharev
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070818/47290023/attachment.pgp


More information about the freebsd-gnome mailing list