Dduring an attempting portupgrade from qt-3.3.8_3 -> qt-3.3.8_4, the build of qt-3.3.8_4 copletes normally, but the attempt to install the newly-built ports fails. Prior to the attempt, I removed /var/db/ports/qt; when presented with the configuration menu, the only change I made from the defaults was to deselect CUPS support. ---> Upgrading 'qt-3.3.8_3' to 'qt-3.3.8_4' (x11-toolkits/qt33) ---> Building '/usr/ports/x11-toolkits/qt33' ===> Cleaning for qt-3.3.8_4 ... ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'qt-3.3.8_3' ---> Preserving /usr/local/lib/libqt-mt.so.3.3.8 as /usr/local/lib/compat/pkg/libqt-mt.so.3.3.8 ---> Preserving /usr/local/lib/libqui.so.1.0.0 as /usr/local/lib/compat/pkg/libqui.so.1.0.0 pkg_delete: package 'qt-3.3.8_3' is required by these other packages and may not be deinstalled (but I'll delete it anyway): arts-1.5.7,1 libdv-0.104_4 mplayer-0.99.10_11 pinentry-0.7.2_6 psi-0.10_1 qca-1.0_1 qca-tls-1.0_2 sdl-1.2.11_1,2 pkg_delete: unable to completely remove directory '/usr/local/share/qt' pkg_delete: unable to completely remove directory '/usr/local/share/doc/qt/html' pkg_delete: unable to completely remove directory '/usr/local/share/doc/qt' pkg_delete: unable to completely remove directory '/usr/local/lib/plugins' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 607 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for qt-3.3.8_4 ===> qt-3.3.8_4 depends on file: /usr/local/libdata/xorg/libraries - found ===> qt-3.3.8_4 depends on shared library: mng - found ===> qt-3.3.8_4 depends on shared library: png - found ===> qt-3.3.8_4 depends on shared library: jpeg - found ===> qt-3.3.8_4 depends on shared library: Xft.2 - found ===> qt-3.3.8_4 depends on shared library: audio - found ===> qt-3.3.8_4 depends on shared library: GLU.1 - found ===> Generating temporary packing list /bin/mkdir -p /usr/local/lib /usr/local/bin install -o root -g wheel -m 444 /bkp/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib/*.prl /usr/local/lib install -o root -g wheel -m 555 /bkp/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/findtr /usr/local/bin install -s -o root -g wheel -m 555 /bkp/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/makeqpf/makeqpf /usr/local/bin install -s -o root -g wheel -m 555 /bkp/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/mergetr/mergetr /usr/local/bin install -s -o root -g wheel -m 555 /bkp/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/msg2qm/msg2qm /usr/local/bin install -s -o root -g wheel -m 555 /bkp/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/qembed/qembed /usr/local/bin install -s -o root -g wheel -m 555 /bkp/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/qvfb/qvfb /usr/local/bin cd src/moc && make cd src/moc && make install cp -f "../../bin/moc" "/common/local/bin/moc" cd src && make make: don't know how to make /common/local/include/qconfig.h. Stop *** Error code 2 Stop in /bkp/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8. *** Error code 1 Stop in /bkp/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8. *** Error code 1 Stop in /bkp/ports/x11-toolkits/qt33. *** Error code 1 Stop in /bkp/ports/x11-toolkits/qt33. *** Error code 1 Stop in /bkp/ports/x11-toolkits/qt33. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.22269.19 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=qt-3.3.8_3 UPGRADE_PORT_VER=3.3.8_3 make reinstall ---> Restoring the old version ** Fix the installation problem and try again. How-To-Repeat: portupgrade qt-3.3.8_3
Responsible Changed From-To: freebsd-ports-bugs->kde Over to maintainer
Did the workaround I suggested in my reply to your previous mail (deinstalling the qt33 completely before rebuilding it) not help?
On Mon, Jul 23, 2007 at 11:57:35AM +0200, Michael Nottebrock wrote: > Did the workaround I suggested in my reply to your previous mail > (deinstalling the qt33 completely before rebuilding it) not help? OK; that at least appears to have completed successfully: g1-18(6.2-S)[2] pkg_delete -f qt-3.3.8_3 pkg_delete: package 'qt-3.3.8_3' is required by these other packages and may not be deinstalled (but I'll delete it anyway): arts-1.5.7,1 libdv-0.104_4 mplayer-0.99.10_11 pinentry-0.7.2_6 psi-0.10_1 qca-1.0_1 qca-tls-1.0_2 sdl-1.2.11_1,2 pkg_delete: unable to completely remove directory '/usr/local/share/qt' pkg_delete: unable to completely remove directory '/usr/local/share/doc/qt/html' pkg_delete: unable to completely remove directory '/usr/local/share/doc/qt' pkg_delete: unable to completely remove directory '/usr/local/lib/plugins' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) g1-18(6.2-S)[3] cd /usr/ports/x11-toolkits/qt33 g1-18(6.2-S)[4] make install clean ... ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for qt-3.3.8_4 ===> SECURITY REPORT: This port has installed the following files, which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/lib/libqt-mt.so.3.3.8 If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.trolltech.com/products/qt/index.html ===> Cleaning for qt-3.3.8_4 g1-18(6.2-S)[6] echo $? 0 g1-18(6.2-S)[7] Thanks! Peace, david -- David H. Wolfskill david@catwhisker.org Anything and everything is a (potential) cat toy. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
David Wolfskill schrieb: > On Mon, Jul 23, 2007 at 11:57:35AM +0200, Michael Nottebrock wrote: > >> Did the workaround I suggested in my reply to your previous mail >> (deinstalling the qt33 completely before rebuilding it) not help? >> > > > OK; that at least appears to have completed successfully: > Good - I believe the problem here is indeed your symlink. We in-place patch the Makefiles that contain the bogus dependencies qmake generates, but we use ${PREFIX} in the search string. Your ${PREFIX} is /usr/local, qmake however seems to use realpath(3), puts your symlink's target in the Makefiles instead and thus the search for the in-place edit comes up with no matches. Please try this patch: http://people.freebsd.org/~lofi/patch-qt33_Makefile.txt If you do not want to downgrade qt33 again to a previous revision just for the sake of testing, that is okay - just keep the patch or a bookmark around until the next time the qt33 port is updated and apply it then.
On Mon, Jul 23, 2007 at 03:57:23PM +0200, Michael Nottebrock wrote: >... > >> Did the workaround I suggested in my reply to your previous mail > >> (deinstalling the qt33 completely before rebuilding it) not help? > > > > OK; that at least appears to have completed successfully: > > > Good - I believe the problem here is indeed your symlink. We in-place > patch the Makefiles that contain the bogus dependencies qmake generates, > but we use ${PREFIX} in the search string. Your ${PREFIX} is /usr/local, > qmake however seems to use realpath(3), puts your symlink's target in > the Makefiles instead and thus the search for the in-place edit comes up > with no matches. > > Please try this patch: > http://people.freebsd.org/~lofi/patch-qt33_Makefile.txt OK; I tried a forced portupgrade on qt-3.3.8_4 ("portupgrade -f qt-3.3.8_4") on top of the installed qt-3.3.8_4;that failed with the same symptoms as before (don't know how to make include/qconfig.h). I then applied the above-cited patch, then re-tried the forced portupgrrade; it succeeded without problem. (It just took a while to build on my laptop....) I hope that's helpful. Peace, david -- David H. Wolfskill david@catwhisker.org Anything and everything is a (potential) cat toy. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
lofi 2007-08-01 12:41:44 UTC FreeBSD ports repository Modified files: x11-toolkits/qt33 Makefile Log: Don't fail if ${PREFIX} is a symlink. PR: ports/114809 Reported by: dhw Revision Changes Path 1.216 +4 -2 ports/x11-toolkits/qt33/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Commmitted the patch, should be fixed.