Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177932 - media-sound/lastfmplayer-1.1.3-r1 doesn't compile with qt-4.3.0_beta1
Summary: media-sound/lastfmplayer-1.1.3-r1 doesn't compile with qt-4.3.0_beta1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 15:08 UTC by Heiko Baums
Modified: 2007-05-14 19:57 UTC (History)
0 users

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 Heiko Baums 2007-05-10 15:08:02 UTC
media-sound/lastfmplayer-1.1.3-r1 doesn't compile with x11-libs/qt-4.3.0_beta1.
Btw., why is a beta version (of Qt) in the portage tree even in ~x86? Shouldn't this be hard masked until it's final?


This is the error message:

>>> Emerging (1 of 1) media-sound/lastfmplayer-1.1.3-r1 to /
 * last.fm-1.1.3.src.tar.bz2 RMD160 ;-) ...                                                                                                               [ ok ] * last.fm-1.1.3.src.tar.bz2 SHA1 ;-) ...                                                                                                                 [ ok ] * last.fm-1.1.3.src.tar.bz2 SHA256 ;-) ...                                                                                                               [ ok ] * last.fm-1.1.3.src.tar.bz2 size ;-) ...                                                                                                                 [ ok ] * checking ebuild checksums ;-) ...                                                                                                                      [ ok ] * checking auxfile checksums ;-) ...                                                                                                                     [ ok ] * checking miscfile checksums ;-) ...                                                                                                                    [ ok ] * checking last.fm-1.1.3.src.tar.bz2 ;-) ...                                                                                                             [ ok ]>>> Unpacking source...
>>> Unpacking last.fm-1.1.3.src.tar.bz2 to /var/tmp/portage/media-sound/lastfmplayer-1.1.3-r1/work
 * Applying 13_alsa-r1.diff ...                                                                                                                           [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-sound/lastfmplayer-1.1.3-r1/work/last.fm-1.1.3 ...
Last.fm-1.1.3 Configure
Checking for qmake...
Checking the installed version of Qt is correct...

Your version of Qt seems to be too old, we require Qt 4.2 or above.

It is possible you have Qt3 and Qt4 both installed. Locate your qt4 installation
and ensure it is placed first in the path, eg:

        PATH=/opt/qt4/bin:$PATH ./configure

However this configure script is very basic, perhaps we got it wrong..
Try typing the following, perhaps it will build for you :)

        qmake -config release && make
make: *** No rule to make target `qmake_all'.  Stop.

!!! ERROR: media-sound/lastfmplayer-1.1.3-r1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  lastfmplayer-1.1.3-r1.ebuild, line 29:   Called die

!!! emake qmake_all failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-sound/lastfmplayer-1.1.3-r1/temp/build.log'.


emerge --info:

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo i686)
=================================================================
System uname: 2.6.21-gentoo i686 AMD Athlon(tm) XP 1600+
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 09 May 2007 19:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/applications/kde /usr/kde/3.5/share/config /usr/kde/3.5/share/services/searchproviders /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/applications /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="de_DE.UTF-8"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/private"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi alsa apache2 apm arts asf audiofile avi berkdb bitmap-fonts bluetooth bzip2 cairo caps cdda cddb cdparanoia cdr chardet cli cracklib crypt cups curl d dbus dga directfb divx dri dv dvb dvd dvdnav dvdr dvdread eds emboss encode evo expat extrafilters fam fame fbcon ffmpeg firefox flac foomaticdb fortran ftp gcj gd gdbm gif gimp glib glitz gmedia gmp gnutls gpm graphviz gs gstreamer gtk gtk2 gtkhtml hddtemp iconv idn ilbc imagemagick imlib inkjar ipv6 irmc isdnlog jack jack-tmpfs jce jpeg kde kerberos ladspa lcms ldap libg++ libnotify libsamplerate lirc live lm_sensors logrotate mad mbox mbrola md5sum midi mikmod mjpeg mmx mmxext mng modplug motif mozilla mp2 mp3 mp4 mpeg mplayer musicbrainz mysql mysqli nas ncurses network nls noamazon nptl nptlonly nsplugin objc objc++ objc-gc offensive ofx ogg opengl osc oss pam pcre pdf perl php plugin png ppds pppd print python qt3 qt3support qt4 quicktime quotes rar readline real realmedia reflection reiserfs rtc rtsp scanner sdl session speex spell spl sse ssl svg tcl tcltk tcpd tetex themes theora threads threadsafe tidy tiff tk tokenizer tools truetype truetype-fonts type1-fonts unicode usb utempter v4l v4l2 vdr vidix visualization vlm vorbis win32codecs wma wmf wmp x264 x86 xcomposite xine xml xorg xpm xv xvid yv12 zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Gantner (a.k.a. nephros) 2007-05-12 15:48:41 UTC
The check for qt version in the configure script is not very reliable, and checks only for 4.2.

I worked around it with the following quick-and-dirty modification to configure, but we might as well remove the check altogether as we handle compatibilities in the ebuild:

--- configure_  2007-05-12 17:32:22.146605500 +0200
+++ configure   2007-05-12 17:41:15.913023115 +0200
@@ -19,9 +19,9 @@
 # QMake version 2.01a
 # Using Qt version 4.2.2 in /opt/qt/4.2.2/lib
 
-qmake -v | grep '^Using Qt version 4.2' --color=never &> /dev/null
+QTVER=$(qmake -v | awk '/version/ {print $4}')
 
-if [[ $? > 0 ]]; then
+if [[ ! "${QTVER:1:3}" = "4.2" ]] && [[ ! "${QTVER:1:3}" = "4.3" ]]; then
              ################################################################################
        echo 
        echo "Your version of Qt seems to be too old, we require Qt 4.2 or above."
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-14 19:57:26 UTC
thank you very much, fixed!