ports/147718: security/amavisd-new fails to upgrade using portupgrade
Helmut Schneider
jumper99 at gmx.de
Wed Jun 9 11:20:02 UTC 2010
>Number: 147718
>Category: ports
>Synopsis: security/amavisd-new fails to upgrade using portupgrade
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 09 11:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Helmut Schneider
>Release: 8.0-RELEASE-p3
>Organization:
>Environment:
>Description:
When tryng to upgrade amavisd-new portupgrade fails to identify already installed db42:
# portupgrade amavisd-new
---> Updating the pkgdb
---> Checking the package registry database
Missing origin: bsdpan-SNMP-Extension-PassPersist-0.03
-> Ignored. (the package is held; specify -f to force)
** Port marked as IGNORE: java/jdk16:
is marked as broken: does not compile
---> Skipping 'bsdpan-SNMP-Extension-PassPersist-0.03' because it is held by user (specify -f to force)
---> Upgrading 'amavisd-new-2.6.4_5,1' to 'amavisd-new-2.6.4_6,1' (security/amavisd-new)
---> Building '/usr/ports/security/amavisd-new' with make flags: -DWITH_BDB -DWITH_SNMP -DWITH_POF -DWITH_RAR -DWITH_UNRAR -DWITH_UNARJ -DWITH_NOMARCH -DWITH_UNZOO -DWITH_TNEF BATCH=YES
===> Cleaning for amavisd-new-2.6.4_6,1
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
===> Found saved configuration for amavisd-new-2.6.4_2,1
**** UPGRADE WARNING: SQL SCHEMA CHANGED ****
If you are upgrading from version prior to 2.6.0
Hit ^c now and read /usr/ports/UPDATING section or
/usr/local/share/doc/amavisd-new/RELEASE_NOTES
Hit ^c now to stop, any key to continue:
===> Extracting for amavisd-new-2.6.4_6,1
=> MD5 Checksum OK for amavisd-new-2.6.4.tar.gz.
=> SHA256 Checksum OK for amavisd-new-2.6.4.tar.gz.
===> Patching for amavisd-new-2.6.4_6,1
===> Applying FreeBSD patches for amavisd-new-2.6.4_6,1
===> amavisd-new-2.6.4_6,1 depends on shared library: db-4.2.2 - not found
===> Verifying install for db-4.2.2 in /usr/ports/databases/db42
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
===> Extracting for db42-4.2.52_5
=> MD5 Checksum OK for bdb/db-4.2.52.tar.gz.
=> SHA256 Checksum OK for bdb/db-4.2.52.tar.gz.
=> MD5 Checksum OK for bdb/patch.4.2.52.1.
=> SHA256 Checksum OK for bdb/patch.4.2.52.1.
=> MD5 Checksum OK for bdb/patch.4.2.52.2.
=> SHA256 Checksum OK for bdb/patch.4.2.52.2.
=> MD5 Checksum OK for bdb/patch.4.2.52.3.
=> SHA256 Checksum OK for bdb/patch.4.2.52.3.
=> MD5 Checksum OK for bdb/patch.4.2.52.4.
=> SHA256 Checksum OK for bdb/patch.4.2.52.4.
=> MD5 Checksum OK for bdb/patch.4.2.52.5.
=> SHA256 Checksum OK for bdb/patch.4.2.52.5.
===> Patching for db42-4.2.52_5
[...]
===> Installing for db42-4.2.52_5
===> Generating temporary packing list
===> Checking if databases/db42 already installed
===> db42-4.2.52_5 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of databases/db42
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/databases/db42.
*** Error code 1
Stop in /usr/ports/security/amavisd-new.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100609-84969-1edmzyz-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=amavisd-new-2.6.4_5,1 UPGRADE_PORT_VER=2.6.4_5,1 make -DWITH_BDB -DWITH_SNMP -DWITH_POF -DWITH_RAR -DWITH_UNRAR -DWITH_UNARJ -DWITH_NOMARCH -DWITH_UNZOO -DWITH_TNEF BATCH=YES
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- java/jdk16 (marked as IGNORE)
- (bsdpan-SNMP-Extension-PassPersist-0.03)
! security/amavisd-new (amavisd-new-2.6.4_5,1) (unknown build error)
Tried to update ports.
Listing the results (+:done / -:ignored / *:skipped / !:failed)
! security/amavisd-new (amavisd-new-2.6.4_5,1) (unknown build error)
# make clean && make
===> Cleaning for amavisd-new-2.6.4_6,1
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
===> Found saved configuration for amavisd-new-2.6.4_2,1
**** UPGRADE WARNING: SQL SCHEMA CHANGED ****
If you are upgrading from version prior to 2.6.0
Hit ^c now and read /usr/ports/UPDATING section or
/usr/local/share/doc/amavisd-new/RELEASE_NOTES
Hit ^c now to stop, any key to continue:
===> Extracting for amavisd-new-2.6.4_6,1
=> MD5 Checksum OK for amavisd-new-2.6.4.tar.gz.
=> SHA256 Checksum OK for amavisd-new-2.6.4.tar.gz.
===> Patching for amavisd-new-2.6.4_6,1
===> Applying FreeBSD patches for amavisd-new-2.6.4_6,1
===> amavisd-new-2.6.4_6,1 depends on shared library: db-4.2.2 - found
===> Configuring for amavisd-new-2.6.4_6,1
[...]
#
portupgrade:
===> amavisd-new-2.6.4_6,1 depends on shared library: db-4.2.2 - not found
manual make:
===> amavisd-new-2.6.4_6,1 depends on shared library: db-4.2.2 - found
>How-To-Repeat:
Try to upgrade amavisd-new using portupgrade
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list