Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2008 12:58:58 -0400
From:      DAve <dave.list@pixelhammer.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Trouble upgrading qt33 with portupgrade after package installation
Message-ID:  <4836F7D2.6000203@pixelhammer.com>
In-Reply-To: <50810.74.170.92.99.1211493506.squirrel@grinzport.grinz.com>
References:  <48345138.8080507@ibctech.ca> <4834599A.1090108@infracaninophile.co.uk> <4834A7B4.9030302@ibctech.ca>	<20080521232319.GA57359@osiris.chen.org.nz> <4834B7EE.3000002@ibctech.ca> <20080522020619.GA69543@osiris.chen.org.nz> <4834D891.6050707@ibctech.ca> <20080522035913.GA78449@osiris.chen.org.nz> <483503AD.60801@infracaninophile.co.uk> <4835634F.6060107@ibctech.ca> <20080522203932.GA74897@osiris.chen.org.nz> <50810.74.170.92.99.1211493506.squirrel@grinzport.grinz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ross Gohlke wrote:
> I have been running FreeBSD 6 successfully for over a year without
> installing any ports from packages. I have had great success using ports
> but sticking with make install clean/portupgrade.
> 
> I recently decided to try running X11/KDE. I thought I would save some
> time and learn a new trick with pkg_add kde.
> 
> Mixing the two confuses me because portversion does not report whether an
> installed port was compiled from source or copied from a package, and
> portupgrade hasn't worked on some packages.
> Here's the latest:
> 
> portupgrade -vr qt

<snip>

> Stop in /usr/ports/x11-toolkits/qt33.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade.12485.0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=qt-3.3.8_6 UPGRADE_PORT_VER=3.3.8_6 make
> ** Fix the problem and try again.
> --->  Build of x11-toolkits/qt33 ended at: Thu, 22 May 2008 16:53:59 -0500
> (consumed 00:51:34)
> --->  Upgrade of x11-toolkits/qt33 ended at: Thu, 22 May 2008 16:53:59
> -0500 (consumed 00:51:34)
> --->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
>         ! x11-toolkits/qt33 (qt-3.3.8_6)        (linker error)
> --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
> --->  Session ended at: Thu, 22 May 2008 16:53:59 -0500 (consumed 00:51:47)
> ----------------
> 
> Is there a particular port I need to reinstall from source to fix this, or
> another solution?
> 
> Thanks.
> 
> Ross Gohlke

I've had that happen, no explanation why. I have had luck switching from 
a pkg to a port by doing the following within the port you are upgrading.

make deinstall
make clean
make reinstall

Then portupgrade will work with the port fine. There is the possibility 
that you may need to remove the pkg using pkg delete and then do a fresh 
install from ports. X is big, I have not used X in years as all my 
systems are servers, I generally use only ports if I don't install from 
source. Someone with more experience than me might have a better answer.

Of course, if you follow my advice blindly your system may explode, or 
worse ;^)

DAve

PS, Denise says HOWDY!


-- 
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.



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