Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465284 - media-libs/herqq-1.0.0-r1 build fails with bad qmake usage.
Summary: media-libs/herqq-1.0.0-r1 build fails with bad qmake usage.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-09 15:42 UTC by Richard Ash
Modified: 2013-04-20 09:57 UTC (History)
1 user (show)

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


Attachments
Build log from failing build (media-libs:herqq-1.0.0-r1:20130409-105552.log,8.92 KB, text/plain)
2013-04-09 15:42 UTC, Richard Ash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Ash 2013-04-09 15:42:17 UTC
Created attachment 345002 [details]
Build log from failing build

Trying to emerge media-libs/herqq-1.0.0-r1 for the first time on an x86 stable system fails, printing the qmake usage message in the log.

Last output:

>>> Compiling source in /var/tmp/portage/media-libs/herqq-1.0.0-r1/work/herqq-1.0.0 
...
make -j3 -l 2.0 
cd hupnp/ && /usr/bin/qmake /var/tmp/portage/media-libs/herqq-1.0.0-r1/work/herqq-1.
0.0/hupnp/hupnp.pro QTDIR=/usr/lib QMAKE=/usr/bin/qmake QMAKE_AR=i686-pc-linux-gnu-a
r\ cqs QMAKE_CC=i686-pc-linux-gnu-gcc QMAKE_CXX=i686-pc-linux-gnu-g++ QMAKE_LINK=i68
6-pc-linux-gnu-g++ QMAKE_LINK_C=i686-pc-linux-gnu-gcc QMAKE_OBJCOPY=i686-pc-linux-gn
u-objcopy QMAKE_RANLIB= QMAKE_STRIP= QMAKE_CFLAGS=-O2\ -pipe\ -fomit-frame-pointer\ 
-march=i686\ -mfpmath=sse\  -mmmx\ -msse\ -msse2\ -msse3\ -msse4a\ -mabm QMAKE_CFLAG
S_RELEASE= QMAKE_CFLAGS_DEBUG= QMAKE_CXXFLAGS=-O2\ -pipe\ -fomit-frame-pointer\ -mar
ch=i686\ -mfpmath=sse\      -mmmx\ -msse\ -msse2\ -msse3\ -msse4a\ -mabm QMAKE_CXXFL
AGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_LFLAGS=-Wl,-O1\ -Wl,--as-needed\ -Wl,--as-n
eeded QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= QMAKE_LIBDIR_QT=/usr/lib/qt4 QMAKE_L
IBDIR_X11=/usr/lib QMAKE_LIBDIR_OPENGL=/usr/lib PREFIX=/usr/ -o Makefile
cd apps/simple_test-app/ && /usr/bin/qmake /var/tmp/portage/media-libs/herqq-1.0.0-r
1/work/herqq-1.0.0/apps/simple_test-app/simple_test-app.pro QTDIR=/usr/lib QMAKE=/us
r/bin/qmake QMAKE_AR=i686-pc-linux-gnu-ar\ cqs QMAKE_CC=i686-pc-linux-gnu-gcc QMAKE_
CXX=i686-pc-linux-gnu-g++ QMAKE_LINK=i686-pc-linux-gnu-g++ QMAKE_LINK_C=i686-pc-linu
x-gnu-gcc QMAKE_OBJCOPY=i686-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= QMAKE_C
FLAGS=-O2\ -pipe\ -fomit-frame-pointer\ -march=i686\ -mfpmath=sse\  -mmmx\ -msse\ -msse2\ -msse3\ -msse4a\ -mabm QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= QMAKE_CXXFLAGS=-O2\ -pipe\ -fomit-frame-pointer\ -march=i686\ -mfpmath=sse\      -mmmx\ -msse\ -msse2\ -msse3\ -msse4a\ -mabm QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_LFLAGS=-Wl,-O1\ -Wl,--as-needed\ -Wl,--as-needed QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= QMAKE_LIBDIR_QT=/usr/lib/qt4 QMAKE_LIBDIR_X11=/usr/lib QMAKE_LIBDIR_OPENGL=/usr/lib PREFIX=/usr/ -o Makefile
***Unknown option -mmmx -msse -msse2 -msse3 -msse4a -mabm
***Unknown option -mmmx -msse -msse2 -msse3 -msse4a -mabm
Usage: /usr/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C
                 Note: The created .pro file probably will 
                 need to be edited. For example add the QT variable to 
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be     *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files].                                                     *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -after         All variable assignments after this will be
                 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]

emerge --info:
Portage 2.1.11.55 (default/linux/x86/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.6.11-gentooi686 i686)
=================================================================
System uname: Linux-3.6.11-gentooi686-i686-AMD_C-60_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.1
KiB Mem:     1791796 total,    765668 free
KiB Swap:   10485756 total,  10350128 free
Timestamp of tree: Tue, 09 Apr 2013 09:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo ikelos quarks_gentoo_hardened_overlay x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 googleearth AdobeFlash-10.3 AdobeFlash-11.x skype-4.0.0.7-copyright"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=i686 -mfpmath=sse         -mmmx -msse -msse2 -msse3 -msse4a -mabm"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=i686 -mfpmath=sse       -mmmx -msse -msse2 -msse3 -msse4a -mabm"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://greenfield/distfiles/ http://gentoo.virginmedia.com/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--as-needed"
MAKEOPTS="-j3 -l 2.0"
PKGDIR="/usr/portage/packages/delph"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/tmp/overlays/ikelos /var/tmp/overlays/quarks /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi activefilter alsa amr asf asm audiofile bash-completion berkdb bidi branding bzip2 bzlib cairo cdda cdr chm cjk cli consolekit cracklib crypt cscope css cups curlwrappers cxx dbase dbus dga dhcp dirac dnd dpms dri drm droproot dts dv dvd dvdr ebook edl emboss emf encode erandom exif fame ffmpeg fftw firefox flac flash fortran fpx ftp fuse gdbm gif glut gnutls gphoto2 gpm gs gtk i-3dnowext iconv id3tag image imagemagick imap inkjar ipv6 javascript jp2 jpeg jpeg2k ladcca ladspa lame largeterminal lcms libnotify libvisual live lzo lzw lzw-tiff mad mbox mdb mime ming mixer mjpeg mmx mmxext mng modules mp2 mp3 mp4 mpeg mpeg2 mpeg4 mplayer mpm-prefork mudflap musicbrainz mysql ncurses network networkmanager nls no-old-linux no24bpp nodrm noplugin nothemes nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf plugin png policykit portaudio postscript ppds qt3support qt4 readline redeyes rtsp schroedinger sdl server session sftplogging sndfile sockets soundtouch speex spell sse sse2 sse3 ssl startup-notification stream svg svgz sysfs syslog sysvipc taglib tcpd tga theora tidy tiff timidity transcode truetype twolame udev udisks unicode upower usb userlocales utf8 v4l v4l2 vamp vdpau vhosts vim vim-syntax virtual vorbis wmf wxwidgets wxwindows x11vnc x264 x86 xbase xcb xine xinerama xml xosd xv xvid xvmc yv12 zlib" ABI_X86="32" ALSA_CARDS="snd_hda_intel dummy loopback" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse void evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l vga radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-04-09 15:55:20 UTC
Interesting, it looks like qt4-r2.eclass cannot handle the tab in your CFLAGS.
Comment 2 Richard Ash 2013-04-09 17:59:40 UTC
(In reply to comment #1)
> Interesting, it looks like qt4-r2.eclass cannot handle the tab in your
> CFLAGS.

Thankyou! I had line wrapped the flags and used a tab for the second line indent. With that removed, it all starts working. Both systems had copies of the same make.conf file ...

Now I can go and wonder why the copy bundled with kipi-plugins fails build ...
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2013-04-10 05:13:28 UTC
(In reply to comment #1)
> Interesting, it looks like qt4-r2.eclass cannot handle the tab in your
> CFLAGS.

Why the eclass and not qmake itself?
Comment 4 Michael Palimaka (kensington) gentoo-dev 2013-04-10 13:49:37 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Interesting, it looks like qt4-r2.eclass cannot handle the tab in your
> > CFLAGS.
> 
> Why the eclass and not qmake itself?

I just assumed it may be a quoting issue, I did not mean to cast aspersions against anything in particular. If qmake cannot handle the tabs, should we add a workaround? echo ${CFLAGS} | tr '\t' ' ' ?
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2013-04-20 09:57:47 UTC
Just put sane values in your make.conf please.