From: "Helmut Schneider" on 20 Jan 2010 07:54 Hi, /usr/ports/UPDATING says: portupgrade -o lang/perl5.10 -f perl-5.8.\* # BATCH=YES portupgrade -o lang/perl5.10 -f perl-threaded-5.8.\* ---> Upgrading 'perl-threaded-5.8.9_3' to 'perl-threaded-5.10.1' (lang/perl5.10) ---> Building '/usr/ports/lang/perl5.10' with make flags: -DWITH_THREADS ===> Cleaning for perl-threaded-5.10.1 ===> perl-threaded-5.10.1 conflicts with installed package(s): perl-threaded-5.8.9_3 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/lang/perl5.10. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100120-80814-1ge6b2r-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=perl-threaded-5.8.9_3 UPGRADE_PORT_VER=5.8.9_3 make -DWITH_THREADS ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! lang/perl5.10 (perl-threaded-5.8.9_3) (unknown build error) # Currently the only solution seems to remove perl.5.8 which as a result deletes all dependencies which requires *all* ports to be reinstalled. Did I miss an important detail? Thanks, Helmut -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Matthew Seaman on 20 Jan 2010 08:11 Helmut Schneider wrote: > ===> perl-threaded-5.10.1 conflicts with installed package(s): > perl-threaded-5.8.9_3 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 Yes. This has been the subject of some debate on the questions@... list recently. The behaviour you're seeing is the result of a recent commit affecting the conflicts handling code in bsd.port.mk. It now checks for conflicts much earlier -- during the fetch and build phases of installing from a port. Consequently the common idiom of: # portupgrade -o new-variant -f old-variant will almost always result in an error as you've seen. Many people (myself included) think this change is not a good idea. To work around the problem, try: # portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f perl-threaded-5.8.\* and then carry on the process as described in UPDATING by force-upgrading all perl modules and any applications that embed a perl interpreter (mod_perl, net-snmpd, nagios, etc) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
From: Michal Varga on 20 Jan 2010 08:29 On Wed, Jan 20, 2010 at 1:54 PM, Helmut Schneider <jumper99(a)gmx.de> wrote: > [...] > Currently the only solution seems to remove perl.5.8 which as a result > deletes all dependencies which requires *all* ports to be reinstalled. > No way, only if you decide to deinstall everything recursively. What about: # pkg_deinstall -vfu perl-threaded-5.8.9_3 # portinstall -v lang/perl5.10 # portupgrade -vfu p5\* (Also, cross-checking with /usr/local/bin/perl-after-upgrade helps with some other specific cases). m. _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Helmut Schneider" on 20 Jan 2010 08:47 Matthew Seaman wrote: > Helmut Schneider wrote: > > > > ===> perl-threaded-5.10.1 conflicts with installed package(s): > > perl-threaded-5.8.9_3 > > > > They install files into the same place. > > Please remove them first with pkg_delete(1). > > *** Error code 1 > > Yes. This has been the subject of some debate on the questions@... > list recently. The behaviour you're seeing is the result of a recent > commit affecting the conflicts handling code in bsd.port.mk. It now > checks for conflicts much earlier -- during the fetch and build > phases of installing from a port. Consequently the common idiom of: > > # portupgrade -o new-variant -f old-variant > > will almost always result in an error as you've seen. Many people > (myself included) think this change is not a good idea. > > To work around the problem, try: > > # portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f > perl-threaded-5.8.\* > > and then carry on the process as described in UPDATING by > force-upgrading all perl modules and any applications that embed a > perl interpreter (mod_perl, net-snmpd, nagios, etc) top-notch! Thanks, Helmut -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Helmut Schneider" on 20 Jan 2010 08:58 Michal Varga wrote: > On Wed, Jan 20, 2010 at 1:54 PM, Helmut Schneider <jumper99(a)gmx.de> > wrote: > > [...] > > Currently the only solution seems to remove perl.5.8 which as a > > result deletes all dependencies which requires all ports to be > > reinstalled. > > > > No way, only if you decide to deinstall everything recursively. What > about: > > # pkg_deinstall -vfu perl-threaded-5.8.9_3 > # portinstall -v lang/perl5.10 > # portupgrade -vfu p5\* # pkg_info -R perl-threaded-5.8.9_3 | grep -v ^p5 Information for perl-threaded-5.8.9_3: Required by: amavisd-new-2.6.4_4,1 apache-2.2.14_5 bsdpan-SNMP-Extension-PassPersist-0.03 gamin-0.1.10_3 gio-fam-backend-2.22.4 glib-2.22.4 mailgraph-1.14_2 nagios-plugins-1.4.14,1 net-snmp-5.4.2.1_6 pango-1.26.2 razor-agents-2.84 rpm2cpio-1.2_2 rrdtool-1.3.9 # > (Also, cross-checking with /usr/local/bin/perl-after-upgrade helps > with some other specific cases). I did so when I upgraded from 5.8.8 to 5.8.9. I finally found myself doing a portupgrade -af. :) -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
|
Next
|
Last
Pages: 1 2 3 Prev: FreeBSD Port: ocsinventory-ng-1.02.1 Next: INDEX build failed for 6.x |