Re: Trouble upgrading qt33 with portupgrade after package installation
> 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 > > > >> 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 Yes, but there were like, 50 packages affected. This is a tedious process, having to manually cd into each directory. Plus, how do you figure out which packages? I can't find a tool that tells me whether an installed port is binary or source. That would be nice! See my other post for my solution. Anyway, my main fear was that I messed up my ports tree in a way that would effect portupgrading essential software. Thankfully that doesn't seem to be the case. > X is big, I have not used X in years as all my > systems are servers, Why not run FreeBSD w/X on your desktop as well? I'm running KDE3 on a Powerbook G4 with Mac OS 10.4. It took me a while to configure it, but I really like Kate and Konsole. Firefox/Konqueror isn't a bad browser duo (don't forget elinks!). I don't plan to go back. > I generally use only ports if I don't install from > source. Someone with more experience than me might have a better answer. What is the relationship between ports and packages/binary and source? The Handbook seems to use the terms interchangably. The port*/pkg* commands handle both types. > Of course, if you follow my advice blindly your system may explode, or > worse ;^) I haven't had that happen in quite some time, and not ever from YOUR advice! > DAve > > PS, Denise says HOWDY! HOWDY back! Yay! Ross Gohlke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble upgrading qt33 with portupgrade after package installation
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 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble upgrading qt33 with portupgrade after package installation
I think I may have installed packages for FreeBSD 7 rather than 6. I'm in the process of removing all these packages and will try reinstalling from source. > 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 > - > test -d ../../../bin/ || mkdir -p ../../../bin/ > c++ -fno-exceptions -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib > -pthread -o ../../../bin/uic .obj/release-shared-mt/main.o > .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o > .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o > .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o > .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o > -L/usr/local/lib -L/usr/local/lib > -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib -L/usr/local/lib > -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor > -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE > /usr/bin/ld: warning: libz.so.4, needed by /usr/local/lib/libqt-mt.so, not > found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libstdc++.so.6, needed by > /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libm.so.5, needed by /usr/local/lib/libqt-mt.so, not > found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libgcc_s.so.1, needed by /usr/local/lib/libqt-mt.so, > not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libthr.so.3, needed by /usr/local/lib/libqt-mt.so, > not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libc.so.7, needed by /usr/local/lib/libqt-mt.so, not > found (try using -rpath or -rpath-link) > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/liblcms.so.1: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libaudio.so.2: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/liblcms.so.1: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/liblcms.so.1: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libaudio.so.2: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to > [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libaudio.so.2: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' > /usr/local/lib/libqt-mt.so: undefined reference to > [EMAIL PROTECTED]' > /usr/
Trouble upgrading qt33 with portupgrade after package installation
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 - test -d ../../../bin/ || mkdir -p ../../../bin/ c++ -fno-exceptions -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o -L/usr/local/lib -L/usr/local/lib -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib -L/usr/local/lib -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE /usr/bin/ld: warning: libz.so.4, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libstdc++.so.6, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libm.so.5, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libgcc_s.so.1, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libthr.so.3, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libc.so.7, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link) /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/liblcms.so.1: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libaudio.so.2: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/liblcms.so.1: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/liblcms.so.1: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libaudio.so.2: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libaudio.so.2: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libqt-mt.so: und