Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2011 14:10:00 -0600
From:      James <oscartheduck@gmail.com>
To:        Robert Jameson <rj@dawnshosting.com>
Cc:        knu@idaemons.org, ruby@freebsd.org
Subject:   Re: portupgrade fails - ruby error
Message-ID:  <AANLkTinhKBhvoOe3YvYTFDG8A-puEobeFCpMqUv0hMEv@mail.gmail.com>
In-Reply-To: <AANLkTimLdRx5Whop8P9mkvSH_TrBcmv52c1PR5hvqqgY@mail.gmail.com>
References:  <AANLkTimLdRx5Whop8P9mkvSH_TrBcmv52c1PR5hvqqgY@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Looks like portupgrade's behaving correctly:

===>    Verifying install for /usr/local/lib/libcrypto.so.7 in
/usr/ports/security/openssl
===>  openssl-1.0.0_5 is marked as broken: Patches do not merge, please
change options.
*** Error code 1


You need to work out the issue with openssl. Try reading UPDATING and seeing
if there's any guidance there.

On Mon, Mar 14, 2011 at 11:59 PM, Robert Jameson <rj@dawnshosting.com>wrote:

> While trying to upgrade ports with BATCH=YES portupgrade -a
> i get the following error
>
> (01:53 AM):(root@cube)/usr/ports/ports-mgmt/portupgrade-devel$ BATCH=YES
> portupgrade -a
> elf_load_section: truncated ELF file
> ** Port marked as IGNORE: databases/p5-DBD-mysql:
>        cannot install: unknown MySQL version: Abort trap
> elf_load_section: truncated ELF file
> ** Port marked as IGNORE: net/mediatomb:
>        cannot install: unknown MySQL version: Abort trap
> elf_load_section: truncated ELF file
> ** Port marked as IGNORE: databases/mysql51-server:
>        cannot install: MySQL versions mismatch: mysqlAbort trap-client is
> installed and wanted version is mysql51-client
> elf_load_section: truncated ELF file
> ** Port marked as IGNORE: databases/p5-Mysql:
>        cannot install: unknown MySQL version: Abort trap
> elf_load_section: truncated ELF file
> ** Port marked as IGNORE: databases/phpmyadmin:
>        cannot install: unknown MySQL version: Abort trap
> ** Port marked as IGNORE: irc/psybnc:
>        is an interactive port
> ** Port marked as IGNORE: archivers/xz:
>        is already in the base system
> --->  Upgrading 'stunnel-4.34' to 'stunnel-4.35' (security/stunnel)
> --->  Building '/usr/ports/security/stunnel'
> ===>  Cleaning for stunnel-4.35
> ===>  License GPLv2 GPLv3 accepted by the user
> ===>  Found saved configuration for stunnel-4.35
> ===>  Extracting for stunnel-4.35
> => SHA256 Checksum OK for stunnel-4.35.tar.gz.
> ===>  Patching for stunnel-4.35
> *************************************************************************
> Note: you have to explicitly define WITH_STUNNEL_SSL_ENGINE to activate
> the OpenSSL ENGINE code on FreeBSD 5.x or 6.x.
> There are known reliability issues with stunnel and the OpenSSL ENGINE
> code, so you are advised not to enable it.
> *************************************************************************
> ===>  Applying extra patch
> /usr/ports/security/stunnel/files/ssl-noengine.patch
> ===>  Applying FreeBSD patches for stunnel-4.35
> /usr/bin/sed -i.bak -E -e
> 's|\$\(prefix\)/var/run/stunnel/stunnel.pid|$(localstatedir)/stunnel.pid|'
>  /usr/ports/security/stunnel/work/stunnel-4.35/src/Makefile.in
> ===>   stunnel-4.35 depends on file: /usr/local/lib/libcrypto.so.7 - not
> found
> ===>    Verifying install for /usr/local/lib/libcrypto.so.7 in
> /usr/ports/security/openssl
> ===>  openssl-1.0.0_5 is marked as broken: Patches do not merge, please
> change options.
> *** Error code 1
>
> Stop in /usr/ports/security/openssl.
> *** Error code 1
>
> Stop in /usr/ports/security/stunnel.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20110315-96031-d9ndgv-0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=stunnel-4.34 UPGRADE_PORT_VER=4.34 make
> ** Fix the problem and try again.
> --->  Skipping 'bsdpan-IO-Compress-2.026' because it is held by user
> (specify -f to force)
> /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize':
> ArgumentError (ArgumentError)
>        from /usr/local/sbin/portupgrade:1004:in `new'
>        from /usr/local/sbin/portupgrade:1004:in `do_upgrade'
>        from /usr/local/sbin/portupgrade:814:in `main'
>        from /usr/local/sbin/portupgrade:810:in `each'
>        from /usr/local/sbin/portupgrade:810:in `main'
>        from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
>        from /usr/local/sbin/portupgrade:231:in `new'
>        from /usr/local/sbin/portupgrade:231:in `main'
>        from /usr/local/sbin/portupgrade:2219
> (01:58 AM):(root@cube)/usr/ports/ports-mgmt/portupgrade-devel$
>
>
> portupgrade 2.4.8 (2008/07/01)
>
> ----------------
> Island Information Services
>
> Robert Jameson
> Cell: (843) 298-6648
> E-Mail: rj@dawnshosting.com
> _______________________________________________
> freebsd-ruby@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ruby
> To unsubscribe, send any mail to "freebsd-ruby-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinhKBhvoOe3YvYTFDG8A-puEobeFCpMqUv0hMEv>