Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126582 - qt-3.3.6 upgrade-downgrade loop
Summary: qt-3.3.6 upgrade-downgrade loop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 12:23 UTC by Cristiano Chiucchiolo
Modified: 2006-03-23 10:14 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixed 3.3.6.ebuild (qt-3.3.6.ebuild,10.24 KB, text/plain)
2006-03-17 17:48 UTC, Bernd Buschinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cristiano Chiucchiolo 2006-03-17 12:23:05 UTC
Always reproducible.

Steps to reproduce:
1. emerge --update qt
2. emerge -av --update --deep --newuse world

Result:
These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     UD] x11-libs/qt-3.3.4-r9 [3.3.6] +cups -debug -doc -examples (-firebird) +gif -immqt -immqt-bc +ipv6 -mysql -nas -odbc +opengl -postgres -sqlite -xinerama 0 kB


Expected result:

Qt shouldn't downgrade.
Comment 1 Cristiano Chiucchiolo 2006-03-17 12:23:27 UTC
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa arts audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 calendar cdb cdda cdparanoia cdr cjk clamav crypt css cups curl divx4linux dri dts dv dvd dvdr dvdread eds emboss emul-linux-x86 encode esd exif expat fam fame ffmpeg firefox flac foomaticdb fortran ftp gif gimp glut gmp gphoto2 gpm gstreamer gtk hal icq idn ieee1394 imagemagick imlib ipv6 java javascript jpeg kde lcms lm_sensors logitech-mouse lua lzw lzw-tiff mad matroska mikmod mime mng mozilla mp3 mpeg msn ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl pam pcre pda pdflib perl php pic png ppds python qt quicktime readline samba scanner sdl speex spell ssl subtitles tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos vorbis wxwindows xine xml2 xpm xv xvid yahoo zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-17 12:46:46 UTC
We need to know what depends on qt-3.3.4, otherwise there's nothing we could do.

echo "<x11-libs/qt-3.3.6" >> /etc/portage/package.mask and find out, reopen then.
Comment 3 Fritz Heinrichmeyer 2006-03-17 13:05:02 UTC
/usr/portage/x11-libs/qt/qt-3.3.6.ebuild 
has occurences of number 3.3.5, should be replaced by ${PV} ?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-17 13:08:13 UTC
Please, provide the requested information, occurences of whatever in qt ebuilds are irrelevant, qt does not depend on itself.
Comment 5 Tom Kiermaier 2006-03-17 13:12:39 UTC
3.3.6 isn't listed in QT3VERSIONS in qt.eclass
Comment 6 Tom Kiermaier 2006-03-17 13:16:57 UTC
(In reply to comment #5)
> 3.3.6 isn't listed in QT3VERSIONS in qt.eclass
> 

qt3.eclass I mean.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-03-17 13:23:13 UTC
Bleh, this eclass stuff should be forbidden... 
Comment 8 Cristiano Chiucchiolo 2006-03-17 13:27:06 UTC
These are the packages that I would merge, in order:

Calculating world dependencies |
!!! All ebuilds that could satisfy "=x11-libs/qt-3.3.5-r1" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-libs/qt-3.3.5-r1 (masked by: package.mask, package.mask)
# Gregorio Guidi <greg_g@gentoo.org> (19 Sep 2005)
# Qt-3.3.5 causes a lot of compilation failures.
# See bug #106402.


For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
!!!    (dependency required by "kde-base/kdelibs-3.5.1-r1" [ebuild])



!!! Problem resolving dependencies for kde-base/kdeartwork-kworldclock
!!! Depgraph creation failed.
Comment 9 Fritz Heinrichmeyer 2006-03-17 13:30:31 UTC
OK, qt3.eclass was not updated, that is the reason for cycle of up/downgrade.
My observation looked to me as a reason for missing libqt-mt.so.3, i commented in the wrong bug number here:

qtconfig: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
Comment 10 Marian Kyral 2006-03-17 13:56:51 UTC
>>> Install qt-3.3.6 into /var/tmp/portage/qt-3.3.6/image/ category x11-libs
!!! dolib: lib/libqt-mt.so.3.3.5 does not exist
cp: omitting directory `include/private'
>>> Completed installing qt-3.3.6 into /var/tmp/portage/qt-3.3.6/image/
Comment 11 Benjamin Gaillard 2006-03-17 15:49:40 UTC
Same problem here, libqt-mt.so.3.3.5 is missing from installation. Obviously, after upgrading, nothing which depends on Qt could be launched due to the missing library. I downgraded back to qt-3.3.4-r9 as a temporary solution...
Comment 12 Benjamin Gaillard 2006-03-17 15:52:15 UTC
I meant libqt-mt.so.3.3.6, of course. Sorry for the mistake...
Comment 13 Kenneth Perry 2006-03-17 17:11:19 UTC
Ran into the same problem (no libqt-mt.so). Fixed by adjusting the ebuild, replacing all mentions of 3.3.5 with 3.3.6, however the ebuild probably should be updated with ${PV} instead.
Comment 14 Bernd Buschinski 2006-03-17 17:48:52 UTC
Created attachment 82416 [details]
fixed 3.3.6.ebuild

it is not a clean fix
but it wasnt clean in the others too ;-)

try it if you like
Comment 15 SpanKY gentoo-dev 2006-03-17 21:44:59 UTC
Diego committed 3.3.5->${PV} fixes already and i followed up with a ${pv}->${PV} typo ... so current cvs should be fixed ...
Comment 16 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-18 04:05:34 UTC
I also fixed qt3 eclass already yesterday night (about 2200 UTC), so the up/downgrade should be fixed already.
Comment 17 Emiliano Vavassori 2006-03-18 16:37:13 UTC
Fixed for me at Sun Mar 19 01:36:17 CET 2006.

Thanks.
Comment 18 Cristiano Chiucchiolo 2006-03-23 10:14:05 UTC
Fixed.