portupgrade is seriously broken

Maxim Sobolev sobomax at FreeBSD.org
Wed Mar 4 08:50:16 PST 2009


Hi,

Looks like portupgrade not longer respects error code returned by make
when building or installing package, which results in it uninstalling
previous version of the package when the build fails and not installing
it back ignoring the error code of make install. Please fix ASAP, this
is a serious problem for anybody who uses portupgrade.

My system is FreeBSD 6.4, portupgrade-2.4.6,2, ruby-1.8.7.72_1,1 and
ruby18-bdb-0.6.4.

--->  Upgrading 'p5-Algorithm-Dependency-1.102' to
'p5-Algorithm-Dependency-1.108' (devel/p5-Algorithm-Dependency)
--->  Building '/usr/ports/devel/p5-Algorithm-Dependency'
===>  Cleaning for p5-Algorithm-Dependency-1.108
===>  Vulnerability check disabled, database not found
=> Algorithm-Dependency-1.108.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch from
ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Algorithm/.
Algorithm-Dependency-1.108.tar.gz             100% of   37 kB   82 kBps
===>  Extracting for p5-Algorithm-Dependency-1.108
=> MD5 Checksum OK for Algorithm-Dependency-1.108.tar.gz.
=> SHA256 Checksum OK for Algorithm-Dependency-1.108.tar.gz.
===>   p5-Algorithm-Dependency-1.108 depends on file:
/usr/local/bin/perl5.8.8 - found
===>  Patching for p5-Algorithm-Dependency-1.108
===>   p5-Algorithm-Dependency-1.108 depends on file:
/usr/local/bin/perl5.8.8 - found
===>   p5-Algorithm-Dependency-1.108 depends on package:
p5-Params-Util>=0.31 - not found
===>   Found p5-Params-Util-0.17, but you need to upgrade to
p5-Params-Util>=0.31.
*** Error code 1

Stop in /usr/ports/devel/p5-Algorithm-Dependency.
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'p5-Algorithm-Dependency-1.102'
pkg_delete: package 'p5-Algorithm-Dependency-1.102' is required by these
other packages
and may not be deinstalled (but I'll delete it anyway):
p5-Class-ReturnValue-0.53
p5-DBIx-SearchBuilder-1.43
p5-Test-Inline-2.103
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 217 packages
found (-1 +0) (...) done]
--->  Installing the new version via the port
===>   p5-Algorithm-Dependency-1.108 depends on package:
p5-Params-Util>=0.31 - not found
===>   Found p5-Params-Util-0.17, but you need to upgrade to
p5-Params-Util>=0.31.
*** Error code 1

Stop in /usr/ports/devel/p5-Algorithm-Dependency.
*** Error code 1

Stop in /usr/ports/devel/p5-Algorithm-Dependency.
===>  Cleaning for p5-Algorithm-Dependency-1.108
--->  Cleaning out obsolete shared libraries

-Maxim


More information about the freebsd-ports mailing list