Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349620 - Failed to emerge media-video/kplayer-0.7 with USE=kdeenablefinal
Summary: Failed to emerge media-video/kplayer-0.7 with USE=kdeenablefinal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks: kdeenablefinal
  Show dependency tree
 
Reported: 2010-12-24 15:36 UTC by Erik
Modified: 2011-11-12 21:05 UTC (History)
0 users

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


Attachments
patch that fixes the build (kplayer-0.7_fixx11h.h-1.diff,364 bytes, patch)
2010-12-26 20:15 UTC, Erik
Details | Diff
patch that fixes the build (kplayer-0.7.1_final-1.diff,491 bytes, patch)
2011-11-12 15:55 UTC, Erik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.