Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253624 - media-plugins/mythbrowser-0.21_p17105 - /usr/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory
Summary: media-plugins/mythbrowser-0.21_p17105 - /usr/include/kdemacros.h:162:29: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 23:03 UTC by Alexey Parshin
Modified: 2009-11-08 05:24 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Parshin 2009-01-03 23:03:21 UTC
mythbrowser doesn't compile.

Reproducible: Always

Steps to Reproduce:
1. emerge mythbrowser

Actual Results:  
Calculating dependencies ... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-plugins/mythbrowser-0.21_p17105
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
 * subversion update start -->
 *      repository: http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythplugins@17105
At revision 17105.
 *    working copy: /usr/portage/distfiles/svn-src/mythplugins/mythplugins

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-plugins/mythbrowser-0.21_p17105/work/mythplugins-0.21 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-mythbrowser --disable-mythcontrols --disable-mythflix --disable-mythgallery --disable-mythgame --disable-mythmusic --disable-mythnews --disable-mythphone --disable-mythvideo --disable-mythweather --disable-mythweb --disable-mytharchive --disable-mythzoneminder --disable-mythmovies --build=i686-pc-linux-gnu
which: no sdl-config in (/usr/lib/ccache/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin)

Configuration settings: 
 
        MythArchive    plugin will not be built
        MythBrowser    plugin will be built
        MythControls   plugin will not be built
        MythFlix       plugin will not be built
        MythGallery    plugin will not be built
        MythGame       plugin will not be built
        MythMusic      plugin will not be built
        MythNews       plugin will not be built
        MythPhone      plugin will not be built
        MythVideo      plugin will not be built
        MythWeather    plugin will not be built
        MythZoneMinder plugin will not be built
        MythMovies     plugin will not be built

make -j4 
cd mythbrowser && /usr/qt/3/bin/qmake mythbrowser.pro "QMAKE=/usr/qt/3/bin/qmake" -o Makefile
cd cleanup && make -f Makefile
make[1]: Entering directory `/var/tmp/portage/media-plugins/mythbrowser-0.21_p17105/work/mythplugins-0.21/cleanup'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/media-plugins/mythbrowser-0.21_p17105/work/mythplugins-0.21/cleanup'
cd mythbrowser && make -f Makefile
make[1]: Entering directory `/var/tmp/portage/media-plugins/mythbrowser-0.21_p17105/work/mythplugins-0.21/mythbrowser'
cd mythbrowser && /usr/qt/3/bin/qmake mythbrowser.pro "QMAKE=/usr/qt/3/bin/qmake" -o Makefile
cd mythbookmarkmanager && /usr/qt/3/bin/qmake mythbookmarkmanager.pro "QMAKE=/usr/qt/3/bin/qmake" -o Makefile
sh: kde-config: command not found
cd mythbookmarkmanager && make -f Makefile
make[2]: Entering directory `/var/tmp/portage/media-plugins/mythbrowser-0.21_p17105/work/mythplugins-0.21/mythbrowser/mythbookmarkmanager'
g++ -c -pipe -march=athlon -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall -W -g -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr/include -I/include -I/usr/qt/3/include -o main.o main.cpp
g++ -c -pipe -march=athlon -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall -W -g -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr/include -I/include -I/usr/qt/3/include -o bookmarkmanager.o bookmarkmanager.cpp
sh: kde-config: command not found
cd i18n && /usr/qt/3/bin/qmake i18n.pro "QMAKE=/usr/qt/3/bin/qmake" -o Makefile
cd i18n && make -f Makefile
make[2]: Entering directory `/var/tmp/portage/media-plugins/mythbrowser-0.21_p17105/work/mythplugins-0.21/mythbrowser/i18n'
gcc -c -pipe -march=athlon -pthread -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wall -W -march=opteron -O3 -pipe  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr/include -I/include -o dummy.o dummy.c
cd mythbrowser && make -f Makefile
make[2]: Entering directory `/var/tmp/portage/media-plugins/mythbrowser-0.21_p17105/work/mythplugins-0.21/mythbrowser/mythbrowser'
g++ -c -pipe -march=athlon -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall -W -fomit-frame-pointer -O3 -fomit-frame-pointer -DNDEBUG -D_REENTRANT  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr/include -I/include -I/usr/include/mythtv -I/include -I/include/kde -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/X11R6/include -o mainlines 34-58 
.o main.cpp
g++ -Wl,-O1 -o i18n dummy.o     -L/usr/lib
In file included from /usr/include/kdecore_export.h:24,
                 from /usr/include/kdeversion.h:30,
                 from /usr/include/kapplication.h:25,
                 from main.cpp:15:
/usr/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory
In file included from main.cpp:15:
/usr/include/kapplication.h:44:30: error: QtGui/QApplication: No such file or directory
In file included from /usr/include/kconfig.h:27,
                 from /usr/include/ksharedconfig.h:25,
                 from /usr/include/kcomponentdata.h:23,
                 from /usr/include/kapplication.h:45,
                 from main.cpp:15:
(the remaining output is the result of errors above)

Expected Results:  
Compiled mythbrowser

theater 2008-09-27 # emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-glibc2.0
Timestamp of tree: Sat, 03 Jan 2009 00:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=opteron -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=opteron -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/mnt/usbdisk2/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd amr audacious audiofile automount berkdb bzip2 cairo cdr cdrom cli crypt cups curl custom-optimization dbus dbx dga dhcp dri dv dvb dvbplayer dvd dvdr dvdread dvi encode fam fat ffmpeg firefox flac fltk fontconfig foomaticdb ftp gd gdbm gif glitz glsa gnome gnome-print gpm gstreamer gtk gzip h323 hal hddtemp hfs hpn iconv ieee1394 jpeg jpeg2k lame linuxkeys lirc mad madwifi matroska midi mime mjpeg mmx mmxext mp3 mpeg mpeg2 mudflap mysql ncurses network nfs nls nptl nptlonly nsplugin nvidia odbc ogg opengl openmp pam pango pcre perl png postgres python qt3 qt3support qt4 quicktime rar readline rplay slang smp spell sse sse2 ssl startup-notification subtitles svg sysfs tcpd tga theora threads threadsafe transcode truetype type1 unicode upnp usb v4l v4l2 vcd vdr vorbis wifi win32codecs wma wmf x264 x86 xorg xosd xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="streamzap" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 qeldroma 2009-01-17 00:46:58 UTC
Got pretty the same..

QT3 <- vs -> QT4 Bug?

Greets, Florian
Comment 2 gregorcy 2009-02-19 19:09:35 UTC
cc
Comment 3 Will Saxon 2009-06-30 11:14:10 UTC
This looks like the same issue reported here (from last year):

http://www.gossamer-threads.com/lists/mythtv/commits/345958

I still see it as of 6/30/2009.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2009-07-01 13:44:55 UTC
The referenced mailing list item is for MythTV trunk and Qt4. The bug report is for MythTV 0.21 and Qt3. However, the KDE components that are relied upon by MythBrowser are from KDE 4 which won't work.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2009-07-01 13:54:26 UTC
The ebuilds properly use slot based deps to pull in the right version. Please try again.
Comment 6 Alexey Parshin 2009-07-03 03:16:29 UTC
(In reply to comment #5)
> The ebuilds properly use slot based deps to pull in the right version. Please
> try again.
> 

I was able to build it now, thank you.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2009-11-08 05:24:03 UTC
Sound good. Thanks for reporting it fixed.