Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 323515

Summary: x11-libs/qt-sql needs "tds" USE flag
Product: Gentoo Linux Reporter: Sergey Ilinykh <rion4ik>
Component: New packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: enhancement CC: ajwak95
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: qt-sql-tds.patch

Description Sergey Ilinykh 2010-06-11 06:11:16 UTC
qt-sql installs tds plugin even if freetds is not installed.
this causes next warning on emerge --depclean

 * In order to avoid breakage of link level dependencies, one or more
 * packages will not be removed. This can be solved by rebuilding the
 * packages that pulled them in.
 * 
 *   dev-db/freetds-0.82-r2 pulled in by:
 *     x11-libs/qt-sql-4.6.3 needs libsybdb.so.5
 * 


Reproducible: Always



Expected Results:  
install tds plugin only if tds USE flag is set
Comment 1 Sergey Ilinykh 2010-06-11 06:37:28 UTC
Created attachment 234913 [details, diff]
qt-sql-tds.patch

suggested ebuild patch
Comment 2 Alex Conrey 2010-06-11 18:01:49 UTC
Can you post the USE flags in your make.conf file?
Comment 3 Sergey Ilinykh 2010-06-11 18:53:50 UTC
USE="mmx sse sse2 -gdbm -v4l -fortran -apm -esd -oss -qt3 -ruby -kde \
     -accessibility -nsplugin -arts -zeroconf -quicktime xcomposite \
     threads samba vhosts xcb mng branding jabber mozdevelop \
     subversion jingle nautilus gnome-keyring cdda gphoto2 webkit avahi \
     speex tokenizer pch custom-optimization -perl -mysql -apache2 \
     -ldap symlink v4l2 fuse glitz mp4 xvid x264 amrnb dv ssse3 \
     jpeg2k exif bluetooth consolekit theora flac networkmanager \
     policykit vnc -pulseaudio xvmc faac aac cddb dvb modplug mtp \
     schroedinger a52 h323 sip ffmpeg idn faad gsm lcms java6 \
     bash-completion wifi -thunar gstreamer gnome eds udev"

PS just noticed that tds plugin is not installed on my second system. looks like some smart autodetecting logic. but i never had installed freetds iirc
Comment 4 Alex Conrey 2010-06-11 18:57:12 UTC
Autodecting - no. Another reason to love gentoo - yes. Have you attempted to run 'revdep-rebuild' and repeating whatever command was causing the problem?
Comment 5 Alex Conrey 2010-06-11 18:59:27 UTC
Autodecting - no. Another reason to love gentoo - yes. Have you attempted to run 'revdep-rebuild' and repeating whatever command was causing the problem?
Comment 6 Sergey Ilinykh 2010-06-11 19:01:20 UTC
yes i did revdep-rebuild these days when libpng broke half of my gnome =). but
this warning was before and remained after
Comment 7 Sergey Ilinykh 2010-06-11 19:06:27 UTC
btw about autodetecting. what Qt does if now sql/tds options given to configure?
my patch just adds this options
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2010-06-12 09:43:52 UTC
This bug seems valid to me. We could add this flag yes
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2010-06-13 09:51:53 UTC
tds use flag introduced on qt-sql-4.6.3-r1

Thanks for the patch