Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configure fails on Qt packages [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dyeu
n00b
n00b


Joined: 07 Sep 2004
Posts: 40
Location: Belgium

PostPosted: Mon Jun 28, 2010 2:41 pm    Post subject: configure fails on Qt packages [solved] Reply with quote

Hi there,

I'm trying to install / upgrade some Qt packages. I only need them for Virtualbox, I don't use KDE.

Basically it prints './configure usage' and dies:
Code:
# emerge -1 x11-libs/qt-core -q
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 6) x11-libs/qt-core-4.6.3
>>> Failed to emerge x11-libs/qt-core-4.6.3, Log file:
>>>  '/var/tmp/portage/x11-libs/qt-core-4.6.3/temp/build.log'
 * CPV:  x11-libs/qt-core-4.6.3
 * REPO: gentoo
 * USE:  elibc_glibc exceptions glib iconv kernel_linux qt3support ssl userland_GNU x86
tar xzf /var/tmp/portage/x11-libs/qt-core-4.6.3/distdir/qt-everywhere-opensource-src-4.6.3.tar.gz qt-everywhere-opensource-src-4.6.3/configure qt-everywhere-opensource-src-4.6.3/LICENSE.GPL3 qt-everywhere-opensource-src-4.6.3/LICENSE.LGPL qt-everywhere-opensource-src-4.6.3/projects.pro qt-everywhere-opensource-src-4.6.3/src/qbase.pri qt-everywhere-opensource-src-4.6.3/src/qt_targets.pri qt-everywhere-opensource-src-4.6.3/src/qt_install.pri qt-everywhere-opensource-src-4.6.3/bin qt-everywhere-opensource-src-4.6.3/config.tests qt-everywhere-opensource-src-4.6.3/mkspecs qt-everywhere-opensource-src-4.6.3/qmake qt-everywhere-opensource-src-4.6.3/src/tools/bootstrap qt-everywhere-opensource-src-4.6.3/src/tools/moc qt-everywhere-opensource-src-4.6.3/src/tools/rcc qt-everywhere-opensource-src-4.6.3/src/tools/uic qt-everywhere-opensource-src-4.6.3/src/corelib qt-everywhere-opensource-src-4.6.3/src/xml qt-everywhere-opensource-src-4.6.3/src/network qt-everywhere-opensource-src-4.6.3/src/plugins/codecs qt-everywhere-opensource-src-4.6.3/tools/linguist/lconvert qt-everywhere-opensource-src-4.6.3/tools/linguist/lrelease qt-everywhere-opensource-src-4.6.3/tools/linguist/lupdate qt-everywhere-opensource-src-4.6.3/include/Qt qt-everywhere-opensource-src-4.6.3/include/QtCore qt-everywhere-opensource-src-4.6.3/include/QtNetwork qt-everywhere-opensource-src-4.6.3/include/QtScript qt-everywhere-opensource-src-4.6.3/include/QtXml qt-everywhere-opensource-src-4.6.3/src/plugins/plugins.pro qt-everywhere-opensource-src-4.6.3/src/plugins/qpluginbase.pri qt-everywhere-opensource-src-4.6.3/src/src.pro qt-everywhere-opensource-src-4.6.3/src/3rdparty/des qt-everywhere-opensource-src-4.6.3/src/3rdparty/harfbuzz qt-everywhere-opensource-src-4.6.3/src/3rdparty/md4 qt-everywhere-opensource-src-4.6.3/src/3rdparty/md5 qt-everywhere-opensource-src-4.6.3/src/3rdparty/sha1 qt-everywhere-opensource-src-4.6.3/src/3rdparty/easing qt-everywhere-opensource-src-4.6.3/src/script qt-everywhere-opensource-src-4.6.3/tools/shared qt-everywhere-opensource-src-4.6.3/tools/linguist/shared qt-everywhere-opensource-src-4.6.3/translations
 * Applying qt-4.6-nolibx11.patch ...                                     [ ok ]
 * Applying qt-4.6-nox11r6.patch ...                                      [ ok ]
./configure -no-pch -release -no-separate-debug-info -arch i386 -reduce-relocations -platform linux-g++ -stl -verbose -largefile -confirm-license -prefix /usr -bindir /usr/bin -libdir /usr/lib/qt4 -datadir /usr/share/qt4 -docdir /usr/share/doc/qt-4.6.3 -headerdir /usr/include/qt4 -plugindir /usr/lib/qt4/plugins -sysconfdir /etc/qt4 -translationdir /usr/share/qt4/translations -examplesdir /usr/share/qt4/examples -demosdir /usr/share/qt4/demos -silent -fast -opensource -exceptions -nomake examples -nomake demos qt-core-4.6.3 -glib -iconv -no-optimized-qmake -openssl -qt3support -no-xkb -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -no-cups -no-gif -no-libpng -no-libmng -no-libjpeg -system-zlib -no-webkit -no-phonon -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-opengl -no-svg -no-gtkstyle -no-phonon-backend -no-script -no-scripttools -no-cups -no-xsync -no-xinput -no-multimedia -nomake docs -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lgthread-2.0 -lrt -lglib-2.0 -I/usr/include/freetype2
qt-core-4.6.3: unknown argument
Determining system architecture... (Linux:2.6.34-gentoo:i686)
    32-bit Intel 80x86 (i386)
    'i386' is supported
System architecture: 'i386'
Symbol visibility control enabled.
Symbolic function binding enabled.

Usage:  configure [-h] [-prefix <dir>] [-prefix-install] [-bindir <dir>] [-libdir <dir>]
        [-docdir <dir>] [-headerdir <dir>] [-plugindir <dir> ] [-datadir <dir>]
        [-translationdir <dir>] [-sysconfdir <dir>] [-examplesdir <dir>]
        [-demosdir <dir>] [-buildkey <key>] [-release] [-debug]
        [-debug-and-release] [-developer-build] [-shared] [-static] [-no-fast] [-fast] [-no-largefile]
        [-largefile] [-no-exceptions] [-exceptions] [-no-accessibility]
        [-accessibility] [-no-stl] [-stl] [-no-sql-<driver>] [-sql-<driver>]
 

[...skip the other options...]


Installation options:

 These are optional, but you may specify install directories.

    -prefix <dir> ...... This will install everything relative to <dir>
                         (default /usr)

  * -prefix-install .... Force a sandboxed "local" installation of
                         Qt. This will install into
                         /usr, if this option is
                         disabled then some platforms will attempt a
                         "system" install by placing default values to
                         be placed in a system location other than
                         PREFIX.

 You may use these to separate different parts of the install:

    -bindir <dir> ......... Executables will be installed to <dir>
                            (default PREFIX/bin)
    -libdir <dir> ......... Libraries will be installed to <dir>
                            (default PREFIX/lib)
    -docdir <dir> ......... Documentation will be installed to <dir>
                            (default PREFIX/doc)


[...skip the rest of configure usage output...]


    -no-glib ........... Do not compile Glib support.
 +  -glib .............. Compile Glib support.

 * ERROR: x11-libs/qt-core-4.6.3 failed:
 *   ./configure failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 3495:  Called qt4-build_src_configure
 *   environment, line 3146:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die "./configure failed";
 *
 * If you need support, post the output of 'emerge --info =x11-libs/qt-core-4.6.3',
 * the complete build log and the output of 'emerge -pqv =x11-libs/qt-core-4.6.3'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/qt-core-4.6.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-core-4.6.3/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3'


There's this strange "qt-core-4.6.3: unknown argument" line, then it all explodes.
I must have messed some flag combination somewhere, but I fail to see anything dangerous in my config.

Code:
# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo i686)
=================================================================
System uname: Linux-2.6.34-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 28 Jun 2010 13:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.5.4-r4, 2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.3.6-r1, 3.4.6-r2, 4.1.2, 4.2.4-r1, 4.3.5, 4.4.4-r1, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildsyspkg distlocks fixpackages metadata-transfer news parallel-fetch prelink protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo "
INSTALL_MASK="/media INSTALL.gz TODO.gz"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/usr/local/overlays/yvan /usr/local/overlays/llvm /var/lib/layman/sunrise /var/lib/layman/java-overlay /var/lib/layman/cwiid"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi bash-completion berkdb bzip2 cairo caps cli cracklib crypt cxx dirac directfb dri faac faad fbcon flac gdbm gif gpm gtk gtk2 iconv java java5 java6 jpeg kpathsea latex logrotate lzma mmx modules mudflap ncurses nptl nptlonly opengl openmp pam pcre pdf perl pic png pppd python readline reflection sdl session spl sse sse2 ssl ssse3 svg sysfs tcpd theora truetype unicode vim-syntax vorbis x264 x86 xft xinerama xorg xvid 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" 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, FFLAGS, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Code:
# grep qt -ri /etc/portage/
/etc/portage/package.use:app-emulation/virtualbox-ose additions qt4 sdk
/etc/portage/package.use:x11-libs/qt-core qt3support
/etc/portage/package.use:x11-libs/qt-gui dbus qt3support
/etc/portage/package.use:x11-libs/qt-opengl qt3support
/etc/portage/package.use:x11-libs/qt-qt3support kde
/etc/portage/package.use:x11-libs/qt-sql qt3support
/etc/portage/package.use:x11-libs/qt-webkit kde


Any lead would be really appreciated.


Last edited by dyeu on Tue Jun 29, 2010 8:10 am; edited 1 time in total
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon Jun 28, 2010 10:26 pm    Post subject: Reply with quote

That seems really strange. Do you have any build system packages keyworded or unmasked? Either way it sounds like something you could report as a gentoo bug.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Jun 28, 2010 11:01 pm    Post subject: Reply with quote

Looking at the place, where the invalid argument was added,
do you have 'myconf' var set in your environment ?
Back to top
View user's profile Send private message
dyeu
n00b
n00b


Joined: 07 Sep 2004
Posts: 40
Location: Belgium

PostPosted: Tue Jun 29, 2010 8:09 am    Post subject: Reply with quote

Thank you for your replies, good calls.

The 'myconf' var was indeed the problem. I set a variable with this exact name in my /etc/portage/bashrc. Oops. I renamed the variable and now configure passes normally. Thanks!
Back to top
View user's profile Send private message
luke123
n00b
n00b


Joined: 03 Jan 2007
Posts: 21

PostPosted: Sun Jul 04, 2010 7:31 am    Post subject: Reply with quote

hi,

seems i have the same problem but i cant find myconf with grep.

grep -r "myconf" * as root in /

thanks :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum