Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310607 - [x11-libs/qt-core-4.6.2-r1] ./configure failed
Summary: [x11-libs/qt-core-4.6.2-r1] ./configure failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-21 21:13 UTC by Maciej Poleski
Modified: 2010-03-21 21:20 UTC (History)
1 user (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 Maciej Poleski 2010-03-21 21:13:28 UTC
Error while configuring source. It seems that the configure parameters is bad.

Reproducible: Always

Steps to Reproduce:
1. Unmask aqua flag
2. Force to use aqua flag for any package
3. emerge qt-core

Actual Results:  
>>> Source prepared.
>>> Configuring source in /home/build/portage/x11-libs/qt-core-4.6.2-r1/work/qt-everywhere-opensource-src-4.6.2 ...
./configure -L/usr/lib64 -no-pch -release -no-separate-debug-info -no-framework -arch x86_64 -reduce-relocations -platform linux-g++ -stl -verbose -largefile -confirm-license -prefix /usr -bindir /usr/bin -libdir /usr/lib64/qt4 -datadir /usr/share/qt4 -docdir /usr/share/doc/qt-4.6.2 -headerdir /usr/include/qt4 -plugindir /usr/lib64/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 -glib -iconv -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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -lgthread-2.0 -lrt -lglib-2.0
-no-framework: invalid command-line switch

......

* ERROR: x11-libs/qt-core-4.6.2-r1 failed:
 *   ./configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 3516:  Called qt4-build_src_configure
 *   environment, line 3162:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die "./configure failed";


Expected Results:  
Successful compilation.

I have qt-core already installed without such problem, so I think that the problem is related to aqua flag.
It seems to me that compilation is handled by portage Ebuild files => the problem probably stay in portage tree.
Comment 1 Maciej Poleski 2010-03-21 21:17:19 UTC
$ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 21 Mar 2010 20:30:20 +0000
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -Qn -march=core2 -mtune=core2 --omit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -Qn -march=core2 -mtune=core2 --omit-frame-pointer"
DISTDIR="/mnt/space/DISTDIR"
FEATURES="assume-digests buildsyspkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ ftp://ftp.vectranet.pl/gentoo/ "
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,-z,now"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/mnt/space/PKGDIR"
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="/home/build"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/portage/layman/java-overlay /mnt/portage/layman/kde"                                                                                                                    
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                                                                                
USE="X a52 aac accessibility acl acpi adns akonadi alsa amd64 ao aqua ares aspell avahi ayatana bash-completion bluetooth bookmarks bzip2 cairo caps cdparanoia cgi clucene cmake consolekit cracklib crypt css custom-cflags custom-optimization cxx dbus debugger dell device-mapper dga dirac djvu dmx dts dv dvd dxr3 enca encode exceptions exif expat faac fam fbcon fftw flac fontconfig fontforge gif glib gmp gnutls google-gadgets gs gstreamer hal handbook iconv icu idn ieee1394 java java6 javamail jms jmx jpeg jpeg2k kde kipi kontact kqemu kvm lcms libnotify live log4j lzma lzo mad midi mikmod mmap mmx mmxext mng modules mozdevelop mp3 mpi mpi-threads musepack musicbrainz nas ncurses networkmanager nls nptl nsplugin ntfs ntlm ogg openal opencore-amr openexr opengl openmp openssl pam pcre pdf phonon plasma pm-utils png policykit portaudio postgres pulseaudio python python3 qalculate qt3support qt4 quicktime qwt raw recode restrict-javascript rle romio rss rtc sasl schroedinger semantic-desktop sndfile speex spell sql srtp sse sse2 ssl ssse3 startup-notification subversion svg theora threads thumbnail tiff timidity truetype twolame unicode usb vcd vdpau vim-syntax virtuoso vorbis wav wavpack webkit wifi x264 xcomposite xft xine xinerama xml xpm xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="*" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" NETBEANS_MODULES="ide java websvccommon nb harness cnd profiler dlight" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia none vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2010-03-21 21:20:29 UTC
The aqua useflag is masked for a reason: it only works on OS X. If you unmask it and things break, you get to keep the pieces...