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

Bug 349620

Summary: Failed to emerge media-video/kplayer-0.7 with USE=kdeenablefinal
Product: Gentoo Linux Reporter: Erik <esigra>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/tracker/?func=detail&aid=3143523&group_id=71710&atid=532182
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 353246    
Attachments: patch that fixes the build
patch that fixes the build

Description Erik 2010-12-24 15:36:56 UTC
Emerge of media-video/kplayer-0.7 fails with USE=kdeenablefinal.

Reproducible: Always

Steps to Reproduce:
1. include kdeenablefinal in /etc/make.conf:USE=
2. create /etc/portage/profile/use.mask with the line "-kdeenablefinal"
3. emerge -uDNav world

Actual Results:
I fil inkluderad från /usr/include/qt4/QtCore/qstringlist.h:46,                                                                                                                                            
                 från /usr/include/qt4/QtCore/QStringList:1,
                 från /usr/include/klocalizedstring.h:27,
                 från /usr/include/klocale.h:25,
                 från /var/tmp/portage/media-video/kplayer-0.7/work/kplayer-0.7/kplayer/kplayerwidget.cpp:17,
                 från /var/tmp/portage/media-video/kplayer-0.7/work/kplayer-0.7/kplayer/kplayerpart_final_cpp.cpp:3:
/usr/include/qt4/QtCore/qdatastream.h:50:2: fel: #error qdatastream.h must be included before any header file that defines Status

Expected Results:  
successful installation of the package
Comment 1 Erik 2010-12-26 20:15:18 UTC
Created attachment 258142 [details, diff]
patch that fixes the build
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-04-03 16:32:50 UTC
Comment on attachment 258142 [details, diff]
patch that fixes the build

I added the patch, unfortunately that's not the only problem...
Comment 3 Erik 2011-11-12 15:55:58 UTC
Created attachment 292295 [details, diff]
patch that fixes the build

Still fails with media-video/kplayer-0.7.1:
/var/tmp/portage/media-video/kplayer-0.7.1/work/kplayer-0.7.1/src/kplayersettingsdialog.h:36:61: fel: standardargumentet angivet för parameter 2 till "QString listEntry(QComboBox*, bool)"
/var/tmp/portage/media-video/kplayer-0.7.1/work/kplayer-0.7.1/src/kplayerpropertiesdialog.cpp:36:9: fel: efter tidigare specifikation i "QString listEntry(QComboBox*, bool)"

Tried to build the source directly. Worked with the attached patch (both final and non-final).
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-11-12 21:05:28 UTC
Patch added, thanks.